[Azure ML SDK v2] Method to download Data asset locally

The Data class in the Azure ML SDK v2 allows the uploading and creation of a new Data asset, but not its downloading. I understand that the idea is to not use the new SDK inside training jobs. However, for exploration purposes it is very handy to be able to download a registered Data asset, as is possible with the SDK v1.
Would it be possible to add this feature? Alternatively, is there a way (using other parts of the SDK?) to download assets with paths such as azureml://datastores/<data_store_name>/paths/<path>?

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

ID: 112731d7-568e-4310-ad10-687f70e47a86
Version Independent ID: 5ee94e1d-c95d-6def-dfbb-f31979170ed5
Content: azure.ai.ml.entities.Data class
Content Source: preview/docs-ref-autogen/azure-ai-ml/azure.ai.ml.entities.Data.yml
GitHub Login: @VSC-Service-Account

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Docs:0.5414302,Data Lake Storage Gen2:0.053330887,Tables:0.029985525'

Hi @tomasvanpottelbergh, thanks for your feedback. @azureml-github can you take a look at this issue?

I upvote this. It would be great to have a piece of Python SDK which will allow to download/upload the datasets using the code directly.

Hi Thomas, about how to "download assets with paths such as azureml://datastores/<data_store_name>/paths/", AzureML is delivering FSSpec integration into Private Preview.
With this integration, you will be able to use Pandas, Dask and other libraries that accept file objects to deal with paths such as azureml://datastores/<data_store_name>/paths/".
If you are willing to try this experience out. You can install below private preview packages:
pip install --pre azure-ai-ml
pip install amlfs --extra-index-url https://azuremlsdktestpypi.azureedge.net/Create-Dev-Index/67799269/

Hi @SturgeonMi, I briefly tried this out, but couldn't get the authentication to work. Anyway, I found a workaround using azure.ai.ml._artifacts._artifact_utilities.download_artifact_from_aml_uri. This is definitely not a great solution, since it's a "private" API, but I hope that this functionality will get exposed publicly in the azure-ai-ml package at some point.

+1 on exposing this functionality would be great. To expand on @tomasvanpottelbergh 's solution, I was able to download locally using the following:
import os

from azure.ai.ml import MLClient
from azure.identity import DefaultAzureCredential
import azure.ai.ml._artifacts._artifact_utilities as artifact_utils

subscription_id = ""
resource_group = ""
workspace = ""

dataset_name = ""
dataset_version = ""
downloaded_data_folder = "./data"

# Get the client
ml_client = MLClient(
    DefaultAzureCredential(), subscription_id, resource_group, workspace
)

# Lookup the dataset to get the 'path'
data_info = ml_client.data.get(name=dataset_name, version=dataset_version)

# Download the dataset
artifact_utils.download_artifact_from_aml_uri(uri = data_info.path, destination = downloaded_data_folder, datastore_operation=ml_client.datastores)

# Verify it is downloaded
file_path = os.path.basename(data_info.path[10:])
assert os.path.exists(os.path.join(downloaded_data_folder, file_path))

hello it seems method _azure.ai.ml._artifacts.artifact_utilities.download_artifact_from_aml_uri  doesn't work for Tabular type data assets.
The AzureML documentation does not provide a method to locally download tabular data assets.
The "download" method (from the TabularDataset class) requires a "stream_column" parameter which allows to download the data related to the dataset but not the dataset itself.
What can you advise me ?

Any update on this? We're looking forward to use Azure ML datasets with fsspec.

Hi @jpacifico, would like to confirm with you: is that you want to download the Tabular data asset with its metadata and data? May I ask what is the use case here? Thanks! (I am asking this to make sure I understand the question correctly.)

@tomasvanpottelbergh FYI
I think the 1.0.0 release of azure fsspec adds a download option to the AzureMachineLearningFileSystem. There is also something called upload but I have not tried it out.

Hi @SturgeonMi, I briefly tried this out, but couldn't get the authentication to work. Anyway, I found a workaround using azure.ai.ml._artifacts._artifact_utilities.download_artifact_from_aml_uri. This is definitely not a great solution, since it's a "private" API, but I hope that this functionality will get exposed publicly in the azure-ai-ml package at some point.

My Uri looks like: azureml://registries/azureml-1p/data/data-name/versions/1 and I get the error:
ValidationException: Invalid AzureML datastore path URI azureml://registries/azureml-1p/data/data-name/versions/1

How do I download the data given that URI?  Thanks!


flutter 2.0 http migration

A dependency error occurred in the project I'm developing. I migrated to fix this.

There are plans to upgade the package which will include upgrade the http package

0.4.0 mended this request.


fix(suspense): display current branch if no fallback is provided

Fix #3964

It seems like the transition tests fail very often


Converter rollback

