update teleport sdk components to use the service registry

Updates the teleport hotspot (input) and pointer (teleport) sdk components to obtain the teleport system instance from the static registry class.
Builds upon #4099 and is related to #3545.

/azp run mrtk_pr


Permissions/user levels

Example:
Proxy users (replaced https://github.com/ClinGen/clincoded/issues/2268)
Create a "proxy" user level (this would be for the ClinGen proxies and similar folks, probably around a dozen people).
Grant these folks feature access to:
The curation transfer tool
Need to ensure they also have access to the needed info (user UUIDs for example)
Could we also add a delete functionality in this feature?
Common reports
Current number of curations in each affiliation and their status (for GCI and VCI separately).
Monthly assessment of how many curations per affiliation were: approved, published to ClinVar, or initiated.
Need more feedback from proxies on this item.
Note: need further feedback on what other types of user levels would be useful, and which ones are already in use in other ClinGen resources (e.g. Gene Tracker)

FYI: GPM roles are:
Coordinator - The coordinator of the group. Has all group permissions.
Chair - A chair/co-chair of the group.  No default permissions.
Biocurator - Biocurator designation.  No default permissions.
Expert - Expert designation.  No default permissions.
Core Approval Member - Core approval member designation.  No default permissions.
Biocurator trainer - Biocurator trainer designation.  No default permissions.


Add set custom asset with Ad Tag URL

@theodab PTAL! Don't wan't to approve without you :)

I updated the PR with the latest master.


Please update to reflect current functiuonality

There does not appear to be any option 'what is this project for?'
As soon as product name 'Finance and Opns ' selected, methodology selection disappears

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

ID: 49b9ad1b-4b96-679b-318b-0fd8a7d322b6
Version Independent ID: eae36628-bb7d-442a-2725-4d532b815af8
Content: Start a new LCS project
Content Source: articles/environment/create-lcs-project.md
Service: project-operations
GitHub Login: @stsporen
Microsoft Alias: stsporen

Hi,
I took a look at the flow, which part of step four do you believe is wrong?
Thanks

