Initial tvOS Support 📺

🎉

This is kind of beta implementation.
We still need to ..

improve infinite loading timing
provide delegate method like UICollectionView's collectionView(:didUpdateFocusInContext:withAnimationCoordinator:) (not sure if possible🤔)

I have detected these bugs.

Cell size becomes too small or too large when modifying Cell's transform on focus update.
Focus jumps to unexpected cells on left scroll (right scroll is ok)

@KyoheiG3  Do you come-up with any workaround?

Hi, @toshi0383

Cell size becomes too small or too large when modifying Cell's transform on focus update. (which I implemented in Example)

Try to modify transform of subviews on the Cell.

Focus jumps to unexpected cells on left scroll (right scroll seems ok. Maybe related to infinite scroll.)

It so difficult issues. I also couldn't solve.
I guess it depends to reuse of the Cell. So, could you return false with canBecomeFocused if canReuse is true?

Try to modify transform of subviews on the Cell.

Thanks! I'll try.

It so difficult issues. I also couldn't solve.

Yea maybe we should implement different infinite scroll algorithm for tvOS. (not changing contentOffset, because of focus)
I'll dig further when I have time.😉

I'll dig further when I have time.😉

Cool. Thanks!

I guess it depends to reuse of the Cell. So, could you return false with canBecomeFocused if canReuse is true?

This doesn't solve the jumping focus issue, FYI.
I imagine that when changing contentOffset, focusedView remains same. So the focused cell gets out of the screen when contentOffset is applied by infiniteIfNeeded(), which triggers GridView snapping back to show the focused cell.
That's why I said we need a different algorithm.🤔

Cell size becomes too small or too large when modifying Cell's transform on focus update. (which I implemented in Example)

This one is solved in b6a9ad1, using toshi0383/FocusZPositionMutating . It's installed in Example project, because I thought GridView should focus on reuse and drawing views.

Closing for now. I'll reopen this when I'm ready again.
Thank you for your kind review!


Is it possible to remove the seconds?

Is it possible to remove the seconds?
Thanks

Hi, unfortunately this doesn't support removing the seconds. And I'm not planning to develop the module further...


sha256 hashes are set to literal "SHA-256" in build-info json

Describe the bug
Build-Infos published by the gradle extractor contain "SHA-256" as sha256 hash for some artifacts.
To Reproduce
publish build-info for a gradle build
Expected behavior
Actual sha256 hash is calculated
Screenshots

Additional context
Fixed with #669

Hi @sll552 ,
We just released a new version of the gradle extractor that includes this fix.
Thanks again for your contribution

Thanks for merging and the fast release ☺


V2 query behavior is different: search Owners field

V2V3:
http://int-0-v3.cloudapp.net//search/query?q=xa&&take=3&sortBy=relevance&luceneQuery=false
Return empty
http://int-0-v3.cloudapp.net//search/query?q=daxnet&&take=3&sortBy=relevance&prerelease=true&luceneQuery=false&X-ARR-LOG-ID=fa893b8c-56c2-4c93-9437-4d78e6cde579
return only one, which title contains "daxnet"
V2:
http://nuget-prod-1-v2searchwebsite.azurewebsites.net/search/query?q=xa&&take=3&sortBy=relevance&luceneQuery=false
Return one data, whose owner field include this "xa"
http://nuget-prod-1-v2searchwebsite.azurewebsites.net/search/query?q=daxnet&&take=3&sortBy=relevance&prerelease=true&luceneQuery=false
Return three data, whose owner field include this "daxnet"