This pull requests adds a function to roll back the conversion of a project file from v1 back to v0, as in (closes #1191 ).

Thanks for this PR! I'm wondering where you want to implement the rollback. It's not added to the try-except block atm isn't it?

Yeah, I didn't think about where to put it yet, right now you can use it as a debug tool. It would make sense to put a try-except in the upgrade_project function, I guess? If anything goes wrong in the conversion it is always logical to roll back. Should there be one in the API call?

I think you should add it to the converter itself. And then raise the error again after the rollback. Similar to SQLite module.

I added the try-except.


General intallation guide

Hi! Thanks for providing this.
I am having some trouble with installation.
I have:

installed the plugin via npm
copied the content-manager folder from this repository to root/extensions
configured setting in a file named '.settings.json' for one of the content types in root/api/contenttype/models

From here the plugin is detected in Strapi and I can access the settings panel for the plugin, but there are no preview/eye buttons among any of my entries! I can't see any option to preview my changes...
Any help is much appreciated.
I'm running Strapi v 3.6.8

You've to build a fresh package that includes plugin UI.
step1 yarn build
step2 yarn develop

@gruvboxer did you get this working?

@finessevanes  i just have to say that i have same issue.
The problem was that i followed dosc or misunderstood it
** Supported Strapi versions: **  Strapi v3.6.x only version v1.0.0
i m using strapi v3.6.8 so i instaled preview plugin v.1.0.0 and this one causing issue.
after instaling latest plugin version everything works as should


AR Goggles

Descripe
So I Made A Heads Up Display Showing Two Players Active Or Not Active And Displaying Their Coords And When I Gave The Goggles To My Friend The Text Was All Spread Out In Random Places.
Steps to reproduce

Make a HUD with lots of text That Looks Good To You 2. Duplicate The Goggles And Give To Someone Else 3. Observe

Version
0.6r
Minecraft, Forge and maybe other related mods versions
Forge 36.1.0 Minecraft 1.16.5
Screenshots or Videos
https://i.alexdevs.pw/7RAx.png
https://drive.google.com/file/d/1YiC1lC1NnkD8XPmprdxO521RNcNHK73k/view?usp=sharing
Crashlog/log
No response

This happened on CC Playground server. I will provide crash log tomorrow when I have access to backed.

I can confirm this. But this can also happen with different screen sizes. You could try to use setRelativeMode, but I don't know if this would help.

I will provide server crash log tomorrow when I have access to backed.

Does the server crash?
And could you try the latest version?

Does the server crash?
And could you try the latest version?

Server does crash. Crash logs in attachment. Two of them cause CrackedLua decided first time was a fluke ;p
crash-2021-07-10_13.28.19-server.txt
crash-2021-07-10_13.41.57-server.txt
We are running advancedperipherals-0.6.7b on server. It seems CrackedLua have manualy made modpack instead of using provided one and downloaded wrong AP version. Hope this info i can provide helps.

Kay, thank you for the logs

This should be fixed in 0.7. It was the same issue as #158


fix bug (when use reverse proxy with TLS, "HttpServletResponse.sendRe…

fix bug (when use reverse proxy with TLS, "HttpServletResponse.sendRedirect" will redirect to http rather than https)

Codecov Report

Merging #1967 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1967      +/-   ##
============================================
+ Coverage     50.17%   50.17%   +<.01%
- Complexity     1978     1979       +1
============================================
  Files           400      400
  Lines         12342    12342
  Branches       1272     1272
============================================
+ Hits           6192     6193       +1
  Misses         5691     5691
+ Partials        459      458       -1

Impacted Files
Coverage Δ
Complexity Δ

.../apollo/internals/RemoteConfigLongPollService.java
80.36% <0%> (+0.61%)
28% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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

Coverage remained the same at 53.889% when pulling dbdd75090411d8bd6a1a7351e63fe9773cd8c636 on wkcaeser:master into 81a1bce5857806099e7211906c04802e61aaeb3d on ctripcorp:master.


Initial label is wrong

E.g. when i insert a new table before the existing table it gets labeled Table 2, when it should be one. Same happens with image-figures. The labels get corrected as soon as I start the cite workflow.

Yep. The approach of didAttach is not sufficient.
Actually we want to update the bib not when a bibitem is created or deleted, but when it is shown or hidden.. or maybe both of them.

Done.


Experimental: build a scons-local zipapp (PEP 441)

To use, set do_zipapp to True in site_scons/scons_local_package.py (notice as submitted, building is disabled)
Will produce a build/dist/scons-local-${VERSION}.pyz which can be directly executed - copy to a work dir, and run as
python scons-local-4.3.1.pyz`

or even
./scons-local-4.3.1.pyz

Windows should have a file association for .pyz files, otherwise it works there too by calling it as an argument of the interpreter.
site_scons/zip_utils.py doesn't need a fallback for the zip module, it's guaranteed to be in supported Python versions (as is zipapp), so was able to simplify the existing code a bit.
Signed-off-by: Mats Wichmann<EMAIL_ADDRESS>Contributor Checklist:

[ ] I have created a new test or updated the unit tests to cover the new/changed functionality.
[ ] I have updated CHANGES.txt (and read the README.rst)
[ ] I have updated the appropriate documentation

I created scons-local-4.4.1.pyz and it seems to work fine
The next scons release should include a .pyz file


Debounce

We should provide a debounce for plugins. We want it to first at the end, but we also want the first one to fire immediately, and we want all subsequent responses to return the previous promise. So it works a little different than other debouncers.

There is an example with bluebird here:
https://github.com/tinytacoteam/zazu-file-finder/blob/master/fileFinder.js#L19-L26


Remove duplicate Rectangle properties

For some reason, Rectangle in the 3D-tiles branch had duplicate pack
functions, which was causing the pack tests to break since one no longer
had valid implementation.

This should also fix the CI so that everything now passes.


Data prep on multiple GPUs

Fixes Bug in convert_dataset_hf #1575.
Running
python scripts/data_prep/convert_dataset_hf.py --dataset allenai/c4 --data_subset en --out_root ./my-copy-c4 --splits train_small val_small --concat_tokens 2048 --tokenizer EleutherAI/gpt-neox-20b --eos_text '<|endoftext|>'

now works on multiple GPUs.

Not sure if this is the best place to set the world_size. LMK if you have suggestions of a better place to put this.

@eitanturok is this change needed for the rest of the dataset scripts as well? they probably call build_tokenizer too, mind testing those if possible?

When I try to run composer -n 1 ./data_prep/convert_dataset_hf.py --dataset bigcode/the-stack-dedup --out_root s3:/XXX--splits train --concat_tokens 4096 --tokenizer XXX --eos_text '<|EOS|>'
none of the gpus are being utilized. Is there anything that needs to be set other than world size

Running on:

@Extirpater These data prep scripts don't use GPU so not seeing GPU utilization when running these scripts is expected.


Shaka player does not identify audio tracks with same language

Have you read the FAQ and checked for duplicate open issues?
Y
If the problem is related to FairPlay, have you read the tutorial?

N
What version of Shaka Player are you using?

4.7.11
Can you reproduce the issue with our latest release version?
Y
Can you reproduce the issue with the latest code from main?
Y
Are you using the demo app or your own custom app?
demo app
If custom app, can you reproduce the issue using our demo app?
Y
What browser and OS are you using?
Chrome 122 for Windows 11
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/A
What are the manifest and license server URIs?
https://streaming-vod.rtp.pt/dash/nas2.share//teste/faixas_audio_2024/saida_language_igual_titlediferente.mp4/manifest.mpd
What configuration are you using?  What is the output of player.getConfiguration()?
Default from https://shaka-player-demo.appspot.com/demo
What did you do?
Start the DASH URL above in demo player
What did you expect to happen?
Player should show the audio tracks picker to select between the 2 audio tracks presented in the manifest
What actually happened?
Player starts but there is only one audio language to choose from when the manifest has 2 audio tracks documented
getAudioLanguagesAndRoles returns {language: 'pt', role: '', label: 'Português com audiodescrição'}
getAudioLanguages returns ['pt']
I understand that the audio tracks from the manifest could have  tags and that Shaka player properly picks on those audio tracks with different roles, but for this project we are using a DASH packager that does not support  tags. Yet we need to display the 2 audio tracks to the viewer but Shaka player is not returning the audio tracks with getAudioLanguagesAndRoles or getAudioLanguages. Note that dash.js correclty shows the audio tracks as can be seen at https://reference.dashif.org/dash.js/v4.7.4/samples/dash-if-reference-player/index.html with the same DASH URL. Also note that the audio tracks have different labels (Português vs. Português com audiodescrição).
How do we support this use-case?

Your use of label is really what roles are for.  And the method getAudioLanguagesAndRoles() is doing exactly what it says: it's returning audio languages and roles, not tracks.  So this isn't a bug.
Have you tried getVariantTracks()?  I expect you would find all your tracks there.  If not, let us know, and we can investigate.

I understand getAudioLanguagesAndRoles or getAudioLanguages are not what I am looking for here. I also undertand now I can do all that I want with getVariantTracks. I guess this was more a question/feature request than a bug report, but I would like to provide the following feedback:

There are getTextTracks|selectTextTrack methods to get|set textTrack and I was expecting to find the same for audio tracks but I could not find this in the documentation, am I correct to assume that getAudioTracks|selectAudioTrack do not currently exist in Shaka player? The reason I ask is because we have from time to time a use-case to support where a ABR MPEG-DASH stream has 2 audio tracks encoded at different bitrates but with the same language and no specific role set (as with the other sample DASH stream above). Example https://5b44cf20b0388.streamlock.net:8443/vod/smil:bbb.smil/manifest.mpd. This DASH stream has 2 audio tracks, the same language and same codec but are encoded at different bitrates. We still need to present to the viewer a UI to select from the audio track. Again I understand that getVariantTracks|selectVariantTrack can do what we want, there is just a bit more code management for us, but this is allright we can do it.
How is the default ABR logic in Shaka player affacted by this case-scenario, especially for https://5b44cf20b0388.streamlock.net:8443/vod/smil:bbb.smil/manifest.mpd? If I play that stream at https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;panel=CUSTOM CONTENT;build=uncompiled I can see there is only 1 audio track presented to the viewer. Does this mean that the ABR logic in Shaka player also ignores 1 of the audio tracks? How does Shaka player select the audio track for ABR streaming in this case scenario? Is there a way to force a default audio track for ABR streaming?
Thanks again for answering, you guys are doing a great job with Shaka player, from a developer standpoint this is a joy to play with this kind of library.

In DASH, video and audio are always separate.  The variants are always (all video) x (all audio).  When we only supported DASH (many, many years ago), we had a selectAudioTrack().
In HLS, there may a more limited set of variants you can choose from.  In any give HLS playlist, there could be every combination of (video) x (audio), or it could be more limited.  It's just an inherent possibility in the structure of HLS.  It is also frequently the case that HLS streams are multiplexed, with audio+video in the same segments.  In that case, separating audio and video streams from a variant is really ugly.
So this is why we have selectVariantTrack() now instead of selectAudioTrack().  You can always express DASH content in terms of variants by multiplying (audio) x (video), but you can't always separate HLS variants into audio & video.

I can see there is only 1 audio track presented to the viewer. Does this mean that the ABR logic in Shaka player also ignores 1 of the audio tracks? How does Shaka player select the audio track for ABR streaming in this case scenario?

Player gives AbrManager a list of variants it can pick from.  It has another layer of filtering after that based on config.abr.restrictions.
    const adaptationSet = this.currentAdaptationSetCriteria_.create(
        playableVariants);
    this.abrManager_.setVariants(Array.from(adaptationSet.values()));

This DASH stream has 2 audio tracks, the same language and same codec but are encoded at different bitrates. We still need to present to the viewer a UI to select from the audio track. Again I understand that getVariantTracks|selectVariantTrack can do what we want, there is just a bit more code management for us, but this is allright we can do it.

I think I see a solution.  I forgot we had this method, added back in 2019:
https://shaka-player-demo.appspot.com/docs/api/shaka.Player.html#selectVariantsByLabel
player.selectVariantsByLabel('Português com audiodescrição');

It sets this.currentAdaptationSetCriteria_ in Player to filter variants for ABR based on their audio label.
So long as every audio has a unique label, you can use this method.  You may also want to contribute something like getAudioLabels() to Player to make it easier to create the list for your UI.
Does this help?


Alt-Tab and Google Chrome interaction

What steps will reproduce the problem?
1. Open SuperPuTTY with several sessions (tabs)
2. Open Google Chrome with several tabs
3. ALT-TAB to give focus to Google Chrome
4. Select another tab
5. ALT-TAB to give focus to SuperPuTTY
6. SuperPuTTY has focus but is not brought to foreground

What is the expected output? What do you see instead?
SuperPuTTY should be brought to foreground with ALT-TAB toggle.

What version of the product are you using? On what operating system?
<IP_ADDRESS>

Please provide any additional information below.
I am not sure if other programs cause an issue. If I ALT-TAB to Chrome and then
ALT-TAB back, no issue. Only when I select a different Chrome tab do I see the
issue. Of course I am often toggling between these two Apps so I see it quite
frequently. I set up F4 and F5 to toggle between tabs in SuperPuTTY and when I
ALT-TAB to SuperPuTTY and it does not come to foreground, pressing F4 makes it
come to foreground. That is why I think it has focus, despite not being visible.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 14 Feb 2013 at 6:44

I have also been reproducing the same issue on Windows 8.1, and it's not related to Chrome, I don't use it.
The upgrade to Windows 10 changed the behavior somewhat - it's now apparent that SuperPutty is doing something strange: when you press Alt+Tab within SuperPutty, you see in the popup window that the SuperPutty window is still the one selected, and you have to press Tab another time to get it to move to the next window. But with any other Windows program, this happens by default, you press Alt+Tab only once and it instantly moves to the next window.

This does appear to be a duplicate of #216


Pull request not running when retargeted

Why didn't https://github.com/http4s/http4s/pull/4260 run through our CI?

* doesn't include branches with / in the name.  We needed series/*.


✨ [Feature]: [date-picker] The date picker already supports multi-selection years and days, and it needs to be added to support multi-election months.

What problem does this feature solve
日期控件已经支持多选年、日，还需增加支持多选月份
What does the proposed API look like
日期控件已经支持多选年、日，还需增加支持多选月份

@harvenzhang 这个需求合理，我们尽快安排


MSEARCH-421 Add sourceFileId and naturalId to authority search/browse response

Purpose
Source File and Natural ID info are required for UI to generate $0 URI when it links an authority to a bib field.
JIRA: https://issues.folio.org/browse/MSEARCH-421
Approach

update index mappings
update response schemas
update tests

Changes checklist

[ ] API paths, methods, request or response bodies changed, added, or removed
[ ] Database schema changes
[ ] Interface versions changes
[ ] Interface dependencies added, or removed
[ ] Permissions changed, added, or removed

TODOS and Open Questions

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

Learning
Describe the research stage. Add links to blog posts, patterns, libraries or addons used to solve this problem.

Please update documentation by adding additional fields that are returning in response


[Home] Add support for changing tabs from native code (for 1.4.x)

Using the page prop of ScrollableTabView to set the page upon prop changes.
(Now branched off the right version)

Looks good 👍

Okay cool. I'll pull this down and test https://github.com/artsy/eigen/pull/2612 against it.


Remove  MSBuild from being included in projects

I think this is a remnant from earlier iterations, but doesn't appear needed anymore.

Hmmm seems needed actually


Sanity check of functions / tests / poetry.lock MILESTONE 2

Hi guys lets have a quick meeting tomorrow to run the functions and check possible errors when using unique poetry.lock file

I tried to test the functions locally (as in the book)... I had some errors maybe we can check them tomorrow


Issue #33 : Move to Sonar Scanner 3.x

This is my first go at a Grunt plugin, so please check my work!
Moved from sonar-runner to sonar scanner
Removed -Dproject.home since I can't find any references to it in sonar-scanner
Add license for sonar-scanner
A disclaimer, I don't know all the use cases but it works for me!

Hi,
Is there any chance of this being merged?

This repo was forked to https://github.com/scholastic/grunt-sonar-runner since it doesn't seem this will be merged.

Any new on this one?

@skhatri would you please have a look at this PR? It will fix a big issue in the community right now. Thanks a bunch!


Show an unmatched notification in one empty file share's editor

Storage Explorer Version: 1.9.0
Build: 20190731.1
Platform/OS: Linux Ubuntu 19.04/Windows 10/macOS High Sierra
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Expand one storage account -> File Shares.
Create a new file share -> Check its editor.

Expected Experience:
Display 'No data available in this file share'.
Actual Experience:
Display 'No data available in this blob container'.

More Info:
This issue also reproduces for one empty queue.

Duplicate of #1697


Fixed typo

This change is

@googlebot I signed it!

/assign
/ok-to-test

Thanks!
/lgtm
/approve


Logo if you want it

Logo if you want it: https://imgur.com/a/p5Lqrbt
The background is copyright free from here
and text also free fromMarnador
If you use it please credit these two and me but its not great so eh

This is fantastic! Thank you! I will put credits in my workshop mod description. If there are other places I should credit, please let me know!


Ingest of data arriving in bucket

A common way to import data to a Sleeper table will be as follows:

Some processes are writing data to be imported to Parquet files in an S3 bucket.
A process will need to monitor the files in that bucket and periodically create an import job for the new files.
This process will need to keep track of which files have already been scheduled to be imported, so that it avoids reimporting the same files.

We should add functionality to Sleeper to make this easier, i.e. to avoid the user having to write the code to monitor the bucket, submit jobs and keep track of which files have already been scheduled to be imported. This pattern is very similar to the pattern used for compaction jobs: have a statestore that records the status of files, periodically look at that to decide if a job needs creating, if so then create the job and send it to a queue and update the status of the files in the state store.

Closing. https://github.com/gchq/sleeper/issues/663 is a duplicate of this but we've got far enough that we can continue there.


[ReflectionException] Class path.database does not exist

Hi! Thanks for forking this and fixing things. I'm getting a weird issue when trying to install this package with Lumen:
php artisan baum:install MODEL
this error is thrown:
[ReflectionException] Class path.database does not exist
Setup everything correctly AFAIK, (composer require, added service provider, etc). What could cause this?

Got the same thing here. Looks like it's failing in getMigrationsPath() in Baum/Console/InstallCommand.php


React v0.13 and Opal 0.8

This is not meant to be a final pull request (just a discussion kickoff).
The main fixes I made here are:

Adapt to native_alias changes
Made tests that alter console.log a bit more robust
Build on ext/string work that someone else already noted

I had to try and fix an issue in Opal itself and that pull request is pending. In order to use my draft/fixed code, this project is currently pointing at my forks of opal and opal-rspec.
Anyways, hopefully this helps with talking about migration approaches, etc.

Hi, I've tried out your changes today, the stack trace formatter doesn't work well for me either in browser or CLI? In browser, it logs directly to console, and in CLI, the test log is duplicated.
Also, I've notice the opal-spec specified (your forked version) are even with the original source, is there anything I missed?
Besides, everything looks fine to me, I will cherry pick them in when next beta of opal 0.8 came out. :+1:

Yeah, I'm not sure why those issues are happening.
The opal project accepted the pull request so no fork needed there. Opal-rspec has not accepted it yet, so still pointing at my branch for now. Hopefully some of this helps.
I'm also trying to work on getting RSpec 3.1 working with Opal. It seems a shame to be stuck an 3.0 (and a beta of 3.0, not the final version).

Another problem I'm seeing here is that react.rb ends up inadvertently defining a top level Element class (in addition to the React::Element class). This conflicts with opal-jquery and makes opal-jq pretty much unusable.
I added a test to try and verify this is fixed and I tried to format the js code in element.rb better. I'm not quite proficient enough in JS at the moment to understand what that code is doing, but it looks like you're cleverly trying to make the React Element objects that React itself produces inherit from this class. This just seems to be a side effect.

Created issue https://github.com/zetachang/react.rb/issues/36

FYI, these Travis builds are failing because of git submodule stuff and the way that I tweaked opal-rspec

the travis.yml/submodule approach is not permanent, but at least it lets this build work properly until something happens with opal-rspec

I failed to checkout 9098ea05a463c8e9a59b254d4381dc4c61873d95 on your own opal-rspec fork. :worried:

@zetachang Sorry about that. They're working on making a branch from my PR over there and I squashed the commits. As a result, that old commit is gone. Just pushed a new one out there

@zetachang - Any word here? Opal 0.8 was released several weeks ago and they/we also have an opal-rspec beta published to rubygems that works with it and gets RSpec to 3.1 (working more on that project as we speak).
I'm happy to get this PR up to date with that if you want to move that way.

This issue was moved to reactrb/reactrb#31


Make integration tests work with Captive core

There was an initial effort at #3114  (which didn't work because of #3137). The current effort is at #3144

This is blocked by #3157

And now it's blocked by https://github.com/stellar/stellar-core/issues/2778

fixed by https://github.com/stellar/go/pull/3291


v4.0.0-rc2: Record: add back keySeq

As of https://github.com/facebook/immutable-js/pull/1135 Records are no longer collections.
This is fine when using Records explicitly but makes "reflection" difficult, i.e. how do you iterate over each key? Converting to a Seq each time seems very wasteful.
Examples of when I need this: Zalastax/immutable-devtools@13569c7 and Zalastax/tsdiff@29609cc

Treating Records as collections is not an API to be encouraged, which is why these functions were removed. For special cases that need to use reflection, converting to Seq is the right decision. Similar to how you might use Object.keys() to reflect on a plain JS Object, rather than assuming that Object to behave like a collection in all cases.
Seq is not wasteful in a performance sense, since it only offers a lazy view over the underlying data - there is very little overhead.


added db calls from postgres in nextjs app

Fixes #113

added backend endpoints to nextjs so we can get rid of all the firebase calls

@hkirat haven't changes to admin part, will do that when integrating auth.

/bounty $75
No need to update admin part remove it infact no one uses it right now

/bounty $75
No need to update admin part remove it infact no one uses it right now

Okay, sure!

LMK if u need access to firebase

Only have to perform reads, will be able to do that. Won't be needed most prolly


V9 compatibility

Here is a v9 compatible version

This appears to work, thank you for updating this!


Improvements about [io] interfacing with other codes.

See issue #450 about PlatRock.
Note: it would be nice if one can set T=None to allow infinite siconos calculation, to be used in combination with the new "hook abort" feature. But I didn't do it to avoid changes in Siconos kernel.

Coooool.
I will run the siconos tests on it this night, and then merge if everything is ok.
Best


[Hexagon] F2qi avgpool bug fix

We see an accuracy issue when FQ2I is enabled for the avg_pool2d op in the deeplab_v3 QAT model. The error seems to be happening because the underlying graph has the output of the avg_pool mapped directly to the conv2d without a quantize-dequantize layer in between.
Graph of interest
graph TD;
W(dequantize: A_scale, A_zero_point) --> Conv2d;
A(dequantize: B_scale, B_zero_point) --> avg_pool2d;
avg_pool2d --> Conv2d;
Conv2d --> Output(quantize: C_scale, C_zero_point);

Quantization parameters after Fq2i pass:
qnn.avg_pool2d	(Bs, Bz, Cs, Cz)
qnn.conv2d	        (Cs, Cz, As, Az)
qnn.requantize	(Cs*As, 0, Cs, Cz)
Proposed fix for quantization parameters:
qnn.avg_pool2d	(Bs, Bz, Bs, Bz)
qnn.conv2d	        (Bs, Bz, As, Az)
qnn.requantize	(Cs*As, 0, Cs, Cz)
where quantized parameters As, Bs, Cs are scales and Az, Bz, Cz are zeropoints.

cc: @quic-sanirudh @jverma-quic @kparzysz-quic

@tvm-bot rerun

Thanks!


Adding the URDF including model and dae for the iiwa_7_r800.

Hey @bigcmos,
first please use https://github.com/ros-planning/moveit , we merged a number of repositories just recently.
Also shouldn't this go to https://github.com/ros-industrial ?
@shaun-edwards Could you have a look?

Hoping this is a good place for some experimental work that can get reorganized after it's pulled.
@davetcoleman for guidance.

@v4hn this is some commercial work I have done with @bigcmos that was previously closed-source. we needed a single repo to "release" all the code to and I thought moveit_experimental would be the best staging ground until I could move it to more proper locations

This is a huge diff that increases the repo's size. Wouldn't it make more sense to have this in a separate repository and pick relevant parts into moveit instead?

I didn't want to bother everyone with a completely new repo and thought this deprecated repo would be a safe place for it. It is somewhat large though - 66 MB

On Thu, Aug 18, 2016 at 11:23:02AM -0700, Dave Coleman wrote:

I didn't want to bother everyone with a completely new repo and thought this deprecated repo would be a safe place for it.
It is somewhat large though - 66 MB

Sorry but :-1:. That's huge for something we intend to remove again.
If you want to have that diff in a repo in ros-planning, feel free to create a new one.
Other than that I don't see a particular reason why this should not be a repository in @bigcmos account.
(By the way: Thanks for Open Sourcing the code! Although I'm not exactly sure about what's in here.)
Patches that are relevant for MoveIt in general are something different and are always welcome in the main repos. :-)

fyi I've moved the Cartesian Controller to this repo: https://github.com/davetcoleman/moveit_cartesian_controller
The other code is unmoved so I think we should keep this PR open.


[move prover][diem framework] fix timeouts in DiemAccount and preburn script

This PR fixes specs in DiemAccount module and preburn.move transaction script, and fixes timeouts in relevant functions.

/land


A couple strange issues - firmness and presets

I'm having a couple of weird issues that I can't seem to figure out.
I've written code to automate adjusting the bed through the day, exposing it through a FastAPI setup (this is so I can connect it to Google Assistant routines via IFTTT and NodeRed).
What I'm finding are a couple of things:

When I call set_sleepnumber, the values are reported correctly in the SN app, but they are definitely not correct as if I had set them in the app.  When I check the logs, I see that sometimes - but not always, the preferred sleep number is set to the value that I've set the bed to be at.

When I adjust the position of my base in my evening routine, it's not using the preset, but a manual preset that I once set and then deleted.  The app doesn't set the "Read" preset to the manual preset that I created, but the API does.  I'm calling preset.set_preset("Read") in my code (where preset is a SleepIQPreset object.  Another call in a different routine to set it to "Zero G" works fine (that one never was changed from the default preset value).  I'm puzzled as to why a modified preset that's no longer defined (I reset "Read" to the default after deciding the default was better than my custom setting after all) is still being found.

I'm not sure how to start troubleshooting this - appreciate any insights as to what to look at.

First, which model of bed do you have?

When I check the logs, I see that sometimes - but not always, the preferred sleep number is set to the value that I've set the bed to be at.

Which logs are you viewing?  Are you saying that changing the sleep number through the API is updating the preferred number but not changing the bed?  I haven't actually seen how to update the preferred sleep number so that's interesting.  There is some delay in reporting the bed number as the bed adjusts.

When I adjust the position of my base in my evening routine, it's not using the preset, but a manual preset that I once set and then deleted

That's weird, guess it must have overridden it somehow in the system.  Quite puzzling why it would work through the app but not through here.  Possibly it renamed it internally or something

Thanks for the quick follow-up.

First, which model of bed do you have?

I should have mentioned that. :)  It's an i8, with an adjustable base.

Which logs are you viewing?

I'm logging information in the python script that I created (just using the uvicorn logging functionality from FastAPI).

Are you saying that changing the sleep number through the API is updating the preferred number but not changing the bed?

I'm looking at the values returned by the SleepIQSleeper info - it's showing the sn= value as the favorite value occasionally - but not consistently - for one sleeper or the other as being changed.  (I inflate the bed to 100 each morning, and in the evening, I adjust it back to the favorite settings).  When I read that value to set the sides of the bed to the favorite, it's setting it to 100 rather than the value defined in the app (where it seems to be OK).
It's weird that it's inconsistent between the info I see in the API and the value in the official app (like the preset for the base).

Quite puzzling why it would work through the app but not through here. Possibly it renamed it internally or something

That was my thought as well, but I can't see a way to determine what that might look like.  I tried using HTTP Toolkit with the official app in an android emulator to see if I could figure out a way to look at more info, but the app refuses to run in an emulator, and I don't have a compatible device I'm willing to root to make it work.
I'm also trying to remember if I made a similar adjustment to the preset for the other side of the bed (I'm calling it from the left preset); I think I'll try the right side preset and see if that works correctly, but I wish I could remember if I had changed it at some point.
I've removed identifying information from my code and am attaching it here if that would be helpful.  It's very possible there are things I could do better (I've got code to check presence when in privacy mode; it disables privacy mode, waiting, checking, and then re-enabling privacy mode afterwards.  I did that because it appeared that in privacy mode, it's not possible to sense if someone's on the bed or not, and I wanted to check and not adjust the base if someone was on it, even if in privacy mode).
Here's my code (zipped so github would accept it)
sleepiq.zip

Just wanted to check back and see if there was anything that I was obviously doing wrong in my code.  I'm relatively new to using async IO in Python.

Everything seems to be in order in your code.
I don't really know if there's anything I can do without seeing some network captures of the api calls from the app for the presets with issues

Thanks for taking a look.
Do you mean network captures from my code?  I could definitely do that.  From the SleepIQ app, though, looks like it'd be a bit more difficult.

Need it from the app to see what it's suppose to be doing

Gotcha.  I may have some time this weekend to try again and see if I can get it to run in the emulator.  Last time I tried, it kept crashing, and I lack a rooted device to insert custom certificates to sniff it otherwise.
If you have ideas about ways in which I could sniff it, I'm happy to do what I can to try to capture it - no stranger to wireshark. :)


Trigger Time on a raspi 4 8GB is about 10sec. Is that what you expect as normal?

Hi
I have tested your adapter and it is a great adapter.
I am strugling a bit with the speed and wanted to know whether this is known or expected.
I have a CCU and a hue bridge connected to Iobroker running on a RPi 4 8 GB with a fast SD card.
When I do something in the VIS like switching a bulp I get an immediate action. When using your adapter or Node-Red and I trigger by a value change of a CCU Variable I see quiet a bit of a delay 10sec and more.
Any thoughts? Is there a refresh value which should be increased or what is the problem?

Okay, figured it out. The Syvariables from homematic are polled by the REGA adapter which polls by default every 30secs. I changed it to 10secs  and now it behaves faster, You can close the issue.

Okay, figured it out. The Syvariables from homematic are polled by the REGA adapter which polls by default every 30secs. I changed it to 10secs  and now it behaves faster, You can close the issue.


[Dashboard bug]Fix userId prop in Explore view Save_Modal

For userId, the attribute name in bootstrap data is user_id.
@michellethomas @mistercrunch

lgtm


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Ping Support

Add support for sending a Ping frame MessageAdapter

PR to resolve this issue: https://github.com/andyglow/websocket-scala-client/pull/209


[v23.12.2] Book custom permissions not cascading to chapters and pages

Describe the Bug
After migrating content between old and new shelves I've received several reports that users are unable to display certain chapters or pages despite cascading shelf permissions to books.
"Inherit defaults" usually helps, but that's not something we want to get into because of more restricted access policy. right now only direct permissions override per chapter/page solves that issue.
Steps to Reproduce

Cascade permissions from shelf
Verify that target role has permissions override set in book
Open up chapter/page permissions and verify that no permissions override has been inherited from book - only Everyone Else is available by default.

Expected Behaviour
Chapter/page permissions should behave the way it is described in BookStack documentation - by auto cascading from book.
Screenshots or Additional Context

Browser Details
No response
Exact BookStack Version
v23.12.2

@ssddanbrown ok, I'd just want to clear things up here - "inherit defaults" means that chapter/page gets the permissions set on book level and not that any role with global read permissions will suddenly gain access to that content?
by global I mean this:

"inherit defaults" means that chapter/page gets the permissions set on book level and not that any role with global "View All" permission, not specified in override section, will suddenly gain access to that content?

"inherit defaults" will accept the permissions from the parent (and/or grandparent if the parent is inheriting) if set, and the role permissions if none of the parents have disabled inheritance.
Combination of permissions follows the "Advanced Permission Logic" section on this page: https://www.bookstackapp.com/docs/user/roles-and-permissions/#advanced-permission-logic

@ssddanbrown so only if both shelf and book had this setting ticked off AND no permission override set, chapters and pages would be available to any role having global view own/all permission?

so only if both shelf and book had this setting ticked off AND no permission override set, chapters and pages would be available to any role having global view own/all permission?

Shelf permissions don't come into play here, since they don't auto-cascade (Only copied to books on demand).
If the "Everyone Else" > "inherit defaults" is unchecked on a book, with no other role permissions added, and child chapter/page left inheriting with no other permissions configured, then the book and all pages/chapters within would only be visible to those assigned to the default admin role.

@ssddanbrown great, that's exactly what I wanted to achieve. thanks a lot, in that case you can close that issue.


add basic travis test, update readme

travis will do a repo init from github.com/username/chaperone -b (committed_branch|master)
test running ansible playbook
update readme with description of each playbook directory

reopen under travis


refactor file extension handling

fixes #3068

adding @jonsneyers, because I think the "ext:name" syntax, which we remove here was added by him..


Empty Methods section should appear in check metadata

The attached ezEML data package had an empty methods section, which creates invalid EML. Missing methods section does not appear in Check Metadata
https://hideuri.com/9E0O9Z

Fixed in release 2022.04.25.


playback memory leak help

Im having hard time figure out why im getting memory leak in
this function which run every frame.
before this function I create captures only once.
after the function i release the images ( every frame).
any help will be appreciated.
Update :
I made mistake and placed the release in wrong place.
resolved.
CPUMemoryTOP::bundleCaptures()
{

	if (result == K4A_RESULT_SUCCEEDED)
	{
		//printf("%-32s  %12s  %12s  %12s\n", "Source file", "COLOR", "DEPTH", "IR");
		//printf("==========================================================================\n");

		// Print 8  captures ( frame ) at the time in order of timestamp across all the recordings.
		//
		for (int frame = 0; frame < file_count ; ++frame)
		{

			uint64_t min_timestamp = (uint64_t)-1; // very big number trick
			recording_t* min_file = NULL;
			size_t min_index = -1;

			// Find the lowest timestamp out of each of the current captures.
			for (size_t i = 0; i < file_count; ++i)
			{
				if (files[i].capture != NULL)
				{
					uint64_t timestamp = first_capture_timestamp(files[i].capture);
					if (timestamp < min_timestamp)
					{
						min_timestamp = timestamp;
						min_file = &files[i];
						min_index = i;
					}
				}
			}

			if (min_file == nullptr)
			{
				std::cout << "no capture available" << std::endl;
				return;
			}

			BGRAImageK[min_index] = k4a_capture_get_color_image(min_file->capture);
			depthImageK[min_index] = k4a_capture_get_depth_image(min_file->capture);

			if (k4a_image_get_size(BGRAImageK[min_index]) != 0 && k4a_image_get_size(depthImageK[min_index]) != 0 )  // check if there is image, if not paint it black.
			{
				bgraIn[min_index] = k4a_image_get_buffer(BGRAImageK[min_index]);
				depthIn[min_index] = (unsigned short*)k4a_image_get_buffer(depthImageK[min_index]);
			}
			else
			{
				bgraIn[min_index]  = (unsigned char*)&bgraBlack;
				depthIn[min_index] = (unsigned short*)&depthBlack;
			}

			//test

			k4a_capture_release(min_file->capture);
			min_file->capture = NULL;

			// Advance the recording with the lowest current timestamp forward.
			k4a_stream_result_t stream_result = k4a_playback_get_next_capture(min_file->handle, &min_file->capture);
			if (stream_result == K4A_STREAM_RESULT_FAILED)
			{
				printf("ERROR: Failed to read next capture from file: %s\n", min_file->filename);
				result = K4A_RESULT_FAILED;
				break;
			}
		}
	}
}

Update :
I made mistake and placed the release in wrong place.
for (uint32_t i = 0; i < file_count; ++i)
	{
		k4a_image_release(BGRAImageK[i]);
		k4a_image_release(depthImageK[i]);

	}

Update :
I made mistake and placed the release in wrong place.
resolved.

👍


Build/realloc fixes

LDFLAGS should only link libG2
The resize function should implement/use realloc

Fix pulled in via https://github.com/Senzing/g2-sdk-go/pull/32


Remove proc_open

Can I use this without having to use proc_open ?

Docs say that the proc_* functions are required.
StreamBuffer requires proc_open() and proc_close().
What is the reason you want to avoid using these functions? Your hosting environment? If so, my best recommendation is change providers. Take control of your hosting environment. Don't let your hosting company restrict what you can do with your sites.


Helm ignores custom resources if introduced in a failing deployment

Output of helm version:
version.BuildInfo{Version:"v3.5.3", GitCommit:"041ce5a2c17a58be0fcd5f5e16fb3e7e95fea622", GitTreeState:"dirty", GoVersion:"go1.15.8"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.3", GitCommit:"2d3c76f9091b6bec110a5e63777c332469e0cba2", GitTreeState:"clean", BuildDate:"2019-08-19T11:13:54Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.4", GitCommit:"a87e9a978f65a8303aa9467537aa59c18122cbf9", GitTreeState:"clean", BuildDate:"2019-07-08T08:43:10Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
NOTE: the same issue was seen on a cluster running Kubernetes 1.19.7, but that was less accessible for reproduction.
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
AWS
Description
We have a CRD in the cluster that existing applications should start using so the situation is existing deployments should deploy a new version of the Helm chart that includes such custom resource (CR).
On a sunny day this works fine, deployment succeeds and after that the CR can be updated as needed.
However, if they made some mistake in the CR content that will have impact on the release so that it fails, after this it is impossible to update the CR/correct the problem using helm.
Simplified reproduction
1. Install a CRD
Create foobar-crd.yaml:
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: foobars.foobar.com
spec:
  group: foobar.com
  versions:
    - name: v1
      served: true
      storage: true
  scope: Namespaced
  names:
    plural: foobars
    singular: foobar
    kind: FooBar
    shortNames:
    - fb
  validation:
    openAPIV3Schema:
      type: object
      properties:
        spec:
          type: object

Install it:
kubectl apply -f foobar-crd.yaml

2. Install a helm chart that succeeds
helm create foobar
kubectl create ns foobar
helm upgrade --debug --install --wait --timeout 30s --namespace foobar foobar foobar

3. Create a custom resource fb.yaml and include it in the helm chart
apiVersion: "foobar.com/v1"
kind: FooBar
metadata:
  name: my-foobar
spec:
  update_me: foo

cp fb.yaml foobar/templates

4. Modify the chart so deployment will fail by pointing probes to a bad port
sed -i '' 's/port: http/port: 5000/g' foobar/templates/deployment.yaml # or simply edit the file

5. Make a new helm release with the updated chart
helm upgrade --debug --install --wait --timeout 30s --namespace foobar foobar foobar

Output as expected:
...
client.go:222: [debug] Created a new FooBar called "my-foobar" in foobar
...

and helm returns an error because probes fail so new pod doesn't come up.
But by doing
kubectl get fb -n foobar -oyaml

we can see the new resource was created with correct data.
6. Modify the CR and redeploy
Edit cr.yaml so that it says
  update_me: bar

helm upgrade --debug --install --wait --timeout 30s --namespace foobar foobar foobar

Output NOT as expected:
...
client.go:464: [debug] Looks like there are no changes for FooBar "my-foobar"
...

And by doing
kubectl get fb -n foobar -oyaml

we can see that the resource in the cluster still says update_me: foo.

Thanks for providing so much detail in the description. I have confirmed the issue on 1.19.7.
Note, I did have to add apiVersion fields to the CR and CRD. The CRD is apiextensions.k8s.io/v1beta1  for this structure.

Thanks for confirming.
Right, apparently the first line of the resources went missing when copy/pasting - I've corrected those in the description now.


replace nor with or + not

Review, but DO NOT MERGE There is a stack of pull requests that depends on this one.  Let me worry about doing it in the right order.
Fixes #145
I replaced nor with or and not
The reasoning:
It is possible to represent all logic operators, using only two logic operators.
or is the natural one we want, since it is used to define concat and concat is used again by star.
We only need to add the not operator, which then allows us to represent nor
P | Q | P nor Q
-----------------
T | T | F
T | F | F
F | T | F
F | F | T

P | Q | not (P or Q)
-----------------
T | T | F
T | F | F
F | T | F
F | F | T

, which allows us to represent all logic operators, for example and
P | Q | P and Q
-----------------
T | T | T
T | F | F
F | T | F
F | F | F

P | Q | not ((not P) or (not Q))
-----------------
T | T | T
T | F | F
F | T | F
F | F | F

I think we should replace nor with not and or.  It is still a minimal extension, but allows us to more naturally work for concat and star, which are typically the hardest proofs we have to do.

Thanks for doing this!
(Sorry for posting lots of single comments btw. First I thought I'd only place one comment, but then I got sucked in.)

Thank you reviewing :D not a problem.  I also do single comments a lot of the time, it happens.

Thanks for doing this!
(Sorry for posting lots of single comments btw. First I thought I'd only place one comment, but then I got sucked in.)

Thank you reviewing :D not a problem.  I also do single comments a lot of the time, it happens.

I might add the requires changes after merging, just because of the logistical issues of merging a diff stack on github.

I might add the requires changes after merging, just because of the logistical issues of merging a diff stack on github.


Update plug_heartbeat

Hey, author of plug_heartbeat here, which you're using as a dependency. Just wanted to give a heads up to update plug_heartbeat to 0.2 (since you're using ~> 0.1, a mix deps.update plug_heartbeat would be enough) because 0.1 breaks with older versions of Plug. This happens because of Plug.Conn.full_path/1, which plug_heartbeat was using and which was deprecated.
I noticed because of https://github.com/whatyouhide/plug_heartbeat/issues/2.

Awesome, thanks for letting me know. I'll push up a fixed update today.


Step 5: 📋 Create a Project Backlog

Task Description

[ ] Watch the How to Create a Project Backlog video

[x] Identify & prioritize features
[ ] Create an epic for each feature
[ ] Choose the highest priority epics & divide them into user stories
[ ] Add your epics & user stories to a backlog tool. Due to it’s tight integration with GitHub we suggest using ZenHub (it’s free for teams using public repositories)
[ ] Prioritize the user stories

Technical Considerations
N/a
Additional Considerations
During the Voyage you’ll refine the Project Backlog and in every Sprint you’ll move tasks from it to the Sprint Backlog. This is part of the Agile process helps you and your team concentrate only on the tasks that must be completed in that Sprint.
If you are using ZenHub don't forget you'll need to install its browser extension before you can see the ZenHub tab in your GitHub repo.
Resources
Create a Project Backlog (Chingu Handbook)
Member of Epic: #16

We are using trello, tasks are divided and everyone is working on delivering their share.


'InteractiveBrowserCredential' object has no attribute 'signed_session'

Package Name: azure-mgmt-authorization, azure.identity
Package Version: 0.60.0, 1.2.0
Operating System: Windows 10 Enterprise
Python Version: 3.7.3

Describe the bug
I am unable to use azure.identity.InteractiveBrowserCredential to authenticate to azure.mgmt.authorization.AuthorizationManagementClient.
To Reproduce
Steps to reproduce the behavior:

Run the following code:

# This script requires the following modules:
#	python -m pip install azure-identity
#	python -m pip install azure-mgmt-authorization
#
# This script runs under Python 3.4 or later.

from azure.identity import InteractiveBrowserCredential
from azure.mgmt.authorization import AuthorizationManagementClient
from azure.mgmt.authorization.models import RoleAssignmentCreateParameters

import uuid

# The ID of your Azure subscription. You can find this in the Azure Dashboard under Home > Subscriptions.
subscription_id = "INSERT SUBSCRIPTION ID"

resource_id = "INSERT RESOURCE ID"

interactive_credential = InteractiveBrowserCredential()

def create_role_assignment (resource_id) :
# See:
# https://github.com/Azure-Samples/compute-python-msi-vm#role-assignement-to-the-msi-credentials
	authorization_client = AuthorizationManagementClient(interactive_credential, subscription_id)

# Get the ID of the Contributor role.
	role_name = 'Contributor'
	roles = list(authorization_client.role_definitions.list(
		resource_id,
		filter="roleName eq '{}'".format(role_name)
	))
	assert len(roles) == 1
	contributor_role = roles[0]

create_role_assignment (resource_id)

Output:
Traceback (most recent call last):
  File "issue.txt", line 34, in <module>
    create_role_assignment (resource_id)
  File "issue.txt", line 29, in create_role_assignment
    filter="roleName eq '{}'".format(role_name)
  File "C:\Program Files (x86)\Python\Lib\site-packages\msrest\paging.py", line 143, in __next__
    self.advance_page()
  File "C:\Program Files (x86)\Python\Lib\site-packages\msrest\paging.py", line 129, in advance_page
    self._response = self._get_next(self.next_link)
  File "C:\Program Files (x86)\Python\Lib\site-packages\azure\mgmt\authorization\v2018_01_01_preview\operations\_role_definitions_operations.py", line 287, in internal_paging
    response = self._client.send(request, stream=False, **operation_config)
  File "C:\Program Files (x86)\Python\Lib\site-packages\msrest\service_client.py", line 336, in send
    pipeline_response = self.config.pipeline.run(request, **kwargs)
  File "C:\Program Files (x86)\Python\Lib\site-packages\msrest\pipeline\__init__.py", line 197, in run
    return first_node.send(pipeline_request, **kwargs)  # type: ignore
  File "C:\Program Files (x86)\Python\Lib\site-packages\msrest\pipeline\__init__.py", line 150, in send
    response = self.next.send(request, **kwargs)
  File "C:\Program Files (x86)\Python\Lib\site-packages\msrest\pipeline\requests.py", line 65, in send
    self._creds.signed_session(session)
AttributeError: 'InteractiveBrowserCredential' object has no attribute 'signed_session'

Expected behavior
I am able to use azure.identity.InteractiveBrowserCredential to authenticate to azure.mgmt.authorization.AuthorizationManagementClient.
Additional context
Possibly related to: https://github.com/Azure/azure-sdk-for-python/issues/9725
That is, possibly azure.mgmt.authorization does not support azure.identity yet?

Additional context
Possibly related to: #9725
That is, possibly azure.mgmt.authorization does not support azure.identity yet?

That's correct, no azure-mgmt-* accepts azure-identity credentials. Work to change that is tracked by #9310. I'll close this is a duplicate of #9725. Please feel free to open another issue if you encounter other problems.


Missing Registrar's response

It appears to me that this openrdap only uses registry's response but the registrar's response, which typically provides more info (so called thick lookup), are missing. For example, if we rdap lookup google.com, the response don't have google location information which is only available from registrar's server.
I also tried -s url/of/registrar, for example rdap -s https://rdap.markmonitor.com/rdap google.com but get 404 error.
Can you add the support of registrar's server url?

I've fixed queries to markmonitor's rdap server in https://github.com/openrdap/rdap/commit/abc42c194094bc23766f292e90d51d4969ef4945.
The query rdap -s https://rdap.markmonitor.com/rdap google.com should work now.
https://www.openrdap.org/demo?cmd=rdap+-s+https%3A%2F%2Frdap.markmonitor.com%2Frdap+google.com

Great!

I rerun go get -u github.com/openrdap/rdap/cmd/rdap and updated rdap, but when run rdap -s https://rdap.markmonitor.com/rdap google.com at my terminal I still get error.
# Error: No RDAP servers responded successfully (tried 1 server(s))

can you create a new release and make the go get - u ... work? or let me know if I do something wrong. Thanks

as a follow-up question, I noticed that the current tool can only make one query of either bootstrap server (by default) or other registrar's server (by using -s for custom url). Can the tool be made to automatically query both bootstrap and then registrar's server and provide both responses?


isKeyPressed never true in OSX Yosemite 10.10.4 (14E46)

Hello,
i've just been trying out a SFML tutorial and was trying out keyboard interactivity. As far as I can tell isKeyPressed just never works.
This works fine
if (sf::Mouse::isButtonPressed(sf::Mouse::Left))
        {
            rectangle.move(1, 0);
        }

The below if statement bodies never run:
if (sf::Keyboard::isKeyPressed(sf::Keyboard::D))
        {
            // left key is pressed: move our character
            rectangle.move(1, 0);
        }

        if (sf::Keyboard::isKeyPressed(sf::Keyboard::Right))
        {
            // left key is pressed: move our character
            rectangle.move(0, 1);
        }

http://hastebin.com/bipefotovo.avrasm
I've installed SFML from the website yesterday. SFML-2.3.2-osx-clang-universal.tar.gz

Please have a look at the contribution guidelines (the link appears when opening an issue). For help requests and unconfirmed issues, the preferred platform should be the forum.
Are you sure that it never works at all, and it's not one of the other issues? Can you provide a minimal complete example?

Cannot reproduce with master version.
If you're still having an issue, stop by the forum for help.


Missing initialisation of Clients in findClients

findClient(WebContext) is missing the initialisation of the clients BEFORE the default client is returned.
I think there is also undefined behaviour if the default client is NOT in the clients collection, but this PR does not cover this problem yet.
If you have an idea how to better handle that case, I can add some commits for it :)

Good catch!


MS-PowerPoint - I assist in creating professional PowerPoint presentations.

https://chat.openai.com/g/g-vIV2R7wST-ms-powerpoint

Merged


Collect performance metrics

E.g.

[ ] Average run time for a single expression
[ ] Run time for phases

[ ] Read ruleset
[ ] Read expression
[ ] Match patterns
[ ] Substitute
[ ] Print

[ ] Memory consumption

This is actually not high priority. The metrics we care about are in #79.


Remove most uses of OptionalTypeKind.

What remains are places where we are conflating optionality with
either nullability or failability.

@swift-ci Please smoke test


fix create dir for invalid dir

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (005ae88) 100.00% compared to head (95bf6e8) 99.51%.
Report is 2 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##              main      #10      +/-   ##
===========================================
- Coverage   100.00%   99.51%   -0.49%
===========================================
  Files           13       13
  Lines          617      617
===========================================
- Hits           617      614       -3
- Misses           0        3       +3

Flag
Coverage Δ

unittests
99.51% <100.00%> (-0.49%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fix type of timeZone so it can be undefined

Fixes #56057
I feel like a test could be added, but I'm having a hard time finding the appropriate test suit where this should be, so I can use some help with it. Hence, I'm setting it as Ready for review...

A PR to change this was already closed: https://github.com/microsoft/TypeScript/pull/55870


Add CognitoIdentity renewing external identity provider

Previously there was no way to renew the credentials that generated the Identity required for the Cognito Identity credential provider. So when the identity credentials expired you had to create a new AWSClient. This PR adds a new IdentityProvider via .externalIdentityProvider which renews the identity as well when credentials expire. The closure included is called every time a new identity is needed. It returns a set of name-value pairs that map provider names to provider tokens.
Here is an example using Cognito Userpools for identity. In this case the closure is returning
let credentialProvider: CredentialProviderFactory = .cognitoIdentity(
    identityPoolId: "my-identiy-pool-id",
    identityProvider: .externalIdentityProvider(tokenProvider: { context in
        let userPoolIdentityProvider = "cognito-idp.\(context.region).amazonaws.com/\(userPoolId)"
        let cognitoIdentityProvider = CognitoIdentityProvider(client: context.client, region: context.region)
        let request = CognitoIdentityProvider.InitiateAuthRequest(
            authFlow: .userPasswordAuth,
            authParameters: ["USERNAME": "my-username", "PASSWORD": "my-password"],
            clientId: "my-client-id"
        )
        return cognitoIdentityProvider.initiateAuth(request, logger: context.logger, on: context.eventLoop)
            .flatMapThrowing { response in
                guard let idToken = response.authenticationResult?.idToken else { throw CredentialProviderError.noProvider }
                return [userPoolIdentityProvider: idToken]
            }
    }),
    region: .euwest1
)

@0xTim using this to implement a full Cognito user pool implementation here https://github.com/soto-project/soto-cognito-authentication-kit/pull/22


Update Microsoft.EventHub.Namespaces.md

Information has been updated with best practices and recommendations for Event Hub.
Description
Information has been updated with best practices and recommendations for Event Hub.
Issue reference
https://github.com/cmendible/azqr/issues/3
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly

Please check the suggested changes

Done!


Add debugError functuion

Add debugError function to send to all clients debug message with error stacktrace on server error

:D Do you know that Cult of Martians doesn’t support multiple authors. @barbagrigia will be a winner, because he already did a half, but was the first :).

server test doesn’t test that message was really sent. Just override app.sendDebug in server.
Fix Travis CI (spellchecker ;) )

@ai Nevermind, I'm glad for @barbagrigia :). Next time I'll be faster, maybe)
Updated and fixed tests


Unfreezing Bert Parameters and training only on BERT

Hello, first of all thanks for the useful repo.
I experimented your code on my task, the results were not so good, so I wanted to play around with it. I faced 2 issues:
1] I don't want to freeze BERT parameters, so I commented those 2 lines as you mentioned:
for param in bert.parameters():
    param.requires_grad =  False

However, when I did that all my sentences were classified 0 (or sometimes all classified as 1), any idea why that happened ?
Alternatively, I set    param.requires_grad =  True, instead of False, yet I experienced the same behavior, a single label is assigned to all sentences in some runs its 0, other its 1.
2] Another thing I tried is to just classify using the original BERT so I set model=bert instead of model = BERT_Arch(bert), I get the following error while training:

TypeError: nll_loss_nd(): argument 'input' (position 1) must be Tensor, not BaseModelOutputWithPoolingAndCrossAttentions

The trace stack:
 Epoch 1 / 4
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-789-c5138ddf6b25> in <module>()
     12
     13     #train model
---> 14     train_loss, _ = train()
     15
     16     #evaluate model

3 frames
<ipython-input-787-a8875e82e2a3> in train()
     28
     29     # compute the loss between actual and predicted values
---> 30     loss = cross_entropy(preds, labels)
     31
     32     # add on to the total loss

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
   1100         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
   1101                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1102             return forward_call(*input, **kwargs)
   1103         # Do not call functions when jit is used
   1104         full_backward_hooks, non_full_backward_hooks = [], []

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/loss.py in forward(self, input, target)
    209
    210     def forward(self, input: Tensor, target: Tensor) -> Tensor:
--> 211         return F.nll_loss(input, target, weight=self.weight, ignore_index=self.ignore_index, reduction=self.reduction)
    212
    213

/usr/local/lib/python3.7/dist-packages/torch/nn/functional.py in nll_loss(input, target, weight, size_average, ignore_index, reduce, reduction)
   2530     if size_average is not None or reduce is not None:
   2531         reduction = _Reduction.legacy_get_string(size_average, reduce)
-> 2532     return torch._C._nn.nll_loss_nd(input, target, weight, _Reduction.get_enum(reduction), ignore_index)
   2533
   2534

TypeError: nll_loss_nd(): argument 'input' (position 1) must be Tensor, not BaseModelOutputWithPoolingAndCrossAttentions

I added return_dict=False in (bert = AutoModel.from_pretrained('bert-base-uncased',return_dict=False)), but the error just changed to TypeError: nll_loss_nd(): argument 'input' (position 1) must be Tensor, not tuple with similar stack trace as the one shown above.

Hi, if you are not using the below code then it means that all the parameters of the BERT architecture will get tuned during model training.
for param in bert.parameters():
    param.requires_grad =  False

In such a case a model like BERT will require more training and more data to be able to give meaningful output. param.requires_grad = True is true by default.
Coming on to your second question, model=bert will not work here because the length of the output vector of bert would be 768. The output vector length has to be 2 because we have 2 classes in our target variable. model = BERT_Arch(bert) gives an output vector of length 2 and then we apply softmax on this output.


"No available engine for Yajra\DataTables\DataTables"

I have version 8 and laravel 5.5 I do not understand that it should be simple but it is complicating me

Pay attention to the version. For example in v7 of this package all files and classes contain "Datatables" when v8 is "DataTables" — do you see the difference?

Please follow the upgrade. It's a major bump because there are breaking changes. Thanks!


Displaying content

Hi I have problem.
Why I'm don't see article content?
Ie. I'm on http://localhost:8001/pl/2016/06/04/213 path and I'm only see title, date and author

but on blog page I see truncated that article..

Unless you set BLOG_USE_PLACEHOLDER=False the content must be added through django CMS plugins in the placeholder via the django CMS frontend editor

@yakky what else I should add?


Clicking the Depot Tab while no trains at all are in the network seems to crash the game.

I guess somebody clicked the Depot Tab while there where no depots or no depots with any trains assigned.
16602.716 Error MainLoop.cpp:1205: Exception at tick 991358: The mod LTN Manager [ALPHA] (0.2.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_tick (ID 0)
LtnManager/scripts/ltn-data.lua:206: table index is nil
stack traceback:
LtnManager/scripts/ltn-data.lua:206: in function 'sort_depot_trains'
LtnManager/scripts/ltn-data.lua:445: in function 'iterate'
LtnManager/control.lua:161: in function <LtnManager/control.lua:157>
16602.716 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod LTN Manager [ALPHA] (0.2.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_tick (ID 0)
LtnManager/scripts/ltn-data.lua:206: table index is nil
stack traceback:
LtnManager/scripts/ltn-data.lua:206: in function 'sort_depot_trains'
LtnManager/scripts/ltn-data.lua:445: in function 'iterate'
LtnManager/control.lua:161: in function <LtnManager/control.lua:157>"
16602.716 Info ServerMultiplayerManager.cpp:771: updateTick(991358) changing state from(InGame) to(Failed)
Save file
E.18.30-SE-2020-06-03-recovery.zip
Log file
factorio-current20200603214319.log

I'm unable to reproduce this error. Does it happen consistently?

I removed the mod because multiplayer and also the error did not happen directly to me. It was just what I got from the users online at the time.
I can throw the save on one of our servers for testing purposes.

That would be appreciated. No matter how hard I try I can't get it to crash!

So, I managed to reproduce it. The crash is happening because there are several missing translations in your player data table. I actually have no idea how that could be the case, but simply updating to a new version should fix it (updating causes all translations to be re-done).
If the issue persists after updating, please let me know!


sile: fix build

Description of changes

f3100dd4e0072cf641d52ae3dc9da959e5335bf9 changed the default interpreter of Sile to Lua 5.4. Unfortunately, multiple Lua dependencies fail when building with lua5_4, making Sile to fail to build.
cc: @alerque
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Yes, lets do it. This is becoming a pain to work around.
I think the bigger behind the scenes issue is that CI testing for Lua stuff isn't getting the job done. I'll like to see the bump to 5.4 again as soon as possible, but the rest of the Lua ecosystem has to work properly for that to be feasible.


TreatmentStatus

BusinessStatus - Task

Proposal: we use Task.businessStatus, because completedBeforeDate/not-done are not in the list of Task.status.
Consequence: Task.status is mandatory, and must be kept up-to-date with the equivalent value in Task.businessStatus. The missing values completedBeforeDate -> completed / not-done -> rejected.
CS with VS BeCSReferralPrescriptionTreatmentStatus will be created with values from document.

solved in #167


hit-enter prompt is off by one for :echo

When you're :echo-ing a message that is exactly the screen size you get an hit-enter prompt, even though it fits:
% vim -Nu NONE
:echo repeat('X', &columns - 1)    " Works, one character free on the right side
:echo repeat('X', &columns)        " Get the ENTER prompt, even though it all fits

I went a bit through the code to try and fix it, but it's a bit confusing how this all works 😅
Vim 9.9.0192, inside terminal. Didn't try GUI.
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Aug 11 2022 15:56:13)
Included patches: 1-192
Compiled by<EMAIL_ADDRESS>Huge version without GUI.  Features included (+) or not (-):
+acl               -dnd               +listcmds          +postscript        +termresponse
-arabic            -ebcdic            +localmap          +printer           +textobjects
+autocmd           +emacs_tags        +lua               +profile           +textprop
+autochdir         +eval              +menu              -python            +timers
-autoservername    +ex_extra          +mksession         -python3           +title
-balloon_eval      +extra_search      +modify_fname      +quickfix          -toolbar
+balloon_eval_term -farsi             +mouse             +reltime           +user_commands
-browse            +file_in_path      -mouseshape        -rightleft         +vartabs
++builtin_terms    +find_in_path      +mouse_dec         -ruby              +vertsplit
+byte_offset       +float             -mouse_gpm         +scrollbind        +vim9script
+channel           +folding           -mouse_jsbterm     +signs             +viminfo
+cindent           -footer            +mouse_netterm     +smartindent       +virtualedit
+clientserver      +fork()            +mouse_sgr         +sodium            +visual
+clipboard         -gettext           -mouse_sysmouse    -sound             +visualextra
+cmdline_compl     -hangul_input      +mouse_urxvt       +spell             +vreplace
+cmdline_hist      +iconv             +mouse_xterm       +startuptime       +wildignore
+cmdline_info      +insert_expand     +multi_byte        +statusline        +wildmenu
+comments          +ipv6              +multi_lang        -sun_workshop      +windows
+conceal           +job               -mzscheme          +syntax            +writebackup
+cryptv            +jumplist          -netbeans_intg     +tag_binary        +X11
+cscope            +keymap            +num64             -tag_old_static    +xfontset
+cursorbind        +lambda            +packages          -tag_any_white     -xim
+cursorshape       +langmap           +path_extra        -tcl               -xpm
+dialog_con        +libcall           -perl              +termguicolors     +xsmp_interact
+diff              +linebreak         +persistent_undo   -terminal          +xterm_clipboard
+digraphs          +lispindent        +popupwin          +terminfo          -xterm_save
system vimrc file: "$VIM/vimrc"
	user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
	user exrc file: "$HOME/.exrc"
	defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -g -static -I/usr/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang -g -static -L/usr/lib -L/usr/local/lib -Wl,--as-needed -o vim -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lxcb -lXau -lXdmcp -lsodium -L/usr/lib -llua5.4

This is intentional. Several terminals will scroll the screen up when putting a character in the lower right corner.  That will then require a redraw, thus the hit-enter prompt is needed.
Thus, even though the message fits, the window might scroll.

Oh right; is that still relevant with modern terminal emulators? I wrote an "ncurses-like" Go library earlier this year and I never noticed any issues on any terminal emulator I tested, and the application I was working on puts a border on the edge of the entire window. Plus e.g. tmux has been putting stuff there for ages too, with cmdheight=0 the statusline will draw in the bottom-right corner too.

Oh right; is that still relevant with modern terminal emulators? I
wrote an "ncurses-like" Go library earlier this year and I never
noticed any issues on any terminal emulator I tested, and the
application I was working on puts a border on the edge of the entire
window. Plus e.g. tmux has been putting stuff there for ages too, with
cmdheight=0 the statusline will draw in the bottom-right corner too.

Not everybody uses a modern terminal emulator.  Vim works in many old
environments.
--
Back up my hard drive?  I can't find the reverse switch!
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


about vthread

thread_xz = tvm.thread_axis((0, vthread), "vthread", name="vx")
tyz, fi = s[B].split(fi, nparts=vthread)  # virtual thread split
s[B].bind(tyz, thread_yz)
How is vthread mapped to threadIdx?
Thanks

@Laurawly ?

why not use bind(tyz, thread_z) instead of vthread?
@Laurawly
Thanks

We are moving the question and discussion issues to TVM Discuss forum and only use issue tracker for development purposes. Please create a post there :)


Implement an Auth 1.0 provider

Implement an Auth 1.0 provider.
thank you

Why?

:)
Because I have come with 2 cases that are still using Auth 1.0. Twitter was using it 1 year ago.

Can you be more specific? What exactly are you asking for? Do you need to write an oauth 1.0 server?

I though "Provider" is the write name. I am talking about this https://github.com/aspnet/Security/tree/dev/src/Microsoft.AspNetCore.Authentication.OAuth.
The clients that connect to an OAuth 1.0 server

Twitter uses OAuth 1.0a. You're asking for a generic version that you can use with other services? What services?
If there are just a few then I recommend copying the Twitter code. There's little incentive to go back and improve support for obsolete protocols.

Closing because there are no plans to implement this. The OAuth 1.0 protocol is very old at this point and we've seen almost no demand for it. You should be able to fairly easily get something working by copying any existing OAuth 1.0-based provider and modify it for your needs.


Add Donk Co. microwave board to Combat Bakery Kit

About the PR

This PR adds a Donk Co. microwave board and instructional note to the Combat Bakery Kit (#31179). Donk Co. microwaves are able to bake baguette swords and throwing croissants (and normal recipes.)
Why / Balance

The SS13 version had the ability to bake more weapons, so this brings it in line. It adds opportunities to rearm yourself after eating past weapons to hide them, as well as arming other syndies.
Technical details

The main hurdle was how to allow only some people to cook a recipe. We couldn't just learn it from a book like SS13, since we didn't want to just add a component onto a player entity like that.
I considered an implant, but that was a bit messier, since the implant would have the component rather than the player.
The microwave built with this board has a RecipeProviderComponent, which will add its recipes to the available list when cooking. The two new recipes are marked as SecretRecipe, and do not appear in the normal list.
Media

https://github.com/user-attachments/assets/cc035c61-34dd-4e4c-aeae-1e37fd6b7921
Requirements

[x] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

tweak: The Donk Co. microwave can cook baguette swords and throwing croissants.
tweak: The Combat Bakery Kit now has a Donk Co. microwave board and costs 6 TC.

Maybe make the board the special donk co branded ones that the nukies have, and give this functionality to it instead? Its just odd to me to have two different syndicate microwaves

Maybe make the board the special donk co branded ones that the nukies have, and give this functionality to it instead? Its just odd to me to have two different syndicate microwaves

The idea is for it to be sneaky and look like a regular microwave. Those Nukie ones are bright red and would stand out.

I think this is an interesting way to make it possible to cook weapons, but I would def make the board itself look sus. That way players can confirm the microwave is tampered with if they disassemble it, and if they do they likely suspect you already.
How will players learn the new recipes? If there is no way to know them outside reading a wiki/code it's bad. Maybe the kit can include a piece of paper listing the recipes (with a cheeky little "burn after reading" at the bottom)?

I think this is an interesting way to make it possible to cook weapons, but I would def make the board itself look sus. That way players can confirm the microwave is tampered with if they disassemble it, and if they do they likely suspect you already.
How will players learn the new recipes? If there is no way to know them outside reading a wiki/code it's bad. Maybe the kit can include a piece of paper listing the recipes (with a cheeky little "burn after reading" at the bottom)?

These are both good suggestions. I'll update the PR with them.

I made it a little cooler, how's it chaaat

Traitor reciept.txt if you'd like to put it in

I think this would be hilarious, but probably would need to be retuned a fair deal considering how easy it is to get the required materials with little effort.

I made it a little cooler, how's it chaaat   Traitor reciept.txt if you'd like to put it in I can change some parts if it doesnt fit wizden art style

This isn't spam yall


When drop a subtree is not really drop, just detached!

And we should also support reuse the node in the arena.

block on https://github.com/saschagrunert/indextree/pull/62/files


WebSocket Connection

I created a brand new angular cli project following steps given in the below link
https://docs.microsoft.com/en-us/aspnet/core/spa/angular?view=aspnetcore-2.1&tabs=visual-studio
Its a angular cli project that runs with in visual studio 2017, and the framework is .net core 2.0. I am behind a proxy so I had to add it to my nuget.config and node config (.npmrc)
I followed the steps in the above link and when I run the app I get the following error. There is very little information about this topic out there.

node 8.11.1
npm 5.6.0
Windows 7.

This appears to be an issue with a third-party integration of the CLI.  If this problem is still occurring, please consider opening an issue with the owner of the integration.


disconnects

Hi When the client is killed  (ctrl c or other method) the server aborts.
Is the server side intrended to stay up and always awaiting new connections?

Hi @amarco, the server is intended to stay up but taking new connections is not implement (outlined briefly in the readme).
If you would like this implemented, please writeup a detailed description of what you expect with this feature and I’ll try to implemented it as soon as I have time.


DeviceMotionEvent event is not supported in your environment

Hello @doslism
Please provide more details on this issue.

Hi, it just does not work in http environment, but works with https. Why is it?

Hello @doslism
Please see here - https://www.w3.org/TR/orientation-event/#security-and-privacy
The spec says fire events only on secure browsing contexts


Implemented Dark Mode

Features:
Added dark mode toggle and CSS:
https://github.com/edge33/plainwhite-jekyll/blob/master/dark.png

Wow that's great! Thanks @edge33.
A couple of things to note:

I think yellow & orange don't align well with the overall theme, its better to use grayish colors instead.
This has a couple of extra files which would hamper the merge, do you mind taking care of that?
README has dark mode at top. It is undesirable there. It should be somewhere down with its own heading.

Hey @thelehhman, I am glad you appreciated:

Do you have any preferences for the colors?
What file are you referring to? the screenshots ? how should I manage those?
Right, I'll fix that

Something not much contrasting. Shades of gray/white preferably.
code of conduct, email address.png etc.

Also, it would be better if dark mode could be enabled optionally by setting it in _config.yml. See https://github.com/thelehhman/plainwhite-jekyll/pull/21 for example, it enables the nav by an option.

HI @thelehhman, I updated the code, see if you like the theme better now, I also added configuraton for conditional activation and added the feature that reads the OS theme to set the website accordingly.
I wanted to remove the toggle and use an icon with the 'moon' like the ones you are using for the social buttons, but I was not able to do so, what would you think about having this icon instead of the toggle?

Great going! Just address the issues mentioned above and we'll be good to go :')

Hi @thelehhman, I addressed the issues, can you please check?

It looks great. The last thing we need to do is to squash all your commits into one. This helps to maintain a cleaner history.

and that is done @thelehhman

Lovely, thanks a lot!


[Suggestion] add a variables file, allow modifying the variables used in the scss files

im not a fan of the forcing of using secondary for many of the label colours etc. wouldnt it be better if you included a _variables.scss file similar to how bootstrap does it with !default? that way we can override the defaults with say $select2-theme-bootstrap4-secondary: $gray;
$select2-theme-bootstrap4-input-bg: $input-bg !default;
$select2-theme-bootstrap4-input-border-radius: $input-border-radius !default;
$select2-theme-bootstrap4-input-box-shadow: $input-box-shadow !default;
$select2-theme-bootstrap4-input-transition: $input-transition !default;
$select2-theme-bootstrap4-input-focus-border-color: $input-focus-border-color !default;
$select2-theme-bootstrap4-input-focus-box-shadow: $input-focus-box-shadow !default;
$select2-theme-bootstrap4-input-disabled-bg: $input-disabled-bg !default;

$select2-theme-bootstrap4-secondary: $secondary !default;

should be as easy as finding $ and then just prefixing them with a prefix and setting up a _variables.scss file

Totally in favor of this approach

I would like to do this in #67


MRG: In Report.add_raw(), re-use the existing figure when creating butterfly plots of slices

Performance changes EDIT I've updated the numbers after adding dde9732
main: 12.3 s ± 294 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
pr:   6.98 s ± 429 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

Because we're re-using the same figure, I could also get rid of the explicit scalings pre-calculation.
MWE:
# %%
from pathlib import Path
import mne

sample_dir = Path(mne.datasets.sample.data_path())
sample_fname = sample_dir / 'MEG' / 'sample' / 'sample_audvis_raw.fif'

raw = mne.io.read_raw_fif(sample_fname, preload=True)
raw.crop(tmax=60)
r = mne.Report()

# %%
%timeit r.add_raw(raw=raw, title='foo')

x-ref #10107

_render_slider() now has a new imgs kwarg in addition to the old figs, which allows to pass images directly instead of only MPL figures. This allows us to take "snapshots" of the same figure in the for loop without having to create a copy first.

Rendered tutorial:
https://39608-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/intro/70_report.html#adding-raw-data

Thanks @hoechenberger !


[Live] Use the right images in the max bid view controller

renamed LiveAuctionBidViewController to LiveAuctionPlaceMaxBidViewController
Cleanup on our folder structure -

adds the right bg buttons for the max bid VC

        1 Error

  </th>
 </tr>

:no_entry_sign:
No CHANGELOG changes made

        2 Warnings

  </th>
 </tr>

:warning:
Needs testing on a Phone if change is non-trivial

:warning:
Detected some Swift building time outliers

Time | Class | Function |
| --- | ----- | ----- |254.6ms | AuctionViewController.swift | @objc dynamic func showRefineTappedAnimated(animated: Bool)
227.8ms | SwiftyJSON.swift | get {}
218.7ms | WebSocket.swift | private func processRawMessage(buffer: UnsafePointer, bufferLen: Int)

  Generated by :no_entry_sign: danger


tsconfig issue

Hi @hmmhmmhm ,
With module set to "commonjs" in your tsconfig, try importing (using es6 import) a ts file into index.svelte . it fails with module not found. now when you set module to es6 or esnext, it works , but throws a build /start/ error (well when you run any of the npm scripts other than clean).
with module set to es6 you get
import { __assign, __awaiter, __generator } from "tslib";
       ^

SyntaxError: Unexpected token {

on build

Hello! Could you give me module source code or give some name of the module that you're having trouble importing?

you can check this repo. its a clone of this template with some import into index.svelte https://github.com/joshua1/st.git
when you run yarn build  you get the  below error

⠼ Building index.svelte...index.svelte:6:80 - error TS2307: Cannot find module './utils'.

6   import { registerServiceWorker, handleNetworkStatus, appDeviceInstall } from './utils'
                                                                                ~~~~~~~~~

⠏ Building tslib.es6.js...index.svelte:6:80 - error TS2307: Cannot find module './utils'.

6   import { registerServiceWorker, handleNetworkStatus, appDeviceInstall } from './utils'
                                                                                ~~~~~~~~~

i'll check!

if i switch moodule in tsconfig to esnext , i get the below error
/Users/joshuao/Documents/Dev/starters/st/config/parcel.config.ts:1
import { __assign, __awaiter, __generator } from "tslib";
       ^

SyntaxError: Unexpected token {
    at Module._compile (internal/modules/cjs/loader.js:718:23)
    at Module.m._compile (/Users/joshuao/Documents/Dev/starters/st/node_modules/ts-node/src/index.ts:536:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:785:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/joshuao/Documents/Dev/starters/st/node_modules/ts-node/src/index.ts:539:12)
    at Module.load (internal/modules/cjs/loader.js:641:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:837:10)
    at main (/Users/joshuao/Documents/Dev/starters/st/node_modules/ts-node/src/bin.ts:212:14)
    at Object.<anonymous> (/Users/joshuao/Documents/Dev/starters/st/node_modules/ts-node/src/bin.ts:470:3)
    at Module._compile (internal/modules/cjs/loader.js:774:30)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

import in index.svelte works but the parcel.config.ts fails

@hmmhmmhm  i think my issue is with default export in the index.ts file in my example. i just updated to named exports and its fine. no need to investigate on your part. Thanks for the quick response too

I was gonna see after work, but it's already solved! congratulation!


Wrapped all global functions in a private class and made them static.

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)
This PR introduces a new way of calling the geolocation methods. A clearer way to keep your code distinct from the geolocation methods.
:arrow_heading_down: What is the current behavior?
The current way of calling methods is by just typing the name of the desired method. This can cause confusion as some method names are globally used.
:new: What is the new behavior (if this is a feature change)?
With the new way you call a method by first defining the plugin (geolocator) followed by the desired method.
:boom: Does this PR introduce a breaking change?
No, it is not a breaking change. However all current (global) methods have been made obsolete.
:bug: Recommendations for testing
N/A
:memo: Links to relevant issues/docs
524
:thinking: Checklist before submitting

[X] All projects build
[X] Follows style guide lines (code style guide)
[X] Relevant documentation was updated
[X] Rebased onto current develop

Why has the Geolocator class been removed? I built my own wrapper class around the Gelocator instance provided via depency injection and I really liked that approach.


HEADROOM-1: Add demo

@maxammann Do you want to have a look or should I just merge it? :D

Sure, will look into it.


Continue to fill in names of contributors on 'About' page

This will never be complete! So removing it from mvp milestone.