Hi,
It seems that step 4 no longer exists when I click on the plus sign to create a new project
Cheers
From: S Sporen<EMAIL_ADDRESS>Sent: Wednesday, 10 February 2021 10:39 am
To: MicrosoftDocs/dynamics-365-project-operations<EMAIL_ADDRESS>Cc: Pierre Bonny<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/dynamics-365-project-operations] Please update to reflect current functiuonality (#4)
Hi,
I took a look at the flow, which part of step four do you believe is wrong?
Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/dynamics-365-project-operations/issues/4#issuecomment-776261503, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFKM5U7XQCJXLQGTO3Z5ZX3S6GTPPANCNFSM4XLYCMUQ.
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au/mg
Report this message as spamhttps://console.mailguard.com.au/ras/1ZVZY47Dmi/2xnks5WQogcfp38skIoEiu/1.9
Pierre Bonny | Product Commercialisation Manager
5 Omega Street, Rosedale Auckland  0632
Phone: +64 9 477 0887
M: +64 2 152 4370
E<EMAIL_ADDRESS>https://www.flintfox.com
Disclaimer |  If you are not the addressee indicated in this message (or responsible for delivery of the message) you may not deliver or copy this message to anyone. In such case you should destroy this message and kindly notify the sender. Please note, opinions, conclusions and other information in this message that do not relate to the official business of Flintfox International Limited shall be understood as neither given nor endorsed by it.


label: remove unused category

category is not used, besides it's a typo..
/cc @bbbmj

ref: https://github.com/caicloud/quality/pull/191
/release-note-none

/lgtm

the repo is not manged by bot, manually merge to proceed.


moving to the annotations object

As mentioned in the last PR, we thought about moving to the annotations objects to get the events.
So far, the events are read from the stimulus channel for the BCIC IV 2a dataset. Other datasets from MOABB might not have a stimulus channel, but come with an annotation object right away.
I have implemented a method to set the annotations object for the MOABB datasets, but Lukas and I came up with a few questions.
The event description in an annotations object is  the description string, e.g. 'left_feet', instead of the integer values. For the event windower, we would need to call events_from_annotations(raw) to get the indices of the events. Here, a new mapping is needed/generated as the events now become integers again. The default option here would result in events starting from 1 on. For classification we would need events from 0 on. Anyway it would be handy to have the resulting mapping saved in the dataset.
The main questions here are:

would we define a custom default mapping to have events started from 0 on in the windower or move that part to the training step?
should we have an events_desc attribute containing the mapping for the dataset?
also I thought about discarding the stimulus channel when setting the annotations, as it is not needed anymore afterwards.

Beside that, the onset of the annotations would start at the actual experiment onset, e.g. shifted by 2s for bcic, and the duration is contained as well. These information can be accessed via MOABB.
What do you think @hubertjb @gemeinl

I created PR #70 for the changes.

The windower now creates a default mapping from 0 on, if no custom one is passed.
mne.Epochs can store a mapping, so I just stored it there.
As channels are usually chosen by the user later, I kept it.

implemented with #70


example: edge-commit for x86/aarch64

Same as others; based on #215 so draft first.

Undrafted, rebased on #227 and #215 which are now available in main :)


Add a StreamSet API

Similar to FutureSet introduced in #147 we should add a StreamSet API.

This should be slab-based, and non-lending. The way to remove arbitrary streams is by requiring people use their own borrowing scheme for their streams.
We should verify that that is possible before locking in the design. If it is then we have a stable notion of user-configurable identity, which is what we want.


Cherry pick linking time fix to Humble

Similar to (and depends on) https://github.com/open-rmf/rmf_ros2/pull/356, reduce linking time in Humble, the only additional change is that the cherry picked PR also updated CI to run on Iron, I undoed these changes in a separate commit https://github.com/open-rmf/rmf_visualization/commit/34a72738125f35b80bf8d1fbd522994ec9ad167c

It looks like we'll need to merge https://github.com/open-rmf/rmf_ros2/pull/356 before this is able to work. CMake is complaining about targets missing, so I guess our old cmake wasn't exporting upstream targets correctly..?

Yap, now that it's merged CI is green


Verify configuration on startup

The configuration should be verified on startup.
Different configurations for different versions.

I made a xsd for the current configuration and validates the config against that on startup.
Next step is to be version-aware - if we need that - the xsd for the installed version should always be correct... But let's talk about that.
Another possibility is to have xsd’s for all versions in the code so the latest Verify-Configuration cmdlet can verify all different configuration versions.

While the work on this is completed (to parse things with the XSD), this will be considered for the .next iteration as opposed to the RC1.

A control is made that the configuration is a valid version at startup with v2.0.0

Some validation is in v2 release -- closing


Fix filename typo for Python sample

This PR renames get_users_sampe.py into get_users_sample.py.

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


last version

hi last version for swift 2.3 ?

You can use this branch: https://github.com/dekatotoro/SlideMenuControllerSwift/tree/swift2.3

thank's


Inference

There is a way of inference by segmenting and tracking Anything in the paper，but I don't find this demo in the repo.Can you please provide it for me?

Thank you for the question.  To use the track and segment anything model with MASA, we need to use MASA's distilled detector, you need to add codes here: https://github.com/siyuanliii/masa/blob/1d5d42cdd75276c9a8e918639907916f75a761da/masa/models/mot/masa.py#L350 , you first add one condition to indicate using masa's own detector, then you call ref_rpn_results_list = self.rpn_head.predict(xxx) and det_results = self.rpn_head. predict_bbox(xxx) to get region proposals from the RPN head and detection bboxes from the RCNN head.  For the details, please take a look of this function: predict_bbox(xxx) https://github.com/open-mmlab/mmdetection/blob/cfd5d3a985b0249de009b67d04f37263e11cdf3d/mmdet/models/roi_heads/standard_roi_head.py#L293 and rpn_head.predict(xxx) .
Then, those tracked bounding boxes can be tracked and passes to SAM to get their masks.
Please let me know if you have further questions and good luck with your research!


Graph with boundaries on edges

So the nodes circles can't be outside of the screen.
Just created a fork, will be proposing a PR soon.

Is this completed ?

can I have the repo link ?


Support keyboard repetition in terminal

Check for existing issues

[X] Completed

Describe the feature
Keyboard repetition does not work for some keys like a-z in terminal while it works in Alacritty.
If applicable, add mockups / screenshots to help present your vision of the feature
No response

Adding support for this would be particularly helpful for holding the j or k keys when scrolling through a large command output like git diff.

This also affects running vi and vim in terminal, which causes arrowkeys (h j k l) to not perform.

Do you have concrete steps to reproduce? I have Vim mode enabled in Zed and can hold down j to scroll down the buffer. I can do the same thing inside the built-in terminal: keep typing j in the shell, or scroll in Vim inside that built-in terminal.
https://github.com/zed-industries/community/assets/1185253/1fb0f128-b92f-46a4-9c23-0f289532585e
Do you use this setting too?
defaults write -g ApplePressAndHoldEnabled -bool false

That disables press-and-hold to type special characters.
(Doesn't mean that users should have to use that to make it work in Zed, but just trying to find out why it works for me and not for you)

aha, that works, to disable ApplePressAndHoldEnabled.
So to me it looks like vi and vim in

OSX terminal
iTerm2
Zed
VSCode
bypasses ApplePressAndHoldEnabled when in VI mode.

But the Zed terminal does not.
I see I'm actually using en_DK, from defaults read -g  if that has any relevance:
{     AKLastLocale = "en_DK";     AppleInterfaceStyleSwitchesAutomatically = 1;     AppleKeyboardUIMode = 3;     AppleLanguages =     (         "en-DK"     );     AppleLanguagesDidMigrate = "13.4.1";     AppleLanguagesSchemaVersion = 4000;     AppleLocale = "en_DK";     AppleMenuBarVisibleInFullscreen = 0;     AppleMiniaturizeOnDoubleClick = 0;     ApplePressAndHoldEnabled = 0;     AppleShowAllExtensions = 1;     InitialKeyRepeat = 15;     "KB_DoubleQuoteOption" = "\\U201cabc\\U201d";     "KB_SingleQuoteOption" = "\\U2018abc\\U2019";     "KB_SpellingLanguage" =     {         "KB_SpellingLanguageIsAutomatic" = 1;     };     KeyRepeat = 2;     NSAutomaticCapitalizationEnabled = 0;     NSAutomaticPeriodSubstitutionEnabled = 0;     NSAutomaticSpellingCorrectionEnabled = 0;     NSLinguisticDataAssetsRequestLastInterval = 86400;     NSLinguisticDataAssetsRequestTime = "2024-01-21 14:51:34 +0000";     NSLinguisticDataAssetsRequested =     (         da,         en,         fr,         nb,         nn,         de,         sv,         cs,         nl,         fi,         it     );     NSLinguisticDataAssetsRequestedByChecker =     (         da,         en,         fr,         nb,         nn,         de,         sv,         cs,         nl,         fi,         it     );

bypasses ApplePressAndHoldEnabled when in VI mode.
But the Zed terminal does not.

Yeah, that's very interesting. Thanks for digging into this. We'll need to look into this a bit more.


Build issues with updated devkitpro install AND latest ctrulib installed

arm-none-eabi-gcc -MMD -MP -MF /c/Projects/citro3d/build/attribs.d -g -Wall -Wextra -Werror -O2 -mword-relocations -fomit-frame-pointer -ffunction-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/c/Projects/citro3d/include -I/c/devkitPro/libctru/include -I/c/Projects/citro3d/build -DARM11 -D_3DS -DCITRO3D_BUILD -c /c/Projects/citro3d/source/attribs.c -o attribs.o
base.c
arm-none-eabi-gcc -MMD -MP -MF /c/Projects/citro3d/build/base.d -g -Wall -Wextra -Werror -O2 -mword-relocations -fomit-frame-pointer -ffunction-sections -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/c/Projects/citro3d/include -I/c/devkitPro/libctru/include -I/c/Projects/citro3d/build -DARM11 -D_3DS -DCITRO3D_BUILD -c /c/Projects/citro3d/source/base.c -o base.o
c:/Projects/citro3d/source/base.c: In function 'C3Di_FinalizeFrame':
c:/Projects/citro3d/source/base.c:275:2: error: 'GPUCMD_Finalize' is deprecated [-Werror=deprecated-declarations]
GPUCMD_Finalize();
^~~~~~~~~~~~~~~
In file included from c:/devkitPro/libctru/include/3ds.h:69:0,
from c:/Projects/citro3d/include/c3d/types.h:3,
from c:/Projects/citro3d/include/c3d/attribs.h:2,
from c:/Projects/citro3d/source/internal.h:2,
from c:/Projects/citro3d/source/base.c:1:
c:/devkitPro/libctru/include/3ds/gpu/gpu.h:81:17: note: declared here
DEPRECATED void GPUCMD_Finalize(void);
^~~~~~~~~~~~~~~
cc1.exe: all warnings being treated as errors
make[1]: *** [base.o] Error 1
make: *** [build] Error 2

There is no such thing as a "devkitPro" install; what you refer to is devkitARM and libctru. Regardless of that, bleeding edge versions of tools and libraries are not guaranteed to work since they often rely on specific configurations and versions that only exist in developers' machines. Please stick to stable releases if you want software that is guaranteed to work.
(Also, you may be interested in the next branch)

I used the official devkitPro installer which installs more than just devkitARM. Thanks for the link though.

Stable versions of citro3d are also distributed and installed using devkitProUpdater.


[feature-request] dep version patch to update current package version, create tagged commit and tag

Hi,
I really like how npm version patch works. I wonder if it makes sense to do something similar to that at dep?
The idea is if we do dep version patch, it will modify the current Gopkg.toml files and bump up version inside:
# old version
[metadata]
  version = "2.0.4"

# new version
[metadata]
  version = "2.0.5"

The use case for this will help us easily keep track of tagged commit automatically and automation. The current work around is to modify Gopkg.toml manually, commit that changes and tag.
Thanks.

This would be a great feature..  npm version patch / minor / major are incredibly useful for version management, and it is great that they automatically create a git tag as well..
+1

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


Unable to use the Function falken::Rotation.FromEulerAngles(float roll, float pitch, float yaw)

Hello Auther,
I am trying to use the tool to learn robot navigation where I have written a game wrapper to interact with the falken in C++.
I am trying to use thefallen::Roationclass to set the rotation and then use this instance to set the entity rotation as follows.
falken::Rotation entity_rotation;
entity_roation.FromEulerAngles(roll, pitch,yaw);
brain_spec.observations.rotation.set_rotation(entity_rotation);

Upon building my game wrapper CMake gives me the following error.

I ran the following sanity checks to make sure that I am linking the Falken right.

Including the Falken directory that has Findfalken.cmake into the CMAKE_MODULE_PATH
list(APPEND CMAKE_MODULE_PATH /home/sandip.patel/teleop_game/src/game_engine/falken_cpp_sdk)

Find Falken with find package in the CMakeList
find_package(falken REQUIRED)

Linking the Falken with executable:
 target_link_libraries(listener_mutex falken_cpp_sdk)

I even checked if the Falken is linked correctly by checking if Falken shared object library is linked or not.
libfalken_cpp_sdk.so =>/home/sandip.patel/teleop_game/src/game_engine/falken_cpp_sdk/lib/Linux/Release/libfalken_cpp_sdk.so (0x00007f6156323000)
So, everything seems fine to me. Am I missing anything that leads to this error of undefined reference in the above image?
Thanks!

Do tests pass? If environments/cpp/hello_falken works, an easy way to debug would be to start by making modifications to its CMakeFiles.txt first.
Also depending on the compiler you are using, it may be easier to build the library and linking to it, instead of using the prebuilts.

Hello, Falken works for me!. Will try to build from the source. But I am curious in theory shouldn't the fallen try to learn the game even if we skip the rotation part for now? I mean the rotation for the entity is not the required attribute right?

If you are using the joystick & camera logic the rotation is relevant (I may be missing some implementation detail though). Even if it wasn't, the fact that it's missing that symbol will likely mean it would be unable to find other symbols as well if you stopped using rotations.


Create feature for eclipse nl fragments.

Create feature named org.jkiss.dbeaver.eclipse.nl.feature to manage eclipse nl fragments, and add it to org.jkiss.dbeaver.rcp.feature.

I've already fixed import - so it can't be merged without conflict.
Not sure about inclusion of this fragment in rcp (rcp is for standard Eclipse stuff).
org.jkiss.dbeaver.core looks as a better place..

Serge, thanks~
org.jkiss.dbeaver.eclipse.nl.feature is feature, it cannot be added to org.jkiss.dbeaver.core, and its inclusion are Eclipse language fragments, so I add to org.jkiss.dbeaver.rcp.feature.
Although you have fixed import, the PR shows no conflicts but check failed. I'm not sure about this, how about close this and PR again?
Thanks and regards.

The failed CI indicates that you need to perform several extra actions to include the new feature\fragment to the distribution. Let me do that for you, then you can move translations to the corresponding fragments.

Thanks ruspl-afed~ Possiablly because I didn't create pom.xml file for org.jkiss.dbeaver.eclipse.nl.feature.
Notes: org.jkiss.dbeaver.eclipse.nl.feature is a feature, it' will include the eclipse standard language fragments  for the eclipse standard part in DBeaver.

I created NLS feature https://github.com/serge-rider/dbeaver/tree/devel/features/org.jkiss.dbeaver.runtime.nls.feature
and NLS fragment https://github.com/serge-rider/dbeaver/tree/devel/bundles/org.jkiss.dbeaver.core.nls for https://github.com/serge-rider/dbeaver/tree/devel/plugins/org.jkiss.dbeaver.core
Please use it.
I moved _ru resources to NLS fragment to give you an example

OK~


add functions to patch the repr_html of pandas & polars dataframes

With
skrub.patch_display()

the default HTML representations of pandas & polars dataframes are replaced with TableReports
it can be undone with
skrub.unpatch_display()

patch_display can be called before or after importing the libraries (it will import them if they are installed but not imported yet. as this is only useful for interactive work I don't think it is a problem)
still need to add tests & an example but first I would like opinions on whether we actually want something like this or not
TODO:

[x] changelog
[x] tests
[ ] use in more examples?
[x] mention in tablereport docstring
[ ] the drawback is it is slower than the default displays. Limit the number of columns for which we create plots?

Example

ok this one is ready for review :)


[Tree Explainer] shap.TreeExplainer.expected_value meaning

I have the following model:
RandomForestRegressor from scikit-learn with hyperparameters:
RandomForestRegressor(min_samples_leaf=1, max_features='sqrt', min_samples_split=2, warm_start=False, bootstrap=True, n_jobs=-1, oob_score=True, random_state=0)
When I create instance shap.TreeExplainer and get expected value I get: 4.513963
When I do the mean of model.predict(X) I get: 4.474953
How could I explain the difference and what is the meaning of the expected_value since it is not simple mean of all predicted Ys?

Hi @pep3e. I got same problem with you and make some research, the expected value is calculated from target of train set. not calculated from your predict set.
Shap will get target values saved on estimator of model.
If you set your RandomForest's n_estimators = 1. You will get the expected value = mean (target) on your train set.


channel to add

[x] (20) Tech With Tim - YouTube: https://www.youtube.com/c/TechWithTim/featured
[x] (20) Dev Ed - YouTube: https://www.youtube.com/channel/UClb90NQQcskPUGDIXsQEz5Q
[x] (20) DesignCourse - YouTube: https://www.youtube.com/user/DesignCourse
[x] (20) The Net Ninja - YouTube: https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg
[x] (20) freeCodeCamp.org - YouTube: https://www.youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ
[x] (20) Program With Erik - YouTube: https://www.youtube.com/channel/UCshZ3rdoCLjDYuTR_RBubzw
[ ] (20) Dylan Israel - YouTube: https://www.youtube.com/c/CodingTutorials360/videos
[x] (20) Coding Garden - YouTube: https://www.youtube.com/c/CodingGarden/videos
[ ] (20) The Coding Train - YouTube: https://www.youtube.com/c/TheCodingTrain/videos
[ ] (20) Fun Fun Function - YouTube: https://www.youtube.com/c/funfunfunction/videos
[ ] (20) Stefan Mischook - YouTube: https://www.youtube.com/c/StefanMischook/videos
[x] (20) Academind - YouTube: https://www.youtube.com/c/Academind/videos
[ ] (20) Chris Hawkes - YouTube: https://www.youtube.com/c/noobtoprofessional/videos
[ ] (20) Joshua Fluke - YouTube: https://www.youtube.com/c/JoshuaFluke1/videos
[ ] (20) Caleb Curry - YouTube: https://www.youtube.com/c/CalebTheVideoMaker2/videos
[ ] (20) sentdex - YouTube: https://www.youtube.com/c/sentdex/videos
[x] (20) Dani Krossing - YouTube: https://www.youtube.com/c/TheCharmefis/playlists
[ ] (20) CS Dojo - YouTube: https://www.youtube.com/c/CSDojo/playlists
[x] (20) LevelUpTuts - YouTube: https://www.youtube.com/c/LevelUpTuts/playlists
[x] (20) Wes Bos - YouTube: https://www.youtube.com/c/WesBos/playlists
[x] (20) thenewboston - YouTube: https://www.youtube.com/user/thenewboston/playlists
[x] (20) The Codeholic - YouTube: https://www.youtube.com/c/TheCodeholic/playlists
[x] (20) Program With Erik - YouTube: https://www.youtube.com/channel/UCshZ3rdoCLjDYuTR_RBubzw
[x] https://www.youtube.com/channel/UCJdmdUp5BrsWsYVQUylCMLg

Add https://youtu.be/rJyTfqdCvlk


Errors Starting apache

(kali)none@localhost:~$ sudo apt-get install apache2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apache2 is already the newest version (2.4.52-1).
0 upgraded, 0 newly installed, 0 to remove and 78 not upgraded.
(kali)none@localhost:~$ sudo service apache2 start
Starting Apache httpd web server: apache2Invoking 'systemctl start apache2'.
Use 'systemctl status apache2' for more info.
Running in chroot, ignoring command 'start'
^C
(kali)none@localhost:~$ systemctl start apache2
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
(kali)none@localhost:~$ sudo systemctl start apache2
Running in chroot, ignoring command 'start'

I am trying to run Apache2 Im not sure what i am doing wrong. it tells me to use systemctl instead of service. I proceed to use systemctl but it says failed to connect to bus: Host is down. I googled some fixes. none that i found worked. so figured i should come here and try to get a fix. thanks!

same problem. I'm running in chroot with kali linux rolling. I'm using a chromebook. Been stuck now for days. lemme know if you figure it out. I will do the same as soon as I figure this problem out! So FRUSTATED!!!


Add support for aarch64

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please re-render

Should get fixed with https://github.com/conda-forge/e2fsprogs-feedstock/pull/9


[BUG] Running examples/scripts/dpo.py crashes

Error
Running examples/scripts/dpo.py with no changes to the args crashes with the following error message
 File "/home/jean/trl/examples/scripts/dpo.py", line 170, in <module>
    dpo_trainer.train()
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/site-packages/transformers/trainer.py", line 1591, in train
    return inner_training_loop(
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/site-packages/transformers/trainer.py", line 1984, in _inner_training_loop
    self._maybe_log_save_evaluate(tr_loss, model, trial, epoch, ignore_keys_for_eval)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/site-packages/transformers/trainer.py", line 2339, in _maybe_log_save_evaluate
    self._save_checkpoint(model, trial, metrics=metrics)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/site-packages/transformers/trainer.py", line 2471, in _save_checkpoint
    self.state.save_to_json(os.path.join(output_dir, TRAINER_STATE_NAME))
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/site-packages/transformers/trainer_callback.py", line 106, in save_to_json
    json_string = json.dumps(dataclasses.asdict(self), indent=2, sort_keys=True) + "\n"
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/dataclasses.py", line 1238, in asdict
    return _asdict_inner(obj, dict_factory)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/dataclasses.py", line 1245, in _asdict_inner
    value = _asdict_inner(getattr(obj, f.name), dict_factory)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/dataclasses.py", line 1273, in _asdict_inner
    return type(obj)(_asdict_inner(v, dict_factory) for v in obj)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/dataclasses.py", line 1273, in <genexpr>
    return type(obj)(_asdict_inner(v, dict_factory) for v in obj)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/dataclasses.py", line 1275, in _asdict_inner
    return type(obj)((_asdict_inner(k, dict_factory),
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/dataclasses.py", line 1276, in <genexpr>
    _asdict_inner(v, dict_factory))
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/dataclasses.py", line 1279, in _asdict_inner
    return copy.deepcopy(obj)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 172, in deepcopy
    y = _reconstruct(x, memo, *rv)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 271, in _reconstruct
    state = deepcopy(state, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 231, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/home/jean/anaconda3/envs/rlhf/lib/python3.10/copy.py", line 161, in deepcopy
    rv = reductor(4)
TypeError: cannot pickle '_thread.lock' object

Installed Environment
I installed the dependencies as provided in requirements.txt
specifically, I use
transformers==4.34.1
tokenizers==0.14.1
peft==0.5.0
accelerate==0.23.0
torch==2.1.0
tyro==0.5.10

and a source installation of this commit 7de7db67655eeddfc8e6111f620812804d9defdf

This should be fixed in #919.

I think this problem has resurfaced at some point.  I'm running TRL indirectly through Axolotl and I'm seeing this line triggering the ProgressCallback.
Then pretty naturally when that callback does logs = copy.deepcopy(logs) the WandB table in the logs breaks things with the same failure.
The key parts of my stacktrace are:
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/transformers/trainer.py", line 2221, in train
    return inner_training_loop(
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/transformers/trainer.py", line 2728, in _inner_training_loop
    self._maybe_log_save_evaluate(
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/transformers/trainer.py", line 3299, in _maybe_log_save_evaluate
    metrics = self._evaluate(trial, ignore_keys_for_eval)
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/transformers/trainer.py", line 3240, in _evaluate
    metrics = self.evaluate(ignore_keys=ignore_keys_for_eval)
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/transformers/trainer.py", line 4277, in evaluate
    output = eval_loop(
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/trl/trainer/dpo_trainer.py", line 1814, in evaluation_loop
    self.log(
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/trl/trainer/dpo_trainer.py", line 1856, in log
    return super().log(logs)
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/transformers/trainer.py", line 3802, in log
    self.control = self.callback_handler.on_log(
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/transformers/trainer_callback.py", line 628, in on_log
    return self.call_event("on_log", args, state, control, logs=logs)
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/transformers/trainer_callback.py", line 641, in call_event
    result = getattr(callback, event)(
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/site-packages/transformers/trainer_callback.py", line 775, in on_log
    logs = copy.deepcopy(logs)
  File "/home/fozziethebeat/anaconda3/envs/axolotl-dev/lib/python3.10/copy.py", line 146, in deepcopy
    y = copier(x, memo)

Important versions of libraries are:
transformers==4.42.3
trl==0.9.6
wandb==0.17.4

The only solution i've found is to drop wandb logging or deleting the log line in the DPO Trainer.
I feel like the right fix is that when the DPO trainer calls self.log(...) it should not trigger the ProgressCallback and its kinda weird that it is


Reset theming

Issue Type: Bug
Define a custom theme (Dracula by exemple)
When switching tabs or coding, it gonna resets for default one: Dark+
Extension making it: bioSyntax
Extension version: 0.0.11
VS Code version: Code 1.59.0 (379476f0e13988d90fab105c5c19e7abc8b1dea8, 2021-08-04T23:13:20.182Z)
OS version: Linux x64 5.10.60-1-MANJARO
Restricted Mode: No

System Info

Item
Value

CPUs
AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (8 x 3678)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
5, 3, 2

Memory (System)
5.80GB (1.09GB free)

Process Argv
--no-sandbox --unity-launch --crash-reporter-id 7e7dd69d-85c1-4717-b7df-79378c81c438

Screen Reader
no

VM
0%

DESKTOP_SESSION
plasma

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE

XDG_SESSION_TYPE
x11

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
vscextlang:30333561
binariesv615:30325510
vsccppwt:30329788
pythonvssor306:30344512
bridge0708:30335490
bridge0723:30353136
vsdyn478:30356813
vscus224cf:30358040
vssid140cf:30358037

Also happens on my desktop

How do you define the custom theme. Can you give some steps or maybe add a animated gif?

Using Ctrl+ P -> Color Theme

--
From Settings (JSON)

btw, the theme still reseting because I did activate the extension, if I disable it, I can have my theme working as expected.

You should press enter to apply this theme.

You should press enter to apply this theme.

Crazy, I'm applying.. I'm not a new user, the revert is caused by an extension.
If I disable the 'byoSintax' extension, everything work flawless.
The main point of this issue is discovering what may be causing this reset and if it affects in any other place.

Maybe that extension switches the theme based on some option (e.g. daylight). Can you add a link to the extension (can't find byoSintax)?

Sure, https://marketplace.visualstudio.com/items?itemName=reageyao.biosyntax
This one

Looks like auto switching theme is a feature of biosyntax.
Uninstall the extension or set BioSyntax.autoSwitchTheme to false;


[packages] Override labels no longer update on re-runs

https://github.com/flutter/flutter/issues/130076 added support for the flutter/packages workflow of adding labels that allow us to override specific checks. The intended behavior, and the way it worked when first deployed, is that if we added an override label to a PR and then re-ran the failing task, it would pass.
At some point since then the behavior has changed, and re-running is no longer picking up the current label state. Instead, the only way to get the checks to pass after adding the labels is to push a new commit to the PR. This is a major regression in functionality; the task that runs the check these labels override is explicitly designed to be fast, so instead of a workflow of "add label, re-run a fast task, PR is green a minute or two later" it's "add a label, do something that pushes a commit, which restarts all tests, potentially making it take 30+ minutes to get a landable PR".
/cc @yusuf-goog

@stuartmorgan Do you have an example of the PR where the rerun didn't pick up the override labels? I don't think there is any changes related to that logic. As I see the current logic, if it's a rerun from the GitHub UI, the scheduler will pick up all the properties from the earlier failed build (which has the override label info) and inject it to the new build.

Do you have an example of the PR where the rerun didn't pick up the override labels?

I don't have a live one at the moment, but it should be trivial to create:

Upload a PR with a change to code in a package, but not changing the version or CHANGELOG
See the expected failure in repo_checks
Add the labels
Try re-running

if it's a rerun from the GitHub UI, the scheduler will pick up all the properties from the earlier failed build (which has the override label info)

I think you're describing the opposite of the failure case? Picking up exactly the state of the earlier failed build is the problem, because that earlier failed build doesn't have the labels.
The desired behavior, which we had originally, was that after the check fails we can simply add the labels to override it and then re-run check, which means it needs to read the live label state.

I am wondering if the logic ever works. The only case it would work (I can think of) is: if a pr is created, a label is added, a new commit is pushed, and then rerun on a failed task from the new commit.
Currently:

when a new commit is pushed, the scheduler checks the labels and promote as build properties if the override label exists and then schedules the build.
when a rerun happens (though a new label is added before rerun), the schedule picks whatever properties the earlier failed build has and promotes them to the new to-be-scheduled build. Note here there is no further label check from the current PR.

What we should do (based on the desired behavior mentioned above):

move the pr label checking logic to retry instead of the original commit level schedule, as we only want the label for retry case.

I'm sure I tested that it worked without pushing a new commit when this was first set up, because that was so important to the desired workflow (and because it had at some point broken in Cirrus for a while, and that was miserable until we finished it).

Hum, then I am not sure. But https://github.com/flutter/cocoon/pull/3403 should fix the issue.

Great, thanks!


Design webpage for user documentation

This is a webpage that explains the features implemented in IronCalc Web together with a list of functions implemented.
This will document features of the engine, like functions and operations supported like defined names and features of the web app, styles, browse mode, etc. Should be a quick a short list of what it is and it is not implemented.

This is done now by @dg-ac .
A new redesign in under way!


Memory Leak when use QoS 1 or 2

Hi,
There seems to be a memory leak which occurs when we use QoS greater than 0.
Following is our test case.
Kuiper Version: 1.2.0
Number of streams: 250 (1 per rule)
Number of Rules: 250
Rule Sample:
{
	"id": "rule1",
	"sql": "SELECT meta(t1->name), collect(meta(t1->origin))[-1]/1000.0, sum(t1) from stream1 GROUP BY SlidingWindow(ss, 30)",
	"actions": [{
		"mqtt": {
			"server": "tcp://<IP_ADDRESS>:1883",
			"topic": "cep_topic_1",
			"sendSingle": true,
			"dataTemplate": "[{\"origin\": {{.kuiper_field_0}}, \"message\": {{.meta}}, \"st1\": {{.sum}}}]"
		}
	}],
	"options": {
		"isEventTime": false,
		"lateTolerance": 1000,
		"concurrency": 1,
		"bufferLength": 1024,
		"sendMetaToSink": false,
		"sendError": true,
		"qos": 1,
		"checkpointInterval": 5000
	}
}

Run time: 3 hours
Throughput: 1 value per second per rule
CPU Usage: in %

Memory Usage: in MBs

Thanks @salmanazmat666, I can recreate the problem. It seems a problem of state cleanup. We'll continue looking into this.


Add product related new functionalites in Commerce module

productDescription
productCategory (furnitures, cars etc)
productReview
productRating (0-5)

Assign it to me pls
Also it would be great if you provide more information about this functions

Description could be like: "brand new" or "used", "bear traces of use" etc you can be creative here :)
Category - string one of values of cars, furnitures, food, devices etc google some list of product categories
Review: we can prepare some array of example reviews like : "I am satisfied with this purchase", "I bought it couple days ago and it meets my expectations," like 20 of sentences like that also megative ones and one random sentence from it, also a chance to be creative 😁


checker.ts should be broken in smaller files.

Since I didn't find any better place to get info about that, posting it here.

See #7273

We've been slowly moving things out as it's possible. It's actually a fairly massive closure so it's harder to move things than it appears at first. The abstract suggestion of "it should be smaller" is not immediately actionable, though.


Adds Guardfile

Makes it easy to lint and run unit tests against cookbook while developing.

We can't use guard-foodcritic as it's not getting updated with the latest versions of foodcritic.  Other than that this is fine.

Closing this since guard-foodcritic isn't getting updated


Faster host upgrades + storage folder operations

PR is not finished - namely the test suite is broken now b/c it measures whether or not WriteAt gets called, but now we use Truncate instead, so the suite gets upset because it doesn't think we are writing out the file.
First reordered the upgrade process so that people with massive storage arrays can interrupt the growth phase without being forced to write out a full 500TB over NFS.
Second switched from doing 0-writes to doing incremental truncates. Some quick searching informed me that calling 'Truncate' is the correct way to create sparse files, and that writing zeroes is a lot slower. Updated my benchmarks PR as well, which now shows that calling Truncate is pretty fast. I guess I should also write a benchmark for tail-0 writing.
This new PR should provide great speedups for filesystems that support sparse files without impacting the performance or progress-ness of filesystems that don't support sparse files.
Made this PR quickly so that it could get reviewed faster.

failing with:
--- FAIL: TestHostDBHostsHandler (0.55s)
	hostdb_test.go:234: One value in host score breakdown

ah man we missed the version bump.


gcc-6 can now build most of the testsuite successfully

gcc-6 can now build most of the Hana testsuite successfully, see:
http://www.boost.org/development/tests/develop/developer/hana.html
(trippels-powerpc64le-gcc-6.0 column)
Maybe it is time to remove the gcc warning:
#warning "You appear to be using GCC, which is not supported by Hana yet."?

I'm still getting around 151 failures with GCC trunk locally, so IMO it's still a bit early to remove the #warning. I do agree that many C++14 bugs have been fixed in GCC recently, so it would be worth re-investigating what can be done to support the compiler. That probably means submitting new bug reports, but they're almost there.

Thanks.
I think https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226 is the only one left.
Maybe you could work around it?
And any new gcc bug report would of course be welcome.

example % for f in **/*.cpp ; do echo $f && g++ -O2 -I/var/tmp/hana/include $f && ./a.out ; done shows: misc/tree.cpp Assertion failed: (hana::sum<>(tree) == 10), function main, file misc/tree.cpp, line 134. scan_right.cpp Assertion failed: (hana::scan_right(hana::make_tuple(1, "2", '3'), 4, f) == hana::make_tuple( "f(1, f(2, f(3, 4)))", "f(2, f(3, 4))", "f(3, 4)", 4 )), function main, file scan_right.cpp, line 31.

With the latest changes I pushed on develop, we should be down to one runtime failure on GCC trunk (in test/functional/apply.cpp, caused by bug 70096). Do you know how we can setup Travis CI support for GCC trunk? That would be the next step before I can officially say that GCC is supported.

Also, I can't reproduce the error in scan_right.cpp... what platform are you on?

I'm on x86_64 gnu-Linux.
scan_right.cpp only fails if optimizations are enabled:
markus@x4 example % g++ -g -I../include scan_right.cpp
markus@x4 example % ./a.out
markus@x4 example % g++ -O2 -g -I../include scan_right.cpp
markus@x4 example % ./a.out
Assertion failed: (hana::scan_right(hana::make_tuple(1, "2", '3'), 4, f) == hana::make_tuple( "f(1, f(2, f(3, 4)))", "f(2, f(3, 4))", "f(3, 4)", 4 )), function main, file scan_right.cpp, line 31.
[1]    27943 abort      ./a.out

(I have no idea about gcc-6 Travis CI support)

No. You're invoking undefined behavior, see http://gcc.gnu.org/gcc-6/porting_to.html
(More aggressive optimization of -flifetime-dse).
-flifetime-dse=1 "fixes" the issue.

Thanks, I'm on it. I only ran the tests with GCC in Debug mode.

Do you know how we can setup Travis CI support for GCC trunk?

@ldionne I looked into this about a week ago. I don't know how to do this without building from source, which I assume would be highly frowned upon. As far as I can tell, GCC 5.2.1 is the latest package available. I don't know if the same can be said for Appveyor.

@badair Thanks for the info. Building from source will be way too long. That sucks.

@octoploid I fixed the scan_right bug locally; I'm testing and I'll push the fix. I'll also run all the tests in release mode with GCC. We're almost there!!!

Thanks. All looks good now.
commit dd92656da819 can now be reverted, because the gcc bug was fixed.
Compile times look good for gcc:
1500.02s user 78.09s system 380% cpu 6:55.02 total
clang is much slower:
2122.16s user 58.94s system 285% cpu 12:42.68 total
(make -j4 check with CXXFLAGS="-O2". Both compilers were build with checking=release and asserts enabled.)

Two things:

I'm still getting a segfault in test.functional.apply because of 70096. This appears to be the last problem remaining.
How do you build GCC with optimizations enabled? My GCC is a total slowpoke, taking over an hour to complete the test suite.

@ldionne

I build with CXXFLAGS="-O2", so I don't hit the issue.
Just configure gcc with --enable-checking=release

BTW github_234.cpp fails on a ppc64le POWER8 machine:
/home/trippels/hana/include/boost/hana/equal.hpp:60:13: error: static assertion failed: No default implementation of hana::equal is provided for related types that can't be safely embedded into a common type, because those are most likely programming errors. If this is really what you want, you can manually convert both objects to a common Comparable type before performing the comparison.
static_assert(!hana::is_convertible<T_, U>::value &&
^~~~~~~~~~~~~

@octoploid  Is it possible that char is unsigned on that machine?

Yes and ppc64 is not the only arch:
Signed					Unsigned
alpha					aarch64
i686					arm
ia64					ppc
m68k					ppc64
mips					s390
sparc					s390x
x86_64

There is an open issue for whitelisting GCC 6 on travis (it seems that there are packages for it in ubuntu-toolchain-r-test):
Issue: https://github.com/travis-ci/apt-package-whitelist/issues/2294
Packages: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test

@octoploid Thanks, fixed.
@gnzlbg Looks like we'll have to wait for the Travis team.. Thanks for the cross-reference.

63c5f87dfdadd07e496cefefc63c3ea9968d3140 removes the warning about GCC and documents support for GCC. GCC 6 officially supports Hana!

@gnzlbg AFAICS, gcc-6 is only available for the upcoming Ubuntu 16.04 LTS, not yet for 12.04 / 14.04.  Or did you just forcibly install the 16.04 package on an older distro?


As an author, I want to post posts to my “stream”

#16 is related.

This is handled automatically on the backend. An Author POSTs a comment which is retrieved in the the GET /author/timeline call.


bugfix. update external gossip cert.

Allow external gossip certificate to be updated in cli-extension.
az managed-cassandra cluster update -e
This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

cosmosdb

If you want to release a new version for this fix now, pls update setup.py and history.rst.
If it's ok to wait until next release, then I can merge this PR directly


translator.langs raise Yandex::ApiError

It's OK:
> translator = Yandex::Translator.new('trnsl.1.1._xxxx')
=> #<Yandex::Translator:0xbb7dea04 @api_key="trnsl.1.1._xxxx">

It's OK too:
> translator.detect 'Hello, world!'
=> "en"

But it's raise error:
>  translator.langs
Yandex::ApiError: Yandex::ApiError

Edit.
At last case HTTParty::Response has not ['code'] field.

@lemboy Thank you for issue. Yes, it's looks like Yandex api did not return 200 code on getLands method now. I fix it https://github.com/aegorov/yandex-translator/commit/ec238601b51f34977799a6cf261ecff885487c86


add hashing for resources

Grails 3 doesnt include the plugin version in the url like Grails 2 does. Add hash in the name for cache bust.

added a version prefix instead https://github.com/sheehan/grails-console/commit/127c962c33988a92ea815f31e6510caefe8187ee#diff-91c48ee9a8329ef316a39d7f1beb41f1R6


pandoc 3.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

I'm no macos expert, and I don't know how to make zlib discoveral by pkg-config. Maybe someone else has an idea?


Syntax highlighting breaks with something after toggle .class on

I'm using v0.1.5 on VS Code 1.76.2. The file is .html.erb with the following settings:
"files.associations": {
  "*.html.erb": "erb",
  "*.turbo_stream.erb": "erb"
},

Examples:
<div _="on click toggle .class on me">
</div>

<div _="on click toggle .class on #<%= dom_id(object) %>">
</div>

Pictures:
Broken
Notice the green div at the bottom indicating the syntax is "incorrect".

Working
Notice the red div at the bottom indicating the syntax is "correct".

If you use end at the end of the function it solves most of those cases.
e.g. _="on click toggle .class on me end"


0d conj correlate

Make 0-D correlate case consistent with 1-D case and description in Notes.
Add tests for correlate with 0 rank
Fixes #5954

#5954 talks about doc updates, did you want to put those in?
It looks like for some reason the CIs did not run on the second commit that actually has tests. So if you don't plan on updating any doc, could you squash or commit --amend and push -- force to get them to run?

#5954 talks about doc updates, did you want to put those in?

The docstring already says
z[...,k,...] = sum[..., i_l, ...] x[..., i_l,...] * conj(y[..., i_l - k,...])

but I guess it could be more explicit

As I just posted in #5954 there's really no discrepancy.  There's only one unambiguous definition, and correlate was just wrong in the 0d case.

Squashed and put the rationale in the commit message

LGTM +1 for merge. I'll merge in a few days unless someone else wants to take a look. Feel free to ping me if I forget

12 days are enough I think 😃, thanks!


Test: Kubernetes upstream fix Cilium installation.

Fix the issue on Cilium installation on Kubernetes Upstream tests
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

This change is

test-upstream-k8s

test-me-please


Adding notebook on langchain components

Please run the cell to install the right version of LangChain. This notebook cannot use the existing langchain_kernel unfortunately since the version there is older.

Can you update the existing langchain kernel instead of creating another kernel? It seems you can run both notebooks by adding pip install wikipedia==1.4.0 to the dependencies you defined for the new kernel here.

Thanks Takumi! I tested the RAG notebook and it works with the new kernel, I'll merge the two kernels.

@takumiohym Per our discussion, the notebook has been updated with a common example to example as many components as possible. The kernel as been merged too.


Fix comparison operation

The scale (precision) parameter was missing from the comparison operation, leading to wrong results.

Thanks @flajos for your contribution, sorry for the late feedback.
As far as I can see the builds are breaking because of the documentation, but that has been fixed in https://github.com/moneyphp/money/commit/1fc94fcc55ae3b534932d8cdab33bc591e4c3e24, so I'm just going to merge your fix.

Thanks @sagikazarmark!
Nice work by the way :+1:


Separation of Registration and Portal Login Screen

@evegufy  time for a quick check?

@jjeroch Looks good so far. Once we're done with the generic realms, I'll do a resetup with the exported realms and this additional theme, then we can see it in action.


feat(mysql): Add pool parameter (#1157)

Related
https://github.com/Urigo/graphql-mesh/issues/1157

Adding an optional pool parameter to the programmatic interface of the
MySQLHandler
OOS:
Adding .history folder to the .gitignore to ignore VS Code specific
extension folder

I could not find a better way to make types work with the existing YAMLConfig and at the same time support additional parameters for the programmatic api

Oh sorry I didn't notice you were already working on it.
https://github.com/Urigo/graphql-mesh/pull/1158
Let me know if my changes work for you.

Closing in favor of https://github.com/Urigo/graphql-mesh/pull/1158


Add HTTP_X_FORWARDED_IP (if set) when user wants to log IP

Add HTTP_X_FORWARDED_IP (if set) when user wants to log IP from $_SERVER array, useful behind loadbalancer eg.
In our current setup the loadbalancer IP is in $_SERVER['REMOTE_ADDR'], which is not particularly useful in my case. Checking for the existence of HTTP_X_FORWARDED_IP can be useful in this case, and will only be added if user was requesting for the IP already.

Problem is x-forwarded-ip isn't very standard, and it can be sent by clients. There are Client-IP and x-forwarded-for headers as well, and the somewhat-newly standardized forwarded https://tools.ietf.org/html/rfc7239 - and as I said they can all be sent by clients, so you should only accept their content up to the trusted loadbalancer/proxy IP, which is complex logic I really don't want to take care of in there.
Symfony for example has a bunch of code doing this https://github.com/symfony/symfony/blob/2.8/src/Symfony/Component/HttpFoundation/Request.php#L792-L838 that is based on a configured list of trusted IPs.
I think the better way really is to handle this at the application level and add your own processor to do this, it's very easy to do and means we don't open pandora's box in monolog :)

Hm, that makes sense. Maybe best indeed to solve it at application level for a specific use case. Thanks for the extensive reply :)


Reqmgr2 splitting tasks and config

Thanks Valentin, Sorry, I didn't meant make you work this on weekend.


Reachability doesn't detect switch between Wi-fi networks

When the iPhone switches network from one to another I don't receive any notification. However when switching from Wi-fi to cellular and cellular to Wi-fi it works flawlessly. Is this an iOS issue perhaps?

In my case it detects but crash :

Did you find a solution how to detect switches between WiFi networks?

@jsslai Did you find a solution?


BottomSheet preview

[x] Read CONTRIBUTING.md.

Bottom sheet for media details.
Summary of changes:

Added a ModalBottomSheet.
Enabled predictive back gestures.

Tested changes:
the

Where bottom sheet

Where bottom sheet

https://github.com/imashnake0/TheFuni/pull/1

I tried it again yesterday after updating the dependencies and it's still pretty cringe: https://issuetracker.google.com/u/1/issues/280000338#comment4 :(


end-user has to sign the transaction when minting in a gassless way

Would it be possible to have the end-user just receive the mint, instead of having to be a signer?

Hey! Can you explain what your use case is? The SDK already has an NFT airdrop function which doesn't require the end-user to sign the transaction. The transaction is being signed via the mint keypair and the payer wallet
https://github.com/candypay/sdk/blob/bfb30790356a6bc0140f527a74cd19b9cf1f1a75/packages/sdk/src/lib/nft-airdrop.ts#L162

Update: The airdrop function's internal types have been changed in the latest version of the SDK. Here is the latest code on how to use the airdrop function - https://github.com/candypay/sdk#airdrop
https://github.com/candypay/sdk/blob/553791e5cfdf22ff10fb16a972930f8929ca076d/packages/sdk/src/types/nft.ts#L7-L57

Hey! I saw that one, but I was referring to the gasless mint of a candy machine. It would be awesome, if the gassless way would not require the end-user to sign the transaction

Gotcha! The latest update of the SDK doesn't require the end user to sign the transaction for minting the Candy Machine via the gasless method. You can take a look at the tests for the candyMachine module -- https://github.com/candypay/sdk/blob/main/packages/sdk/tests/candy-machine.test.ts. Under the test suite for the gasless method, you can see that the transaction is only being signed by the payer wallet and the mint keypair.
https://github.com/candypay/sdk/blob/553791e5cfdf22ff10fb16a972930f8929ca076d/packages/sdk/tests/candy-machine.test.ts#L42-L46


Add Ministral 3B and 8B

Ministral 3B and 8B are SOTA edge models by Mistral AI: https://mistral.ai/news/ministraux/
It would be great to have them on the leaderboard!

FYI, the 8B model has been updated in the leaderboard. The 3B model's overall accuracy is only around 10%, which doesn't exceed the random interval, so it hasn't been added to the leaderboard.


TOC Scroll Issue

Firefox and Edge has scroll issues. After 10-11 slides text is "outside" its designated area.

Fixed this a while ago, and now im closing the issue


Archive for each directory

Is it possible to create an archive for each directory in a one backup run?
For example if I want to backup all websites that are in /srv.
Instead of having one archive with all directories in them, is it possible to have an archive for each directory in /srv?
Awesome tool, btw!

Hi @Twiebie. Without actually making a different backup model configuration this is currently not possible. The entire contents of the backup is added to one archive file. This is by design, so incremental backups can be made and they can be easily deleted by deleting the one single file of that backup.
So set up another configuration and call this separately to create a separate archive for this directory.
Let me know if you need more information

Are there any plans to implement such functionality?
Both for files and databases it would be really nice to be able to dump them in their own archives without having to specify a separate model for each one.
I'm currently doing something like this for the folders, but it's far from optimal as it basically just creates one huge archive.
Dir['/srv*'].each do |path|
  archive :websites do |archive|
    archive.add path
    archive.tar_options '--warning=no-file-changed --warning=no-file-removed'
  end
end

@Twiebie there are no plans currently to add such a feature. You can submit feature requests on the feature issue tracker. This list will be used to see what features can be (easily) added in the next major version of backup. Things we can keep in mind while (re)writing it.
If you want this soon I suggest creating a PR implementing this feature on a single model basis. The team is not going to add any new features to this version of backup.


Use shortcode for note in Kops glossary entry

Use shortcode for note in Kops glossary entry
also change “terraform” to “Terraform”

/kind cleanup

minor nits, apart from looks good

/lgtm

/approve


Adding Alias for spo site list

Added a new command spo tenant site list
Alias command spo site list

Thank you, we'll try to review it ASAP

Hi @ktskumar . It seems that we currently have some merge conflicts. Could you resolve these before I can start reviewing?

Hi @ktskumar . It seems that we currently have some merge conflicts. Could you resolve these before I can start reviewing?

Sure will check it..

Hi @ktskumar . It seems that we currently have some merge conflicts. Could you resolve these before I can start reviewing?

Sure will check it..

For your info: to resolve your merge conflicts, please rebase your branch with the current main branch. Do not merge the main branch into your branch. Otherwise, we'll have quite some trouble getting it into our code base.

I have done something wrong. Need some hand to resolve this.

Do you need some help? Or will you try to fix it?

Yes. I will try to fix it. Please share, if you have any steps.


spike: Fedwire Format Validation Logic

What were you trying to do?
I was trying to show file contents of a CTR transaction
What did you expect to see?
I expected to see my file contents
What did you see?
I saw an error requiring the the BeneficiaryIntermediaryFI field
How can we reproduce the problem?
Create a fedwire file with the following JSON:
{
    "id": "704943",
    "fedWireMessage": {
        "id": "704943",
        "messageDisposition": {
            "formatVersion": "30",
            "testProductionCode": "T"
        },
        "senderSupplied": {
            "formatVersion": "30",
            "userRequestCorrelation": "TESTDATA",
            "testProductionCode": "T",
            "messageDuplicationCode": " "
        },
        "typeSubType": {
            "typeCode": "10",
            "subTypeCode": "00"
        },
        "inputMessageAccountabilityData": {
            "inputCycleDate": "20180922",
            "inputSource": "XYZ ABC ",
            "inputSequenceNumber": "000001"
        },
        "amount": {
            "amount": "000000000250"
        },
        "senderDepositoryInstitution": {
            "senderABANumber": "000714895",
            "senderShortName": "Fake Institution"
        },
        "receiverDepositoryInstitution": {
            "receiverABANumber": "000738119",
            "receiverShortName": "Fake Institution"
        },
        "businessFunctionCode": {
            "businessFunctionCode": "CTR",
            "transactionTypeCode": "   "
        },
        "charges": {
            "chargeDetails": "B",
            "sendersChargesOne": "USD0",
            "sendersChargesTwo": "USD0",
            "sendersChargesThree": "USD0",
            "sendersChargesFour": "USD0"
        },
        "instructedAmount": {
            "currencyCode": "USD",
            "amount": "000000000250"
        },
        "exchangeRate": {
            "exchangeRate": "1.3624055125"
        },
        "beneficiary": {
            "personal": {
                "identificationCode": "T",
                "identifier": "755756",
                "name": "string",
                "address": {
                    "addressLineOne": "string",
                    "addressLineTwo": "string",
                    "addressLineThree": "string"
                }
            }
        },
        "originator": {
            "personal": {
                "identificationCode": "T",
                "identifier": "798260",
                "name": "string",
                "address": {
                    "addressLineOne": "string",
                    "addressLineTwo": "string",
                    "addressLineThree": "string"
                }
            }
        }
    }
}

So realistically - following the flow of this 2011 Fedwire Doc: http://citeseerx.ist.psu.edu/viewdoc/download?doi=<IP_ADDRESS>5.7645&rep=rep1&type=pdf
Field {4000} (Beneficiary Intermediary FI) is not required in any case. If you look at page 15 of the doc, you'll see a flow of Business function codes, which fields are mandatory, and which fields are optional in a fedwire implementation.
Unless if you know of a better standard to be following: this is the implementation of Fedwire I'm using as a gold standard.

Under edit requirements on page 3 beneficiary it looks to be required.
Beneficiary
ID Code (B, C, D, F, T, U, 1, 2, 3, 4, 5, 9)
Identifier (34 characters)
Name (35 characters)
Address (3 lines of 35 characters each)
Mandatory when {3600} is CTR, CTP,
DRW or DRC; otherwise optional.
If ID Code is present, Identifier is
mandatory and vice versa.
If ID Code is ‘B’, ‘F’, or ‘U’, the Identifier will
be edited for proper structure.
If ID Code is ‘T’:
 {3600} must be CTR or CTP.
 Identifier must be present and should
contain an account number.
 Name must be present and should
contain a SWIFT BIC or BEI, w

Thanks for taking the time to report this issue @mmcdonnell-mulesoft. We included the fix for this in v0.6.0.


Detected integration that accesses the is_metric property of the unit system. This is deprecated and will stop working in Home Assistant 2023.1

I found the warning below in my logfiles:
2023-01-16 09:17:00.587 WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that accesses the `is_metric` property of the unit system. This is deprecated and will stop working in Home Assistant 2023.1. Please adjust to use instance check instead.. Please report issue to the custom integration author for mila using this method at custom_components/mila/entities/location/distance_sensor.py, line 44: return self.device.hass.config.units.is_metric

Home Assistant 2023.1.4
Thanks :) !

ha-mila is broken on the latest HA release. @sanghviharshit it would be great to merge my PR so that we can get the fix in for other folks.


[Feature] compare/replace cell matching code with scipy.optimize implementation

Is your feature request related to a problem? Please describe.
The core developer team is not confident we'll be able to maintain the cell matching code long-term (mainly because I don't feel like I entirely understand each line :sweat_smile: !)
Describe the solution you'd like
Unless it's a lot less performant, we should consider replacing the core logic of our cell matching functionality with scipy.optimize.linear_sum_assigment, to reduce the maintenance burden. This is not exactly the same algorithm, but is related and useful for the same class of problems, AFAICT.
A solution like this would also fit well with the idea of BrainGlobe bringing the neuroanatomical context to the Python ecosystem, rather than re-implementing parts of it.
Describe alternatives you've considered
\
Additional context
\

I do agree with that we shouldn't re-implement stuff and reuse as much as possible.
The main reason why I re-implemented it, is that every existing implementation that solves this problem expects a cost matrix input of size NxM. For our example with 250k cells, this would have required a 200+GB matrix for float32.
There may be a way to hack a fake numpy array that calls a function that computes the distance for each call to cost[i, j], but I can't imagine that will be very performant. Perhaps we can try to get scipy to accept a ufunc instead of requiring a cost matrix.
I'll be honest that while I spent some time reading the algorithm and ideas behind it and I think I understand it at a cursory level, I don't understand it deep enough to properly debug. However, I also expect this kind of algorithm, and given where it comes from, that it should be a set and forget as long as no one changes any of the logic!?

I opened an issue with scipy: https://github.com/scipy/scipy/issues/20729.

However, I also expect this kind of algorithm, and given where it comes from, that it should be a set and forget as long as no one changes any of the logic!?

This is a fair point. As long as no one changes any of the logic and numba doesn't evolve too weirdly. But even that should be fine. The hypothetical scenario that worries me is

we make some changes to the cell detection code that we are sure (!) will not change the cell matching
the cell matching reports changes
we start suspecting a bug in the cell matching

But we should question point 1. in that case. :laughing:

For our example with 250k cells, this would have required a 200+GB matrix for float32.

Writing down some related thoughts that might help down the line (this is probably not a priority for the core team right now)

Not an expert, but wondering whether a Dask array would help us avoiding keeping a huge matrix in memory here?
(optimisation) Could we exclude cells that have an exact match (distance 0) by putting the cells in a set and checking whether each element of the other_cells is in the set. And then apply the Hungarian method to the non-zero distance cells?

It's a fair worry that issues with the algorithm would lead to misjudging changes in e.g. cellfinder. Perhaps if we think of the algorithm as more of another input to consider when looking at changes in cell counting rather than the histogram must look a certain way!?

dask array

The issue there is that you'd still need a large harddrive, just for this computation - and it'd probably take a while to compute and create the cost data on disk. But even then, given that the algorithm needs to constantly query the cost of different indices, the CPU having to look it up on a harddrive, even a fast SSD would significantly reduce performance. Compared to in memory access, I don't think it'd be fast enough!?

Optimization

I added the zero-distance optimization you mentioned to the original PR!

I think with the improvements made to #74 after this was opened, we can close this as not planned (for now). Our cell matching now is tailored to BrainGlobe's needs (it is fast, and it allows "pre-matching", and it is tested. We can revisit if the scipy issue is addressed if we like.


S3 Event Source delete function not working as expected

The S3 Event Source delete function is not working as expected. This is tangentially related to issue https://github.com/garnaat/kappa/issues/88. The delete function expects that only one notification has been set up. It checks the first entry in"CloudFunctionConfiguration" to see if the function arn matches. If it does, it removes the whole "CloudFunctionConfiguration" block.
This in incorrect for two reasons:

If a different notification has been set up and appears before the expected notification, the expected notification will not be deleted.
If a different notification has been set up and appears after the expected notification, the expected notification and the other notification will both be deleted.

EDIT:
It's not that the code checks for the first entry in "CloudFunctionConfiguration" it's that it uses the deprecated get-bucket-notification which only returns the first notification. The result is still the same.

PR: https://github.com/garnaat/kappa/pull/86


Does a HTTP to HTTPS redirect routing rule count towards price?

As per the pricing [page] (https://azure.microsoft.com/en-us/pricing/details/frontdoor/), each routing rule costs about $0.03 per hour (~$27 per month). Because HTTP to HTTPS routing is configured as a routing rule, that should get counted for the price calculations. I just wanted to confirm if my understanding is correct.

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

ID: 908053a8-ebc0-35ec-87ad-24e59f587eb9
Version Independent ID: c8b90a6a-c37f-68eb-1e1d-54322eae9324
Content: Create a Front Door with HTTP to HTTPS redirection using the Azure portal
Content Source: articles/frontdoor/front-door-how-to-redirect-https.md
Service: frontdoor
GitHub Login: @sharad4u
Microsoft Alias: sharadag

@sandeepiiit , Yes, your understanding is correct.
Let me know if you have any further questions.


middleware: Add Error() to ErrorResponse

To be in sync with the rpcmessages.go in the bitbox-wallet-app a
Error() string method is added to the ErrorResponse. Additionally the
ErrorResponse in GetHostnameResponse is unembedded to separate
namespaces more clearly.
https://github.com/digitalbitbox/bitbox-wallet-app/pull/506/commits/788e92fed16b7f157597829e2f2f1c0f6a4ba839

Great, thanks for updating it.


Multi / cross subscription usage

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Description
I was using AVM virtual machine module to deploy the VM to one subscription with existing resources from another subscription, I am not sure how to achieve this kind of requirements with thia modules. I would request you to provide the suggestions and recommendations.
### Tasks

Hey @urc1712,
Can you let us know whether this is for Bicep or Terraform?
Also I'd recommend opening this issue on the modules source code repository as thats where the module owners will track issues/feature requests etc.
Thanks
#RR


When a checkbox is inside ngIf which is inside ngFor the checkbox element is not rendered

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
When a checkbox is inside ngIf which is inside ngFor the checkbox element is not rendered. When I replace with a button everything is displayed (probably because checkbox is composed of 2 elements: label and actual checkbox)
Expected behavior:
display the checkbox elements, like buttons here:
http://plnkr.co/edit/SPPd8yDYoqPlVtYhTd1X?p=preview
Steps to reproduce:
the checkbox elements inside are not displayed: (see above example in expected behavior displaying correctly buttons instead of checkboxes)
http://plnkr.co/edit/l1eCH9OQmxl3nQpiTQ3v?p=preview
Related code:
    <ion-list>
      <ion-item *ngFor="let item of items">
        <ng-container *ngIf="isTrue">
          <ion-label>{{item}}</ion-label>
          <ion-checkbox checked="true"></ion-checkbox>
        </ng-container>
      </ion-item>
    </ion-list>

Ionic info:
Cordova CLI: 6.5.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.4
Xcode version: Xcode 8.2.1 Build version 8C1002

Hello, thanks for using Ionic! We will look into this.

is there a solution for it?
is seems not to work with ngSwitch also.
Otherwise I would appreciate a link to working demo

Working

{{answer.Description}}

Not working   1

{{answer.Description}}

Not working 2

{{answer.Description}}

The ngSwitch works for other types like - yes no , or one choice , but not here when adding ion checkbox
Any ideas how I can solves this ?


Display password expiry notifications in the Office Portal and on the Windows 10 desktop.

Display password expiry notifications in the Office Portal and on the Windows 10 desktop is currently only available on ADFS. Is there an ETA for this on customers using PHS & PTA

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

ID: 17b3fb25-936b-0ef1-9423-608c0a2364c5
Version Independent ID: 42126028-d632-ed78-a8d3-c52758503ed2
Content: What is hybrid identity with Azure Active Directory?
Content Source: articles/active-directory/hybrid/whatis-hybrid-identity.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@adeinde  Thanks for your feedback! We will investigate and update as appropriate.

@adeinde For update information please refer to the Azure AD Updates page located here : https://azure.microsoft.com/en-us/updates/
The Azure Docs issues are mainly meant for fixing issues with the docs. If it is not listed in the updates page under in preview or in development then there are no current updates to this feature. If you're interested in this feature please put this under the uservoice here : https://feedback.azure.com/forums/34192--general-feedback


chore: repository governance

Repository governance update
This PR was automatically created by the AVM Team hive-mind using the grept governance tool.
We have detected that some files need updating to meet the AVM governance standards.
Please review and merge with alacrity.
Grept config source: git::https://github.com/Azure/Azure-Verified-Modules-Grept.git//terraform
Thanks! The AVM team :heart:

@jensheerin reviewed and approved for you to merge but recommend looking into the tests failing before merging


Adding v1.1.0 version  to ibm-spectrum-scale-csi-operator.

Signed-off-by: John Dunham<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

Updates to existing Operators

[ ] Is your new CSV pointing to the previous version with the replaces property?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Submit operators to both upstream-community-operators and community-operators at once
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file a PR against this repo and explain your need
2 For more information see here

scripts/ci/start-minikube: line 28: syntax error: unexpected end of file

Start minikube                                    [  FAILED  ]

Not sure why  this is happening.

merged as per #1397 is green


ApproveUrls does not filter corectly

Sometimes it happens that the Library does not approve URLs correctly.
When we gather links like "javascript:void(0)" from a website and send these to the approveUrl function they won't be filtered but approved instead.
By that our FF extension tries to open those links. Obviously this doesn't work.

I fixed the issue in the Lib-master branch. The problem was the regex allowing javascript URLs. It should work now.


[Facelift] Lane Connectors now have contrast outlines

Change color palette to distinct color set, and only allocate colors for source lanes (previously both source and target lanes got allocated a color even though target lanes did not need a color).
Render target lanes as white circles.

Render white outline and use brighter color of the same hue, while dragging a curve

Contributes to #523

This looks good! Is it possible to make the outlines slightly thinner?

Of course possible, there is a fixed thickness offset used (and for circles a multiplier is used).
It though behaves slightly strange, there is no clean overdraw if i render two things on top of each other, it feels like overlays are grouped by color or something (by Unity), i.e. render order of overlays seems to change.

Here's with black curve width multiplier 1.5f (was 2f * colored curve width)


Font color

No issue, just sharing a thought.
I have only used Kahurangi and Karaka, and found this blue font color, #000071, to go very well with those 2 themes colors. A blue font color is reminiscent of blue ballpen ink.

Thanks! I've tried this out myself, and while it's not my personal preferred aesthetic, I can see what you mean. Especially with a more casual font it has a notebook look that I'm sure would work well for many people. Part of what I like about Obsidian's flexibility is that it allows people to relate to it in different ways, from a casual scrapbook to a Serious Tome of very important formal knowledge.
Let me know if you can see ways that Kakano could be adjusted to fit your personal style of use. I've recently added an Experimental section to the settings to try out some new ideas.

Closing this issue for now, but I'm happy to open it again if there's more to discuss.

Thanks for your feedback.

I am exactly the same. That is why I use the ballpen font color with a formal font, and I use a handwriting type for quotes only just to make them stand out a bit better.

Let me know if you can see ways that Kakano could be adjusted to fit your personal style of use.

I think it is fine as they are. For personal style I use css snippets.
Thanks again for a beautiful theme.


Listing redacted BigQuery jobs results in an NPE

When run without "bigquery.jobs.listAll"  permissions on a project   (like "Viewer")  that contains other user's jobs this program results in an NPE .
package com.bmenasha;
import com.google.cloud.Page;
import com.google.cloud.bigquery.BigQuery;
import com.google.cloud.bigquery.BigQueryOptions;
import com.google.cloud.bigquery.Job;
public class Main {
public static void main(String[] args){
BigQuery service = BigQueryOptions.builder().projectId(args[0]).build().service();
Page jobPage = service.listJobs(BigQuery.JobListOption.allUsers());
for(Job job: jobPage.values()){
System.out.println("status:" + job.status());
}
}
}
Exception in thread "main" java.lang.NullPointerException
at com.google.cloud.bigquery.JobConfiguration.fromPb(JobConfiguration.java:132)
at com.google.cloud.bigquery.JobInfo$BuilderImpl.(JobInfo.java:166)
at com.google.cloud.bigquery.Job.fromPb(Job.java:264)
at com.google.cloud.bigquery.BigQueryImpl$19.apply(BigQueryImpl.java:498)
at com.google.cloud.bigquery.BigQueryImpl$19.apply(BigQueryImpl.java:495)
at com.google.common.collect.Iterators$8.transform(Iterators.java:817)
at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
at com.bmenasha.Main.main(Main.java:16)
BigQuery is redacting the metadata from these jobs as described here:
https://cloud.google.com/bigquery/docs/managing-jobs
The libraries should be able to parse these redacted job responses and not error when the metadata is missing.
thanks

Additionally it should be possible to list BigQuery jobs and be selective about the returned fields... currently we demand that the job's configuration always be returned via JobField.REQUIRED_FIELDS.
When listing many jobs this field can be large. The client library overriding my choice and requesting that this field not be returned.

@bmenasha,
gcloud-java-bigquery is previous artifact id
Latest version distributed under this artifact is 0.2.8
Current artifact id is google-cloud-bigquery
Latest version dependency:

com.google.cloud
google-cloud-bigquery
1.46.0

Could you please try to reproduce with latest version?
Will try to reproduce too

Yes... occurs in
<dependency>
    <groupId>com.google.cloud</groupId>
    <artifactId>google-cloud-bigquery</artifactId>
    <version>1.46.0</version>
</dependency>

thanks

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.cloud.bigquery.JobConfiguration com.google.cloud.bigquery.JobConfiguration.setProjectId(java.lang.String)' on a null object reference


Class[Yum]: has no parameter named 'config_options'

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 4.10.0
Ruby: shippe with Puppet
Distribution: Cent OS 7
Module version: 1.0.0

How to reproduce (e.g Puppet code you use)
Install puppet-yum:
# puppet module install puppet-yum

Assign yum module to all nodes in site.pp on puppetserver:
node default {

    class { 'yum':
      keep_kernel_devel => true,
      clean_old_kernels => true,
      config_options    => {
          my_cachedir => {
            ensure => '/home/waldo/.local/yum/cache',
            key    => 'cachedir',
          },
          gpgcheck    => true,
          debuglevel  => 5,
          assumeyes   => {
            ensure => 'absent',
          },
        },
    }

}

Apply yum setting on the client node:
client# cat /dev/null > /etc/yum.conf; puppet agent --verbose --debug -t

What are you seeing
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error wh
ile evaluating a Resource Statement, Class[Yum]: has no parameter named 'config_options' at /etc/puppetlabs/code/en
vironments/production/manifests/site.pp:3:5 on node mu05.

What behaviour did you expect instead
Yum settings should be applied on to the client node.
Output log
Any additional information you'd like to impart
The settings above come from puppet-yum's README. On pupetforge page, config_options usage is not documented yet. https://forge.puppet.com/puppet/yum

The settings above come from puppet-yum's README. On pupetforge page, config_options usage is not documented yet. https://forge.puppet.com/puppet/yum

If you're using the version from git then the README in the repository's correct. If you're using the Forge version 1.0.0 though, follow the README on the Forge.
1.0.0 doesn't have config_options, use yum::config instead: https://forge.puppet.com/puppet/yum#yumconfig

Thanks for the clearification.


Update to tsconfig-paths package

Can we please have the package with the updated tsconfig-paths version. It seem to be two years old version and we see many vulnerabilities reported during our project publishing process

Nope, because v4 drops support for engines that we support, so we can't ever upgrade past v3. Also, i'm not sure what vulnerabilities you mean; json5's vulnerability was fixed in v1 so it shouldn't be a problem.
Duplicate of #2447. Duplicate of #2660. Duplicate of #2625; a duplicate of #2628; a duplicate of #2626; a duplicate of #2627; a duplicate of #2631; a duplicate of #2632; a duplicate of #2634; a duplicate of #2635; a duplicate of #2636; a duplicate of #2637; a duplicate of #2639; a duplicate of #2642; a duplicate of #2643; a duplicate of #2649; a duplicate of #2655.

yes json5 with version 1.0.1 has the vulnerability

and v1.0.2 doesn’t, which you can update to yourself.


[Question] Cluster bootstrap x [ERROR] Cluster init failed

Our team members are deploying oceanBase on 3-node clusters, we all end up with this error message:
Initialize cluster
Cluster bootstrap x
[ERROR] Cluster init failed
See https://open.oceanbase.com/docs/obd-cn/V1.4.0/10000000000436999 .

This is not recorded on the document.

You can redeploy using the latest version of OBD. If you encounter any issues during the process, please create a new issue and provide information about your deployment environment and error logs.


Replace identifier length statistics with length counts in obfuscation detection

Rather than summarising length statistics, providing raw counts of the lengths of all identifiers in a file would be able to identify cases of obfuscation where identifiers are randomly generated strings all with the same length

May as well do this for string literals too


RFC: TypeDesigner

Concept of TypeDesigner Plugin
TypeDesigner Plugin - What should it solve?
With the TypeDesigner plugin it should be possible to create templates so called types of elements of a substation like a voltage level, bay, IED, LD or whole Substation it self. Those types can be then used in real projects to quicker plan and create a digital substation.

Structure of TypeDesigner

You can see 6 columns. For each type element like substation, voltage level, bay, etc. there is one column.  Every column can be hidden with the eye icon in the upper right corner.
It should be also possible to filter, to find the types you need.
Main Functions
Drag and Drop/ TYPES and TYPES References
If you want to put a IED type in a BAY type you can drag the IED type to the bay column and then drop it in the Bay TYPE you want. You have now created a TYPE Reference of the IED Type. You can identify them via the icon in the upper right corner. If its filled its a TYPE and if its unfilled its a TYPE Reference.
Everywhere where the TYPE Reference of the specific Bay TYPE is used, will be updated automatically. So there will be also a new IED in the BAY 1 TYPE References.
Its only possible to drag and drop the elements in the correct hierarchy. So for example you can only put a IED Type in a Bay Type.

Add new types
You can add new types if you click on "add type".
It is possible to add a single type . For example a Bay TYPE which is not linked to a Voltage Level TYPE and without IED TYPES.

Specification of types
You specify the types in the side bar menu.

Showing types of type references
If you want to know whats the type of my type references, then its possible to highlight them.

Delete and copy
It will be also possible to delete and copy types and type references.

What is exactely included in a type? Can you include functions in the type? The 90-30?
How does this type editor fit into an substation engineering workflow?

How do these types relates to BAPS (basic application profiles)?


Venmo API still available?

I'm getting:
venmo_api.models.exception.HttpCodeError: HTTP Status code is invalid. Could not make the request because -> 403 Forbidden.
Error: {'error': {'links': None, 'code': 240, 'title': 'Error', 'message': 'OAuth2 Exception: Unable to complete your request. Please try again later.'}}

On the call to Client.get_access_token()
Is it still possible to get a token or has Venmo closed this off?

See https://github.com/mmohades/Venmo/issues/86


Reading a wds with .npz files leads to pickle " Object arrays cannot be loaded when allow_pickle=False"

I am trying to implement a new dataloader with an s3 tar file being loaded.
This tar file has .npz arrays and .cls with a class.
.cls files load just fine but the .npz arrays cannot be sent to the device.
If anyone has the knowledge to fix this let me know!
train_url = f"pipe:s3cmd get s3://{bucketname}/{subfolder}{tar_ttv['train']}.tar -"
train_dataset = wds.WebDataset(train_url).decode().to_tuple("npz", "cls")

train_dataloader = DataLoader(
    train_dataset,
    batch_size=args.batch_size,
    num_workers=args.num_workers
    )

    for item in self.train_dataloader:
        self.optimizer.zero_grad()
        #this comes out as type Tensor
        data = item[0]['arr_0']
        X = data.to(self.device)

can you try with s5cmd cat s3://test.tar instead of s5cmd get ?


i can't add people when i try to

i tried adding someone multiple times and they didn't get it but when they sent me i got a request instead, please fix this.

sending friend requests works fine for me on desktop client RC1, cannot reproduce.
if you figure out it happens under a specific condition, comment on this issue and ill reopen. (or report at bugs.cpback.net if it happens both in browser and desktop client)


add PyData Madrid 2016

Thanks @manugarri! Did you want to add your name in the Contributors section in the README.md?


PDF file missing on z.cash now

As retrieved from archive.org: zkcp3.pdf
Not live now at https://z.cash/zkcp3.pdf

The file is mentioned here: https://bitcoincore.org/en/2016/02/26/zero-knowledge-contingent-payments-announcement/


[WIP] Use Prioritized Replay for PCL

in the same way as the original paper.

Coverage increased (+0.4%) to 57.188% when pulling 4ab5b59a1d9eb8ae3a0f724fd85075906bb48335 on muupan:pcl-prioritized-replay into f4cff28197c9a07f5ce13db80d116b34093240dd on pfnet:master.

Coverage increased (+0.4%) to 57.188% when pulling 5c831820284a1a203468c039608ec2d5f479020b on muupan:pcl-prioritized-replay into f4cff28197c9a07f5ce13db80d116b34093240dd on pfnet:master.


question

does riot logo something with LGBT support or it is only normal rainbow? thank you.

it's a nod to the Commodore 64: https://en.wikipedia.org/wiki/Commodore_64


grpc "Failed to connect to all addresses"

What version of gRPC and what language are you using?
I have JavaScript gPRC server<EMAIL_ADDRESS>and Python client 1.40.0
What operating system (Linux, Windows,...) and version?
Docker Ubuntu 20, both server and client are in the same docker.
I deployed to several machines. One of them consistent fail, while other works.
What runtime / compiler are you using (e.g. python version or version of gcc)
python version
What did you do?
When make remote call using python client, I got the following errors
"description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3186,"referenced_errors":[{"created":"@1631934123.441737107","description":"failed to connect to all addresses","file":"src/core/lib/transport/error_utils.cc","file_line":146,"grpc_status":14
I searched around, other people's error is different. not from error_utils.cc but from pick_first.cc
It is always reproducible.

From the description, I'm suspecting a setup issue rather than a gRPC issue, but if you have a reproduction that proves that it has nothing to do with your specific setup, we'll take a look.

@yashykt
Thanks for the response. Finally, I figured out. I have a subprocess to start the JavaScript GRPC server and then make a client call right after it. Most of machine works, but one machine throw the error above. It turns out that when client connect to server before the server is ready. Later, I changed the code to wait a few second before sending the request to server, or keep checking whether the server is ready. I never had the problem on that machine.


Failed to build a path to Chromium executable on Windows 10

Steps to reproduce
Tell us about your environment:

Puppeteer version: 7.1.0
Platform / OS version: Windows 10 Pro version 2004 build 19041.789
URLs (if applicable): any url
Node.js version: 14.15.1

What steps will reproduce the problem?
Please include code that reproduces the issue.

npm i puppeteer
run await puppeteer.launch();

What is the expected result?
Puppeteer to be launched without errors and local Chromium is used (the one installed to node_modules)
What happens instead?
Chromium r848005 was succesfully installed to node_modules/puppeteer/.local-chromium, and I can validate it physically on FS. However, launching a program throws next error:
Error: Could not find expected browser (chrome) locally. Run `npm install` to download the correct Chromium revision (848005).
    at ChromeLauncher.launch (%%absolute path to project%%\dist\server.js:233643:27)

I tried to debug a little and found that next function seems to be the source of the problem: https://github.com/puppeteer/puppeteer/blob/main/src/node/BrowserFetcher.ts#L417
It returns '%%absolute path to project%%\\.local-chromium\\win64-848005' but should return '%%absolute path to project%%\\node_modules\\puppeteer\\.local-chromium\\win64-848005' instead

Still reproducible on<EMAIL_ADDRESS>and node 15.14.0,
Error: Could not find expected browser (chrome) locally. Run `npm install` to download the correct Chromium revision (856583).
    at ChromeLauncher.launch

I can confirm that this happens with CircleCI's cimg/node:15.14-browsers docker image and<EMAIL_ADDRESS>

The funny thing is, that I can't build minimal repro (yet) because it works fine in a separate project. Maybe it's something environmental. Still investigating...

For me it haven't with<EMAIL_ADDRESS>I can still see this exactly problem.

Can validate that on<EMAIL_ADDRESS>the error persists due to https://github.com/puppeteer/puppeteer/blob/main/src/node/BrowserFetcher.ts#L199 resolves to /%project_root%/.local-chromium , however the real path to folder should be /%project_root%/node_modules/puppeteer/.local-chromium

I resolved the problem by adding
node: {
  __dirname: true,
},

to webpack config. Because that webpack bundles puppeteer to main bundle, all paths should be mocked with this option. Reference: https://webpack.js.org/configuration/node/
Please reopen with a new issue if someone still has this problem and it doesn't relate to webpack configuration


fix #32

fixes #32

I'll make notes in the readme and an upgrade message about setting the project.

👍