All sorts of problems with this: firstly the Owner fields were not being added to the index (they are in a rather too-clever ParallelIndex ... perhaps we won't keep this one long term).
(And the query parsing logic also a little messed up with extra layers of parsing.)

@johnataylor @joyhui Is there anything left to do on this one? The "xa" indeed still returns 0, but when searching for a full author name (e.g. maartenba) the results look good.

I think this should be fixed in v2v3

Yeah it looked like this. Thanks or confirming!


Add Images demo to the gallery app.

We are still waiting for the final assets to use, for now I just used
some place holders.

Thanks, I addressed the comments.
I'm waiting for the final assets before submitting this.
@sethladd - FYI

LGTM


Add Code Review to Contributing.md

Fixes #547
Closes #547

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

@tomhorvat
We have not been able to merge your Pull Request, but because you are awesome - we wanted to make sure you could still get a SendGrid Hacktoberfest shirt.
Please go fill out our swag form before Nov 5th and we will send the shirt! (We know that you might have tried this before and it didn’t work, sorry about that!)
You have till Nov 5th to fill out this form in order to get the Hacktoberfest shirt!
Thank you for contributing during Hacktoberfest! We hope to see you in the repos soon! Just so you know, we always give away a SendGrid shirt for your first ever non-Hacktoberfest PR that gets merged.

Hello @tomhorvat,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Use the SDK and better jinja2

Golden Tests running for this branch:

autoRIFT
RTC
InSAR

Golden Tests running for this branch:

RTC


[funimation] Add _get_subtitles

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Fixes #22027. This new function parses the player page associated with the video in order to find the links to subtitle files.
Unit tests were failing before I modified this file. Apparently they get caught by Funimation's robot detection. The parser still works when you provide a username/password and cookies file for an active account. I tried my best to not break the tests further than they already are by falling back to no subtitles in every error case. I validated the functionality in Python 3.7 and 2.7, but I was unable to validate python 2.6 due to the discontinuation of TLS 1.0 and 1.1. Is this still a requirement?

Any chance that this will get merged?

Can we get a merge?


github: add a owner file to identify the PR creator

This file contains the GitHub login of the user having opened the PR.
Fix #586
Signed-off-by: Thomas Gazagnaire<EMAIL_ADDRESS>

To test it:
$ jbuilder exec -- datakit-bridge-github -d git:///tmp/foo -r samoht/test
Starting datakit-bridge-github %%VERSION%% (*:rw)...
Connecting to git:///tmp/foo [github-metadata].
^C
$ tree /tmp/foo/samoht/test/pr
/tmp/foo/samoht/test/pr/
└── 32
    ├── base
    ├── head
    ├── owner
    ├── state
    └── title

1 directory, 5 files
$ cat

$ cat /tmp/foo/samoht/test/pr/32/owner
datakit

which seems to be consistent with https://github.com/samoht/test/pull/32


mpv + yt-dlp + sponsorblock + seek = no new video frames

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
While using mpv (zhongfly) + yt-dlp (master) + mpv_sponsorblock (PR 71 which skips poi_highlight) it seems like when seeking on this YouTube video as example (doesn't matter if it's auto seek or a manual seek) then yt-dlp will not show me any new frames from the video and I can only hear the audio track, or in some cases the stream itself will not load.
For testing purposes I've used mpv portable_config directory with the following commands on mpv.conf:
no-config
log-file="~~/yt-dlp-mpv-seek-issue.txt"

And added sponsorblock script with the following options on sponsorblock.conf:
categories=sponsor,selfpromo,interaction,intro,outro,preview,music_offtopic,filler,poi_highlight
skip_categories=sponsor,selfpromo,interaction,intro,outro,preview,music_offtopic,filler,poi_highlight

Note 1: Some information on the log file I've changed to GitHub.
Note 2: This issue has been bothering me for quite some time so it's not a new bug.
Note 3: The bug can be reproduced even without sponsorblock script, just a manual seek at the start of the stream to the middle of the stream.
Log file:
yt-dlp-mpv-seek-issue.txt
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
Added log file from mpv.

mpv uses yt-dlp only to get the direct URL of the video. he actual playback and any seeking is handled by them. Report this to mpv devs


Instructions for the COOL setup seem outdated

🐛 Summary
When stepping through the "Setting up a Mac-based development environment" there is a sub section that seems to be outdated:
"Setup for the COOL". When I attempted to follow the steps each link that was listed just took me to the same COOL repo.
Also, when investigating the COOL repo, it seems that the repo will be decommissioned in a few months. This leads me to believe that maybe the instructions on the "Setup for the COOL" might need to be removed all together.
To reproduce
Steps to reproduce the behavior:

Go to this link https://github.com/cisagov/development-guide/blob/develop/dev_envs/mac-env-setup.md
Then scroll to the section "Setup for the COOL"
Attempt to setup the COOL

Expected behavior
User stepping through the guide should be able to follow the steps successfully to setup the COOL.

The Wiki pages that were linked in that section no longer exist.  The current temporary replacement URLs are below:

Install MIT Kerberos
Configuring Kerberos for the COOL
Configuring your browser for the COOL
these instructions to access Guacamole

@michaelsaki If you could create a PR to update those links, we would very much appreciate that!


How to avoid code formatting for generated test files?

Hi,
In my CI workflow, the first step I have added is code formatting using the command dart format -o none --set-exit-if-changed ., which stops the CI process if the code is not formatted correctly. However, the CI always fails because the generated test files are not formatted.
Is it possible to add an option to postfix the generated files with .g.dart so I can exclude them from being committed? Alternatively, how do you suggest I solve this issue?

Hello @haashem,
First, of all, upvote this issue as the dart formatter does not support this.
For now, here is a workaround to avoid formatting some files: https://github.com/dart-lang/dart_style/issues/864#issuecomment-1906583340

Is it possible to add an option to postfix the generated files with .g.dart so I can exclude them from being committed?

You may add .g.dart files to .gitignore, however, on large projects, I wouldn't recommend that.

Thanks for quick reply and sorry for my late reply back,
What do you think about pushing a PR which makes the generated code already formatted? if you are fine I try to create a PR.
--
I'm interested to know your opinion why the generated code should not be added to the .gitignore?

I try to keep as few dependencies as possible for this package, however, I see a decent amount of engineers complaining about non-formatted generated code. dart_style seems to be a perfect package that will do the trick. I can take a look at it during the weekend. If you raise a PR before that — even better.

I'm interested to know your opinion why the generated code should not be added to the .gitignore?

I haven't said that. 🙂 There is always a tradeoff.
If you ignore generated files in .gitignore, you will not have merge conflicts caused by changes in generated code, and there will be less noise in PRs and in the repo.
If you commit generated files, your project will be in the "ready to compile" state right after you pull it from the remote repo, plus you would not need to wait for code generation to complete its job.
So, you need to choose the problems you want to have. I chose to commit files as I treat generated code as code that I need to maintain and I prefer to know what exactly I maintain (i.e. I don't trust CI to generate it for me). Not to mention that on some projects code generation might take a significant amount of time, so you may consider it as an optimization.


Transition bug?

I am using transitions to draw bar charts in popups on a map. I know I need to set the height to zero and the y to height before the transition to get the effect of the bars growing from the bottom.
However, when the chart is drawn after a click on a map, it first loads with the bars growing upwards but any other charts are then drawn from the top to bottom. I can reproduce this in the example below: the chart is drawn correctly on the first click, on any other click after, the chart is drawn from the top to bottom.
To my knowledge, I have coded it right because on first click, the bars are drawn from the bottom. I cant explain why on all following clicks, the chart is drawn from the top.
Here is a reproducible example: http://jsfiddle.net/Monduiz/44javxww/

NAVER - http://www.naver.com/
<EMAIL_ADDRESS>님께 보내신 메일 <[d3] Transition bug? (#2667)> 이 다음과 같은 이유로 전송 실패했습니다.

받는 사람이 회원님의 메일을 수신차단 하였습니다.

When the popup closes, you’re setting the height to zero, but you’re not changing the y attribute. So when the popup re-opens, the only thing that changes in your transition is the height attribute. You’d need to reset the y attribute on popup close (or before the transition starts on popup open) if you want to fix the transition.
Also, unsolicited design feedback: I do not recommend transitions like this. They are not informative, and simply introduce distraction and delay. Transitions are best when switching between datasets (see Object Constancy), not as decoration.
If you want further help, please use Stack Overflow. Good luck!

Mike, thank you for the feedback. You make a very good point. I will review the information design and exclude the animation.


Updating code to make a bit more consistent

I'm using the SendGrid API, and SDK actively in my daily work.
I'd propose a couple changes to make it more consistent formatting wise.
I'd also like to do some further adjustments later.

Thanks for contributing to SendGrid Open Source! We think it's awesome when community members contribute to our projects and want to celebrate that.
The following link will ask you to authenticate with Github (so we can verify your identity). You'll then be asked for your shipping address so that we can send you a thanks for contributing.
Click Here to Continue »
Once again, thank you!

Nice, thanks!


Remove user credential

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

npm package (@devel dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


About the test: where is mobilefacenet_model_best.pth.tar

Dear authors,
Thanks for you sharing your excellent work.
I can't test the pretrain model without the mobilefacenet_model_best.pth.tar, could you provide it?
Thanks again!

Found it! https://github.com/cosanlab/feat/releases/download/v0.1/mobilefacenet_model_best.pth.tar

Hello, may I ask if you can provide a download link for "ir50.pth"? Due to specific reasons, I am unable to download it from Baidu Disk or Google Drive.


Remove graphviz C dependencies in traceflow

Replace dependency "github.com/goccy/go-graphviz", which contains C files, with "github.com/awalterschulze/gographviz", which contains only Golang files.
Fixes #1089

LGTM, thanks for taking care of this. Is there any change in the visuals for the graphs, or are we generating exactly the same DOT output?
Please consider removing the instances of CGO_ENABLED=1 from the Makefile as part of this PR, since they are no longer needed with this change.

I tested 7 different cases, including single node cases, inter-node cases, the disconnection case, etc. All generated graphs are the same despite the differences in the generated DOT language.

/test-all

@ZhangYW18 could you resolve the conflicts so we can merge this?

@ZhangYW18 could you resolve the conflicts so we can merge this?

Resubmitted this commit.

/test-all

/skip-windows-conformance

@mengdie-song would you review this PR?

LGTM


Druid Forms

As of 1.0.2 this Addon seems to break the barbershop with druid Forms. Once I have setup some profiles, trying to change the druid form skins makes my character disappear and makes the barbershop unusable.  Which is sadly a bit of a deal breaker for me as a druid main. Love the concept for the addon though and it works perfectly with the normal appearance options. @Jyggen if you can incorporate druid forms (or even just fix the bug of disappearing character with different druid forms between profiles) this mod would be perfect

@foxythefoxer Hmm, pretty sure I tested this with druid forms - but maybe it was only with Worgens. Either way I'll take a look at it!

@foxythefoxer Can't really reproduce this one, I can use profiles just fine on a night elf druid. Could you post some exact steps to reproduce the issue? Also; Which race is your druid? Do you get any LUA errors?  Do you have any other addons that might interfere?

@jyggen I'd like to reproduce the problem. It seems though that the addon is now listed as out of date. And I can't get the addon to work. Anytime I Try to click the drop down menu no drop down menu appears. I can't press "New profile". So I cant even make a new profile now. I tried to disable all addons except this one, and reinstall this addon and it still doesn't work. Is there some data that is saved outside of the BarberShopProfiles folder from my prior bugged install that could interfere with a fresh installation?
To answer your questions. I used a Tauren Druid. No I did not get any Lua errors. I can't say what addon could interfere. I have a host of addons like any other player, but they all involve gameplay (raiding and ui elements).
I saved some profiles between male and female appearance options. The options saved as normal and they would appear as separate profiles. When I Saved profiles with different form skins (Bear, Cat, Flight, Aquatic, Travel), What happened is that after making a few profiles, with different skins on each form, From making a certain profile and onwards, When I click on any of the form buttons the character would vanish, and clicking on any button would not respond. Even if I try to go back to the normal character nothing responded. Only leaving the barber chair worked. I could then make more profiles and changes. But anytime I clicked on an animal button form everything would stop working. So I think one profile I made broke it.
If I were to hazard a guess I would say it was one of the Legion artifact druid Skins. I didn't think to document the problem when it happened, so I have to go on memory, but I believe it happened when saving a profile with the "Might of the Grizzlemaw (Tan)"  Bear form skin.
If you aren't familiar with druid forms Here is the list of all the skins that can show up in the barbershop (Legion made it a lot).
Cat/Bear Basic Skin skin color variations: 5 colors each race (4 for the allied races).
Cat: There is 1 special fire Cat form from Firelands for all races.
Cat/Bear Legion Skins: 23 bear and 23 cat are shared for all races and each race gets 1 bear and 1 cat based based on race
Flight Form: 1 based on race, 2 glyphs both have unique skins for each race, and 1 legion flight form based on race
Aquatic Form: 1 shared across all races except Kul Tiran and Zandalari (they get individual forms with 4 skin colors), and 3 glyphs any race can use
Travel Form: Each race has a unique 1 except Kul Tiran and Zandalari (their forms get 4 skin colors), and, 2 glyphs any race can use.
https://www.wowhead.com/guides/druid-forms-customization-color-options#glyphs-and-toys-flight-form

So with 1.0.3 I got the addon to work. And recreated the problem. I created 2 profiles. First one was Fem Tauren with Might of the Grizzlemaw (Tan) Bear skin. The second one was Male Tauren with Claws of Ursoc (Brown). Once the second profile is made I exit the barber chair. Re enter the barber chair and click on the bear form and the character disappears and all buttons on screen stop working.

Hmm, alright. Since I don't have those skins myself it's going to be hard to test - but if you could attach your profile file located at C:\<path>\<to>\World of Warcraft\_retail_\WTF\Account\<account name>\SavedVariables\BarberShopProfiles.lua, that'd probably help a lot.


Allow Mosaic stat_img to have integer dtype

Codecov Report

Merging #194 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #194   +/-   ##
=======================================
  Coverage   99.95%   99.95%
=======================================
  Files          10       10
  Lines        2328     2328
=======================================
  Hits         2327     2327
  Misses          1        1

Impacted Files
Coverage Δ

lyman/visualizations.py
100% <100%> (ø)
: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 52e3c9b...8d9e4cf. Read the comment docs.


Change the service name of watch API calls

Motivation:
Related #601
The Watch API and the get files API are served by the same method in ContentServiceV1 which means they have the same metric name.
That really makes it hard to debug when something happens because the watch API usually has high latency.
Modifications:

Change the service name of watch API calls to WatchContentServiceV1 so that we can easily distinguish.

Result:

You can now see the different metrics for the watch API and get files API.

Thanks for reviewing. 😉


Blast Processing x Thick of it by Zoink

Song Name
Blast Processing x Thick of it
Artist Name
Zoink
Source
Youtube
Youtube Link
2uenN250S7c
Direct File Link
No response
Song ID
16
Start Offset [ms]
250
Extra
Created from Auto Nong.
Created for level: 103643513
Downloaded: Yes

accept


Spirit tree map overlapping (still)

Spirit tree appears to still be overlapped on different pc's. Saw an old issue posted for this, and dev said will look into it, still same problem 3 weeks later. Just figured I'd bump this.

Conflict with the better teleport menu by abex, you need to turn off the menu extender in the plugin

@Pixzle is this happening on normal worlds or just on League worlds? I could only reproduce this problem if I had previously opened the "fairy mushroom" interface.

Duplicate of https://github.com/MJHylkema/spirit-tree-map/issues/10


Improve the logic of selecting FB's color theme on macOS

Apple's Terminal default profile is called Basic and has a white background.
But the user may have switched to a different profile, or even to a different terminal app.
Default to the light-theme only if we're sure that the terminal app is Apple's Terminal and its background color is indeed white; otherwise select the dark-theme.

thanks!


Added inverse transformation sampling module

New module provides a simple interpolation-based framework for inverse transformation sampling.

@bsipocz - do you know whether this python 3.4-specific Travis failure is real or just another problem with the Travis platform?

@aphearin - I'm sorry, I've been away from keyboard. The 3.4 specific failure was due to that the new numpy 1.12 conda package is only available for python 3.5&3.6 on the defaults conda channel. Should you want to test it with python3.4 I would suggest to add conda-forge to CONDA_CHANNELS, or if you choose the current solution, older numpy version are availabe for it (up to 1.11) on the defaults channel.


Inserting Rows

I believe this is a big ask, but I am wondering if in the utilities or cell objects there is a way to insert a row into a worksheet and have all corresponding formulas and current cells be updated for their coordinates?

This feature would be so useful. Likewise, I'm new to the project, and not sure if this request is considered too high level for what you are trying to achieve, but surely it would be a feature that would be useful for many many people.

This is basic spreadsheet handling, it's a must!
Great work by the way


Do first improving move when inserting clients

This is how things were before I changed them a few PRs ago to support incomplete solutions. This change still supports that, but now evaluates only until the first improving move (as before). If no such move exists, but the client must be inserted, it applies the least bad observed move (as current). This should combine the best of both worlds.
Benchmarks
This PR (77c2112ec1f69074d727dd8ee15f2beeec361dc8; job ID 4046648):
                 MEAN       MIN        MAX   COV
      inst
obj   C1      24623.8   24593.4    24640.9   0.1
      C2      15275.6   15264.1    15295.0   0.1
      R1      25488.9   25485.7    25492.3   0.0
      R2      20144.2   20111.6    20176.0   0.1
      RC1     24673.5   24671.1    24675.7   0.0
      RC2     16977.7   16951.2    16994.1   0.1
iters C1     373855.1  281375.6   403172.8  12.7
      C2      87390.9   68174.8    96843.6  11.5
      R1    1000487.5  732709.5  1076989.3  13.7
      R2     326345.6  243099.0   355488.1  13.2
      RC1    775513.5  563197.1   835892.5  13.9
      RC2    150414.7  114526.3   166009.1  12.2

Current main (f246c30322ae4f059aca191eeffa0c225592faae; job ID 4046481):
                MEAN       MIN       MAX  COV
      inst
obj   C1     24623.7   24608.0   24648.1  0.1
      C2     15270.3   15244.6   15290.6  0.1
      R1     25487.5   25485.8   25489.5  0.0
      R2     20144.0   20122.9   20173.1  0.1
      RC1    24671.8   24669.7   24674.4  0.0
      RC2    16980.1   16969.8   16999.6  0.1
iters C1    374285.8  355381.7  384214.7  2.4
      C2     93756.6   90398.8   99175.3  2.5
      R1    983939.2  961426.4  999104.4  1.1
      R2    339041.0  322727.7  355869.8  2.9
      RC1   780405.5  765209.2  791127.5  1.0
      RC2   159260.7  150046.5  166518.0  3.2

Notes:

It is essential that you add a test when making code changes.
This keeps the code coverage level up, and helps ensure the changes work as intended.
When fixing a bug, you must add a test that would produce the bug in the master branch, and then show that it is fixed with the new code.
New code additions must be well formatted. Changes should pass the pre-commit workflow, which you can set up locally using pre-commit.
Docstring additions must render correctly, including escapes and LaTeX.

I'll run a benchmark of this and main on PCVRPTW tomorrow. This might fix the minor regression we observed benchmarking 0.6.0 on PCVRPTW.

Doesn't seem to matter much. I'll keep the test, and revert the rest.


Trust this eslint version asked every time

Every time I start VSCode each window asks this question. Every time I answer yes, but the extension asks this again next time I start VSCode. Can't you add Always allow button?

@tapz this shouldn't happen and actually doesn't happen for me. Would you be able to give me access to your workspace (e.g. as a GitHub repository) so that I can investigate why this is happening for you?
Is there anything special when you start VS Code. Are you using the --user-data-dir option?

This happens with all of my 5 workspaces. Sorry, the projects are not my personal, so I cannot give access to the repos.
I'm not using --user-data-dir option.

@tapz just to clarify. You get ask once per workspace right. This is expected since every workspace usually has its own version of ESLint.
I talked to the VS Code team about this as well and they will start to work on a trusted workspace model which will allow the ESLint extension to remove the dialog again. The team recognized that the approach of every feature doing the checks is not scaling.

Thanks @dbaeumer !

Will treat it as a dup of 1012 then


NODE-2295: create collections in transactions

Description
Adds support for creating collections and indexes within transactions, as well as updating the transactions spec test suite.
Are there any files to ignore?
I split the commits for syncing the spec tests, so you can safely ignore those.

@emadum you're correct! Creation of indexes and collections within a transaction is something that the server would return an error about in previous versions of MongoDB. These tests are added for 4.4+ verifying that these commands no longer return an error, so ideally a driver should have to change no code at all. We ended up having a bug in the createCollection helper, but that was already fixed and merged in #2278


Is there a way for me NOT to download the Payloads folder of this repository?

 I used WSL to clone the repository, and now Windows Defender is going apeshit with like 200 different virus detections

Just turn off Defender

Or add the repo folder to the Defender's exclusion list.

use Linux!

Or fork the repo and delete the directory.
No Payloads directory in this fork I created: https://github.com/elitejake/SecLists/tree/without-payloads.

lmao

In short, no there isn't a nice way without changing your setup!
Either:

Disable the protection
Allow it to exits on the protection
Use a different OS
Use a different fork of SecList
Download via zip/tar and then delete the folder inside the compress file


BUGFIX: Diffractometer responds to energy PV updates

fix #128

@mrakitin: Yes, that's right.  The engineering units in the hkl.calc module are set by this code to keV (energy) and Angstrom (wavelength): https://github.com/bluesky/hklpy/blob/9b5c6c8cd602da122dd890457445ba903c682969/hkl/calc.py#L170-L186
Since the units of wavelength and crystal lattice unit cell length must be able to cancel, this imposes the additional rule that crystal lattice unit cell lengths must also be in angstrom, the units of hkl.calc.wavelength.


Add gpt3 175B to nightly v5e perf tests

Description
Adding GPT-3 175B model to nightly v5e perf tests. https://github.com/google/maxtext/pull/687 should be merged into maxtext before this PR is merged.
Tests
Ran in local composer env: https://screenshot.googleplex.com/BpfRWutGq2YCgsF
Checklist
Before submitting this PR, please make sure (put X in square brackets):

[x] I have performed a self-review of my code.
[x] I have necessary comments in my code, particularly in hard-to-understand areas.
[x] I have run one-shot tests and provided workload links above if applicable.
[x] I have made or will make corresponding changes to the doc if needed.

Cool! Thank you @raymondzouu !


Remove hdfs as support has been moved to modular file systems.

This PR removes hdfs as support has been moved to modular file systems.
This PR will help reduce build time of tensorflow core.
/cc @kvignesh1420  @vnvo2409 @burgerkingeater FYI
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

@kvignesh1420  Thanks for the reminder. PR #51036 has been created to update the RELEASE.md

@yongtang Can you please resolve conflicts? Thanks!

@gbaned The PR has been rebased and updated. Please take a look.

Seems I need to manually import this

Merged by 86b9b15c4b8c3dd75ad766bb14d0c2143327b0ff


Update this_doc.rst

Fixed a typo from "PFD" to "PDF".

Feature or improvement description

Related issue, if one exists

Impacted areas of the software

Additional supporting information

Test results, if applicable

Thanks @abksr !!


Thoughts on opening pull requests directly to master

Right now, pull requests are meant to target develop. This can lead to merge conflicts when merging develop into master. I also noticed that when pull requests are merged into develop it doesn't show the creator of the changes as a contributor even after merging develop into master.
What are the communities thoughts on targeting master with their pull requests?

@yaichenbaum What do you men under "it doesn't show the creator of the changes as a contributor"? Commit info already contain info about all authors

@tsvietOK https://github.com/duke7553/files-uwp/graphs/contributors.

All pull requests should now target master.


Error on Windows

Hi!
I wanted to use Bingo. It required Run. So I compiled it. Compilation works, but any Runfile with fail with this error:
exec: "/usr/bin/env": file does not exist

The culprit is this line
https://github.com/TekWizely/run/blob/27ff98d949e278bf7dcd3c391a33ce4565e1b477/internal/exec/exec.go#L68
Possible solution: Check if GOOS == 'windows' and execute shell directly, without using /usr/bin/env.

hi @rashil2000  and thank you for your interest in my projects.
re: Bingo - Bingo is built on Bash so I don't know if the command's scripts will run in standard Windows.
I suspect it would work fine in WSL.
re: Run on Windows ...
I would expect, outside of special language tools like python, etc, we would want to support batch files and powershell scripts.
I suspect that python.exe <filename> would probably work as expected.
But for executing batch files, not sure if we would try to execute <filename> directly or if something like cmd.exe /c <filename> is needed.
re: Powershell
From my research, you can't just invoke powershell like powershell.exe <filename>.
You need something like powershell.exe -file <filename>.
There's also considerations like  -NoLogo, -NoProfile -NonInteractive ...
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_powershell_exe?view=powershell-5.1
Since you have the source code for Run hand already, maybe you can play around with this a bit and see what seems to function as expected?
I'm thinking I'll need to extend Run to allow each shell alias to also configure its execution format, i.e
.SHELL.bat.exec := "cmd.exe /c {}"

my_command(bat):
    ; bat file script

Thanks for taking the time to report an issue and lemme know how your local discovery goes!
-TW

Hi!
Here's what I know.
(Note that none of the below applies to WSL - both Bingo and Run already work in WSL, because well it's just Linux)

Bash Scripts
Since Bingo is written in Bash, my initial intent was to use bash itself. Bash can be run natively on Windows via MSYS2. So, the most straightforward and simple solution is to simply look for sh.exe or bash.exe in the PATH.
Addendum No. 1
Since Git is written primarily in 3 languages - C, Perl and Bash, anyone who uses Git on Windows already has Bash (and also Perl) installed. Git on Windows uses MSYS2's Bash. So the above method will require no additional setup.
Batch Scripts
Of course for proper Windows support it would be good to not rely on external programs such as MSYS2. Batch scripts (with extensions .cmd and .bat) can be called/run directly, or, for completeness, called like cmd.exe /d /c <filename>.cmd (notice the /d flag, this is somewhat equivalent to PowerShell's -NoProfile).
PowerShell Scripts
PowerShell scripts can be run by calling powershell.exe <filename>.ps1 (or pwsh.exe <filename>.ps1 for PowerShell versions greater than 5.1). The only relevant flag is -NoProfile (or -nop in short), which will defer loading of the user's settings and such. So, in essence, powershell.exe -nop <filename>.ps1 and pwsh.exe -nop <filename>.ps1 will work.
Shebangs and Associations
Windows does not have the concept of shebangs. Instead, it relies on file extensions and filetype associations. Each file extension has a program associated with it. So the file can be directly run in the terminal (by simply calling it), or by double-clicking it. Windows will pass the filename to the associated program and run it.
(This allows for very weird tricks that can't be done in Unix - try running calling the command test.docx or index.html in the terminal, and they will open nicely 😅)
Addendum No. 2
The Unix shells available in MSYS2 (bash, zsh, fish, tcsh etc.) do support shebangs, and unix scripts will run fine, but only under those shells.
Addendum No. 3
As I mentioned, most files (which have program associations defined for them), can be executed directly. Heck, for some files, you don't even need to specify the file extension, thanks to the PATHEXT environment variable. So batch scripts can be run by just executing their filename, without extension! This is also the reason why Windows users don't have to specify .exe every time they call a binary.


Provide a public preview version of RAM 4.0

The current status of the RAM 4.0 should be available to the public for review.
We need to update the README for this and switch the repository to public.

Done


Add xla_bridge_test.GetBackendTest

This is in preparation for refactoring the get_backend logic, see the TODOs in the test.

The tests are still failing here. Can you run them again?


Global error: Uncaught SyntaxError: Failed to execute 'measure' on 'Performance': The mark 'qunit_test_start' does not exist.

Since getting version 4.4.0 of ember-cli-qunit, getting this error -
Global error: Uncaught SyntaxError: Failed to execute 'measure' on 'Performance': The mark 'qunit_test_start' does not exist.

This issue is being tracked over in https://github.com/qunitjs/qunit/pull/1319 (see conversation over there for more details).

QUnit fix landed<EMAIL_ADDRESS>


Convert ResNet101 from TensorFlow to PyTorch

Dear @kitstar,
I want to convert a ResNet V1 101 model (from TF-Slim) to PyTorch. Would you please kindly help me to do that?
Just as another suggestion, I think it would be great if you create a README.md file for PyTorch conversion section.

Hi @ahkarami ,
Tested with follow steps and some code addition.

Download resnet_v1_101 data

$ wget http://download.tensorflow.org/models/resnet_v1_101_2016_08_28.tar.gz
$ tar -xvf resnet_v1_101_2016_08_28.tar.gz

Extract tf model files
Refer the tensorflow model extractor to implement your own model extract code.

I did it for you and you can refer this commit
python -m mmdnn.conversion.examples.tensorflow.extract_model -n resnet_v1_101 -ckpt resnet_v1_101.ckpt

Convert tf to IR

python -m mmdnn.conversion._script.convertToIR -f tensorflow -d kit_imagenet -n imagenet_resnet_v1_101.ckpt.meta --dstNodeName Squeeze -w imagenet_resnet_v1_101.ckpt

Convert IR to Pytorch
Please use argument -dw to extract the weight file for pytorch model saver

python -m mmdnn.conversion._script.IRToCode -f pytorch --IRModelPath kit_imagenet.pb --dstModelPath kit_imagenet.py --IRWeightPath kit_imagenet.npy -dw kit_pytorch.npy

Currently you can use the kit_imagenet.py and kit_pytorch.npy to inference. And you can dump the original PyTorch model by next step.

Dump the PyTorch model

$ python -m mmdnn.conversion.examples.pytorch.imagenet_test --dump resnet.pth -n kit_imagenet.py -w kit_pytorch.npy

PyTorch model file is saved as [resnet.pth], generated by [kit_imagenet.py] and [kit_pytorch.npy].

Done.

PS: the readme of PyTorch is created.

Dear @kitstar,
Thank you very much for your complete answer. You are incredible!! :1st_place_medal:

Dear @kitstar,
Thanks a lot for your complete and clear answer. However, unfortunately because I was so busy last 2 weeks, I couldn't test your answer. I Tested it today. At first I have downloaded the  resnet_v1_101 data as you have mentioned. But, at the second step:
python -m mmdnn.conversion.examples.tensorflow.extract_model -n resnet_v1_101 -ckpt resnet_v1_101.ckpt
unfortunately I got this error:
Traceback (most recent call last):
  File "/home/karami/anaconda3/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/karami/anaconda3/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/karami/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/examples/tensorflow/extract_model.py", line 36, in <module>
    'resnet50'      : resnet_v2.resnet_arg_scope,
AttributeError: module 'tensorflow.contrib.slim.python.slim.nets.resnet_v2' has no attribute 'resnet_arg_scope'

Would you please help me to address this error?

Hi, what is your tf version?  I tested it with tf 1.3 and 1.4   and you can grep your tf package with "resnet_arg_scope" to find the namespace.

Thank you. currently TF 1.1.0 has been installed on my system. I will upgrade it and test the conversion code again.

@kitstar HI,What does it mean->   'vgg19'          : [(21, 0.37522122), (144, 0.28500062), (23, 0.099720284), (134, 0.036305398), (22, 0.033559237)],

Hi @DW1HH , previously, the truth table is the results of imagenet image  for test_truth function to test the accuracy of conversion. But we use tests/test_conversion_imagenet.py to check the accuracy.

Hi @DW1HH ,  refer to this:
mmconvert -sf tensorflow -iw resnet50v1_frozen.pb --inNodeName "input_tensor" --inputShape 224,224,3 --dstNodeName "softmax_tensor" -df pytorch -dw pytorch.npy -om resnet50v1.pth

@namizzz it's working ,you are incredible!!

I am sorry to bother you. @namizzz  When the script finishes running,i get two files, mobilenet.pth and mobilenet.py ,but i can not load the mobilenet.pth , it's type->   <type 'long'>,not a dict.

I have a tensorflow models produced by tensorflow1.14 , and there is no .ckpt files . There are model.data-00000-of-00001, model.index and model.meta instead . How can I transform them to .pt/.pkl files ? Could you help me ? URL for models https://github.com/StanfordSNR/indigo/tree/a9b2060d39e4da2e8987e893e3eca2a6c7cd0ab9/dagger/model

@zInPython This will help:  https://github.com/tensorflow/tensorflow/issues/7696

I have completed the above steps and got a vgg16.pth file, however,  when I used that in pytorch. I got the following errors:
File "", line 1, in
runfile('E:/doc_dy/pytorch_deephash-master/train.py', wdir='E:/doc_dy/pytorch_deephash-master')
File "C:\Users\chddy\Anaconda3\envs\pytorch_gpu\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "C:\Users\chddy\Anaconda3\envs\pytorch_gpu\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "E:/doc_dy/pytorch_deephash-master/train.py", line 8, in
from net_b import AlexNetPlusLatent
File "E:\doc_dy\pytorch_deephash-master\net_b.py", line 6, in
alexnet_model = models.vgg16(pretrained=True)    ###   alexnet
File "C:\Users\chddy\Anaconda3\envs\pytorch_gpu\lib\site-packages\torchvision\models\vgg.py", line 144, in vgg16
return _vgg('vgg16', 'D', False, pretrained, progress, **kwargs)
File "C:\Users\chddy\Anaconda3\envs\pytorch_gpu\lib\site-packages\torchvision\models\vgg.py", line 92, in _vgg
progress=progress)
File "C:\Users\chddy\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\hub.py", line 434, in load_state_dict_from_url
return torch.load(cached_file, map_location=map_location)
File "C:\Users\chddy\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\serialization.py", line 387, in load
return _load(f, map_location, pickle_module, **pickle_load_args)
File "C:\Users\chddy\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\serialization.py", line 574, in _load
result = unpickler.load()
ModuleNotFoundError: No module named 'MainModel'

I transfer the pretrained vgg16.ckpt to be used in pytorch. Because the pretrained vgg16.pth in pytorch is not trained enough.

Dear @kitstar
Would you please kindly help me to find whats the problems as below? when i tried to extract resnet50 tf mode. The sincerity anticipates your reply,thanks!
[root@localhost model]# python3 -m mmdnn.conversion.examples.tensorflow.extract_model -n resnet50 -ckpt model.ckpt-450500
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:

https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
https://github.com/tensorflow/addons
https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

WARNING:tensorflow:From /usr/local/python3.7.5/lib/python3.7/site-packages/mmdnn/conversion/examples/tensorflow/extract_model.py:23: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
WARNING:tensorflow:From /usr/local/python3.7.5/lib/python3.7/site-packages/tensorflow_core/contrib/layers/python/layers/layers.py:1057: Layer.apply (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version.
Instructions for updating:
Please use layer.__call__ method instead.
WARNING:tensorflow:From /usr/local/python3.7.5/lib/python3.7/site-packages/mmdnn/conversion/examples/tensorflow/extract_model.py:79: The name tf.global_variables_initializer is deprecated. Please use tf.compat.v1.global_variables_initializer instead.
WARNING:tensorflow:From /usr/local/python3.7.5/lib/python3.7/site-packages/mmdnn/conversion/examples/tensorflow/extract_model.py:81: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
2020-08-11 16:31:03.102027: W tensorflow/core/platform/profile_utils/cpu_utils.cc:98] Failed to find bogomips in /proc/cpuinfo; cannot determine CPU frequency
2020-08-11 16:31:03.104051: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x26ad6f30 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-08-11 16:31:03.104152: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
WARNING:tensorflow:From /usr/local/python3.7.5/lib/python3.7/site-packages/mmdnn/conversion/examples/tensorflow/extract_model.py:82: The name tf.summary.FileWriter is deprecated. Please use tf.compat.v1.summary.FileWriter instead.
WARNING:tensorflow:From /usr/local/python3.7.5/lib/python3.7/site-packages/mmdnn/conversion/examples/tensorflow/extract_model.py:85: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.
2020-08-11 16:31:14.165516: W tensorflow/core/framework/op_kernel.cc:1651] OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Not found: Key resnet_v2_50/block1/unit_1/bottleneck_v2/conv1/BatchNorm/beta not found in checkpoint
Traceback (most recent call last):
File "/usr/local/python3.7.5/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
return fn(*args)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
target_list, run_metadata)
File "/usr/local/python3.7.5/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.NotFoundError: Key resnet_v2_50/block1/unit_1/bottleneck_v2/conv1/BatchNorm/beta not found in checkpoint
[[{{node save/RestoreV2}}]]

我有一个由tensorflow1.14生成的tensorflow模型，并且没有.ckpt文件。有model.data-00000-of-00001，model.index和model.meta代替。如何将它们转换为.pt / .pkl文件？你可以帮帮我吗 ？模型的网址https://github.com/StanfordSNR/indigo/tree/a9b2060d39e4da2e8987e893e3eca2a6c7cd0ab9/dagger/model

hello，have you solved this problem? i have same question

hello there, i am getting an error while converting my tf model to IR
AssertionError: Squeeze is not in graph
Could anyone help plz?

我有一个由tensorflow1.14生成的tensorflow模型，并且没有.ckpt文件。有model.data-00000-of-00001，model.index和model.meta代替。如何将它们转换为.pt / .pkl文件？你可以帮帮我吗 ？模型的网址https://github.com/StanfordSNR/indigo/tree/a9b2060d39e4da2e8987e893e3eca2a6c7cd0ab9/dagger/model

hello，have you solved this problem? i have same question

hello，have you solved this problem? i have same question


Retain last opened session

I would like to have code server running on my remote server, and every time after I open my browser,  I can see all the files opened and terminals running which all the histories in my last session.
This feature is offered by Jupyter and Theia, I'm wondering if code-server can do the same.

We used to have this functionality but it got lost when we transitioned to service workers instead of running the IDE in the main JS thread. There's an issue about fixing it, so I'm closing this issue in favor of it: #801.


Update Auth-with-Ionic3-Angular4.md

Change description from v2 to v3.

Checklist

Issue number for this PR: #nnn (required)
Docs included?: (yes/no; required for all API/functional changes)
Test units included?: (yes/no; required)
e2e tests included?: (yes/no; required for multi-function/multi-class changes)
In a clean directory, npm install, npm run build, and npm test run successfully? (yes/no; required)

Description

Code sample

I signed the CLA.


Symbol taxonomy (<g> element)

@manufrancis @arlogriffiths @danbalogh
I have prepared a basic data file that maps symbol names (the values of g/@type) to their visual representation, their description, etc. See here.
So far, I have copied the contents of the supplement to the EGD, and I added two images as examples. The idea of making this public is that people can look up symbols, add new ones, or provide images when possible.
You can see how images are used in DHARMA_INSDk00029 (the spiral at the very top of the inscription).
If you are OK with the basic protocol, I will hook up the DHARMA app with the data files in project-documentation. (For now, I am using copies in my own repository.)

Hello, this is really nice and ingenious, and the facility to display images is also great. To my mind, symbol display is extremely low priority, however. I think there are on the one hand a lot of things that are far more important to sort out; and on the other, the fancier the web display, the more problematic it will be to copy and paste the transformed output into other software (for use in a printed publication, a PPT presentation, an email, etc.). What I mean is that dingbat characters aren't supported in a lot of fonts and may not be preserved correctly when pasted to a different application.
For the same reason, I think prefer_text should be the default option, or even the only possible way to go ahead. If an image has been supplied by the editor, displaying it as a tooltip would be great, but I would not want an image interspersed with the text. Also, I think image display is only useful if it shows the end user exactly what a certain symbol looks like in the original. Thus, no images should be assigned to symbol types; what we might rather need is a way to link specific instances of symbols to a specific zone of a specific image file in our repository. But this is complicated and absolutely not essential or urgent, and should not be attempted at the moment.
If an exception is to be made, e.g. if we do want svg graphics as generic representations of various kinds of spirals, the ones in the Symbol Taxonomy were drawn in SVG and I'll send them to you (Michaël) in a moment.
With these caveats, I think the protocol itself is perfect and can go ahead.

Thank you! Duly noted.


Transfer images

For the moment I put the logos in a designated folder.
Not sure how to categorize the remaining images.

Once we decide what structure we want to keep, I'll update the paths under https://github.com/ivadomed/ivadomed

Once we decide what structure we want to keep, I'll update the paths under https://github.com/ivadomed/ivadomed

could you please organize the data as per the ivadomed RTD sections? e.g.

images here go under scripts/
images here go under tutorials/one_class_segmentation_2d_unet
etc.
thanks!

I rearranged the images. Can we go ahead and merge so that I can change the main repo ? thanks

@jcohenadad I rearranged the images. Can we go ahead and merge so that I can change the main repo ? thanks

@lrouhier done in 0fb5da8

@jcohenadad can I merge ?


retries docker pull and use builder base tag

Mitali ran into a couple issues during the staging build.
We got hit by the random tls handshake timeout when trying to pull
the qemu image and since the builder base had been updated with new
golang versions, the source controller build pulled the latest
builder base and the checksums did not match. Abhay had added the
builder base tag env var and config file, for code build and prow
respectively, but we never implemented using them. With this change
the source controller cgo build should always pull the same builder
base that the current build is running in, instead of the latest.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherry-pick release-0.9


make bazel-build-images failure

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
make bazel-build-images failed
ERROR: /root/go/src/kubevirt.io/kubevirt/BUILD.bazel:151:16: //:passwd-image depends on @go_image_base//image:image in repository @go_image_base which failed to fetch. no such package '@go_image_base//image': Pull command failed: 2021/01/15 02:13:03 Running the Image Puller to pull images from a Docker Registry...
2021/01/15 02:13:03 Image pull was unsuccessful: reading image "gcr.io/distroless/base@sha256:e37cf3289c1332c5123cbf419a1657c8dad0811f2f8572433b668e13747718f8": error getting credentials - err: exec: "docker-credential-gcloud": executable file not found in $PATH, out: ``
 (/root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_puller_linux/file/downloaded -directory /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_image_base/image -os linux -os-version  -os-features  -architecture amd64 -variant  -features  -name gcr.io/distroless/base@sha256:e37cf3289c1332c5123cbf419a1657c8dad0811f2f8572433b668e13747718f8)
ERROR: Analysis of target '//cmd/virt-operator:version-container' failed; build aborted: Analysis failed

What you expected to happen:
make bazel-build-images success
How to reproduce it (as minimally and precisely as possible):
Get the master branch, and run make bazel-build-images
Environment:

OS (e.g. from /etc/os-release): ubuntu 18.04
Kernel (e.g. uname -a): 5.9.0+
Others: master branch (commit: 573bbc639730f45dc033ef87fc0755c388024ee4)

Can be overcame by run following commands
rm -rf ~/.docker

Can be overcame by run following commands
rm -rf ~/.docker

Do you know how to overcome this mistake when we run make?
ERROR: An error occurred during the fetch of repository 'go_image_base':    Traceback (most recent call last):         File "/root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/io_bazel_rules_docker/container/pull.bzl", line 189, column 13, in _impl                 fail("Pull command failed: %s (%s)" % (result.stderr, " ".join([str(a) for a in args]))) Error in fail: Pull command failed: Timed out (/root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_puller_linux_amd64/file/downloaded -directory /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_image_base/image -os linux -os-version  -os-features  -architecture amd64 -variant  -features  -name gcr.io/distroless/base@sha256:8d58596f5181f95d908d7f8318f8e27bc394164491bd0aa53c2f284480fd8f8b) ERROR: /root/go/src/kubevirt.io/kubevirt/BUILD.bazel:158:16: //:passwd-image depends on @go_image_base//image:image in repository @go_image_base which failed to fetch. no such package '@go_image_base//image': Pull command failed: Timed out (/root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_puller_linux_amd64/file/downloaded -directory /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_image_base/image -os linux -os-version  -os-features  -architecture amd64 -variant  -features  -name gcr.io/distroless/base@sha256:8d58596f5181f95d908d7f8318f8e27bc394164491bd0aa53c2f284480fd8f8b) ERROR: Analysis of target '//cmd/virt-controller:virt-controller-image' failed; build aborted: Analysis failed INFO: Elapsed time: 601.295s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)

@zhlhahaha
Do you know how to overcome this mistake when we run make?
ERROR: An error occurred during the fetch of repository 'go_image_base':    Traceback (most recent call last):         File "/root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/io_bazel_rules_docker/container/pull.bzl", line 189, column 13, in _impl                 fail("Pull command failed: %s (%s)" % (result.stderr, " ".join([str(a) for a in args]))) Error in fail: Pull command failed: Timed out (/root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_puller_linux_amd64/file/downloaded -directory /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_image_base/image -os linux -os-version  -os-features  -architecture amd64 -variant  -features  -name gcr.io/distroless/base@sha256:8d58596f5181f95d908d7f8318f8e27bc394164491bd0aa53c2f284480fd8f8b) ERROR: /root/go/src/kubevirt.io/kubevirt/BUILD.bazel:158:16: //:passwd-image depends on @go_image_base//image:image in repository @go_image_base which failed to fetch. no such package '@go_image_base//image': Pull command failed: Timed out (/root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_puller_linux_amd64/file/downloaded -directory /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_image_base/image -os linux -os-version  -os-features  -architecture amd64 -variant  -features  -name gcr.io/distroless/base@sha256:8d58596f5181f95d908d7f8318f8e27bc394164491bd0aa53c2f284480fd8f8b) ERROR: Analysis of target '//cmd/virt-controller:virt-controller-image' failed; build aborted: Analysis failed INFO: Elapsed time: 601.295s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)

gcr.io/distroless/base@sha256:8d58596f5181f95d908d7f8318f8e27bc394164491bd0aa53c2f284480fd8f8b) ERROR: /root/go/src/kubevirt.io/kubevirt/BUILD.bazel:158:16: //:passwd-image depends on @go_image_base//image:image in repository @go_image_base which failed to fetch. no such package '@go_image_base//image': Pull command failed: Timed out (/root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_puller_linux_amd64/file/downloaded -directory /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_image_base/image -os linux -os-version -os-features -architecture amd64 -variant -features -name

It seems that pull "go_image_base" failed. You can find detailed information about the image in WORKSPACE. Then you can give it a try to pull the image directly via docker pull.

thanks, i'll try it.

@zhlhahaha thanks for your advice.
well, i has tried pulling the image gcr.io/distroless/base  into the address /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_image_base/image, after running make, and pulling the image into docker images, but there is still the mistake, so did i do something wrong?

@zhlhahaha thanks for your advice.
well, i has tried pulling the image gcr.io/distroless/base into the address /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_image_base/image, after running make, and pulling the image into docker images, but there is still the mistake, so did i do something wrong?

There are two possible reason that may lead to time out.

network issue, which means you can not connect to the repository.
the image tag is out of date.
So you can pull the image via docker pull right? I just want to make sure there is no network issue that leads to bazel pull image failure. If the network is fine, and the go_image_base exists, I do not know why TIMEOUT in bazel build. Maybe you can try to run bazel clean and then remove all bazel cache (~/.cache/bazel/). And do bazel build again.

@zhlhahaha thanks for your advice.
well, i has tried pulling the image gcr.io/distroless/base into the address /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_image_base/image, after running make, and pulling the image into docker images, but there is still the mistake, so did i do something wrong?

There are two possible reason that may lead to time out.

network issue, which means you can not connect to the repository.
the image tag is out of date.
So you can pull the image via docker pull right? I just want to make sure there is no network issue that leads to bazel pull image failure. If the network is fine, and the go_image_base exists, I do not know why TIMEOUT in bazel build. Maybe you can try to run bazel clean and then remove all bazel cache (~/.cache/bazel/). And do bazel build again.

thanks， i'll check it with our parters.

@zhlhahaha thanks for your advice.
well, i has tried pulling the image gcr.io/distroless/base into the address /root/.cache/bazel/_bazel_root/6f347497f91c9a385dcd9294645b76e0/external/go_image_base/image, after running make, and pulling the image into docker images, but there is still the mistake, so did i do something wrong?

There are two possible reason that may lead to time out.

network issue, which means you can not connect to the repository.
the image tag is out of date.
So you can pull the image via docker pull right? I just want to make sure there is no network issue that leads to bazel pull image failure. If the network is fine, and the go_image_base exists, I do not know why TIMEOUT in bazel build. Maybe you can try to run bazel clean and then remove all bazel cache (~/.cache/bazel/). And do bazel build again.

I just see you use make, so just run make clean

make clean
ok, thanks

I have the same problem, how can I solve it

I have the same problem, how can I solve it

docker proxy is useless， tag image and push custom registry
modify WOEKSPACE file
container_pull(
name = "go_image_base",
digest = "sha256:f65536ce108fcc41cdcd5cb101006fcb82b9a1527409263feb9e34032f00bda0",
registry = "docker.io",
repository = "xxx/base",
)

This seems to be related to entries in ~/.docker/config.json if you've previously setup authentication for GCR. Removing only that file solves the problem or you can simple remove the GCR entry. I simply backed it up and removed it temporarily to run the build.

Can be overcame by run following commands
rm -rf ~/.docker

Very useful thank you


Tolerance errors when testing functions output

@marcelschweiker I am proposing to use the following values. What do you think?

adaptive_ashrae()

tmp_cmf = 0.1

adaptive_en()

tmp_cmf = 0.1

a_pmv() Adaptive Predicted Mean Vote (aPMV)

pmv = 0.01

athb() Adaptive Thermal Heat Balance (ATHB)

athb_pmv = 0.01

e_pmv() Adjusted Predicted Mean Votes with Expectancy Factor (ePMV)

pmv = 0.01

at() Apparent Temperature (AT)

at = 0.1

ankle_draft()

ppd = 0.1

clo_tout() Clothing prediction

0.01

cooling_effect() - this is the same output of the two node-model

0.01

humidex()

humidex = 0.1

heat_index()

0.1

JOS3()

skip testing this model

net()

0.1

phs()

't_re': 01,
'd_lim_loss_50': 1,
'd_lim_loss_95': 1,
'd_lim_t_re': 1,
'water_loss': 1

pet_steady()

0.1

pmv_ppd()

pmv = 0.01
ppd = 0.1

pmv()

pmv = 0.01

solar_gain()

'erf': 0.1,
'delta_mrt': 0.1

set() - this is the same output of the two node-model

0.1

two_nodes()

let's discuss this since in pythermalcomfort it outputs a lot of values

utci()

0.1

use_fans_heatwaves

skip this for now

vertical_tmp_grad_ppd()

ppd = 0.1

wc() - Wind chill index

0.1

discomfort_index(

.1

We will also need to test the psychrometric functions but we can also open a separate issue.

@FedericoTartarini Agree with all values.
As for two-node, I am happy to extend the outputs of R as in py. At the same time, the question is whether we need to test all output or just make sure that the final value aligns. If so, chances are high that intermediate values also align and we can save time to implement all test.
At the same time, having tests for intermediate values could help in error-detection

Great so let's use these values to validate the results. I listed above the tolerance of the values I think we should test in the two-node model. @marcelschweiker please let me know what do you think. If you are happy with them we can close this issue.
In python I can only test the final values and not the intermediate ones, based on how I currently wrote the code.


Fix cpack

Original pull request by Giampiero Gabbiani (Bitbucket: ggabbiani, GitHub: ggabbiani).

fixed project versions
fixed examples [re]location
assigned component development, runtime and examples to the targets
added generation of QuarterConfig.cmake and QuarterConfigVersion.cmake
new cpack implementation (cleaner and maybe the right pattern to reproduce in the rest of the collection)

Regards
Giampiero

Original comment by Bastiaan Veelo (Bitbucket: veelo, GitHub: veelo).

How well will /opt play on Windows?

Original comment by Giampiero Gabbiani (Bitbucket: ggabbiani, GitHub: ggabbiani).

You are right Bastiaan, I guess it doesn't . The problem is that I didn't find a suitable place where for 'examples' ...  maybe it make sense not to install the examples at all...
Let me know I can cancel and redo the pr.
Regards
Giampiero

Original comment by Bastiaan Veelo (Bitbucket: veelo, GitHub: veelo).

Maybe put an ELSE here to define the QUARTER_INSTALL_EXAMPLEDIR for non-Windows? What happens if that variable is not defined?
On the other hand, I think you are right that examples need not be installed. They are for developers, and if devs can build them and find them somewhere that should be enough.

Original comment by Bastiaan Veelo (Bitbucket: veelo, GitHub: veelo).

I think there is no need to cancel, you can push additional commits to the PR branch. https://stackoverflow.com/questions/41682243/update-the-code-for-a-bitbucket-pull-request-mercurial

Original comment by Bastiaan Veelo (Bitbucket: veelo, GitHub: veelo).

Thanks again!


stm32wba: Update of west blobs fetch command due to field name definition in hal_stm32 module.yml

@erwango looks like you need to rebase

Changes look fine, minor question if this needs to also be added to the 4.0 release notes or if the migration guide is enough.

Good question.
This change is quite limited and doesn't bring much value a part compliance. Though, it will impact the existing wba blob users which will get the info in the migration guide.
In release notes, I'd rather mention new features or changes which bring additional value to users... So not this change.


Content inspection - Protected files

Please clarify  - "Files that were labeled with protection outside of Cloud App Security can't currently be scanned or changed by Cloud App Security." -
As per the "Inspect protected files" option, protected files (protected from Office clients and uploaded to SharePoint/OneDrive etc) can be inspected.

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

ID: d87a9a6d-db50-50ca-755b-ce28631c30ac
Version Independent ID: 8656b0a3-ab7e-76ec-2d89-8c1aa643c9fa
Content: Integrate Azure Information Protection with Cloud App Security
Content Source: CloudAppSecurityDocs/azip-integration.md
Service: cloud-app-security
GitHub Login: @rkarlin
Microsoft Alias: rkarlin

@mohanse Thanks for your feedback; we appreciate it. After investigating, we've discovered that the topic was recently modified and this issue was clarified among other changes; hence, we are closing this issue and thank you again for helping to improve our documentation.


Missing instructions for building in Linux

From what I can gather this project will only work on Windows since it requires Microsoft Visual Studio to build it.
Can you suggest the way to compile this software on Debian-based Linux distros please? Even a simple Makefile  would be welcome.

(even though it's not working)
meson.build.txt
patch.patch.txt

https://github.com/gue-ni/OpenGL_Flightsim/pull/7 try this pull request

build instructions and cmake file have been added


feat: Add role smokeping_prober

Add a role for the Smokeping Prober.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@1b5a051). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff            @@
##             main      #128   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         1
  Lines           ?        42
  Branches        ?         4
========================================
  Hits            ?        42
  Misses          ?         0
  Partials        ?         0

Flag
Coverage Δ

integration
100.00% <0.00%> (?)

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

Finally got around to finishing this one up.


Add the registered DnDBeyond character link to the created event instead of only showing the Name, Class and Lvl


push notification dont work in ios

Expected Behaviour
receive push notifications on ios
Actual Behaviour
the notifications work for android, but when I send them to ios it does nothing.  I use the following payload
{
    "data" : {
        "title": "Test Notification",
        "body": "test notification message",
        "notId": 10,
        "image": "https://image.flaticon.com/teams/slug/freepik.jpg"
    },
    "to": divice_token,
    "priority":"high"
}

and if i change the payload for this. stop working the image for android, but push notification work for both
{
    "notification" : {
        "title": "Test Notification",
        "body": "test notification message",
        "notId": 10,
        "image": "https://image.flaticon.com/teams/slug/freepik.jpg"
    },
    "to": divice_token,
    "priority":"high"
}

I used a key for APNS, and already configure firebase to work with it

and in my config.xml i have my GoogleService-Info.plist file. and already try to compile without this file but it does not generate a valid divice token.
    <platform name="ios">
        <resource-file src="GoogleService-Info.plist" />
    </platform>

Reproduce Scenario (including but not limited to)
Installed push plugin on android using ionic 3 framework
Platform and Version
Genymotion - Samsung galaxy s6 - 6.0.0 -whit google play services
Genymotion - Samsung galaxy s6 - 7.1.0 -whit google play services
Cordova CLI version and cordova platform version
cordova: 7.0.1
cordova platform version android: 6.2.3

Framework
 Ionic CLI): 3.9.2
@ionic/cli-utils  : 1.9.2
@ionic/app-scripts : 2.1.3
ionic-angular: 3.6.0

Plugin version
cordova plugin phonegap-plugin-push: 2.0.0

System:
Android SDK Tools : 25.2.5
Node              : v8.4.0
npm               : 5.3.0
OS                : macOS Sierra

Plugin
"cordova": {
        "plugins": {
            "cordova-plugin-console": {},
            "cordova-plugin-device": {},
            "cordova-plugin-splashscreen": {},
            "cordova-plugin-statusbar": {},
            "cordova-plugin-whitelist": {},
            "ionic-plugin-keyboard": {},
            "cordova-sqlite-storage": {},
            "cordova-plugin-crop": {},
            "com-badrit-base64": {},
            "cordova-plugin-background-mode": {},
            "cordova-plugin-facebook4": {
                "APP_ID": "1111111111111111",
                "APP_NAME": "aaaaa"
            },
            "cordova-plugin-camera": {
                "CAMERA_USAGE_DESCRIPTION": "Se necesita acceso a galeria",
                "PHOTOLIBRARY_USAGE_DESCRIPTION": "Se necesita acceso a galeria"
            },
            "phonegap-plugin-push": {
                "SENDER_ID": "11111-11-11111"
            }
        }

Log
2017-09-11 22:32:27.407956-0300 Booki[1111:466320] PushPlugin.register: better button setup
2017-09-11 22:32:27.410587-0300 Booki[1111:466320] FCM Sender ID<PHONE_NUMBER>14
2017-09-11 22:32:27.410718-0300 Booki[1111:466320] Using FCM Notification
2017-09-11 22:32:27.691643-0300 Booki[1111:466320] [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
2017-09-11 22:32:27.697345-0300 Booki[1111:466111] FCM token is null
2017-09-11 22:32:27.692 Booki[1111] <Error> [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.
2017-09-11 22:32:27.711950-0300 Booki[1111:466320] [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. Add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2017-09-11 22:32:27.712 Booki[1111] <Notice> [Firebase/Messaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. Add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
2017-09-11 22:32:27.713992-0300 Booki[1111:466320] [Firebase/Analytics][I-ACS023007] Firebase Analytics v.40003000 started
2017-09-11 22:32:27.714 Booki[1111] <Notice> [Firebase/Analytics][I-ACS023007] Firebase Analytics v.40003000 started
2017-09-11 22:32:27.715161-0300 Booki[1111:466320] [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2017-09-11 22:32:27.715 Booki[1111] <Notice> [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2017-09-11 22:32:28.788492-0300 Booki[1111:466111] ionViewDidLoad LoginPage
2017-09-11 22:32:29.778053-0300 Booki[1111:466111] Push Plugin register success: <d1d2f668 16cac10a 33906838 6b782c72 84b10cac aeee8e72 0c72586b 569cb33c>
2017-09-11 22:32:32.627122-0300 Booki[1111:466111] The FCM registration token needs to be changed.
2017-09-11 22:32:32.638563-0300 Booki[1111:466111] FCM Registration Token: fztqYHPKQl8:APA91bF0wCBFxTmiW86r5SvWHJ1E-vsHpI5RhtJa_JDHv_yg4zstPIQImHjaWGf4tI_L96EH74KR7ZyAnY1L9LRB9CuX46ECI2U-0-lQ9TZSKT2X903dpHA8WOJkOYTCC93wLj3nfljo
2017-09-11 22:32:32.650365-0300 Booki[1111:466111] Device registered

@metalpapa the payload:
{
    "data" : {
        "title": "Test Notification",
        "body": "test notification message",
        "notId": 10,
        "image": "https://image.flaticon.com/teams/slug/freepik.jpg"
    },
    "to": divice_token,
    "priority":"high"
}

Is the correct one to send to Android devices. Read up on notification vs data payloads here.
When sending to an iOS device using FCM the payload:
{
    "notification" : {
        "title": "Test Notification",
        "body": "test notification message",
        "notId": 10,
        "image": "https://image.flaticon.com/teams/slug/freepik.jpg"
    },
    "to": divice_token,
    "priority":"high"
}

Is the correct one.
You will need to send two separate payloads, one for iOS and one for Android.

@macdonst ok thank.  I hoped that it could be sent in one method . one more thing, for the default notification sound is added only this to json? it does not work for me
{
"sound": "default"
}

@metalpapa I would love it as well but because we need onMessageReceived called in order to setup the communication between the Java and JS layer we are stuck on Android.
Not enough info to answer your sound question.

@macdonst I read the documentation that says iOS Behavior, and it says:
If you want the default sound to play upon receipt of push use this payload:
{
     "aps": {
         "alert": "Test sound",
         "sound": "default"
     }
}
but this does not work for me. need to add something else?. this is my payload for ios
{
    "notification" : {
        "title": "Test Notification",
        "body": "test notification message"
    },
    "to": divice_token,
    "priority":"high",
     "notId": 10,
   "content-available": 1,
     "sound": "default",
     "aps": {
         "alert": "Test sound",
         "sound": "default"
     }
}


Verify and fix documentation formatting and alignments

Description
As a developer I want to verify and fix readthedocs documentation formatting and alignments.
Additional Information
Link to the documentation : https://blockchain-automation-framework.readthedocs.io/en/develop/
Acceptance Criteria

Formatting and Alignments fixed
Docs builds successfully
Changes done of develop branch

I will work on this

There are no changes. Everything is fine.


Please write a caution note.

Hello.
Please write a caution note that when I or someone use the "react-adsense" and use the style(ex style={{ width: 500, height: 300, float: 'left' }}" and so on),it needs to write format =""`.
I didn't that, so I wrote as follows.(It made a error messge.)
<AdSense.Google
client='ca-pub-7292810486004926'
slot='7806394673'
style={{ width: 500, height: 300, float: 'left' }}
/>

So what is the error?


fix(decodeOpReturn): Debugging error handling by decodeOpReturn()

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add electron 9 support

Thanks!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support for inverse trigonometric functions

Is your feature request related to a problem? Please describe.
TornadoVM bails out to sequential when using the functions Math.asin(), Math.acos() and Math.atan2().
The TornadoMath class also does not have an equivalent function for these operations.
Please note that Math.atan() and Math.atan2() are two different functions.
Describe the solution you'd like
Add support for the functions above and implement TornadoMath.floatAsin(), TornadoMath.floatAcos(), TornadoMath.floatAtan2().
Describe alternatives you've considered
N/A
Additional context
The issues can be recreated using the simple code snippets below:
(Math.asin() can be replaced with Math.acos() and Math.atan2() to replicate the issue for the respective functions)
import uk.ac.manchester.tornado.api.TaskSchedule;
import uk.ac.manchester.tornado.api.annotations.Parallel;

@SuppressWarnings("PrimitiveArrayArgumentToVarargsMethod")
public class Tornado {

    public static final int ARRAY_SIZE = 100;

    private static void test(float[] output) {
        for (@Parallel int x = 0; x < ARRAY_SIZE; x++)
            output[x] = (float) Math.asin(x);
    }

    public static void main(String[] args) {

        // Output array
        float[] output = new float[ARRAY_SIZE];

        // Task
        TaskSchedule ts = new TaskSchedule("s0");
        ts.task("t0", Tornado::test, output);
        ts.streamOut(output);

        // Execution
        ts.execute();

        // Results
        System.out.print("Output: ");
        for (int i = 0; i < ARRAY_SIZE; i++) System.out.print(output[i] + ", ");
        System.out.println();
    }
}

Thank you @Vinhixus.
This affects all backends? OpenCL, PTX and SPIRV? or just one of the backends?

Update: After a sync call with @Vinhixus , this affects all backends.
@gigiblender, let's focus first on the OpenCL and SPIR-V. Then we will design a strategy for the PTX backend.

This is already merged. https://github.com/beehive-lab/TornadoVM/commit/8a3b1e9574654c668de5aee12bf66b66c18142b0


chore: udpate to v1.1.1 AI Lab Recipes

What does this PR do?
Update to latest v1.1.1 fixing issue on some intel CPUs / Windows
Screenshot / video of UI

What issues does this PR fix or reference?
fixes https://github.com/containers/podman-desktop-extension-ai-lab/issues/1031
How to test this PR?

dup of https://github.com/containers/podman-desktop-extension-ai-lab/pull/1050


Unable to detect image tracking on iPhone XS

I'm attempting to track an imagine using my iPhone XS Max device and having no success.
When I attempt on my Mac it detects it almost instantly.
Is this a setting I can adjust for?

@JamesBotterill Iphone XS Mac should work. Can you please give more details on how and what have you tried? Do you have a link for the app and the image you're using?
What browser did you use?

It was safari, it's working better now.
It seems quite random why it's working now and wasn't yesterday.

Sometimes the luminosity of the environment makes a huge difference to me as well, alongside the quality of the image itself. Unfortunately, it's part of working with AR..hehe


Replace dfs.ItemInfo.Count with len(dfs.ItemInfo)

In Python 3.7, dfs.ItemInfo.Count raised an error that using len instead
fixes so that code reads a dfs0 file successfully.

This requires closer investigation, since I get an error trying to use len on a C# list.
Python 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32

Type "help", "copyright", "credits" or "license" for more information.
>>> import clr
>>> clr.AddReference('System.Collections')
<System.Reflection.RuntimeAssembly object at 0x000002530156DC18>
>>> from System.Collections.Generic import List
>>> from System import String
>>> l = List[String]()
>>> l.Add("Foo")
>>> l.Count
1
>>> len(l)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: object of type '0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' has no len()
>>>

Okay, I was not aware the list could be anything but a Python list. Would we need to add some type checking to determine the list type?

how about
def safelen(thing):
    return getattr(thing, 'Count', len(thing))

good idea, I like it. I tried to implement your suggestion, and it fixes the issue I was having. @ecomodeller can you check if it also works for you?


onedrive: 2.3.13 ->! 2.4.2

Motivation for this change
Version bump
Supersededs:  https://github.com/NixOS/nixpkgs/pull/83280 and https://github.com/NixOS/nixpkgs/pull/86707
New PR because I use shallow nixpkgs and github does't allow me to push on the old branch
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @fadenb

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/166

Updated to 2.4.2, also started a new convention, as suggested by @danbst here- https://github.com/NixOS/nixpkgs/pull/83280#issuecomment-603337347 where if user intervention is required then the -> is followed by a bang.
Please review and approve.

Is there anything else that needs to be done before this can be merged?

@Lassulus https://github.com/NixOS/nixpkgs/pull/89198#issuecomment-639269157

Version on master is already never.


Fix local datastore

Please see wiki for details ("Temporarily: start Local Datastore Server").

Please make JavaDoc on commented code a bit more clear. The rest LGTM.


Can't build

error: use of unstable library feature 'iter_min_by' (see issue #36105)
  --> src/rect_packer.rs:53:18
   |
53 |                 .min_by(|&(_, a), &(_, b)| area(a).cmp(&area(b)))
   |                  ^^^^^^

You need to upgrade to Rust 1.15.


Create sandyupper.txt

Added sandy upper school sandyupper.net

Sandy Upper School is an Upper School (Aged 13-19) in central bedfordshire in the UK

Please excuse my delay with reply - I'm adding the domain.


System Time needed in email header 'Sent' field for new staff templates

Can you please add the system time to the SENT mail header for the new staff email templates you setup. I am receiving text emails that are not formatted as html when the 'Sent' field shows "None".
Reply-To:
Content-type: text/html;charset=utf-8
Content-Transfer-Encoding: 8bit
X-mailer: BoxBilling/2.2.21
Message-Id<EMAIL_ADDRESS>Date: Fri, 24 Feb 2012 08:29:01 -0600 (CST)
New order for test placed at <a target="_blank"  .......

Will this be fixed anytime soon?

will this be fixed?

Are you no longer processing issues from github issue tracker?


Swap rabbitmq stop / start with restart

Which should be equivalent enough
Signed-off-by: Joe Grund<EMAIL_ADDRESS>

Codecov Report

Merging #1290 into b5.1 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             b5.1    #1290   +/-   ##
=======================================
  Coverage   95.39%   95.39%
=======================================
  Files           2        2
  Lines         152      152
=======================================
  Hits          145      145
  Misses          7        7

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 9427d00...f2ec5f1. Read the comment docs.


How to install this package under Window system

I don't know if there is something wrong with my installation operation, or this package can't be installed and run under window system at the moment? I would like to ask the authors to answer the questions.

I had the same issue on Windows with C compilers failing. My solution was to create a VM to run Ububtu LTS. I installed Python 3.10.4 and latest Anaconda release, created a Conda environment for it (using pycharm) and ran [conda install -c conda-forge scikit-digital-health]. This has resulted in the SKDH package and dependencies being correctly built for me.

Yes, I am currently running in Ububtu LTS, but I have modified some of the code because it keeps reporting errors

I had the same issue on Windows with C compilers failing. My solution was to create a VM to run Ububtu LTS. I installed Python 3.10.4 and latest Anaconda release, created a Conda environment for it (using pycharm) and ran [conda install -c conda-forge scikit-digital-health]. This has resulted in the SKDH package and dependencies being correctly built for me.

Windows pre-built wheels are no up on PyPI for version 0.11.6, if you can confirm that this fixes your issues or if you still have errors if this is still relevant.


save_png and save_svg produce different images

I noticed differences in the outputs from saving the same drawing as either an svg or png file. In png format, the text positions and decorations don't behave as expected. For example, the following code
import drawsvg as dw
d = dw.Drawing(50, 50, origin='center')
r = dw.Rectangle(-20, -15, 40, 30, stroke='black', stroke_width=2)
t = dw.Text('1', x=0, y=0, font_size = 20, text_anchor='middle', dominant_baseline='middle', text_decoration='overline', fill='blue')
d.append(r)
d.append(t)
d.save_svg('test.svg')
d.save_png('test.png')

produces this svg graphic:

and a png graphic that has offset the text position and ignores the overline decoration:

I don't know if this is a feature or a bug (maybe some things can't be adapted to png?), but the behavior I expected was that the png image would be no different from what I'd obtain using a png export in Inkscape.

Thanks for sharing this issue.  The PNG output is generated using the CairoSVG library which mostly supports the SVG 1.1 specification but it appears the text_decoration is an SVG 2 feature.
Ideally the PNG would match your browser's display of the SVG, but unfortunately each rendering engine supports a different subset of the SVG specification.  For now, I would suggest using an alternative tool to convert the SVG to a PNG if you need to use advanced text features.
I'm going to close this as a duplicate of #102.  Please reply there with further comments about rendering differences and rendering backends.


Amendment to Previous button on job search results

At the moment this button appears on results but doesn't do anything on page 1, maybe it can be hidden unless you are on page 1 or higher?

Could also add the next/prev buttons to the bottom of the results list so you dont have to scroll back up for the pagination?


basic-cli is using an outdated version of roc-std

The lock file has been keeping basic-cli using a version of roc-std from mid January. As such, it will break if passed a seamless slice.
I think it may be worth removing the lock file from basic-cli so that we always pull in the latest roc-std when publishing it. Otherwise, maybe we should add a cargo update to the publishing process? Fundamentally we want this to stay in sync.

@bhansconnect I actually had the roc commit specified in the Cargo.toml, not in the Cargo.lock file. I like to keep the lock file around for reproducibility. I actually had automated tests that detected this failure but I didn't have notifications set up for it, I've set a reminder to check them daily until I set up notifications.


Add num_splits property to BaseRegressor base class

The BaseRegressor base class for regression models needs to split outputs based on the model in use (e.g. EvidentialRegressorDNN needs 4, GaussianRegressorDNN 2).  The way the splits are currently determined (based on the last dimension of y_pred) only works if the NN output is a scalar.  For vector outputs, this approach fails.
I added a num_splits kwarg to the BaseRegressor class which is stored as a property of the class and used to split model outputs into the respective mean, variance, etc when losses are computed.  When the derived class inits the base class, this number is hardcoded in (e.g. EvidentialRegressorDNN sets this to 4).
This change allows me to train a NN with a 1D vector of outputs.

This changes in here were handled by other PRs we did when refactoring the repo recently. Thank you for submitting a PR and we hope to get more contributions from you in the future.


Server crashing on team select

Server crashing on team select
css_plugins list
  List of all plugins currently loaded by CounterStrikeSharp: 1 plugins loaded.
  [#1:LOADED]: "MatchZy" (0.7.12) by WD- (https://github.com/shobhit-pathak/)
    A plugin for running and managing CS2 practice/pugs/scrims/matches!

Hey!
Please make sure that you do not have any command like sv_coaching_enabled in any of your cfg (warmup, live, knife, gamemode_competitive, etc)
Once you remove that and other unused commands from cfg, it should be fixed.

Hey!
Please make sure that you do not have any command like sv_coaching_enabled in any of your cfg (warmup, live, knife, gamemode_competitive, etc) Once you remove that and other unused commands from cfg, it should be fixed.

I looked inside every cfg i have, and everywhere sv_coaching_enabled was set to false

nvm, i didn't noticed in a couple .cfg files this command and that was the issue
i deleted it from all files i could find and everything works now
thanks for help!


Update response-tokens.md

removing "Clicktale" so we aren't calling out a specific technology partner; also Clicktale has been acquired by another company

I fixed the issues in another branch. Thanks.


Kyma Metrics Collector must support scraping clusters spun up on OpenStack

Description
Currently Kyma Metrics Collector (KMC) supports scraping Gardener clusters spun up on AWS, Azure and GCP. To support kyma on CCEE we need to add support for scraping Gardener clusters on OpenStack.
Requirements

identify Gardener Clusters on OpenStack
load vm characteristics for OpenStack VMs (mapping VMType => eg. provisioned CPUs)
create mapping for all possible VMTypes available on CCEE-Gardener
verify scraping of OpenStack Gardener Clusters works

Values used by KEB:
"machineType": {
	"_enumDisplayName": {
		"g_c12_m48": "g_c12_m48 (12vCPU, 48GB RAM)",
		"g_c16_m64": "g_c16_m64 (16vCPU, 64GB RAM)",
		"g_c32_m128": "g_c32_m128 (32vCPU, 128GB RAM)",
		"g_c4_m16": "g_c4_m16 (4vCPU, 16GB RAM)",
		"g_c64_m256": "g_c64_m256 (64vCPU, 256GB RAM)",
		"g_c6_m24": "g_c6_m24 (6vCPU, 24GB RAM)",
		"g_c8_m32": "g_c8_m32 (8vCPU, 32GB RAM)"
	},
	"enum": [
		"g_c4_m16",
		"g_c6_m24",
		"g_c8_m32",
		"g_c12_m48",
		"g_c16_m64",
		"g_c32_m128",
		"g_c64_m256"
	],
	"type": "string"
}

Plan Name:
"name": "sap-converged-cloud"

Part of this epic was covered and done by this issue and the corresponding PR: https://github.com/kyma-project/control-plane/issues/3244
The rest needs to be groomed.

{
   "level":"DEBUG",
   "timestamp":"2024-01-26T13:06:00Z",
   "caller":"process/process.go:285",
   "message":"sending EventStreamToEDP: payload: {\"runtime_id\":\"af95bd2e-ed39-4ed6-9c35-2418af529099\",\"sub_account_id\":\"a45be5d8-eddc-4001-91cf-48cc644d571f\",\"shoot_name\":\"c-8a43af1\",\"timestamp\":\"2024-01-26T13:06:00Z\",\"compute\":{\"vm_types\":[{\"name\":\"g_c4_m16\",\"count\":3}],\"provisioned_cpus\":12,\"provisioned_ram_gb\":48,\"provisioned_volumes\":{\"size_gb_total\":30,\"count\":1,\"size_gb_rounded\":32}},\"networking\":{\"provisioned_vnets\":0,\"provisioned_ips\":1}}",
   "component":"kmc",
   "RuntimeID":"af95bd2e-ed39-4ed6-9c35-2418af529099",
   "SubAccountID":"a45be5d8-eddc-4001-91cf-48cc644d571f",
   "WorkerID":2
}

{
   "level":"DEBUG",
   "timestamp":"2024-01-26T13:06:01Z",
   "logger":"edp-client",
   "caller":"edp/client.go:114",
   "message":"sent an event to 'http://xyz1234566/namespaces/kyma-dev/dataStreams/kmc-consumption-metrics/1/dataTenants/a45be5d8-eddc-4001-91cf-48cc644d571f/dev/events' with eventstream: '{\"runtime_id\":\"af95bd2e-ed39-4ed6-9c35-2418af529099\",\"sub_account_id\":\"a45be5d8-eddc-4001-91cf-48cc644d571f\",\"shoot_name\":\"c-8a43af1\",\"timestamp\":\"2024-01-26T13:06:00Z\",\"compute\":{\"vm_types\":[{\"name\":\"g_c4_m16\",\"count\":3}],\"provisioned_cpus\":12,\"provisioned_ram_gb\":48,\"provisioned_volumes\":{\"size_gb_total\":30,\"count\":1,\"size_gb_rounded\":32}},\"networking\":{\"provisioned_vnets\":0,\"provisioned_ips\":1}}'",
   "component":"EDP"
}

{
   "level":"INFO",
   "timestamp":"2024-01-26T13:06:01Z",
   "caller":"process/process.go:301",
   "message":"sent event stream, shoot: c-8a43af1",
   "component":"kmc",
   "RuntimeID":"af95bd2e-ed39-4ed6-9c35-2418af529099",
   "result":"success",
   "SubAccountID":"a45be5d8-eddc-4001-91cf-48cc644d571f",
   "WorkerID":2
}


Do not overwrite defaultOptions in convert()

Hi there, I'm trying to use messageformat with PO translation files via messageformat-po-loader. I'm loading translations in multiple locales at the same time, and I was wondering why all the locales have the same plural function.
After an hour of debugging, I've found out – the Object.assign as used in convert() overwrites defaultOptions with the values from options of the latest call, and returns a reference to it for further modification. Line 72 then effectively engraves the resolved plural function of the first loaded locale, and line 71 makes sure that this plural function is used for all other locales.
I believe this wasn't intentional :)

That was quick, thanks!


dev: Reuse existing tab if one is already open

This seems to be possible on mac, at least. See: https://github.com/facebook/create-react-app/blob/25184c4e91ebabd16fe1cde3d8630830e4a36a01/packages/react-dev-utils/openBrowser.js#L65-L86

Hey! I can pick this up 😄

thanks @agneym!


wsk api 'list' command columular output should dynamically handle large values

The column output currently looks like:
ok: APIs
Action                            Verb             API Name  URL

Handle long action names as well as long API names.  Either adjust column sizes and/or judiciously truncate column value to fit nicely.

Closing as duplicate of #1646


manpage / readme

add more usage info

It'd be nice if it prints usage info instead of "Topic name is required" if no args are supplied. As an inexperienced user of Go programs I had to hunt for the -help flag.