ceph_volume: support filestore to bluestore migration

This commit adds the filestore to bluestore migration support in
ceph_volume module.
We must append to the executed command only the relevant options
according to what is passed in osd_objectostore
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test centos-non_container-lvm_osds

jenkins test centos-container-lvm_osds

jenkins test centos-non_container-lvm_batch

jenkins test centos-container-lvm_batch


Swap in reload4j instead of log4j1.2

For the 1.10.x branch, use reload4j instead of the EOL log4j1.2, which
contains several CVEs and is no longer supported by its Apache project.
Reload4j is the continuation of log4j1.2, forked from the Apache
project by the original log4j1 creator. It is largely a drop-in
replacement for log4j1.2.

Tested single node with uno and it works fine.

All ITs passed also.


Update bls-signatures dependency

Issue summary
cannot update due to blst version conflict
Other information and links

bls-signatures needs blst to be v0.3.10 whilefilecoin-proofs-api v11.1.0 needs blst to be v0.3.5. Therefore this is blocked until filecoin-proofs-api is updated

Aren't v0.3.10 and v0.3.5 compatible? Or does the other dependency require v0.3.5 exactly?

Alright. filecoin-proofs-api requires blstrs-0.4 which requires =blst-0.3.5.

@tyshko5 Can we move forward with this issue?

Unfortunately every with the latest ilecoin-proofs-api (which is v12.0 currently) we are having exactly the same problem as earlier, albeit with different versions of (now v0.3.10 vs v0.3.9)

Updated to latest bls-signatures in https://github.com/ChainSafe/forest/commit/5a2b60e673d704a2fcdf042add59774292b23bf1#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542


Order from useOrders missing some data - salePrice, product image

The title says it all, the order does not have all the required data like price after discount or default product image
cc @jorgemasta

This won't be implemented for now due to the design of the BC API. We will wait for a release of the Orders API v3 or other solution.


Sliding submenus won't slide after first click/slide

I've got a weird issue, my sliding submenus won't slide after first click. This applies to the main menu / back link at the top of mmenu.
To explain:  I load a page on the site I'm building. Click on menu button. Menu opens. I click to go to a submenu, the sub-menu slides in. But now I can only click to go to the menu items on this sub-menu page or close the menu. The back button / header of the menu does nothing. If I close the menu and reopen it I still cannot click the go back to home or view another submenu. The only way to get the sliding submenus to work again is to refresh the page or navigate to a new page.
Definitely no console / js errors are reported though during this entire process, so it's very strange.
I can provide a private link to demo this, but unfortunately can't post publicly. Thanks!!

I was having the same issue with 5.4.*. Reverted back to 5.3 and the issue was resolved.

Thanks! Just reverted to latest version of 5.3, and it works now for me too. This is a bad bug then in 5.4 it seems. Yikes!

Yeah it is. I spent a little some time trying to figure out what it was. One thing I did notice was the classes were not being updated between each of the panels. They were all in the open state.

Hmm that's odd, The unminified files (with which I do most of my testing) work OK, the minified files don't. I'll update the minified files and upload a bugfix version asap.

Should be fixed in 5.4.2


How can i get the numbers of comments in a posts

Hey @XRHTech,
It is not possible to get the comments using this API.
Please refer to the Reddit API documentation to get comments from a particular post.


hi i am having issue downloading images on smutty from user page, is ripme compatible with this site.

We've moved to ripmeapp/ripme!
Please consider opening your issue at https://github.com/RipMeApp/ripme/issues/new instead!
Issue Details

Ripme version:
Java version (output of java -version):
Operating system:
Exact URL you were trying to rip when the problem occurred:
Please include any additional information about how to reproduce the problem:

Expected Behavior
Detail the expected behavior here.
Actual Behavior
Detail the actual (incorrect) behavior here. You can post log snippets or attach log files to your issue report.
hi i am having issue downloading images on smutty from user page, is ripme compatible with this site.
example of link
https://smutty.com/h/Gyaru/ this one worked but didn't download every images on the page
https://smutty.com/user/QUIGON/ this one doesn't work

This is the old and unmaintained repo, please remake this issue over at https://github.com/RipMeApp/ripme/issues/new


Enhance VSCode Context Menu Flexibility for More Complex Conditions

Content:
While developing VSCode extensions, I encountered scenarios where more complex conditions are needed to control the visibility of context menu items. Currently, the context menu control is largely static, which limits flexibility in certain cases.
For example, I want to show a context menu item based on the name of the folder being right-clicked or whether a specific file exists within the folder. The current system doesn’t support such dynamic conditions, and developers are limited to simple when clauses for controlling menu visibility.

You can use a context key expression that matches on folder paths using the =~ regex-operator


Allow for conditional deletion of classes during load

In a production environment it is not always desirable to actually delete a class from the system when it is no longer being managed by Rowan (i.e., the class definition is removed from a package) ... When the decision is made to leave a class in it's symbol dictionary while removing the loaded things from the Rowan meta data (effectively a disown) responsibility for managing the classes existence passes from Rowan to the developers ...
At the moment I am planning on implementing this feature as a delete class from system notification that by default answers true but the notification can be resumed with false which would leave the system in it's symbol dictionary

Sample code:
[ Rowan projectTools load loadProjectSetDefinition: projectSetDefinition ]
		on: RwDeleteClassFromSystemNotification
		do: [:ex |
			ex candidateClass name = expectedClassName
			ifTrue: [
				"do not remove class from system after deleting from loaded things"
				ex resume: false ]
			ifFalse: [
				"get default behavior: remove class from system"
				ex pass ]


Improve CI

Pull Request Test Coverage Report for Build 2c8fd11ddfec9e4cf1ccf08f91688db9e5b88d7c-PR-53

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build a4328f6bae1ccdaeb6d9fed14263c5c5a43540a6:
0.0%

Covered Lines:
93

Relevant Lines:
93

💛  - Coveralls


Variable for PHP version

I'm hosted on webfactional and the PHP default version is 5.2
5.4 is installed as php54
http://blog.webfaction.com/2012/02/a-look-at-our-php-setup/
Any way to add a flag so the script doesn't use the php reported by /usr/bin/env ?

This is not working
SSHKit.config.command_map[:php] = '/usr/bin/php7.3'

This is working
SSHKit.config.command_map[:bash] = "/bin/bash"
SSHKit.config.command_map[:composer] = "/usr/bin/php7.3 /usr/local/bin/composer"


Correct qastools conda package name

I used a wrong name of the qastools conda package in #642. This PR resolves it (will remove the wrong packages from anaconda.org and alexandria manually).

Self-merging.


Add No Flash feature

No flash was added in old version, but in this latest version I can't find this features. (No flash is very useful! )🏃♂😊Thanks!

No flash was added in the old version, but in this latest version, I can't find these features. (No flash is very useful! )🏃♂😊Thanks!

there aren't any no flash features but there is a flash reducer, set it to 100% for no flash, in the  visual tab

No flash was added in the old version, but in this latest version, I can't find these features. (No flash is very useful! )🏃♂😊Thanks!
there aren't any noflash features but there is a flash reducer, set it to 100% for no flash, in the visual tab, and also, if your issue is fixed, please close the issue.

Thanks! I find it.


Autocomplete single-quotes for local macros

A long-standing request we never figured out how to implement...
https://github.com/benwhalley/atom-language-stata/issues/15

That's resolved with this line of code.
Essentially, the package overrides the defaults in the bracket-matcher package.

@kylebarron great! is that in current release? Wasn't seeing it in own editor behavior

Hmm you're right.  It's working with `' in my own Atom setup, but when I installed the package in a Windows VM, it didn't autocomplete. I need to do a little more debugging.

FWIW I'm on a mac

I think it's due to the fact that this language package is changing settings for the bracket-matcher package that were already loaded before installing language-stata-plus. Those won't get reloaded for the Stata scope until you reload Atom. It doesn't seem to always work by just closing Atom and reopening it; Atom probably has some background process.
Do cmd-shift-P to open up the command prompt and choose "Window: Reload" (ctrl+shift+F5 on Windows and Linux). The bracket matching should function properly after that reload.

yup. That was embarassing! :) Thanks!

It wasn't clear to me that I restart was needed. I'll add that to the README.


Fix missing setting of ipv6 next header in fragmentation

While fragmenting IPv6 large packet, next header attribute was not set on newly created fragmented packet.
Fixes #14622

Codecov Report

Merging #14783 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master   #14783      +/-   ##
==========================================
+ Coverage   52.51%   52.58%   +0.07%
==========================================
  Files         309      309
  Lines       45048    45049       +1
  Branches    10419    10419
==========================================
+ Hits        23656    23690      +34
+ Misses      16584    16555      -29
+ Partials     4808     4804       -4

Impacted Files
Coverage Δ

subsys/net/ip/ipv6_fragment.c
22.06% <100%> (+1.65%)
:arrow_up:

subsys/net/ip/ipv6_nbr.c
34.45% <0%> (+0.22%)
:arrow_up:

subsys/net/buf.c
52.47% <0%> (+0.27%)
:arrow_up:

subsys/net/ip/net_pkt.c
71.22% <0%> (+1.86%)
:arrow_up:

subsys/net/ip/net_private.h
69.56% <0%> (+4.34%)
:arrow_up:

subsys/testsuite/ztest/src/ztest.c
72.72% <0%> (+7.43%)
:arrow_up:

subsys/testsuite/ztest/include/ztest_assert.h
77.77% <0%> (+38.88%)
: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 3ebd9b4...42a6eaf. Read the comment docs.

@tbursztyka proposing another PR. Closing this.


Concept maps

Also a suggestion by @yabellini, and related to #14
https://github.com/yabellini/concept_maps/blob/master/en/HowToChapter.png?rgh-link-date=2020-09-15T10%3A46%3A16Z

The example is old, I still like concept maps but perhaps can be a nice to have feature.


Shared filter: shared EMPTY filter doesn't work with default filter values

If you want to share an empty value you cannot if there is a default for the widget in this field.

As discussed, for shared widgets DSW should ignore default values

done


Package loading failed

Cog
AdvancedLog
Details
Failed to load the cog
Discord User Information
ChrisiTV#0815
Traceback details (if applicable)
Exception during loading of package
Traceback (most recent call last):
  File "/home/pi/redenv/lib/python3.9/site-packages/redbot/core/core_commands.py", line 188, in _load
    await bot.load_extension(spec)
  File "/home/pi/redenv/lib/python3.9/site-packages/redbot/core/bot.py", line 1686, in load_extension
    await lib.setup(self)
TypeError: object NoneType can't be used in 'await' expression

Reproduction
i added the repo then installed advancedlog. After that i wanted to load the cog... Error

Hi there! What version of Red is your bot running? (You can check using [p]info with [p] being your bot's prefix)
If you are running Red 3.5.0 or later and added the main/master branch of the repo, I have not yet updated it for Red 3.5. You would need to install the cog from the dpy2 branch instead.

im running on 3.5.1
okay thank you for the help!


Update needed

Hi, could you please update the article to explain what happens to existing apps?
You mention "If one of the person who is part of the DLP policy's environment create an app shares data between SharePoint or Salesforce and any service in the No business data allowed data group, the app will not be allowed to run."
But what if the App already exists?
Is it guaranteed that a freshly made DLP policy will also block apps with connectors from different data groups?
Thank you

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

ID: 0214fce6-e815-f25e-6a87-82feaa7670b1
Version Independent ID: 5b6e253d-b2a1-afdd-1c3b-e586ba6fa321
Content: Data groups - Power Platform Admin center
Content Source: power-platform/admin/introduction-to-data-groups.md
Service: power-platform
GitHub Login: @manasmams
Microsoft Alias: manasma

@burtzz
Sorry for the delayed response. We are making updates to Power Apps data loss prevention and will be revising this documentation. Check back for changed content.


Always start xmerl

Right now the xmerl application is sometimes (but not always) started from code within Riak. This change makes it consistent, so that it's always started. This way we always see xmerl_version show up in the stats, which helps when we're trying to verify stats in riak_test.
(Incidentally, xmerl can be used without starting the xmerl application, as the xmerl application really doesn't do anything. It's just a placeholder, so there's not really any disadvantage to starting it.)

:+1:  a5561dc


changing text

This will address https://github.com/VEuPathDB/web-eda/issues/1293
Screenshot is attached: black background one is a mouseover event

thank you for your quick approval as usual, @jtlong3rd 👍


io-808 no sound

I should like very much that simulation of the TR808, but for some reason, I'm not getting any sound out of it.  Any cue ?

Reset. Then try this: start the player (yellow start stop button), you will see the red lights will flashing across the measure. While the player is running, select an instrument (bass drum, cymbal, etc.) and click on a step. When the player hits that step, you should hear the sound. Stop and start the player, your sounds will still be in the same places. I have not figured out how to play in 3/4 time.


[WIP] tools-clean-repo: Update .pyc removal code

This optimizes .pyc files removal. Instead of removing all pyc files, it will only remove pyc files where corresponding py file is not found.
Fixes #5760

Automated message from Dropbox CLA bot
@abdul, it looks like you've already signed the Dropbox CLA. Thanks!

I will appreciate if someone can see why checks failed? I am not sure if it's because of changes I proposed?

@abdul I think you encountered a test flake with npm that is unrelated to your fix.  Can you re-push to trigger a new build?   You can amend your commit by adding a small comment in the shell script explaining why we only delete pyc files that have no corresponding py files.

@showell Thank you for replying, and sharing steps to trigger new build. I have just done the same.

Thanks for working on this @abdul!  How have you tested this script?  I tried running it, and found that it seemed to still remove all the .pyc files in the project.  I recommend using set -x at the top of the file and some echo statements to confirm carefully that it handles all cases as expected.
Also, a few notes on the shell style style we use:

We put the ; do on the same line as the "for".
We use 4-space indentation in Zulip
We prefer $() to backticks for invoking subcommands
Variables like $i should be quoted (e.g. "$i").
tools/setup/generate-fixtures is a larger example shell script you can refer to.

Thanks again for working on this @abdul, and I look forward to look at your next version!

@timabbott Thank you for reviewing, and educating me on things I was missing. I had tested script, it worked but probably I messed up something. I have updated it, please review it again.
Thank you

Merged as 7d7f2f78c8914544e1acbe0233218af9b1d8419b, after a few more tweaks to the style, thanks @abdul!

@timabbott Thank you for the help.


Crash in PM when rebooting the console / in ret2hbmenu

Known issue. Due to some invalid handle or a corrupted KObjectLink.

Fixed in latest commit.

Is this the fix you mentioned?

I didn't mention the fix for this issue anywhere else than here, afaik.

Oh, alright. I was thinking of the one you said you were going to add in ~20 minutes from https://github.com/Mrrraou/FBI/commit/77924e64e46b65353b2fc3965a9b18f9d052ba21 .

Check this for more info. That's what I was talking about.


announcing loco.rs

hi @film42 !
I just wanted to say thanks, sidekiq-rs has really helped motivate us to go all-in and build https://loco.rs/ -- a Rust on Rails framework, which uses sidekiq-rs as its background jobs framework!
Feel free to try Loco, and see how we integrated sidekiq-rs there. We hope to continue to contribute to sidekiq-rs as it seems now our destiny is intertwined ;)
Thanks! :heart:

@jondot I've got a huge smile on my face right now. Thank you for choosing this crate and thanks for your contributions. Very cool framework. Can't wait to try it out :)


Duplicate Root Fires Twice?

This may be a ConEmu issue.
Sometimes when right clicking on tab and selecting duplicate root, I get two confirm prompts.  Not always, and I don't know what causes it or why it happens sometimes and not others.
Also can happen when I press the + button to create a new tab, and then it yells at me to close other dialog box first or something like that.
Any thoughts?

This doesn't happen anymore.  Closing.


Not working with select boxes [jsfiddle attached]

Can't seem to get the validator to register a required validation with selectboxes.
You can view the bug in the referenced jsfiddle. It work with a text box, but not a select?: https://fiddle.jshell.net/1qd8u5Lk/

You need to set <option value="">--- select --></option>.

@kazupon hmm but sometimes we don't want an empty value? I think the validator should know that nothing is selected by seeing that there are no selected options?
This sounds like a bug to me know @kazupon? Could you point me to the bit of code that looks for this, maybe I can issue a PR?

I think the validator should know that nothing is selected by seeing that there are no selected options?

I want to know that use-cases.
Can you provide with the example code please ?

Could you point me to the bit of code that looks for this, maybe I can issue a PR?

Yes, You can push the PR. I'll be anytime waiting for your PR. :)

Close (in-activity)


How to use ImageAI to detect real-time video stream

Hello!
Thanks to the great job.
How do I use ImageAI to detect target in real-time video stream?
For example, open the camera for real time detection

Currently, ImageAI can only detect objects from a video file. However, we are currently developing the next version of ImageAI that will allow you to parse in a camera input and have detection performed on the live stream video. You will also be able to receive detection details in real-time. We are bringing in support for YOLOv3 in the next version. It will be available soon.

@OlafenwaMoses
"Currently,  ImageAI can only detect objects from a video file."
From a video file or just an image file?

Both

Yes.
Sorry, I read your post on medium and it used image file so I didn't
realise there is a video option until I looked through the repository!
On Fri, Jun 29, 2018 at 10:59 AM MRsJackYang<EMAIL_ADDRESS>wrote:

Both
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/OlafenwaMoses/ImageAI/issues/12#issuecomment-401279411,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFelGJoQQ8hoRz1F9rx3DDuA3xvD1nuiks5uBd5egaJpZM4U5IlT
.

--
Flavia Ninsiima Delmira
Graduate Researcher, AIR Lab
Tel: (+256)-777-226451  Website: www.air.ug

The latest version of ImageAI (v2.0.2) is now available and supports TinyYOLOv3 for fast and real-time object detection on Low-end devices like the NVIDIA Jets on GPU. Find links to documentation below.
http://imageai.readthedocs.io/en/latest/detection/index.html
http://imageai.readthedocs.io/en/latest/video/index.html

Also,  support has been provided for device camera and IP camera video.

Hello @OlafenwaMoses,
I am not able to view live detected video. Like, I can save the video in my directory but I wish to see the live detection. The input source is my webcam
from imageai.Detection.Custom import CustomVideoObjectDetection
import os
import cv2
execution_path = os.getcwd()
camera = cv2.VideoCapture(0)
detector = CustomVideoObjectDetection()
detector.setModelTypeAsYOLOv3()
detector.setModelPath("detection_model-ex-013--loss-0003.666.h5")
detector.setJsonPath("json/detection_config.json")
detector.loadModel()
video_path=detector.detectObjectsFromVideo(camera_input=camera,
output_file_path=os.path.join(execution_path, "holo2-detected3"),
frames_per_second=16,
minimum_percentage_probability=40,
log_progress=True)
print(video_path)

so is it possible to view the live video while it is processing ?

No @TaiTan0
Please ask @OlafenwaMoses  to help us out

use the return_detected_frame function as documented, or I suppose grab your own frame and pass it for detection each time.


transfer my files to a new ipfs shipyard

Hi, not sure where else to ask this.   What would be the best way to transfer my shipyard to a new drive?

Hi @corviato1 -- this is a great question for the forums at https://discuss.ipfs.io/. Closing this issue, but please ask it there! Thanks.


Upgrade Windows App SDK to the latest version

Summary of the Pull Request
Upgrade Windows App SDK to the latest version

PR Checklist

[ ] Closes: #xxx
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[x] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments
Upgraded WindowsAppSDK to the latest stable version 1.6.3

Validation Steps Performed
Manually validated.

@microsoft-github-policy-service agree company="Microsoft"


Fix several issues with list generation

Fixes issue where a space was added at the end of replaced characters
Fixes issue where characters from extended-latin ranges were considered normal latin
Fixed issue where unicode IDs with 5 or more charactes weren't being defined correctly

the reason why all those commits are there is beyond me


feat: add mailparse 3.1.8 release

update mailparse with release 3.1.8

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


ssl passthrough toggle switch

SSL pass-through toggle switch for proxy hosts.
The problem is that many devices on the network have their own self signed SSL certificates and
I cannot use NPM to proxy to these hosts without gathering and uploading each device's certificates to NPM.
Because NPM performs the SSL termination.
The solution I would like is a toggle switch on the add new proxy host window that would pass the devices self-signed cert.
Eliminating the need to upload each certficate.

Just checking on the underlying problem, are you saying that NPM cannot proxy for a self-signed cert host in the destination section of exit proxy host? as I'm doing that without the need to trust that cert in NPM. Or are you saying you have to see the self-signed cert in a client through NPM rather than the lets encrypt cert?


Enter/exit notable cuboid while in a vehicle

I thought that it'd be handled by the event itself, but it's not and now I'm not sure how to handle this. I thought this seemed sane enough, but it's throwing a very big error.
    on player enters notable cuboid:
    - if <player.is_inside_vehicle> {
      - define vehicle '<player.get_vehicle>'
      - mount cancel <player>|<def[vehicle]>
      - teleport <def[vehicle]> <c.from>
      }
    - determine cancelled

You know how you don't edit a player's inventory in an inventory event?
Don't edit a player's location within a location change event.
Also that script is not the script that caused the error you posted. The error you posted uses the inject command repeatedly before screwing with the player's location.

lol, yeah i wasn't going post all of dRegions here for that. The players location isn't being altered in the event, unless canceling the mount counts as altering the location. Ideally, the event would handle a player mounted to another entity just the same as a player walking. Canceling the event /tries/ to stop the player, but the vehicle keeps on going... and the player is still mounted so it ends up shaking the player violently. So I added that if statement to no avail.

Have you gotten any ideas on this recently?
Cause I have nothing.

Oh, yeah... i have it handled it, but it's meh.


Addresses

Work
Adds addresses information to users and companies.
Code snippet
client = Promisepay::Client.new
user = client.users.find_all.last
company = client.companies.find_all.last

# When address info are not available
user.address
=> nil
company.address
=> nil

# When address info are available
user.address
=> { "addressline1"=>"100 Main Street", "addressline2"=>"", "postcode"=>"2000", "city"=>"Sydney", "state"=>"NSW", "country"=>"Australia" }
company.address
=> { "addressline1"=>"100 Main Street", "addressline2"=>"", "postcode"=>"2000", "city"=>"Sydney", "state"=>"NSW", "country"=>"Australia" }

This looks great! I'm merging this in now.


False sharing

Would be a good idea to put the read and write indices 64 bytes apart so that they are on different cache lines. This will avoid trashing the cpu cache due to false sharing.

I've benchmarked this and I didn't found any measurable difference. I guess this is too far out to matter from JS.


added Taiwanese version README

Added a new README version in Taiwanese language.

Added path to the .all-contributorsrc


Mothering Sunday in the UK

Mothers Day or, the british term, Mothering Sunday is on a different day to the default - https://en.wikipedia.org/wiki/Mothering_Sunday
It would be great if this could be added

Hi @kennydude I've added Mothering Sunday for the United Kingdom. You can check/verify the changes in this branch: https://github.com/azuyalabs/yasumi/tree/feature/mothering-sunday
I am targeting this to include it in release 2.5.0 which I plan to release next week. Let me know if something is incorrect or missing.
Cheers!

Feature completed. Work merged into the develop branch.

@stelgenhof Hi there, was about to write a separate issue when I saw this.
Mothering Sunday isn't classed as a "public holiday", albeit it being a null point given it's always on a Sunday! However, it looks odd appear in the standard holiday list with bank holidays etc.
I know better classification is in the works, to split out these sorts of days, but I wonder whether it's worth having in the standard list until then?
It also doesn't appear in the source cited in your documentation, if that's another factor: https://en.wikipedia.org/wiki/Public_holidays_in_the_United_Kingdom

@stelgenhof thank you for the response. I was using the standard unfiltered list. Setting to official holidays only gives me two results!
What I've done is manually filtered out the "other" type to remove this and potentially other additions. This matches up with what most people would expect in terms of whether this day counts towards holiday entitlement (which is my use case in a nutshell).
Many thanks for the help :)

@Jimbob001 I checked myself and indeed it only results in two holidays. This is due the nature of the Filter classes in that they exclusive filter for that particular category.
For your use case, these filters may not give the results you need. Manually filtering out the 'other' holidays is then certainly a solution :) Or you could create your own filter doing all of that.
Cheers! Sacha


Add arxiv pdf - Vaswani et al 2017 - Transformers

Proposition to add pdf/link to the following line in the article Why Tool AIs Want to be Agent AIs:
"While LSTM RNNs are the default for sequence tasks, they have occasionally been beaten by feedforward neural networks—using internal attention or “self-attention”, like the Transformer architecture (eg Vaswani et al 2017 or Al-Rfou et al 2018)"
Add this arxiv doc:
Attention Is All You Need

Vaswani is already linked in the previous paragraph so that's unnecessary.


Fixed Korean Mistration of a word 'Type'.

Microsoft PowerToys version
0.49.1
Utility with translation issue
Keyboard Manager
🌐 Language affected
Korean
❌ Actual phrase(s)
유형
✔ Expected phrase(s)
입력
ℹ Why is the current translation wrong
In Key Remapping of Keyboard Manger, 'Type' is currently translated "유형" in Korean which means "category" or "Pattern".
In this page, "Type" means 'please enter the key', so it is adequate to translate to "입력" which means 'input' or 'enter' in Korean.

Originally posted by @caddyspoon in #14392

https://microsoft.visualstudio.com/OS/_workitems/edit/37457019

Can you verify 0.53 has fixes. our loc pipeline is back up now


loss norm

Thank you for your excellent work. I have a question, what does "loss_norm" mean, this seems not mentioned in the original paper

it is a loss regularizer, which can be seen in many works, e.g., http://www.cbsr.ia.ac.cn/users/xiangyuzhu/papers/2019adaptiveface.pdf

it is a loss regularizer, which can be seen in many works, e.g., http://www.cbsr.ia.ac.cn/users/xiangyuzhu/papers/2019adaptiveface.pdf

Thanks for your reply !

it is a loss regularizer, which can be seen in many works, e.g., http://www.cbsr.ia.ac.cn/users/xiangyuzhu/papers/2019adaptiveface.pdf

I have another question. pos_weight is not detached in AutoAssign and FreeAnchor in positive_bag_loss, why ? When i tried detach, the performance drops.


Look like that the Burst libray don't "match" the Judger project

Hi,
I just try to build the Judger project and meet these issues
Error	1	The type or namespace name 'JsonSerializer' could not be found (are you missing a using directive or an assembly reference?)	G:\code\CSharp\sdnuoj-master\judge\src\Definition\Configuration.cs	27	17	Definition
Error	2	The type or namespace name 'JsonObjectSerializerBase' could not be found (are you missing a using directive or an assembly reference?)	G:\code\CSharp\sdnuoj-master\judge\src\TaskFetcher\ResultJsonSerializer.cs	12	41	Fetcher
Error	3	The type or namespace name 'JsonFormatOption' could not be found (are you missing a using directive or an assembly reference?)	G:\code\CSharp\sdnuoj-master\judge\src\TaskFetcher\ResultJsonSerializer.cs	14	68	Fetcher
Error	4	The type or namespace name 'JsonSerializer' does not exist in the namespace 'Burst.Json' (are you missing an assembly reference?)	G:\code\CSharp\sdnuoj-master\judge\src\TaskFetcher\SDNUFetcher.cs	36	30	Fetcher
Error	5	'JudgeClient.Definition.Configuration' does not contain a definition for 'Reload'	G:\code\CSharp\sdnuoj-master\judge\src\JudgeService\Service.cs	33	27	JudgeService
Error	6	The type 'Burst.LocalConfiguration`1' is defined in an assembly that is not referenced. You must add a reference to assembly 'Burst, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.	G:\code\CSharp\sdnuoj-master\judge\src\JudgeService\Manager.cs	77	13	JudgeService
Error	7	'JudgeClient.Definition.Configuration' does not contain a definition for 'Singleton'	G:\code\CSharp\sdnuoj-master\judge\src\JudgeService\Manager.cs	95	45	JudgeService
Do the the Burst libray don't "match" the Judger project? Please help me. Thanks a lot.

Please help me, I really love this source code


Add automatic polygon formatting

There are three two age-old requirements for all polygons added with b2PolygonShape::Set(): they must be convex, they must be in counter-clockwise order, and they must have no more than b2_maxPolygonVertices vertices (8 by default). These allow the calculations to operate efficiently and behave correctly. For example, if two separate prongs of an object hit the ground at the same time, we would want each prong to be of a separate shape so they can create their own collision response (like dirt puffing up). Some of the rules (but not all?) if broken will result in a "convex hull" being generated instead.
I can relate to the possible reasoning for leaving out polygon partitioning / convex decomposition from the Box2D library. I am not sure if there is a precise mission statement somewhere, but on the surface it just feels like this general math problem would not thematically fit itself into a concise kernel of physics. There are multiple approaches and algorithms, each with slightly different behaviors and edge cases. It could quickly become a pain to maintain or guarantee its correctness with all possible polygons, so it is left as sort of an exercise for the reader, if you will.
However, I would like to argue that polygon partitioning is an essential part of a "kernel of physics", and that is should not be left out.

Those 3 2 rules for polygons are highly specific to the domain of physics and collision detection, and they would seem arbitrary in other contexts. In other words, exposing these requirements to the API means breaking the "black box" abstraction that a physics system is supposed to provide. It is like a sorting algorithm that requires the user to study how the sorting algorithm works in order to correctly pre-process their list of numbers first. Why not make them write the rest of the algorithm while they're at it? Leaving out a domain-specific step of a process goes against the purpose of automation.
Every developer who wishes to use polygons in Box2D must figure out, on their own, how to format their polygons into the well-mannered bite-size chunks that Box2D demands. This takes time, effort, and research, and my guess is there are dozens of unpublished solutions made in the last decade, from kids to students to developers to companies. All we need is one solution. Yes, there is one in the "Contributions" folder. Since it is unofficial, not everyone knows to look there, and it is not maintained or supported here through normal github means. Cleaning it up and promoting it to Box2D proper would save so many developers a lot of time.
The fact that there are multiple possible algorithms and implementations did not stop this physics library from existing in the first place. There are vastly different approaches to detecting and resolving collisions, with their own gnarly sets of edge cases and shortcomings, and we put our trust in the library developers to settle on a robust, well-balanced, reasonable approach to help us out in common circumstances. Secretly breaking down our complex polygons into their appropriate internal Box2D formatting would fall under this umbrella. It does not have to be perfect -- it just has to be good enough to handle most situations.
Adding this feature would not be taking anything away from what already exists. For those who have already produced correct CCW 8-vertex convex polygons, they can take advantage of the speed benefits of using some sort of "raw" function(s) with those requirements. Those who do not mind the extra processing time can use the non-"raw" function(s).

I get the sense that this has already been a long-time heated topic of discussion, but I hope it can be considered again. It was the first major obstacle I encountered in my earliest attempts to add Box2D to my games 10+ years ago, and I would not be surprised if other developers felt the same way. In my opinion this is one of this library's biggest and most immediate shortcomings and should absolutely find a home within Box2D. I am curious to hear what other people's thoughts are.
Thanks.

Some of those limitations haven't existed for a long time. See https://github.com/erincatto/Box2D/blob/master/Box2D/Collision/Shapes/b2PolygonShape.cpp#L120
This computes the convex hull automatically
I agree that it would be useful to have convex decomposition as a supported feature. I don't think it should be the default approach because this may leave some simple optimizations on the table. In some cases people may have complex sprites that should just be wrapped in a box instead of being partitioned into several polygons.

You're right -- I was mistaken about the winding order. The manual still warns about being careful that CCW might look like CW depending on your coordinate system, but this must be talking about if you are accessing the vertices after you've imported them already.
The other requirements still seem to be there, if polygons are to be imported accurately.
Thanks for taking a look at this.

I wrote a blog post about this topic.
https://box2d.org/posts/2020/04/stuck-inside/
The bottom line is that if I put a convex decomposition algorithm into Box2D it will be inferior to a human crafted collision. So then it becomes a question of priorities. Do I work on something that I know can directly improve Box2D (like performance) or do I work on something that I know will be inferior and buggy. I'm inclined to do the former.

On choosing your time wisely: that makes total sense. I disagree that this would not directly improve Box2D (my original points #1 and #2), but I completely understand if you feel there are higher priorities right now.
On being an imperfect solution: I will still counter with my original point #3. As far as I know, the tools simply do not exist to manually craft these polygons myself. The results of an algorithm might fall flat against human-designed meshes, but I would rather have an inferior solution than no solution at all.
Maybe the reason I find this so important is that I am just out of the loop. Are there free tools that would let me manually partition my polygons in a visual editor? Is it easy to load the result into Box2D? I am genuinely curious how others handle this -- I had a hard enough time just getting any of my convex polygons up and running, regardless of how it was done.

RUBE editor, which is not free(but cheap), has an integrated polygon decomposer, you can load exported scenes with this lib: https://github.com/iforce2d/b2dJson.
It uses Bayazit's algorithm for polygon decomposition https://mpen.ca/406/bayazit. there is a download link at the end of the page.

RUBE is amazing. As you say, it is not free (35 USD at the time of this post). I cannot require my users to purchase it in order to use concave polygons in my software.
Bayazit's algorithm does not account for holes or vertex limits, so RUBE also uses poly2tri in some cases. Right now Box2D users must reinvent this kind of hybrid system themselves (as I did years ago) in order to generate arbitrary polygons on the fly. Please correct me if I am wrong.
Automatic polygon decomposition is the first bolded item on RUBE's features page and is showcased early in the introductory video. Most of RUBE's screenshots and javascript demos include polygons which were automatically decomposed this way.
To me, this indicates how absolutely essential this bit of code is in interfacing with Box2D. The fact that advanced users can fine-tune their meshes for performance and behavior should not cripple the library in its everyday usage.

Current summary: this is a feature request for convex decomposition


[FLINK-23509][connectors/kafka] Create new ProducerIdAndEpoch when re…

…suming Kafka transaction

What is the purpose of the change
Before this change we did not create a new ProducerIdAndEpoch and rather
mutated the already created one. This can overwrite the internally
used static ProducerIdAndEpoch#None which is used to describe a non
initialized state. Once the static object is mutated it breaks the
recovery of transactions.
Brief change log

Create new ProducerIdAndEpoch instead of mutating internal state

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks Fabian, this is the change I wanted to propose. I'm not aware how in Flink community we check for regressions, given that there is no specific test yet that covers the change (me curious 😀)

@RainerMatthiasS We also discussed testing it briefly and came to the conclusion that relying on the fragile reflection logic in the first place is already not ideal but adding more code using reflection to this behavior we deemed as not really helpful.
In the future we are planning to reach out to the Kafka community proposing to allow resuming transactions but the problem you've found needed an immediate fix.

@flinkbot run azure


Fail to build with zero.o

I got the error message:
hadrian.EXE: _build/stage1/gmp/objs/zero.o: openFile: does not exist (No such file or directory)
hc.hs: Failed when running system command: hadrian\build.bat -j --flavour=quickest --configure
CallStack (from HasCallStack):
  error, called at src\System\Process\Extra.hs:34:9 in extra-1.6.7-DkYI48qjpr3GWa49wfvAlC:System.Process.Extra
  system_, called at C:\Neil\neil\bin\..\misc\hc.hs:48:5 in main:Main

It did not repeat when I rebuilt. On Windows.

Did this happen during the build or linting? This does happen (with random object files), albeit very rarely, and I think typically during linting. Seems like a concurrency bug.
I don't think it's Windows specific. I think I've seen Travis CI bots failing similarly.

Hmm, could be. If so it would be a weird bug, perhaps even one in GHC itself...


feat(linksvg): add a prop for text

Proposed Changes
Add a prop text to the component LinkSvg in order to allow displaying customized texts under hyperlink.
Potential Breaking Changes
nope
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

Codecov Report

Merging #1554 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1554   +/-   ##
=======================================
  Coverage   96.36%   96.36%
=======================================
  Files         412      412
  Lines        9074     9074
  Branches     1664     1664
=======================================
  Hits         8744     8744
  Misses        111      111
  Partials      219      219

Impacted Files
Coverage Δ

...ackages/react-vapor/src/components/svg/LinkSvg.tsx
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Isn't the style call on render being executed at each render pass ?

https://github.com/SentiaAnalytics/bs-css/blob/901534988d93f7c4695cc5a7a530e95abc253718/example/example.re#L31

yes. Glamor does however check not to render the same values multiple times.
A better solution is to use a style module:
module Styles = {
  let page = style([
    background(palegoldenrod)
  ]);
}

<div className=Styles.page >

Now you are guaranteed that the styles are only rendered once

I updated the example file to use a Style module instead... thanks for the heads up


Cannot add  Persistent Volume with Local Node Disk plugin

rancher/rancher:master 06/06
Steps to reproduce:

Create a PV
Select Local Node Disk
Input path and click save

I guess we need to add the nodeAffinity for PV in schema. https://kubernetes.io/docs/concepts/storage/volumes/#local

which's rancher version will be resolve this issues?

Also encountered this issue - its not possible to create a PV on local storage via the web interface.

@loganhz NodeAffinity schema is there, it is just a little bit complicated to use :)
try posting:
{
	"type": "persistentVolume",
	"accessModes": ["ReadWriteOnce"],
	"name": "local",
	"local": {
		"type": "localVolumeSource",
		"path": "/var"
	},
	"capacity": {
		"storage": "10Gi"
	},
	"nodeAffinity": {
		"required": [{
			"matchExpressions": [{
				"key": "kubernetes.io/hostname",
				"values": "ubuntu1",
				"operator": "In"
			}]
		}]
	}
}

That should give you a local volume.

Version - 2.0 master 7/23
Verified fixed

Unfortunately I'm experiecing this error on a clean install on a custom vServer on v2.0.8.
Cannot confirm the fixing of the error...
Steps to Reproduce:
Rancher->Storage->Add Persistent Volume:
Name: rancher-volume
Capacity: 10 GiB
Volume Plugin: Local Node Disk
Path: /opt/rancher-volume
Access Modes: Single Node Read-Write
Result:
Validation failed in API: PersistentVolume "mytestvolume1" is invalid: metadata.annotations: Required value: Local volume requires node affinity
Can you please addvice me what to do?

@pmc-sstaehle  Please try the following steps. It works for me.

Edit the node to add a label such as node=my-node.

Create a local node disk pv and add node affinity in Customize section.

Thank you @loganhz,
it's working for me now!

@loganhz I tried like you posted but no luck. Do I need to restart the node or something after setting annotation parameters?
I'm having the same issue which @pmc-sstaehle has. Using V2.08
However still the problem exists. Any suggestions?

@razcakappa No, I don't need to restart the node.
Did you set the label to your node?
Can you provide the screenshot of pod list section in workload detail page, please?
And the screenshot of events section in the pod detail page.


Remove Result dependency

Resolves #145

We should cut a release before merging this I think.

Can anyone provide guidance on how best to resolve the Xcode 10.1 / Swift 4.2.1 failure? This is happening because the SWIFT_VERSION of 5.0 specified in the Xcode project file is unsupported in Xcode 10.1. Changing it back to 4.2 would resolve this issue, but I don't know if that makes much sense. The ideal scenario would be for Xcode to dynamically select the correct SWIFT_VERSION based on the latest available/supported Swift toolchain.

As I said above, by cutting a new release which supports Swift 4.2 before merging this, I think we don't need to keep Swift 4.2 compatibility in this PR.

An Ideal idea, all xcodeproj should be generated by its Package.swift. But don't be.
One of solutions, Separate build configuration on Xcode by each Swift versions.
Or you can drop Swift 4.2 support in next version.

Thanks for the feedback @ikesyo & @giginet. If dropping Swift 4.2 support is the preferred approach, I will be happy to update this PR to do so.

swift_version on podspec should be 5.0
https://github.com/Carthage/Commandant/blob/master/Commandant.podspec#L31
And all Swift 4.2 should be removed from .travis.yml

You should also change .swift-version
https://github.com/Carthage/Commandant/blob/f40a9702d519c283d4fae73abdbb03a90d7cbddd/.swift-version

I noticed more issues.
Please remove dependency from podspec.
https://github.com/Carthage/Commandant/blob/a3c945494ba307a2df7695524ef988c5283f5a99/Commandant.podspec#L28
And you can remote Cartfile completely, because there are no public dependencies.

Please remove dependency from podspec.

Sorry, already removed.

If project contains only Cartfile.private, it would work.
https://github.com/Carthage/Carthage/blob/master/Source/CarthageKit/Project.swift#L138-L139
So please remove empty Cartfile?
I'll approve this after removing.

We should cut a release before merging this I think.

Agreed, projects like SourceKitten/SwiftLint aim to support Swift 4.1 through 5.0 (see https://github.com/jpsim/SourceKitten/pull/581), so we should have at least one release where those versions are supported. I opened #148 to release 0.16.0 before this is merged.

0.16.0 is already released. So I'll merge this 🎉

Looks like Cartfile.resolved was not updated.


rp2040: BOOTSEL button support

This module adds support for polling the BOOTSEL button found on the Pi Pico and most other rp2040 boards.
It's theoretically possible to create a fully safe interface, but it would be quite invasive (it needs to consume and wrap all DMA channels, CORE1 and FLASH). I don't think it's worth the effort.

Or am I confused about where the safety boundary is?
I guess it's not possible to start code on CORE1 or any DMA transfer at all without an unsafe block. I notice that embassy-rp::flash's in_ram function already assumes that stopping core1 and waiting for outstanding DMA transfers is enough to ensure safety.

Thanks for the PR! Some feedback:

Flash code has a helper called in_ram that does all the "prepare both cores so we can stop XIP" preparations. Reading bootsel should call that instead of reimplementing it.
Even if you make the function #[link_section = ".data.ram_func"], it's possible the functions you call (for example cortex_m::asm::delay) are in flash. Even if you write it so it doesn't call any function, the compiler can insert function calls for you (for example to memcpy, or the _aeabi_* intrinsics, or to Rust stuff like drop etc). From fighting these issues in the flash code, the conclusion was that the only way to avoid it is to write it in ASM. For the same reasons, this one should be written in ASM too.

Unfortunately everything that has to do with rp2040 XIP is extremely tricky... :smiling_face_with_tear:

I notice that embassy-rp::flash's in_ram function already assumes that stopping core1 and waiting for outstanding DMA transfers is enough to ensure safety.

Yes, with these checks, reading bootsel doesn't need to be unsafe.

Hmm... I missed that cortex_m::asm::delay is only marked #[inline] instead of #[inline(always)].
And I didn't think about the fact that the compiler might insert extra function calls. That's pretty infuriating.

the conclusion was that the only way to avoid it is to write it in ASM.

Surely there is a better way. Could we put all ram functions into one or more static libraries and then use the linker to put the entire static library in ram? Then any leaf functions of these ram_funcs will be safely duplicated into RAM.

Unfortunately everything that has to do with rp2040 XIP is extremely tricky... 🥲

I've been thinking about this and have a proposal.
If it was just bootsel I wouldn't worry. Just warn people away from using it. But this problem affects flash too.
The problem stems from the fact that XIP is a peripheral too. A peripheral that conflicts with FLASH and is implicitly used from boot to enable reading code/data from flash.
So we should probably be representing it as an actual peripheral. When the run-from-ram feature is enabled, it will be in the main peripheral struct with everything else, and any code that wishes to use XIP or FLASH can do so with zero runtime overhead.
Otherwise, embassy-rp will  take ownership of XIP at boot, and expose a RefCell like API  to temporally borrow XIP. Immutable borrows can be used to soundly implement DMAs via the XIP address range or XIP's streaming interface. Accessing flash or bootsel directly will require XIP to be borrowed mutably, probably with a critical-section style API that pauses core1, disables interrupts and throws an error if there are outstanding immutable borrows.
This has the added benefit that in_ram no longer needs to check for outstanding DMAs.
Then we can refactor embassy-rp::flash. We should create a read-only version of flash that only does streaming reads via XIP. That way, an XipCriticalSection is only needed for writing to flash, or checking bootsel.

Could we put all ram functions into one or more static libraries and then use the linker to put the entire static library in ram? Then any leaf functions of these ram_funcs will be safely duplicated into RAM.

that could work, but I think it'd be a bit fiddly to get right.

you'd have to call rustc from build.rs to build this staticlib separately
i'm not sure if linking the staticlib into the final binary will work. You'll run into duplicate symbol errors, or you'll have to fiddle with link order to get the ram symbols to take precedence over the others.
alternatively compile to a binary, convert it to bytes and include them in the final binary as data. This requires knowing the final addres though...

would be cool to try, I agree writing ASM by hand sucks.

So we should probably be representing it as an actual peripheral.

I don't think this'll be very ergonomic for big real-world projects. You'd have to write code to coordinate between the task that wants to write to flash and all tasks that might be using DMA. The flash task would have to ask them to stop and notify back when stopped, then proceed to flash. If you do something wrong in this process, you get a runtime panic from the RefCell.

I don't think this'll be very ergonomic for big real-world projects.

I was thinking embassy-rp would provide an optional "dma-manager" that handled the complexity of tracking in-progress DMAs from flash. The static typing would allow the programmer zero-cost access to either DMAs from XIP or direct flash access without the "dma-manager", it would only be needed if the programmer wanted both.
Static typing can probably avoid the potential for panics too.
However... With further reflection, I'm really not sure if the concept of DMAing from XIP can ever be useful enough to expose via safe APIs. The timings are unpredictable depending on a cache hit, and usually slower than other methods. I can't really think of a use case where a programmer wouldn't be better off using streaming background transfers or disabling XIP and using proper QSPI.
Maybe we should just proactively declare that DMAs from XIP memory will never be sound. That would have the added benefit of removing the need to check for any active XIP DMAs in flash::in_ram

Anyway, I've rewritten the bootsel implementation based on feedback.
It reuses the in_ram helper from flash and I've rewritten the ram function with inline assembly.

LGTM, thank you! :)
could you add a test here that calls the function and asserts it returns false? No way to check it returns true when pressed, but at least it'll check it doesn't crash.


release 0.11.3

Once #1699 is merged

#1699 was merged by @jemc.
Once aeda61649c99295220428704aa9223d1b555baf8 passes CI, I'm going to bless it, do another release and hopefully put the "illegal instruction" issue to bed once and for all.

once and for all.

Don't say that - now you've jinxed it!

Crap. You're right.

aeda61649c99295220428704aa9223d1b555baf8 is blessed

release.sh has done its thing

@stefantalpalaru  another release underway

homebrew PR opened
https://github.com/Homebrew/homebrew-core/pull/11178

Windows release is in bintray

This issue does not affect the Gentoo package.

Deb and RPM packages are in bintray.

homebrew updated.

announced


Encoding issue on radio's page

Hello,
There is a small encoding issue on Radio's page on the title, I don't know if you have the ability to fix it.

Thanks for your work !
Quentin

Same issue on the bottom of the page

I'll see about the notification encoding issue, this probably just needs to be manually changed to UTF-8. Do you have the Spotify track URI/URL so that I can repeat this test?
Also, I don't edit anything on the bottom of the page so the radio genres might be a Spotify issue itself. If you see the issue on both Spotify Web Player for Linux and the live Spotify Web Player in another browser, it may just be a Spotify issue.

Looks like it may be similar to this Spotify issue: "incorrect encoding is used in related music titles"
I can try looking at re-encoding the page as Spotify has not fixed this since the issue was released in July.

Yes, I confirm it is an issue on their side. I don't know if you will be able to re-encode the page as it is happening only on certain sub parts of the pages.

I'm going to close this as it's Spotify's problem.
If this is really important for you to get fixed, I would contact Spotify using their community forum in the web player section. I would tell them the encoding issue and what pages it occurs on and hope that they can fix it so that it is fixed for everyone and all pages affected.
I would fix this but as it's only a few pages and it's their encoding, I would rather they fixed it so that it's fixed globally rather than just an application, as it could become an unnecessary performance issue when having to re-encode/decode pages.


About FP16 and TTA

Thank you for your contributation ,I have two questions,  I want to know how can I use TTA and FP16 in my project?

I’m closing this issue because it has been inactive for a few months.
Please reopen if you still encounter this issue with the latest stable version. You can also contribute directly by creating a PR
Thank you!


curl -v -X POST https://api-m.sandbox.paypal.com/v2/payments/authorizations/0VF52814937998046/capture \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer A21AAFs9YK9gWL6Vl6AqeoPtm-nf6JmtPOwAc8kfzHVdeigPEhrOJLCvbeIt3fJ4NKvyZo_iWic7sC3RIQrVUdu7igagcuMVQ' \ -H 'PayPal-Request-Id: 123e4567-e89b-12d3-a456-426655440010' \ -d '{   "amount": {     "value": "10.99",     "currency_code": "USD"   },   "invoice_id": "INVOICE-123",   "final_capture": true,   "note_to_payer": "If the ordered color is not available, we will substitute with a different color free of charge.",   "soft_descriptor": "Bob's Custom Sweaters" }'

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

/spam


Improve description of interrupt traps

Supersedes #590
This version is much more relaxed but nevertheless covers the important bases of SRET and explicit toggling of xip/xie.

Greg and I discussed the matter this evening.  Our collective unease about the vagueness of this sort of specification is offset by our inability to find compelling contrary use cases, and also by the fact that some other prominent architectures do even more relaxed things than we are proposing.
I'm merging this for the sake of forward progress.  Further argument to follow, no doubt.


:sparkles: Protect APIBindings created during workspace initialization

Summary
The APIBindings created during workspace initialization should not be updated or deleted by users as no controller reconciles those. Once they are updated or deleted, no lifecycle happens for those APIBindings.
This creates inconsistencies in the system as there is no guarantee that APIBindings listed in WorkspaceType.spec.defaultAPIBindings would be honored across the lifecycle of the workspace.
Release Notes
✨ Protect APIBindings created during Workspace Initialization

I feel like this is missing something, or is there magic around internal.kcp.io/* annotations that I am not aware of?


fix: enable security context in pods

GITOPS-2034

chore: enable pod security admission

Signed-off-by: John Pitman<EMAIL_ADDRESS>
make changes for HA mode

Signed-off-by: John Pitman<EMAIL_ADDRESS>
update export pod

Signed-off-by: John Pitman<EMAIL_ADDRESS>
update notifications deployment

Signed-off-by: John Pitman<EMAIL_ADDRESS>
remove unused function

Signed-off-by: John Pitman<EMAIL_ADDRESS>
fix version test

Signed-off-by: John Pitman<EMAIL_ADDRESS>
only add seccompprofile runtimedefault for openshift 4.11

Signed-off-by: John Pitman<EMAIL_ADDRESS>
update rbac

Signed-off-by: John Pitman<EMAIL_ADDRESS>
add runAsUser for grafana and redis

Signed-off-by: John Pitman<EMAIL_ADDRESS>
update erroneous comment

Signed-off-by: John Pitman<EMAIL_ADDRESS>
delete invalid code

Signed-off-by: John Pitman<EMAIL_ADDRESS>
fix linter errors

Signed-off-by: John Pitman<EMAIL_ADDRESS>
fix another linter error

Signed-off-by: John Pitman<EMAIL_ADDRESS>
add missing seccomprofile for app set

Signed-off-by: John Pitman<EMAIL_ADDRESS>What type of PR is this?

Uncomment only one  /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/kind chore
/kind cleanup
/kind failing-test
/kind enhancement
/kind documentation
/kind code-refactoring

What does this PR do / why we need it:
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[ ] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #?
How to test changes / Special notes to the reviewer:

closing in favour of https://github.com/argoproj-labs/argocd-operator/pull/719


Objective-C generics

This is an attempt to add support for Objective-C generics. Fixes #103.
Note: That's the first time I wrote Scala so this might not be perfect.

This should probably wait until Xcode 7 is out of Beta otherwise people still on 6 won't be able to use the generated code.


Re-write readme to include details on arch etc

Fixes: #156 #157

/retest

/cc @c3d for the reviewing the wording :-)


Unify channel index type in nth_channel_view and image_view::num_channels

Actual behavior

image_view::num_channels() returns size_t
nth_channel_view(View, int n) expects int for index

Apart from signed and unsigned mix-up causing the annoying compilation warnings,
if no rationale of the mix is provided, it's a sloppy design of the interface.
Expected  behavior

Use of common type for indexing of image_view channels.
C++ Minimal Working Example

#include <boost/gil.hpp>
namespace gil = boost::gil;
int main
{
    gil::rgb8_image_t img;
    auto v = gil::view(img);
    for (std::size_t i = 0; i < v.num_channels(); i++)
        auto _ = nth_channel_view(v, i);
}

A rationale could be that int is used almost everywhere to identify the channel. I think it helps writing compile-time recursion for per-channel operation but if it' not the case we might want to extend "unification" to color base.

It has been a bit of a mess.
If we think of the image in terms of 3D: X, Y and Z, then currently we define X and Y as ptrdiff_t and the X as int or size_t.
I'm recalling https://github.com/boostorg/gil/pull/305 where some of us, @stefanseefeld, were preferring size_t to express the image-in-memory dimensions. I've been cultivating a more conservative approach to stick to ptrdiff_t as it is what the original authors of GIL (folks at Adobe) decided to use. Looks like it may be a good to review the current practice and decide on the ptrdiff_t vs size_t once for all :)
My suggestion is to

use ptrdiff_t for sizes of abstract, virtual and physical sizes of image/band dimensions
use size_t for sizes in memory
if image dimension is used as size in memory, then static_cast<size_t> it, and vice versa.

Please, have your say @sdebionne @striezel @stefanseefeld @lpranam  @chhenning @simmplecoder ...

A rationale could be that int is used almost everywhere to identify the channel.

Everywhere - except where it is not used. While nth_channel_view still uses int (unless #659 is approved, which would change that to std::size_t), many places that are using nth_channel_view are using std::size_t as channel index already. For example:

image_processing/convolve.hpp
image_processing/histogram_matching.hpp
image_processing/morphology.hpp
image_processing/threshold.hpp

Seems to me like most of the image processing stuff agreed that channels should be a std::size_t.

It has been a bit of a mess.

Yeah, seems like it, but we can fix that - one PR at a time.

I'm recalling #305 where some of us, @stefanseefeld, were preferring size_t to express the image-in-memory dimensions. I've been cultivating a more conservative approach to stick to ptrdiff_t as it is what the original authors of GIL (folks at Adobe) decided to use. Looks like it may be a good to review the current practice and decide on the ptrdiff_t vs size_t once for all :)

Basically I am with Stefan Seefeld on this one. std::ptrdiff_t allows for negative values, but there is no negative channel index. That's why I think std::size_t (or any unsigned type, for that matter) is the better choice here, because it conveys the notion that channel indices start at zero and cannot be negative. As a side effect, any compiler warning about signed / unsigned mixup with regards to channels would then be an indication for potential trouble. After all, passing a possibly negative int or std::ptrdiff_t as channel index is most likely not what people want to do anyway.

I was not really expecting that people do arithmetic operations on the number of channels, but if that is a concern, then some signed type may indeed be better. In that case it should probably be ptrdiff_t instead, as was suggested earlier (https://github.com/boostorg/gil/issues/373#issuecomment-1118842042). I just do not fancy the name ptrdiff_t for a type that is used to represent the number of channels. The name ptrdiff_t may invoke the idea that this is dealing with pointers, which it is not. So maybe there should be a name like boost::gil::channel_index_t or boost::gil::index_t that then is aliased to ptrdiff_t.

@striezel

maybe there should be a name like boost::gil::channel_index_t or boost::gil::index_t that then is aliased to ptrdiff_t

I don't like the ptrdiff_t name particularly.
I don't say the name is clear across all contexts in GIL.
I don't feel comfortable with s/ptrdiff_t/size_t/g across GIL as such seemingly trivial change may turn not as benign as it seems.
I assume Lubomir Bourdev and Hailin Jin had reasons to choose ptrdiff_t which, unfortunately, remain undocumented.
I do like the idea of readable and self-descriptive names, so I like the idea of aliasing ptrdiff_t as boost::gil::index_t and use it in all indexing situations in GIL (channel, pixel, x, y, etc.), and fix any existing mismatch to match index_t.
Worth it to you too @sdebionne ?


No actionscript compilation option displayed

On my main development machine I cannot see the option to "compile with actionscript" (the following image is from another machine).

I have uninstalled the two extensions, reinstalled them and it has not solved the problem.
I have not seen any comments about it, any ideas?
Thx.

Do you have an asconfig.json file in the root of your workspace?

Hi Josh, yes
This behavior occurs in all my projects, I think it is because of the machine, maybe because of the java or because of the vsCode installation...
This is an example of asconfig.json:
{     "config": "royale",     "compilerOptions": {         "debug": true,         "targets": ["JSRoyale"],         "html-template": "src/main/resources/jewel-app-index-template.html",         "theme": "${royalelib}/themes/JewelTheme/src/main/resources/defaults.css",         "source-path": [             "src/main/resources",             "../../royalelibs/royalecomponents/src/main/royale/", 			"../../royalelibs/royalemobiscroll/src/main/royale/", 			"../../royalelibs/royale-js-year-calendar/src/main/royale/", 			"../../royalelibs/royalefullcalendar/src/main/royale/", 			"../../royalelibs/royale-jscalendar/src/main/royale/", 			"../../royalelibs/royale-virtual-select/src/main/royale/", 			"../../royalelibs/royale-inspire-tree/src/main/royale/"         ],         "namespace": [             {                 "uri": "library://ns.apache.org/royale/community",                 "manifest": "../../royalelibs/royalecomponents/src/main/resources/components-manifest.xml"             }, 			{                 "uri": "library://ns.apache.org/royale/community",                 "manifest": "../../royalelibs/royalemobiscroll/src/main/resources/mobiscroll-manifest.xml"             },             {                "uri": "library://ns.apache.org/royale/community",                "manifest": "../../royalelibs/royale-js-year-calendar/src/main/resources/year-calendar-manifest.xml"             },             {                 "uri": "library://ns.apache.org/royale/community",                 "manifest": "../../royalelibs/royalefullcalendar/src/main/resources/fullcalendar-manifest.xml"             },             {                 "uri": "library://ns.apache.org/royale/community",                 "manifest": "../../royalelibs/royale-jscalendar/src/main/resources/jscalendar-manifest.xml"             },             {                 "uri": "library://ns.apache.org/royale/community",                 "manifest": "../../royalelibs/royale-virtual-select/src/main/resources/virtual-select-manifest.xml"             },             {                 "uri": "library://ns.apache.org/royale/community",                 "manifest": "../../royalelibs/royale-inspire-tree/src/main/resources/inspire-tree-manifest.xml"             }         ],         "library-path": [             "${royalelib}/libs/MXRoyaleBase.swc"         ],         "js-library-path": [             "${royalelib}/js/libs/MXRoyaleBaseJS.swc"         ],         "keep-as3-metadata": [             "Inject", "Dispatcher", "EventHandler", "PostConstruct", "PreDestroy", "ViewAdded", "ViewRemoved", "Bindable", "Transient"         ],         "js-default-initializers": true,         "define": [             {                 "name": "BUILD::buildNumber",                 "value": "'buildNumber'"             },             {                 "name": "BUILD::buildVersion",                 "value": "'project.version'"             }         ],         "source-map": true     },     "copySourcePathAssets": true,     "additionalOptions": [         "-js-dynamic-access-unknown-members=true",         "-show-binding-warnings=false"     ],     "files":     [         "src/main/royale/App.mxml"     ] }

Did you set the as3mxml.sdk.framework setting to the path of the Royale SDK that you are using?

Do you get any notifications on the bottom right of your VSCode window when you open your workspace folder? If they've been hidden, you can click the bell icon. You should get errors about Royale or Java if you are using versions that are not supported.

Warnings:
mar 19, 2022 12:38:34 AM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation ADVERTENCIA: Unmatched cancel notification for request id 98 mar 19, 2022 2:34:37 AM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation ADVERTENCIA: Unmatched cancel notification for request id 403 mar 19, 2022 4:07:00 AM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation ADVERTENCIA: Unmatched cancel notification for request id 1676 mar 19, 2022 4:07:00 AM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation ADVERTENCIA: Unmatched cancel notification for request id 1677 mar 19, 2022 4:37:11 AM org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify INFORMACIÓN: Unsupported notification method: $/setTrace mar 19, 2022 4:37:11 AM org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint notify INFORMACIÓN: Unsupported notification method: $/setTrace mar 20, 2022 1:48:52 AM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation ADVERTENCIA: Unmatched cancel notification for request id 2560 mar 21, 2022 1:18:40 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation ADVERTENCIA: Unmatched cancel notification for request id 2665 mar 21, 2022 1:18:40 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation ADVERTENCIA: Unmatched cancel notification for request id 2666 mar 21, 2022 2:06:22 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation ADVERTENCIA: Unmatched cancel notification for request id 2835

That looks like content from the Output view. I don't see any issues there. Those messages are normal.
If you open up VSCode's command palette (Ctrl+Shift+P), you can run the "Notifications: Show Notifications" command to display the current notifications (they will appear on the bottom right).

No, no tengo ninguna notificación de error.
La única advertencia que tengo en las dos máquinas cuando adjunto la carpeta "/projects del SDK" es:

"The following folders in the work area will be skipped because they use task version 0.1.0: projects"
(Someday I'll change it in the SDK)

The following folders in the work area will be skipped because they use task version 0.1.0

I think that this is the issue. I can reproduce this issue if I add royale-asjs/frameworks/projects as a root folder to a multi-root workspace. I get that message, and there are no actionscript tasks available. However, if I open the same folder as a single-root workspace, I see the tasks.
I think that you need to upgrade these tasks.json files to version 2.0.0. It looks like Microsoft is trying to stop supporting version 0.1.0, and this is one place where they're already requiring version 2.0.0.

Perhaps there is something missing from your Royale SDK that vscode-as3mxml is looking for. The following files are required in the root of a Royale SDK to display tasks:

A file named royale-sdk-description.xml
A frameworks directory
A _bin_directory

Do the following paths exist?

d:\Develop_Royale\Projects\Royale-SDK\royale-asjs\royale-sdk-description.xml
d:\Develop_Royale\Projects\Royale-SDK\royale-asjs\frameworks
d:\Develop_Royale\Projects\Royale-SDK\royale-asjs\bin

Does code intelligence work in the text editor when you open .as and .mxml files? For instance, you see a pop-up when you hover your mouse over a symbol? Do you get completion when you type . or press Ctrl+Space?
In other words, does everything else work properly, and it's only tasks that are missing? Or is everything not working?

yes, Yes, everything works

Unfortunately, I don't have any more suggestions at this time.

Don't worry, I'm sure "at some point" some new clue will give us the answer.
I greatly appreciate it Josh.


Equation (3) in the paper

I think there's a minor error in the equation (3) of the paper. Should the summation in softmax be from 1 to R?

I think there's a minor error in the equation (3) of the paper. Should the summation in softmax be from 1 to R?

Thanks for the feedback!
Agree. It should be 1 to R instead of 0 to R. A programer's habit.


View jumps while scrolling up

Sometimes when scrolling up, the view jumps. The behavior can be seen in any of the demos. Here's a screenshot video of it happening:
https://youtu.be/Sp7tjqWPc6I
Watch for when items 61 (and later, 96) come into view, and follow them with your eye. You'll see that they jump down quite a bit as scrolling continues. The mouse moves in circles to emphasize that the view has jumped.

I've traced through the code and I can see what's happening, though I'm not sure yet why or what the best fix is. To summarize, stale values for scrollTop in events that arrive after scrollTop has been adjusted in onAfterPrepend() cause the scroller to perform some extra prepends. After one to three extra data fetches, the scrollTop gets set to the value it should have had in the first place, but given the extra items that have been prepended, it's not nearly enough and the view is moved down.

Scroll event triggers prepend. Scroll top is at 500, say.
onAfterPrepend sets scrollTop to 900 to account for 400px worth of prepended items.
Another scroll event arrives.
Scroll top is 500 though it was just reset (!), making it appear that more items need to be prepended.
Steps 2-4 repeat one to three times.
At some point, scroll top reflects the value that was set (though it accounts for just one chunk of prepended items) and fetching stops.

My hazy guess at this point is that a few scroll events were in the event queue when scrollTop was reset, and that they reflect the state of the view before that happened, even though they arrive afterward.

I've seen the jumping in the Mac versions of Chrome and Safari, but not Firefox. I haven't tried Edge or IE. I have a local fix which detects the failed setting of scrollTop and prevents additional prepending. Possible PR in a few days.

@conraddamon Thanks for the issue, I can't reproduce it on Win 10 Chrome, but it definitely happens on Mac Chrome. Currently I give all my free time to ngx-ui-scroll, so PR would be great!

Hey at @conraddamon did you get a chance to look at a PR for this? Keen to see your fix if you don't mind sharing?
Thanks

https://github.com/angular-ui/ui-scroll/pull/206

Let me know if there's anything I can look at. I'm not sure which use cases are broken. We're using the scroller with the fix for our product (a log analysis platform that does a lot of upward scrolling), and it has helped a lot.

@conraddamon Hi Conrad! We are in a tough position. On the one hand your fix does really help. But from the other... it does not cover 100% of cases, and I'm able to reproduce the issue when the Datasource.get delay is big enough. I spent a lot of time digging into this problem during my work with ngx-ui-scroll last days. The problem stems from inertial scroll implementation. And it is not the Mac only problem, it is relevant to many (not all) touch devices. In two words, inertial scroll ignores (sometimes) external scroll position updates. For example, let's imagine scrollTop change log:
// user inertial scroll process starts
400 - natural
398 - natural
396 - natural
394 - natural
// fetching/rendering rows and synthetic scroll position correction (+200)
594 - synthetic
392 - natural (synthetic was ignored)
390 - natural

In most cases the next position after synthetic change does meet the expectations (594 minus some delta, but not 594 minus 200 minus delta). But it is really possible that the inertial scroll process usurps the scrollTop node attribute and does not allow it to be changed programmatically. Such an usurpation is unpredictable and impermanent. The following log is also possible:
400 - natural
398 - natural
396 - natural
394 - natural
594 - synthetic
392 - natural (synthetic was ignored)
594 - synthetic (new smart correction)
390 - natural (new synthetic was ignored)
594 - synthetic (new smart correction again)
388 - natural (new synthetic was ignored)
594 - synthetic (new smart correction again)
592 - natural (win!)

Unfortunately, the correction procedure I imagine should be repeatable and depend on time parameter, and to overcome all possible inertial scroll stories this parameter should be pretty big (even 125ms does not fix 100%, while it already gives unacceptable side effects).
I'm going to continue my investigation and if you have any thoughts I would be glad to hear them. Meanwhile, do you want to see current results as, say, angular-ui-scroll v1.8.0-rc or we can postpone new release?

Hi Denis! Sorry for the delayed response, I was on vacation last week. I'd say go with whatever you feel is best as far as releases are concerned. The log management startup I work for (Scalyr) uses a customized version of ui-scroll, so we have the Mac scrolling fix as well as a few adapter extensions I added. We're a bit of an unusual use case in that we place the user at the bottom so most scrolling is upward. I added adapter methods to scroll to the bottom, center an item, and to call a method when the buffer is full and loading has stopped. Fortunately, our data fetches are fast so I never saw a lot of repeated failures in setting scrollTop.
I arrived at my fix by doing the same logging you've done. There's nothing particularly clever about the fix; it just checks to see if the synthetic setting of scrollTop worked and retries if it didn't. Since the root problem is in the browser, it's hard to think of anything but a reactive approach. I don't think there's anything in the scroll event object to indicate that it arrived via inertial scroll; I have a vague memory of thinking we could ignore inertial scroll events after setting scrollTop, until a non-inertial event arrives.
What is the nature of your time parameter? Is it a debounce period so we think inertial scroll events have stopped streaming in? Or is it a delay in setting scrollTop?

angular-ui-scroll v1.8.0 is available at npm, it fixes this issue, full details can be found in the description of PR #238


feat: newsletter subscription

PR Type
[x] Feature
Precondition:
In the channel preferences of the ICM back office an e-mail marketing provider is configured.
What Is the New Behavior?
The registered user can subscribe and unsubscribe from the newsletter service at the registration page and can change this subscription in the account profile settings.
This functionality is not available for unregistered storefront visitors.
Does this PR Introduce a Breaking Change?
[x] No
Other Information
Review and testing information:
In the b2c channel the newsletter subscription feature is currently switched off, in the b2b channel the feature is switched on
AB#90374

FR localization will follow


Figure out why TMS layers generated with gdal2tiles geodetic profile do not work

When creating layers with gdal2tiles, using the geodetic profile seems to generate tilesets that are unusable in Cesium. Geodetic is actually the preferred profile because it avoids reprojection (thus providing better performance).
This could be a bug in gdal2tiles or it could be a bug in Cesium, either way we should figure it out to be sure.
Originally discussed as part of #3489

Looks like this is still a bug. Maybe the TileSet statements in the tilemapresource.xml file are being ignored? The tiles that gdal2tiles cranks out are in the wrong zoom level
In Source/Assets/Textures/NaturalEarthII/1 (part of cesium) its got four subdirectories 0,1,2,3
In the tiles I created from nasa blue marble the 1 zoom level only has two subdirectories.
I then tried tinkering with the units-per-pixel values in  tilemapresource.xml to see if I could convince Cesium to treat the layers differently No go
I moved all the zoom levels up a level and that seems to have fixed things.

I don't understand this tile map stuff enough to say for sure where the problem is, but tweaking gdal2tiles.py to treat its zoom levels differently might be easier.

According to this specification the issue is with gdal2tiles, as on the specification they state that

This scaling allows an initial zoom level that consists of 2 256x256 pixel tiles covering the whole earth, with an <Origin> of (-180,-90). Other combinations of tile size and <Origin> are also possible at this scale.

I only got one tile when I asked gdal2tiles for level 0, posting it below

As a code based work around, this WorksForMe(tm), just need to specify minimumLevel: 1 or higher when declaring the ImageryProvider
var gdalscheme = new Cesium.GeographicTilingScheme({ numberOfLevelZeroTilesX: 1, numberOfLevelZeroTilesY: 1 });
// numberOfLevelZeroTilesY as 0.5 doesn't work, overriding a function to make it so
gdalscheme.getNumberOfYTilesAtLevel = function(level) { return 1 << (level-1); }

Just to confirm that this is indeed a quirk of gdal2tiles.py's geodetic profile. I spent ages trying to get the tiles to display correctly in OpenLayers 3. Instead of shifting the zoom levels I ended up manually specifying a TileGrid with the [-180, -90] origin to get it to parse the existing tiles correctly. Either way, you can probably close this ticket, as it's clearly a gdal2tiles bug!

Thanks @kevinstadler, I agree that there's probably not a good way to work around this automatically on the Cesium side and I've used other geographic tiles in Cesium without issue since writing this up.

I know I'm a little late, but if anyone else sees this, but I found a  --tmscompatible option in gdal2tiles, I'm not sure where to put mentions to it, I only found it after reading the code.
  -d, --tmscompatible   When using the geodetic profile, specifies the base
                        resolution as 0.703125 or 2 tiles at zoom level 0.

Thanks for the follow-up @Docteh, I think this issue is the perfect place for your note.


feat(maxscale): make topologySpreadConstraints configurable

We have the problem that one of the control-plane nodes was scheduled in a different zone. Therefor two zones were found, but pods can only be scheduled in one zone.
So we have to change the maxSkew to allow for all pods to be scheduled.

Yes, of course.
Bumped the version up :+1:


Remove support for old package layout conventions from pub

After a suitable migration time so that users can move to the new package layout (where symlinks are created to lib/ and not the root directory) we can remove support for the old package layout (symlinking to the root directory).

This issue has been moved to dart-lang/pub#91.


ng generate (whatever) in specific module

Hey friends, when we use ng generate component name the angular cli add this component in main module AKA app.module.ts but we know that it's good to create an Angular module for all distinct features in an application but generate command ever add in main module, is possible specific which module we want to add?

@GustavoCostaW there is not a way to specify a module. however the cli will add the import and declaration to the first module it runs into up the tree.

@deebloo okay, nice, but you know the better way for example: when our module have a new service and we can add in specific module
ng g s spefic-module/service
but this service isn't add in this module automatically, Am I doing something wrong?

@GustavoCostaW services aren't added automatically. I believe even the message says that it hasn't been added to the providers array. I am not 100 percent sure why that is though but it seems to be on purpose.

@deebloo all right box thank you for help.


Will you be adding stop and pause?

Also for an app I will be needing to be able to fade in one file while the other fades out.

Pause and stop are both supported now.


WIP: Rework documentation parser

Related to https://github.com/fsharp/FsAutoComplete/pull/446
I am creating this PR because I am starting the integration with the new FSAC version. For now, it's using the new parser for the tooltip and info panel.
People can try to build it locally and see if the parser is working as expected.

This PR also change the "F#: Generate generation" output format:
Before
/// **Description**
///
/// **Parameters**
///   * `url` - parameter of type `'a`
///   * `data` - parameter of type `'b`
///   * `decoder` - parameter of type `'c`
///   * `properties` - parameter of type `'d`
///
/// **Output Type**
///   * `string`
///
/// **Exceptions**
///
let test2 url data decoder properties = ""

After
/// <summary>
///
/// </summary>
/// <param name="url"></param>
/// <param name="data"></param>
/// <param name="decoder"></param>
/// <param name="properties"></param>
/// <returns></returns>
let test2 url data decoder properties = ""

There is a bit of information loss, but it's because of the feature supported by doc comment tags.


Error applying branch protection

Terraform Version
0.9.8
Affected Resource(s)
github_branch_protection
Terraform Configuration Files
# Here is where the main parts of the module go, including resource definitions
resource "github_repository" "repo" {
  name = "${var.name}"
  description = "${var.description}"
  private = "${var.private}"
  has_issues = false
  has_wiki = false
  has_downloads = false
  auto_init = true
}
resource "github_branch_protection" "repo_master" {
  repository = "${github_repository.repo.name}"
  branch = "master"
  required_status_checks {
    include_admins = "${var.restrict_admins}"
    strict = true
  }
  required_pull_request_reviews {
    include_admins = "${var.restrict_admins}"
  }
}

resource "github_team_repository" "members" {
  count = "${length(var.members)}"
  team_id = "${element(var.members, count.index)}"
  role = "push"
}

resource "github_team_repository" "admins" {
  count = "${length(var.admins)}"
  team_id = "${element(var.admins, count.index)}"
  role = "admin"
}

Debug Output
https://gist.github.com/DWSR/c9a1a1c6eb4132b9d667764f01944fef#file-terraform-log
Panic Output
N/A
Expected Behavior
Terraform should apply a branch protection to the master branch
Actual Behavior
https://gist.github.com/DWSR/c9a1a1c6eb4132b9d667764f01944fef#file-error-txt
Steps to Reproduce
terraform apply
References
The request body doesn't seem to line up with the required contents, per https://developer.github.com/v3/repos/branches/#update-branch-protection

Hey @DWSR, thanks for the issue!
This was just fixed in #26, and should be available in the next release of the GitHub provider if you're using 0.10 already. If you wish to stick with 0.9.x, you'll need to compile the provider and place the resulting binary in the same location of your Terraform binary, or specify a location in your global terraformrc file.
Thanks!


Reading sub-chart configmap yaml to rolling the deployment of parent chart pod

Output of helm version: Version:"v3.10.1"
Output of kubectl version:Client Version: v1.27.4
Kustomize Version: v5.0.1
Server Version: v1.27.11-gke.1062000
Cloud Provider/Platform (AKS, GKE, Minikube etc.): GKE
We have a sub-chart that is included as a dependency in the parent chart.
We want to roll out the deployment of a pod within the parent chart whenever there's any modification in either the parent chart's config map or the sub-chart's config map. For parent chart config map alterations, we've implemented a process that involves reading the configmap YAML file and computing its checksum, as outlined in the Helm documentation.
Could you please assist me how we can achieve the same for reading a sub-chart's config map YAML file and calculating its checksum?
Parent Chart.yaml
apiVersion: v2
appVersion: 1.0.0
dependencies:

name: sub-chart
version: 1.0.0
repository: alias:alias-repo
description: A Helm chart for Kubernetes
name: parent-chart
type: application
version: 1.0.0

Parent Template to calculate checksum
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Values.pod1.deploymentName }}
spec:
replicas: {{ int .Values.pod1.replicaCount }}
selector:
matchLabels:
name: {{ .Values.pod1.appName }}
template:
metadata:
annotations:
checksum/config: {{ include (print $.Template.BasePath "/parent-chart-configmap.yaml") . | sha256sum  }}
Sub-chart has a configmap with some of the properties.

likely the lookup function would work here (but I would use this function with caution, it can makes your chart behavior awkwardly non-deterministic; calculating a hash of a config map seems reasonable through)


[mgmt] netapp release

https://github.com/Azure/sdk-release-request/issues/5611

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/arm-netapp


Start implementing remaining functionality for LikePattern

According to the comments:

* Matches any single character
? Matches any string of zero or more characters.
[ ] Matches any single character within the specified range (e.g., using range syntax [a-f] or specifying the set [abcdef].
[^...] Any single character not within the specified set (specified like previous, e.g., [^a-f] or set [^abcdef].

There's quite a lot of ambiguity here.
First, (1) and (2) presumably overlap: * $\subset$ ?.
Second, it is not clear when ? terminates. Presumably a pattern ? matches any possible value. a? matches any possible value where value[0] == a where value.Length > 0. The problems arise in cases where a pattern is like a?c. Does the ? match the whole value abcabc? I.e., is ? greedy, or does it terminate on the first possible matching sequence (and therefore match only the first abc?
Third, how are brackets handled. Consider the case a[[]]. Does this match a[[]], a[] or a? I think regex would go with the second (and that is what I have implemented here so far).

Aren't 1 and 2 the other way round?

Aren't 1 and 2 the other way round?

Oops - comment is wrong

*d should be string (of any length) ending in d (or d alone) (bed, bad, glad)
b[a]+* would be string starting with b followed by 1 or more a and then 0 or more of any characters (baa, ball, balloon)

*d should be string (of any length) ending in d (or d alone) (bed, bad, glad)
b[a]?* would be string starting with b followed by a single a and then 0 or more of any characters (ball, balloon)

We need to follow SQL LIKE semantics - as the primary purpose of this type is to define a search we can easily translate to SQL.
https://learn.microsoft.com/en-us/sql/t-sql/language-elements/like-transact-sql
* -> % (string of zero or more characters)
? -> _ (single character)
[ ] -> single character within the specified range - e.g. [a-f] or set [abcdef]
To include *, ? or [ in the pattern, enclose in brackets - e.g. [[] (we have hit this issue querying JSON-serialized arrays of phonetic transcriptions.

(comments need updating accordingly)

4c3ea2065e37dc2aaf68006248c5ea2f273b2c9f adds the remaining functionality, however I think I can reduce some duplication.


POST body issues adding server (manual install)

Just installed this manually on a Debian 10 server, and found some issues with the frontend.
I was unable to add a server via the web interface. Clicking Add Server gave me a not too helpful red popup in the corner saying [Object object]. In the web console I was getting a 422 response.
I copied the POST JSON body and tried adding a server using the API instead, which gave me more useful errors. From there I deduced that read_only was being sent as an empty string, where an integer was expected. I was also required to add a value for v6_subnet not to get a null constraint database error even though I unchecked IPv6 support.

Hi, I'll hopefully have some time on this soon. Thanks for your report.
If you find the cause of this, feel free to send a PR :)


Add read_alert_message and handle_alert keywords

Added read_alert_message and handle_alert keywords to enhance the handling of alert-messages.
Read_alert_message simply returns the text from an alert without closing it, this enables us to check if the present alert is the alert we are looking for.
Handle_alert jumps in right there... it can be used to dismiss or confirm the alert without any other action.

There are already keywords that handle this sort of thing. Did you see Get Alert Message? I would be okay with modifiying Get Alert Message to have a close option that defaults to True, but I don't think we should add a new keyword for this functionality.
We could also modify Alert Should Be Present to take an argument what action it should take (such as accept or dismiss).
What are your thoughts @KingWarin?

Problem I tried to solve is that right now you can't check whether the alert message is the one you are expecting.
I.e. An alert was triggered and we want to confirm it if the alert displays "ALERT!" and want to dismiss it if the alert displays "foo bar".
At the moment the only possibility is to retrieve the alert message by using 'Get Alert Message'-Keyword and if that message is what we are looking for we have to trigger the alert again but confirming it this time (right now one could use 'Confirm Action'-Keyword to reach this goal).
Alert Should Be Present looks like a step in the right direction, but still the alert will be dismissed or (if modified to take a accept-parameter) accepted before it is verified that the alert is the expected alert (or not an expected alert).
Feels somehow itchy to dismiss (/confirm) an alert without knowing it's message.
Hope this clarifies my thoughts.

@zephraph Do you have any thoughts on this? Or do my thoughts need further clarification?

@zephraph I'm fine with your suggested modifications.
I added two more commits to meet your suggestions, but I'm not entirely sure I got all off your suggestions on dismiss_alert right.

Overall I'm pretty happy with what you've got here.
Once you update I'll be more than happy to merge this in.

@zephraph I just pushed a commit with which the default values and the changes.rst will be updated.
I think this should be ready for merge now.

@KingWarin, the tests failed spectacularly. I'm re-running the tests now, but if that fails we're going to need to see what went wrong and fix that before I can merge your stuff in.

@zephraph I've taken a short look into the errors on my local environment. For me it looks like the error is caused by the _find_by_xpath method in elementfinder.py (or more special by the browser.find_elements_by_xpath(criteria) call inside that function).

Can you merge in master? I think the error that was causing your tests to fail has been fixed (it wasn't your code).

@zephraph Merged master, ran test local, everything looks fine. Pushed it, still looks fine.
Looks like you're right and it was fixed somewhere else - what a relief I was not messing the whole thing up.

Haha, yep. Good job, it looks great.

The last thing I'd like you to do is update the changelog. The message on there is somewhat old, and I'd like to clean it up.
After that I'll merge it in! Thanks for your contribution.

Done!
Contributing was a pleasure, maybe I'll drop in again if something comes to my mind again.

You seem to have a conflict. Have you tried merging in master?

Merged again and commited the merge, looks good now.
Sorry for the inconvenience

Cool. I'm about to do a release so you'll see this very, very shortly.

Go ahead. Also remember to add a tag to GIT on release. If you need any assistance just ask.

Sure thing.