Error while running add_remove_hosts.py

When I run this sample (C:\Professional\python\vsphere-automation-sdk-python\samples\vmc\sddc\add_remove_hosts.py) I hit below error: I am running from my python env set on windows 10
Example: Add 1 ESX hosts to SDDC xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:
Traceback (most recent call last):
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\converter.py", line 259, in _visit_vapi_struct
self.visit(typ.get_field(field))
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\lib\visitor.py", line 43, in visit
return method(value)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\converter.py", line 403, in visit_optional
self.visit(typ.element_type)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\lib\visitor.py", line 43, in visit
return method(value)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\converter.py", line 113, in visit_string
self.visit_primitive(typ)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\converter.py", line 71, in visit_primitive
self._out_value = typ.definition.new_value(self._in_value)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\data\definition.py", line 217, in new_value
return data_value_factory(self.type, value)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\data\value.py", line 704, in data_value_factory
return constructor(*args)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\data\value.py", line 188, in init
raise CoreException(msg)
vmware.vapi.exception.CoreException: Invalid Type, expected String, instead got int
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Professional\python\vsphere-automation-sdk-python\samples\vmc\sddc\add_remove_hosts.py", line 138, in
main()
File "C:\Professional\python\vsphere-automation-sdk-python\samples\vmc\sddc\add_remove_hosts.py", line 133, in main
esx_operations.add_host()
File "C:\Professional\python\vsphere-automation-sdk-python\samples\vmc\sddc\add_remove_hosts.py", line 97, in add_host
esx_config=esx_config)
File "C:\Program Files\Python37\lib\site-packages\com\vmware\vmc\orgs\sddcs_client.py", line 220, in create
'action': action,
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\stub.py", line 317, in _invoke
return self._api_interface.native_invoke(ctx, _method_name, kwargs)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\stub.py", line 207, in native_invoke
self._rest_converter_mode)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\converter.py", line 1104, in convert_to_vapi
binding_type.accept(visitor)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\type.py", line 40, in accept
visitor.visit(self)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\lib\visitor.py", line 43, in visit
return method(value)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\converter.py", line 326, in visit_struct
self._visit_python_dict(typ)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\converter.py", line 305, in _visit_python_dict
self.visit(field_type)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\lib\visitor.py", line 43, in visit
return method(value)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\converter.py", line 433, in visit_reference
self.visit(typ.resolved_type)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\lib\visitor.py", line 43, in visit
return method(value)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\converter.py", line 318, in visit_struct
self._visit_vapi_struct(typ)
File "C:\Program Files\Python37\lib\site-packages\vmware\vapi\bindings\converter.py", line 265, in _visit_vapi_struct
raise CoreException(msg, e)
vmware.vapi.exception.CoreException: Invalid field availability_zone in structure com.vmware.vmc.model.esx_config,
Caused by: vmware.vapi.exception.CoreException: Invalid Type, expected String, instead got int

I also get this error though "samples" package folder is available in directory.
C:\Professional\python\vsphere-automation-sdk-python\samples>python.exe C:\Professional\python\vsphere-automation-sdk-python\samples\vmc\sddc\add_remove_hosts.py -r "xxxxxxxxxxxx" -o "xxxxxxxxxxxxxxxxxxxxxxxxxxxx" -s "xxxxxxxxxxxxxxxxxxxxxxx"
Traceback (most recent call last):
File "C:\Professional\python\vsphere-automation-sdk-python\samples\vmc\sddc\add_remove_hosts.py", line 26, in
from samples.vmc.helpers.vmc_task_helper import wait_for_task
ModuleNotFoundError: No module named 'samples'
C:\Professional\python\vsphere-automation-sdk-python\samples>
Then I commented
"from samples.vmc.helpers.vmc_task_helper import wait_for_task" and related code, after that I got an error that is reported in my 1st update.

@vThinkBeyondVM to use the helper method (wait_for_task) you need to add samples to your pythonpath: https://github.com/vmware/vsphere-automation-sdk-python#first-set-pythonpath-to-use-sdk-helper-methods

A couple of new fields were added to the esxconfig. The sample needs to be updated and pass a named argument (num_host) instead. Just updated the sample. Please try again.


Create Style.css

Create styles.css file in the root directory and insert the following styles into it.

Done!


Fix restack for struct with undef fields

this is the kind of 'fix' I had in mind, but it's not very pretty
close #497

just checking the last field

Ah, good point! I think this works.
Can you add a test in https://github.com/JuliaFolds/Transducers.jl/blob/master/test/test_restack.jl ? I think it's good to go then.

something like this? I want to use transducers in my own package, I'm getting promising results so far :)


New package: CyberSift.TutelaWindowsAgent version 1.4.9

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree [company="CyberSift"]

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


Find as you type for drop down

Hi,
when defining a relationship in Tabular Editor one has to scroll through a list that potentially contains thousands of columns.

Please add a filter functionality there so that I can just enter a few letters and only see matching columns.
Another idea would be to use a hierarchical drop down. Because then one could select first a table and then the column.
Thanks alot.

This is already in the backlog. In the mean time, remember you can right-click on a column to create a relationship to another column: Right-click > Create new > Relationship To/From > (choose table) > (choose column).


Schduler does not work correctly when transit form summer- to winter time and back.

A starttime set on summer time is:<PHONE_NUMBER>000 it did translate it to 5:30 when it was summer time.
It still displayed it also after restart the NodeRed and load the Data from Disk.
When i created a new Schedule same time after switch to winter time, it created this Entry:
1664076600000
Calculated by value / 1000 * (606024) +  25569 in LibreOffice
I saw first Entry is: 25.09.2022 03:30:00
Second Entry is:  31.10.2022 04:30:00
Both are displayed as start time 5:30
Node Red runs on a server in UTC.
The Gui (Browser) runs on MESZ for summer (UTC + 1) time and MEZ (UTC + 2)f or winter time.
I can not compensate this problem in NodeRed, as there is no hint in the description.
In the Node can not enter which timezone I'm in.
Therefore I think the calculation can not respect this.
Having the timezone set in the node could help. Or how can I compensate so a schedule does move correctly along the summer time and winter time and displays this correct.
There is no time location in the file nothing i could see what is used and no description how we can avoid this.

Bonjour,
Je suis dans le même cas que vous et ça prend la tête parce que sont retrouve avec une différence de 1 heure.
Avez-vous trouvé une solution par tout hasard ?
Merci

Same problem here. All timers are off by 1 hour after switching from summer to wintertime.

Same problem here. Are you planning to fix this?


help with server-side disconnects in slack-ruby-client

Coming from https://github.com/slack-ruby/slack-ruby-client/issues/208. The celluloid-io code we have isn't detecting server-side disconnects occasionally. We could really use some professional help, we're likely not using celluloid-io correctly in https://github.com/slack-ruby/slack-ruby-client/blob/master/lib/slack/real_time/concurrency/celluloid.rb#L31

@dblock Celluloid::IO is effectively unmaintained. I would suggest switching to async:
https://github.com/socketry/async

I opened https://github.com/slack-ruby/slack-ruby-client/issues/210 maybe someone will contribute. Still, celluloid serves us well rn and I'd like to fix the issue as well.

Here is (roughly) what we use.
https://gist.github.com/ioquatix/c24f107e2cc7f48e571a37e8e93b0cda?ts=2

Sorry, not trying to spam, just trying to help with other suggestions :)

This is still an ongoing problem, so I could still use some help. What I am seeing is that the run loop still sits inside a read, but that the goes offline.
Debugging messages that are being sent back and forth, next. @tarcieri When you have a second, would you be so kind to share any better logging code that I can add inside the read that would be helpful? Currently I do:
def handle_read(buffer)
  logger.debug("#{self.class}##{__method__}") { buffer }
  driver.parse buffer
end

This produces
D, [2018-08-19T14:27:35.200204 #212] DEBUG -- Slack::RealTime::Concurrency::Celluloid::Socket#handle_read: ?
D, [2018-08-19T14:27:35.200330 #212] DEBUG -- Slack::RealTime::Concurrency::Celluloid::Socket#write: ???6?

Not very useful.  I could convert that data to some binary, but that's probably not much better. Maybe there's a parser I should add logging to? Any other recommendations?
I tried setting a global celluloid logger and not seeing anything from celluloid-io.
Celluloid.logger = ...
Celluloid.logger.level = Logger::DEBUG

Thanks.

Also, is there another driver than https://github.com/faye/websocket-driver-ruby that we should/could be using?


[release-1.1] Update to newest GoVPP

Coverage decreased (-0.09%) to 76.439% when pulling a6e364fa719a62e4a446a36b338116040964dc3a on rastislavszabo:release-1.1 into de91e61d34a072626e6b2f50829a8a46356364c1 on contiv:release-1.1.


Loan transaction reversal data extension

Description
Upon reversing a loan transaction, 2 new data fields need to be added. One is the ability to provide an external ID for the reversal and one for storing when the reversal happened.

The external ID for the reversal is important because other systems might track reversal transactions separately.

The reversal date is also important since the Loan transactions have a submittedOnDate, therefore it makes sense to store when a particular transaction has been reversed. It is set with the Business date value when the Loan transaction is undo

Undo a Loan Transaction

Get the Loan Transaction reversed

Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[ ] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[ ] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@josehernandezfintecheandomx Can you please take a look on the conflicts?

@josehernandezfintecheandomx Please resolve the conflicts!

@josehernandezfintecheandomx Please take a look on the conflicts!

Done @adamsaghy

@josehernandezfintecheandomx please resolve the conflicts.

@josehernandezfintecheandomx please resolve the conflicts.

The conflicts are solved


Page-object sample should not expose page internals

Page objects should wrap all page elements and should not expose element objects directly. This PR fixes the documentation on that to prevent confusion.
Nicely summarized here: https://code.google.com/p/selenium/wiki/PageObjects#Summary

Merged in at 4b55091

Not a problem, but FYI I actually kind of liked this the way it was before. I think it's fine to do it either way - from my point of view, adding a getter unnecessarily complicates things. I think this is a style choice that should be up to what your team prefers.


Fix/genesis

fix: Resolve genesis block
* Searches from block 0, as unlike daml we can start with an empty
 stl

Certainly looks plausible.


Disable the systemd-resolve configuration for Fedora33

Disable the systemd-resolved.service and removed the original /etc/resolv.conf on Fedora33

LGTM


Add files via upload

@AlienMonarch file/lib/domains/au/edu/vic/nhs.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@AlienMonarch First stage of verification passed, official domain for Northcote High School is nhs.vic.edu.au as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@AlienMonarch Thank you for your patience while waiting for a review and processing your request. Pull request merged.


⚠ Fortnite has degraded performance

In 5930ff0, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1543 ms

Resolved: Fortnite performance has improved in a675fd8.


fix(manage-merge-queue): paginate all members in org

:pencil: Description

Github defaults to 30 results.... 😠

:tada: This issue has been resolved in version 1.62.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


WIP: Add paper trail

Add basic papertrail support for Form and Pages model
Adds the papertail gem and enables version tracking on the Form & Page model.
bundle exec rails generate paper_trail:install --with-changes

The object and object_changes columns have been set to jsonb.
Trello card: https://trello.com/c/7T5Yp818/426-add-paper-trail-gem-to-audit-and-changes-to-forms-table
Checklist

[x] I've used the pull request template
[x] I've linked this PR to the relevant issue (if mission work)
[x] I've written unit tests for these changes (if code change)
[ ] I've updated the documentation in (If any documentation requires updating)

[ ] README.md
[ ] Elsewhere (please link)

A couple of things to think about:

How does deleting an object work? Should we switch to soft deletion or is it not something we need to worry about? Would it make doing later version features easier or just make everything more complicated?
Should we use a custom class for the version - it sounds like it would be handy
Optimistic locking. Can we add it to the API? The publishing API might be a good reference
Adding whodunnit info to versions. Can we add user uuid to a header in the admin and then pick it up in the API as a way to collect which users made the change? This is easy to implement but there may be downsides
Does it make sense to deploy this before we have a solution for storing page information?

We decided to abandon the idea of using papertrail for draft/live because of the complexity that comes with associations. Instead we created our own implementation that copys forms & pages objects adn stores it as json in it own table.
https://github.com/alphagov/forms-api/pull/207


add drone ci

Codecov Report

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

@@           Coverage Diff           @@
##           master      #36   +/-   ##
=======================================
  Coverage   72.82%   72.82%
=======================================
  Files          22       22
  Lines        1163     1163
=======================================
  Hits          847      847
  Misses        175      175
  Partials      141      141

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 377feed...315e7d9. Read the comment docs.

可以合併了 👍


Token Image change please...

Please merge manually to change image: https://github.com/solana-labs/token-list/pull/28035

Do they change logo for real??


split term:Imerslund-Grasbeck syndrome into: generic+type1

Term to split: Imerslund-Grasbeck syndrome
Name for new term:
aside: @nicolevasilevsky cna you update this templaate. With a split there aare 2+ new terms, not one

Imerslund-Grasbeck syndrome
Imerslund-Grasbeck syndrome type 1

List properties that should be moved to new term
We need documentation on this split pattern. ORDO tends to represent the generic. Most properties will move to the generic. Use judgment. Eg syns that end in "1" should move to subclass
name: imerslund-grasbeck syndrome
xref: OMIMPS:261100 {source="MONDO:equivalentTo"} ! imerslund-grasbeck syndrome

Also need type 2

to do:

[ ] update the 'split template'

I didn't realize you created a new ticket as I was working on this. See linked PR

@cmungall I updated the template here:
https://github.com/monarch-initiative/mondo/blob/master/.github/ISSUE_TEMPLATE/split-term.md


APEX-131: Setup Travis CI for continuous integration

added .travis.yml file to trigger the build
integrated slack notifications

Brennon, can you add some more info regarding the slack notification to APEX-131. How does it work, how do I subscribe to it?

@tweise I added JIRAs to cover the slack info in more detail here. Let me know if that doesn't make sense. Also, the build is passing now in Travis, but not sure what we should consider as the 'official' review process to commit code back (assuming if I wrote the patch I shouldn't merge it into the upstream repo). Thoughts? We can raise this on the dev list too.

Thanks, will pull it in.

As far as general review process, high level items on the JIRA and code detail iterations over pull requests. Also trying to keep the noise down by combining very detailed commits prior to submission, similar to what you would do when you submit a patch (make it a single change).

Brennon, I combined the commits into a single one as described and pushed the change. Hence this pull request needs to be closed manually.

One more thing: Please add your apache.org email address to your github profile.

@tweise

are you saying you rebased the commits before you merged? (i.e. "I combined the commits into a single one as described and pushed the change"). Just trying to understand what exactly you did.
why do i need to update my github profile with my apache.org email? I currently have it setup such that, when I push commits into the apache master, it uses my @apache.org email, but for all personal work (i.e. PR's into Apex, Spark, etc.) I use my personal email. As for what email shows on my public github profile its my @capitalone.com address because that's what the company would like so that I represent them while I commit to various OSS. So, am I missing something here that I've screwed up or am I misunderstanding something? Let me know!

Thanks for creating the JIRA: https://malhar.atlassian.net/browse/APEX-137
We should have this discussion on dev@ and capture important points in the JIRA.

You can use rebase or squash to combine the commits, when all changes are made by a single user and I want a single commit then merge --squash works well.

No need to change your primary email address, add any additional addresses to your profile so that your commits are linked to your github username. Otherwise they show with gray icon for unknown user as seen in https://github.com/apache/incubator-apex-core/commit/e482804a856f2a5c8e3591af14cf552093017fe4


How to set threshold when considering IsoMax+ as the loss function

Thanks for your great work,
I am wondering how do you set threshold to detect the given sample is "in-distribution or out-of-distribution"?

In practice, you may set the threshold of two ways.
You may collect some random out-of-distribution samples and use also your validation set to define the threshold. This way, you may have a estimation of the performance you may expect in the field.
Other option is only using you train or validation set without access to a random out-of-distribution. In this case, you may set a threshold by making, for example, 95% of your in-distribution data to be considered indeed in-distribution using the chosen threshold. In this case, however, you will not have a estimation of the expect performance.

Thanks for your great work,
I am wondering how do you set threshold to detect the given sample is "in-distribution or out-of-distribution"?

I hope I have answered your question.

Thanks for your great work,
I am wondering how do you set threshold to detect the given sample is "in-distribution or out-of-distribution"?

I only notice now.
This is why I am only answering now.

Thanks for your detaild answer.


SandBox example error

Hello,
You have typo in your sandbox examples
Confirmation : confirmation
 let res = await this.$dialog.warning('Test confirmation, {
    text: 'Test confirmation',
    title: 'Title'
  })

Seems to be
 let res = await this.$dialog.warning( {
    text: 'Test confirmation',
    title: 'Title'
  })

Notification
Missing quotes
Toast
Missing quotes

Unless that it works as expected 😃

Hi, @kl3sk! Thank you for the issue, i've fixed sandbox.

The quote error remain in the Toast example


icap plugins for latest apach trafficserver

hi;
just wanted a bit more official answer to if it's planned to get icap functionality back ?
AFAIK - sorry i don't understand this fully i have to admit - because of some api changes,
the old icap plugins won't work with the latest version, and after a bit of searching i found no signs that it's planned to have icap functionality in the new one ?

well i guess its opensource and if someone is interested in it he or she may do it or use his ressources to make someone do it.


Cannot-select-ios-phone-simulator-in-android-studio-for-flutter

ikes-MacBook:~ ike$ flutter doctor -v
[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.13.6 17G66, locale en-US)
• Flutter version 1.20.2 at /Users/ike/flutter
• Framework revision bbfbf1770c (8 days ago), 2020-08-13 08:33:09 -0700
• Engine revision 9d5b21729f
• Dart version 2.9.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/ike/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
✗ Flutter requires a minimum Xcode version of 11.0.0.
Download the latest version or update via the Mac App Store.
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 48.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.47.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.13.2
[!] Connected device
! No devices available

Hi @enyarkweb
Following the indication of jetbrains' Flutter plugin, the correct way to address the problem is to open an issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


TypeError: 'generator' object is not subscriptable

Hello, trying to run this with a small view but see this error:
2020-08-26 13:56:59,417 - optimuspy - INFO - Starting. Arguments retrieved from cmd: Namespace(cube_name='TestCube', executions='5', instance_name='tm1srv01', max_permutations='5', measure_dimension_only_numeric=1, mode='Best', view_names='view1')
2020-08-26 13:57:01,726 - optimuspy - ERROR - Fatal error
Traceback (most recent call last):
File "optimuspy.py", line 76, in main
permutation_results += original_order.execute()
File "C:\Cubewise\optimus-py-master\executors.py", line 90, in execute
return [self._evaluate_permutation(self.original_dimension_order, retrieve_ram=True)]
File "C:\Cubewise\optimus-py-master\executors.py", line 53, in _evaluate_permutation
ram_usage = self._retrieve_ram_usage()
File "C:\Cubewise\optimus-py-master\executors.py", line 68, in _retrieve_ram_usage
value = self.tm1.cubes.cells.execute_mdx_values(mdx=mdx)[0]
TypeError: 'generator' object is not subscriptable

Also noticed that the MDX  in the executors.py file for the perf cube is:
SELECT
{{ [}}PerfCubes].[{}] }} ON ROWS,
{{ [}}StatsStatsByCube].[Total Memory Used] }} ON COLUMNS
FROM [}}StatsByCube]
WHERE ([}}TimeIntervals].[LATEST)
It appears the Right bracket is missing for LATEST, however the MDX seems to still work.

Hi @jimnaff ,
It's a compatibility issue between TM1py and Optimus.
I addressed the issue earlier today. Please download the latest version of optimus and try again.
If it does not help please upgrade tm1py to the last version here on GitHub:
pip install https://github.com/cubewise-code/tm1py/archive/master.zip --upgrade
Thanks for the catch on the MDX. I will fix this. Surprisingly TM1 doesn't seem to mind the error though.

Thanks Marius. It is completing successfully now, thank you. One more thing, I do not see the results.   If it supposed to, I am not seeing that folder nor the csv and png files.

Strange. Did it write an error message into the log ?
On Thu, Aug 27, 2020, 00:41 jimnaff<EMAIL_ADDRESS>wrote:

Thanks Marius. It is completing successfully now, thank you. One more
thing, I do not see the results.  If it supposed to, I am not seeing
that folder nor the csv and png files.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cubewise-code/optimus-py/issues/6#issuecomment-681160277,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADT2SMYC37EAGY6KOI7MSUDSCWFQRANCNFSM4QME67PQ
.

Here's the log file content ( I added some logging.info calls to get mdx and filename):
2020-08-26 17:20:08,542 - optimuspy - INFO - Starting. Arguments retrieved from cmd: Namespace(cube_name='bpc.Plan Summary', executions='1', instance_name='tm1srv01', max_permutations='1', measure_dimension_only_numeric='1', mode='All', view_names='view1')
2020-08-26 17:20:15,650 - optimuspy - INFO -
SELECT
{ [}PerfCubes].[bpc.Plan Summary] } ON ROWS,
{ [}StatsStatsByCube].[Total Memory Used] } ON COLUMNS
FROM [}StatsByCube]
WHERE ([}TimeIntervals].[LATEST])
2020-08-26 17:20:15,716 - optimuspy - INFO - Sparsity ratio for dimension 'Version': 0.00
2020-08-26 17:20:15,771 - optimuspy - INFO - Sparsity ratio for dimension 'Organization': 0.00
2020-08-26 17:20:16,751 - optimuspy - INFO - Sparsity ratio for dimension 'Accounts Master': 0.00
2020-08-26 17:20:16,953 - optimuspy - INFO - Sparsity ratio for dimension 'Fiscal Period': 0.00
2020-08-26 17:20:16,997 - optimuspy - INFO - Sparsity ratio for dimension 'bpc.Plan Summary Measure': 0.00
2020-08-26 17:20:16,997 - optimuspy - INFO - Determined One Shot order: '['bpc.Plan Summary Measure', 'Version', 'Organization', 'Fiscal Period', 'Accounts Master']'
2020-08-26 17:21:47,134 - optimuspy - INFO - ExecutionMode.BRUTE_FORCE 100 % done. 1 iterations completed
2020-08-26 17:30:21,748 - optimuspy - INFO - Analysis Completed
2020-08-26 17:30:21,749 - optimuspy - INFO - More details in csv and png files in results folder
2020-08-26 17:30:21,750 - optimuspy - INFO - filename: results\bpc.Plan Summary_view1_2020-08-26_17-20-08.csv
2020-08-26 17:30:22,273 - optimuspy - INFO - Reestablishing original dimension order
2020-08-26 17:31:09,386 - optimuspy - INFO - Finished successfully

It looks like the files were created successfully.
Perhaps it has something to do with relative paths and absolute paths. Are
you executing it from a different folder ? Has the results folder perhaps
been created somewhere else?
On Thu, Aug 27, 2020, 00:45 jimnaff<EMAIL_ADDRESS>wrote:

Here's the log file content ( I added some logging.info calls to get mdx
and filename):
2020-08-26 17:20:08,542 - optimuspy - INFO - Starting. Arguments retrieved
from cmd: Namespace(cube_name='bpc.Plan Summary', executions='1',
instance_name='tm1srv01', max_permutations='1',
measure_dimension_only_numeric='1', mode='All', view_names='view1')
2020-08-26 17:20:15,650 - optimuspy - INFO -
SELECT
{ [}PerfCubes].[bpc.Plan Summary] } ON ROWS,
{ [}StatsStatsByCube].[Total Memory Used] } ON COLUMNS
FROM [}StatsByCube]
WHERE ([}TimeIntervals].[LATEST])
2020-08-26 17:20:15,716 - optimuspy - INFO - Sparsity ratio for dimension
'Version': 0.00
2020-08-26 17:20:15,771 - optimuspy - INFO - Sparsity ratio for dimension
'Organization': 0.00
2020-08-26 17:20:16,751 - optimuspy - INFO - Sparsity ratio for dimension
'Accounts Master': 0.00
2020-08-26 17:20:16,953 - optimuspy - INFO - Sparsity ratio for dimension
'Fiscal Period': 0.00
2020-08-26 17:20:16,997 - optimuspy - INFO - Sparsity ratio for dimension
'bpc.Plan Summary Measure': 0.00
2020-08-26 17:20:16,997 - optimuspy - INFO - Determined One Shot order:
'['bpc.Plan Summary Measure', 'Version', 'Organization', 'Fiscal Period',
'Accounts Master']'
2020-08-26 17:21:47,134 - optimuspy - INFO - ExecutionMode.BRUTE_FORCE 100
% done. 1 iterations completed
2020-08-26 17:30:21,748 - optimuspy - INFO - Analysis Completed
2020-08-26 17:30:21,749 - optimuspy - INFO - More details in csv and png
files in results folder
2020-08-26 17:30:21,750 - optimuspy - INFO - filename: results\bpc.Plan
Summary_view1_2020-08-26_17-20-08.csv
2020-08-26 17:30:22,273 - optimuspy - INFO - Reestablishing original
dimension order
2020-08-26 17:31:09,386 - optimuspy - INFO - Finished successfully
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cubewise-code/optimus-py/issues/6#issuecomment-681161658,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADT2SM7DHM7PVDOU277BSG3SCWGBJANCNFSM4QME67PQ
.

Also, don't know what this means but the command line returns this message:
C:\Cubewise\optimus-py-master\python.exe optimuspy.py -i="tm1srv01"
-c="TestCube" -v="view1" -e="1" -p="1" -m="All" -n=1
C:\Cubewise\optimus-py-master\results.py:114: UserWarning: FixedFormatter should only be used together with FixedLocator
plt.gca().set_xticklabels(['{:.0f}%'.format(x * 100) for x in plt.gca().get_xticks()])

found them!  my mistake, thank you for your help!


CopyrightOverlay doesn't draw when zooming

Issue Type
[ ] Bug
Description and/or steps/code to reproduce the problem
minor issue but the copyright overlay disappears while zooming, perhaps @monsieurtanuki can apply the same fix from the minimap to this overlay.
Version of osmdroid the issue relates to:
6.0.0

Correction: it becomes invisible during the zoom animation (double click or zoom button), but it's visible during the pinch gesture.
Btw the same thing happens with the scale bar.
To fix that, just remove the following test from CopyrightOverlay.draw:
if (map.isAnimating()) {
	return;
}

Same thing with ScaleBarOverlay.draw.
If I had the slightest idea on how to safely handle 2 branches on my PC I would have already PR'ed that fix. Anyone please PR that fix, I won't complain.

k on it


Can you allow us to debug a currently running instance that is already debugging?

At work I have a complicated startup process for my node apps. I can't just have your debugger start my app. I need to be able to have your debugger attach itself to an already running instance of a node app.
Can this be done?
Mike

duplicate of https://github.com/kiddkai/atom-node-debugger/issues/23

Duplicate of #23


Same problem as issue #3

I'm trying to use this but think I must be doing something wrong... I'm quite new to GitHub but have managed to get a few other OBS plugins to work nicely together.
I followed the installer, but initially had the default audio issue, but that step in the console then passed when I set everything to specific audio I/O.
The websocket plugin is working, as I can control my whole session from the OBS android control app.
And I get a notification about this NanoKontrol2 app connecting to the websocket, but then a disconnect soon after with the same error as in issue #3 .
Your last comment in the last bit of exploring issue #3  about the NanoKontrol2 lighting up before it starts made me think my NanoKontrol2 was set up wrong, as it never lights up when running the connection console, but it works in Reaper, and Live without any problems; and changing the various operating modes doesn't seem to solve it. (I've set it to MIDI CC mode in order to work with this?)

Here's the error from the tray launcher
NanoKontrol2 OBS Error.txt
And the Console Launcher

Hey there, sorry to get back to you this late...
Thanks for already providing this much information! You are right, the nanoKontrol should be lighting up once during startup. If it doesn't do that, then the program wasn't able to connect.
Per default only one program is able to access the nanoKontrol, unless you install the custom KORG driver: https://www.korg.com/us/support/download/driver/0/159/3541/
Attached find a zip containing a new .dll which I would like you to replace. (As always compile your own stuff - I commited a change - and don't run .dlls from random people on the internet).
nanoKontrol2OBS.zip


ArVerify integration

[x] Indication of user wallet being verified

Design of this may need work

[x] Allow user to verify in Verto if they aren't verified

This will require a modal with information about the process and why it's necessary

Note: Do not merge until first AuthNode for ArVerify is online

Ready for review, but still waiting for first node to come online before merging.


Cannot build 0.5-pre1 with Carthage

Trying to build 0.5-pre1 using Carthage update fails on the Arcane-Mac submodule.
I'm trying to build for iOS using Xcode 9.0.1 on MacOS 10.13.
It looks like it's Xcode related since the log refers to a problem with the Swift version:-
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
warning: no umbrella header found for target 'Arcane-Mac', module map will not be generated

** BUILD FAILED **```

@leedowthwaite thanks for your report. The issue was caused by Xcode's new build system used by one of the project dependencies (filestack-swift). I have pushed a new release 0.5-pre2 that should not manifest this issue any more.
Hope that helps!

@rnine I moved to Cocoapods for this dependency as it was blocking me. I ran into some other problems to do with hard-coded Xcode paths, specifically:-
In /Pods/Arcane/CocoaPods/*/module.modulemap
there's a reference to the Xcode path which seems hard-coded:-
module CCommonCrypto [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/CommonCrypto/CommonCrypto.h"
export *
}
Since I have multiple Xcode versions installed on my machine, it was failing. I had to manually edit the path.
I tried moving to Arcane 1.0 but a hit a huge bunch of build errors when I tried that under Xcode 9.1, so I quickly reverted.
I realise these are all issues with the Arcane library. It seems like a dependency you may want to reconsider for a paid product?

@leedowthwaite You're right, the Cocoapod for Arcane has a hardcoded path to the CommonCrypto headers inside /Applications/Xcode.app. If you happen to need to use more than one version of Xcode, you may experience issues.
We are evaluating abandoning Arcane and adopting a Swift-native solution that does not depend on Apple's CommonCrypto to prevent such corner case problems.
That said, I believe our latest releases: 0.5-pre2 and 0.6-pre1 should build fine using Carthage — is that not the case for you?


Open internet communication

Hello,
i understand that this implementation is not ready for production. Still, I wonder how nodes communicate with each other on an open Internet without knowing their IP addresses. You need DHT with network identification or something else?

Not sure. Maybe someone could give me ideas on how to do that and at the same time not increasing the coin complexity.


Connection Leak in Hikari Pool via JDBC.

When our service starts, it creates new connections to our Postgres DB via JDBC. But once HIKARI_MAX_POOL_SIZE limit is reached, the requests start getting queued because old connections are not released.
Our Config:
HIKARI_AUTO_COMMIT: "true"
HIKARI_CONNECTION_TEST_QUERY: SELECT 1
HIKARI_CONNECTION_TIMEOUT: "300000"
HIKARI_IDLE_TIMEOUT: "10000"
HIKARI_LEAK_DETECTION_THRESHOLD: "10000"
HIKARI_MAX_LIFETIME: "180000"
HIKARI_MAX_POOL_SIZE: "15"
HIKARI_MIN_IDLE: "5"

It's giving following error:
java.lang.Exception: Apparent connection leak detected
There has been no changes in our service recently. This error has started appearing suddenly.
What can be the possible reason & solution?

What was the problem btw?


tor-browser: update to version 8.5.1

changed checkver regex url

There seems to be a pull request for tor-browser that's under consideration already.


[Syntax]Add a deserializer that convert json to libSyntax tree

We already have a serializer generate json from libSyntax tree in https://github.com/apple/swift/blob/master/include/swift/Syntax/Serialization/SyntaxSerialization.h
So I wrote a deserializer that convert json to libSyntax tree, using llvm yaml parser.
@rintaro I don't know how to add and run test in project swift-syntax-test
I've tried passing a swift file as an argument but failed.
Please help me
@swift-ci Please smoke test

@DexinLi Thank you for this! This is something I've wanted but never got around to implementing.
@swift-ci please smoke test

@DexinLi great work! thank you for adding this missing piece!

Thank you Dexin for tackling this!
As for testing, (in addition to existing -serialize-raw-tree mode,) please implement -deserialize-raw-tree mode in tools/swift-syntax-test which read JSON from -input-source-filename, then print() the deserialized syntax tree.
Expected behavior would be something like:
$ cat test.swift
public func hello() {
  print("hello world")
}
$ swift-syntax-test -serialize-raw-tree -input-source-filename test.swift > test.swift.json
$ cat test.swift.json
{
  ... tree ...
}
$ swift-syntax-test -deserialize-raw-tree -input-source-filename test.swift.json
public func hello() {
  print("hello world")
}

Using this, you can write tests in test/Syntax directory like:
// RUN: %empty-directory(%t)
// RUN: %swift-syntax-test -serialize-raw-tree -input-source-filename %s > %t/serialized.json
// RUN: %swift-syntax-test -serialize-raw-tree -input-source-filename %t/serialized.json > %t/output.swift
// RUN: diff -u %s %t/output.swift

// Serialized -> deserialized tree must be the same as the original source file.

public func hello() {
  print("hello world")
}
...

@rintaro As mentioned above the serializer ignored some text of tokens, so I can't recover the source unless removing the switching part in the serializer. Could I remove the switching part of the serializer?

@DexinLi

Could I remove the switching part of the serializer?

I'm OK with it for now. However, many kind of tokens must have fixed text. We should be able to derive text from utils/gyb_syntax_support/Token.py. We will fix it as soon as you land this PR.
CC: @harlanhaskins @nkcsgexi

I'm ok with removing the serializer switch. That part is in the first place a duplication of token knowledge which should only be derived from the gyb support dictionary. We can enhance both later.

@DexinLi could you use the APIs added in #15241 to replace the switch statement and get information about token text? This way allows us to both share meta-information and keep the serialization format slim.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

That requires permissions.
@swift-ci Please smoke test.

@swift-ci Please smoke test.

@DexinLi I believe you also need to modify https://github.com/DexinLi/swift/blob/master/test/Syntax/Outputs/round_trip_parse_gen.swift.withkinds

@swift-ci please smoke test

🚢 Good job! @DexinLi


Make links and the serach bar more clear

Added a "Search" placeholder to the search area, with translations (to the best of the knowledge of DuckDuckGo's Translate feature)
Added a link icon to link headers

Closes #703

TIL I can batch suggested changes together. Sorry about the commit spam 😅

Thanks for this!


docs: adds documentation for RPC headers.

This PR adds complementary documentation to https://github.com/grpc-ecosystem/grpc-health-probe/pull/72
Ping @ahmetb @drigz @farzadmf

Nice @jcchavezs , thank you for tagging :slightly_smiling_face:

Ping
On Mon, 23 Aug 2021, 16:56 Ahmet Alp Balkan, @.***>
wrote:

@.**** commented on this pull request.
In README.md
https://github.com/grpc-ecosystem/grpc-health-probe/pull/80#discussion_r694049915
:

@@ -155,7 +155,8 @@ environment variable.
$ grpc_health_probe -addr <IP_ADDRESS>:10000
-tls
-tls-ca-cert /path/to/testdata/ca.pem \

     -tls-server-name=x.test.youtube.com

     -tls-server-name=x.test.youtube.com \

     -rpc-header=x-request-id:be59908d40f00be3573a50284c3863f1a37b8528

You can undo this part. This example is for routeguide/ app, the previous
flag is actually used, but this won't be.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc-ecosystem/grpc-health-probe/pull/80#pullrequestreview-736227225,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYARPEUAABD63HYMPML3T6JOSBANCNFSM5CUH4BJQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


Dear Bindings?

Would this be helpful for the raylib integration? https://github.com/dearimgui/dear_bindings

not really. The integration isn't a binding. It doesn't wrap up ImGui in any way.
rlImGui is more like a raylib backend for Dear ImGui.
It works in two very simple steps

Tells ImGui when to start a frame and fills out all the input stuff
Tells ImGui when a frame is done, and then draws all the geometry and textures that make up the GUI.

The rest of ImGui doesn't need to be wrapped up or interact with raylib in any way.
This tool is more for helping other languages bind to ImGui itself, not the backend.

Very cool! Thanks for the explanation :+1:


Provide version-validating helper function

In this discussion @drewj-usnctech and I discussed the need for a simple helper function that could validate and match a version number.  For instance, it would need to be able to validate these cases:

1.2.3 meets 1.2.3
1.2.3 does NOT meet 1.2.4
1.2 meets 1.2.3
1.3 does NOT meet 1.2.3

The goal of this function is to provide a standard way for developer's plugins to check versions in settings files. Users could add a Setting for the version of their app, and then add a SettingValidator which would use this helper function to match the version.

Thanks @john-science! Is the intent still to have these "metadata" settings in the metadata block in the settings input file? Or would they reside in the main body of the input? To put it another way, are we looking for
metadata:
  version: uncontrolled  # armi version
  myApp : 4.2  # primary app version
  myTransportKernel: 1.2.3
settings:
  neutronicsKernel: myTransportKernel

vs.
metadata:
  version: uncontrolled  # armi version
settings:
  myAppVersion: 4.2
  myTransportKernelVersion: 1.2.3
  neutronicsKernel: myTransportKernel

My preference would be for the former: versions in the metadata. But I know much of the plugin interface is focused on adding content to the settings section

I have a branch open for this helper method, Drew: https://github.com/terrapower/armi/commit/8f55cccea3f52b0616b3e6b09ce9f9f7ba737168
I am standing here looking at this dubious metadata section, and while I think the first option you have looks better:
metadata:
  version: uncontrolled  # armi version
  myApp : 4.2  # primary app version

I'd like to support that for you, but it looks to be quite a large change. Where your second option is free:
settings:
  myAppVersion: 4.2

Let me look at this a little longer.  I'd like to support the better option. But it appears we have no tooling build around the metadata section at all; it is just for this one Setting.  I don't like that that, but I'm thinking "perfect is the enemy of better.
Let me keep poking around.


Changed default text dtype

Hey @AbhinavTuli!
Please fix the tests so we can merge this.

I would have but I'm not sure what's going wrong 😅, it's just some package/Python macOS tests that are failing


lato

I don’t think Lato is a typeface that is available by default on any operating system/device. If I am mistaken, please reopen this ticket!


fix: bind method hotfix

:tada: This PR is included in version 2.0.0-beta.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Please add a license file

I'd like to add this to awesome-zsh-plugins, but it doesn't have a license file.
Please add a license file - if you don't have one in mind,  I recommend using choosealicense.com to help choose an appropriate one.
Thanks!

I'd like to add this to awesome-zsh-plugins, but it doesn't have a license file.
Please add a license file - if you don't have one in mind, I recommend using choosealicense.com to help choose an appropriate one.
Thanks!

Just seeing this now! Will add a license file today.


Realm info not working with non-english realm

It seem that the LibRealmInfo:GetRealmInfoByUnit query on line 515 does not return any information
local _, realm, _, _, _, _, region, _, _, realmEnglish = LibRealmInfo:GetRealmInfoByUnit("player")

The realm and realmEnglish are nil, so the addon crash on the line 517
I'm on a French client

The PR https://github.com/janekjl/LibRealmInfo/pull/3/commits on LibRealmInfo Repo seems to correct the issue

Applied that PR in v<IP_ADDRESS>, let me know if that fixes things for you

Hi, this it perfect, thank you :)


Scene data visualization

Thanks for the amazing work!
Could you, please, suggest what is the best way to visualize the scene and all the ground truth data like objects' bounding boxes, the agent's trajectory, etc.
The pictures in issues https://github.com/qcr/benchbot/issues/46 and https://github.com/qcr/benchbot/issues/69 look very beautiful. Being able to visualize data like that may speed up the research phase.
Any help/pieces of advice is much appreciated.

Hi @rpartsey thanks for the feedback!
You are right in that it would be good to have an in-built tool for enabling visualizations. We don't currently have one as a part of the main BenchBot code base. I have added this as an enhancement for future consideration.
In the meantime, all the visualizations you have seen in those previous issues has been done through utilising the rviz tool within ROS alongside some custom-built tools for interpreting the GT file and turning it into box visualizations.
One of our users has actually provided their methodology for visualization in one of our previous issues which you can find here.
Until we have provided some "official" benchbot tool for visualization it is up to you as to how you want to visualize the process, either just with benchbot observations or raw ROS data. Hope that this is at least useful as a starting point for you.

Visualisation tools are now live in BenchBot API v2.4.3.


Use cross and xshell

Close #84, #87, #97, #104.
Xshell makes writing program invocation code easier. And it increases transparency by printing out the command to invoke.

We should provide installation commands in the README to lower the bar.


docs: metadata spec

Description

Adds anchor links to specific examples for quicker reference over Slack or GitHub.
Adds docs/decisions to facilitate discussions around codebase changes and memorialize them

How to review
🔍 Feedback on deprecating scrape method in favor of more scrape_meta test development
🤔 Open-ended Questions:

Additional opinions (pros/cons) on docs/decisions format?
Other ideas to help with onboarding?

approved by serdar earlier via zoom


Revert "[pipeline] avoid local shuffle for scan followed by aggregate (#2357)"

This reverts commit 7436cafb90dc3ab4210ef2165b986f3bdfc828de.
Avoiding local shuffle between scan and aggregate requires the aggregate key only occurs in one tablet.
If the scan table has PARTITION BY, the bucket hash key maybe has in one tablet in every partitions.
Therefore, we cannot avoid local shuffle between scan and aggregate. On the other hand, we can use DOP adaptation (#2409) to avoid local shuffle.

run starrocks_be_unittest

run starrocks_clang-format


Migrate to Babel 6

@unindented Why do you want to migrate to Babel 6? Also the tests are breaking.

Maybe just to keep project dependencies up to date?


Support imports using importlib.import_module

Commits:

test: add coverage for dynamic import with importlib
feat(WIP): attempt to get importlib imports
test: add test coverage for both importlib formats
feat: also handle case where importlib.import_module is aliased
refactor: consolidate proof of concept test into existing test
refactor(clippy): collapse nested if let statements in Stmt::Expr match arm
docs: note which sort of importlib import are supported

PR Checklist

[x] A description of the changes is added to the description of this PR.
[x] If there is a related issue, make sure it is linked to this PR.
[x] If you've fixed a bug or added code that should be tested, add tests!
[x] If you've added or modified a feature, documentation in docs is updated

Description of changes

Support for imports given as string literals directly to importlib.import_module
#780

Added extra tests and made sure it works with all possible ways of aliasing the importlib.import_module import
Ready for review @mkniewallner 😃

Thanks for the review @mkniewallner and @fpgmaas, refactors and nits addressed. I hope these new docstrings are sufficiently clear, but any further feedback welcome 😄


Documentation notebook with ZTF BTS vs NGC cross-match example

This is a simple toy-example of LSDB usage without pre-HiPSCated data. It takes few seconds to run, because each time it runs it downloads some data from both ZTF and Vizier.
It also adds a new dev dependency, astriquery. We need it to download NGC via Vizier.

FYI - this has been rendered for preview at
https://lsdb--142.org.readthedocs.build/en/142/notebooks/ztf_bts-ngc.html


[551] Remove dependencies in NOTICE file based on feedback in LEGAL-684

Important Read

Please ensure the GitHub issue is mentioned at the beginning of the PR

What is the purpose of the pull request
The final outcome from https://issues.apache.org/jira/browse/LEGAL-684 advises to not include dependencies from other ASF projects in LICENSE and NOTICE files.
Brief change log
(for example:)

Updated LICENSE and NOTICE files to reflect feedback LEGAL-684

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.

Thanks, @vinishjail97 ! Should we remove the addendum from LICENSE file as well?

Squashed into a single commit.


Open connection with pre configured session

With the wc3270 wizard you can create pre configured sessions. Can these sessions be used in some way with Open Connection?

I have removed the part about extra_args to create a separate issue for this as there are more things to clear (for example documentation for usage of extra_args seems to be wrong when using wc3270 on Windows).

Hi @Harm10 ,
I have been experimenting with a new keyword, Open Connection From Session File. You  can check out the code from the open-connection-from-session-file branc on my fork.
Maybe you can give me some feedback on it already.

You can clone my repository and check out the branch.

So I did and after starting RIDE I suddenly get several local updates:

For example the change in SOURCES.txt:

Where do these changes come from?

I probably did something wrong. I cloned your repo and in VSCode went to the branch you are working on. Then I wanted to push a small text update but I am not allowed to do that. What am I doing wrong?
The text update is to point users to the session wizard for creating session files (much easier!).
The first test with one of my session files went fine (correct size of windows console!).
Looking into that session file the way the host is specified is different than in your example:
wc3270.hostname: pub400.com
The port is not specified like this but is in the block that is read when building the session (according to the comments in session file itself). I am using wc3270 v4.2ga8

I probably did something wrong. I cloned your repo and in VSCode went to the branch you are working on. Then I wanted to push a small text update but I am not allowed to do that. What am I doing wrong?

You did nothing wrong. One cannot push changes to another person's repository if they are not a collaborator.
If it's just a small change, you can write your suggestions here.

The text update is to point users to the session wizard for creating session files (much easier!).

Sure, but also keep in mind that this project supports four types of emulators depending on the operating system and visibility settings. At least for x3270 and s3270 there is no session wizard.

The first test with one of my session files went fine but the windows console dimensions are always the same irrespective of the model chosen while the session file when used directly does open a bigger window.

For simplicity, I would like you to leave out the aspect of different models. We can continue the discussion on this in #31.

Looking into that session file the way the host is specified is different than in your example:
wc3270.hostname: pub400.com

You can actually do both *hostname: pub400.com or wc3270.hostname: pub400.com. They are both valid options

(https://x3270.miraheze.org/wiki/Session_file)

The port is not specified like this but is in the block that is read when building the session (according to the comments in session file itself).

Sorry, I don't get what you mean. Can you give me an example? I wrote a test called Test Connection From Session File in atest/connection.robot that specifies the port with *port: 992 and it passes just fine.

I compared 2 files with the only difference on the port. I thought there is no port code there but it is set up differently.
With port 23 there is nothing there and with port 999 the line becomes
wc3270.hostname: pub400.com:999
I did not know there is no session wizard for x3270/s3270. I still think you should make some reference to this syntax. Or is this only for wc3270?
You did not respond on my differences for example in SOURCES.txt As I cannot change your fork this probably is irrelevant now?

Ok, this seems to be an alternative way of specifying the port.
Have you read the documentation I provided for the Open Connection From Session File keyword? I provided many links to the x3270 documentation on session files, including the syntax.

I looked again at https://x3270.miraheze.org/wiki/Session_file and saw that the session wizard is also mentioned there. So I guees having this link in the description should be enough.
Will this update be included in version 3.1?

@samuelpcabral , this feature is not yet included in 3.1. So there is no need to update the documentation

@robinmatz Will it then be included in 3.2?

@Harm10 yes, it will be. I am actually curious about your suggestion on the documentation on the new keyword. Could you paste them in this conversation?

@robinmatz First about the text suggestion I had this The easiest way to create a session file is to use the wizard found in your wc3270 installation folder: wc3270wiz.exe
But after that I mentioned on Slack that I did not know this wizard only exists for wc3270. So whether this addition should be added I am not sure any more.
What I would suggest for the documentation is an example like this:
wc3270.hostname: pub400.com:23
wc3270.model: 2
As you can see the model number is part of the session file generated by the wizard. So if you only want to support model 2 at the moment you can easily check what is in the session file supplied. If no model is there you can also easily add it in a copy of the file to use to circumvent the default of 4 (which I find peculiar as most mainframes still use model 2 I think).
Another option could be that this package contains a sample session file that users can use?
I am also searching for a way to test other models. At work we use Aviva emulator but it makes no difference at all which kind of model in the session file is specified the screen is always the same (24x80).
The only thing I notice is that when you change the font size the window automatically changes depending on the font size.
Speaking about the font size. The wizards writes this in the code block below the regular lines. I have no idea how you can define it with a "normal" line. I can confirm that a bigger font size works fine from that code block.
I would also like to add that the wizard does not allow prepending the host (see http://x3270.bgp.nu/Windows/wc3270-man.html#Description). That part of the documentation does not even describe that you can also use prepend C: meaning that the started session will be a CICS session which has somewhat different capabilities. Using such a prepend in the regular Open Connection works fine.
Is this enough input? :-)

Hi @Harm10,
sorry that I failed to reply to your comment until now. I tried to work in your suggestions as much as possible. I opted not to make the documentation to specific to wc3270/the session wizzard. As you mentioned, this is already described in the links to the x3270 wiki. However, I did include the examples you provided in the keyword documentation.
As for the model, I opted to just support model 2 at the moment, because I wanted to reduce the complexity for now. However, users are adviced to specify model 2 in the keyword documentation, and the library will check if model 2 was specified. If another model is specified, there will be an error message.
I did not include the comment about the wizard not allowing host prefixes (Y:, L:, C:, etc.) because, again, this is quite specific to the wizard.
I created a MR #96 and I hope that the next version including the changes will be released soon.


Update to nanopb 2.30909.0

Update to nanopb <IP_ADDRESS> (semantic 2.30909.0)
Fix #9587

@ncooke3 The remaining  CI failures should be addressed by publishing 9.1.0 podspecs to SpecsStaging. Please merge before doing the version update.

I was thinking I wait to merge #9775 and #9774. Then merge this PR. And then stage 9.1.0 podspecs to SpecsStaging. WDYT? @paulb777

SGTM

Approved, merged, and staging specs now


Included Terraform (0.10.4) version does not support eu-west-3 region

Attempting to run the latest concourse-up release with "--region eu-west-3" results in ERROR because Terraform version 0.10.4 does not support eu-west-3.
The minimum Terraform version that supports eu-west-3 is 0.11.4

We had a build all ready to go, but it looks like BOSH can't currently deploy onto M5 instances.
Firstly, the stemcell AMI needs to be configured with ENA enabled, and currently that does not appear to be the case: https://www.pivotaltracker.com/n/projects/1133984/stories/154850804
Secondly, the BOSH Agent is unable to find volumes on M5 instances which use NVMe devices: https://www.pivotaltracker.com/n/projects/956238/stories/152934904
It's possible to build a custom stemcell, and it'd need a fixed BOSH Agent installed in it. This work is definitely out of scope for Concourse-Up though!

Once the necessary changes are made available on the BOSH side I've got the transition to M5 instances ready to go in a branch on concourse-up.

Hey guys!
Thanks for such a quick response! :+1:
I guess we will have to wait for CPI.
The alternative regions seem to be a good temp solution.
Thanks again! :smile:

As an update on this for anyone following the issue, I tested this again at the beginning of July and it still doesn't work. The worker vm gets launched but the director is unable to talk to it so it gets shut down after a timeout.

This is now resolved in https://github.com/EngineerBetter/concourse-up/releases/tag/0.15.1
It ended up being harder than expected for a variety of reasons but the team figured it out in the end.


feat: moderation

Please describe the changes this PR makes
Mega-PR to introduce moderation (both internals and commands)
Status and versioning classification:

Code changes have been tested against the Discord API, or there are no code changes
This PR includes major changes

Superseded by #19


Readiness tool  Really not supported on office 2016 ?

readiness tool does not suported  on office 2016 , just now id downloaded that tool , i installed on C2R office 2016pro plus ,
This article  must be concentrate only for office 2016, and not previous versions , not  office 365.
Sorry for my bad feedback

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

ID: 11e62908-a374-7cd0-e7d9-2886a54d7ce9
Version Independent ID: 165e940a-6802-237d-08e9-5d2589e4d98f
Content: Compatibility and telemetry in Office
Content Source: DeployOffice/compat/compatibility-and-telemetry-in-office.md
Service: o365-proplus-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

Yes, you can install and run the Readiness Toolkit on a computer running Office 2016. But the primary purpose of the Readiness Toolkit is to help organizations determine if they're ready to move to Office 365 ProPlus from an earlier version of Office.


MapSignal/SetSignal docs update suggestion

Thanks for this useful package!
In my first use of it, I needed MapSignal and SetSignal. I was a bit confused about whether or not to include .value as with "primitive" signals, since the compiler seemed OK both with and without, even for modification. I experimented a bit and figured out "no", but only later saw the comment in ListSignal, "List modifications are done directly on the underlying list, and will trigger signals as expected."
I'm assuming this is true for Map and Set as well. If so, I think a similar Method section in those docs would be useful for folks like me who land right in those sections and might have missed the fuller description in List.
If this assumption is correct, I'm happy to put up a docs PR.

That's a good callout! Would love a PR for the docs.
The nice thing about Map, Set, List signals is they implement the type and can be used and passed around interchangeably.
Basically the .value is implicit

That is because of dart. The same bug would happy if you did the same with valuenotifier.
Will definitely add this to docs to not trip anyone up


npm ERR! code ERESOLVE

➜  my-project node -v
v15.10.0
➜  my-project npm -v
7.5.3
➜  my-project uname
Darwin
➜  ~ docsite -v
error: unknown option `-v'
➜  ~ docsite -h
Usage: docsite <command> [options]

Options:
  -V, --version   output the version number
  init [project]  init project
  start           start a local server
  build           build assets
  -h, --help      output usage information
➜  ~ docsite init my-project
Project folder was created successfully.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/eslint
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@">= 4.12.1" from<EMAIL_ADDRESS>npm ERR! node_modules/babel-eslint
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/chenshun/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/chenshun/.npm/_logs/2021-06-19T03_49_37_085Z-debug.log
Congratulations, init succeed!
➜  ~ cd my-project
➜  my-project ls
README.md          docs               gulpfile.js        package.json       site_config        template.ejs       webpack.config.js
blog               docsite.config.yml img                redirect.ejs       src                utils

@chenshun00 I forked this repo and resolved it, please refer to https://github.com/chengshiwen/docsite-ext, and Apache DolphinScheduler Official Website used it

it worked. tks  :)


Do not show country code

Hi Michael;
Its posible not to show the country code in the edit text? just the formatted number. I would like just to set the country code as a format parameter and let the user enter the phone number to be formatted, but I would like not to show the country code in the edit text.
cheers.

The solution was using the format parameter.


Add support for

In some flavors of markdown, just like ~~ means , ++ means
I'd like an option parallel with strikethrough that allows me to convert the following:
My name is ~~Mike~~ ++John++.

into:

My name is Mike John.

I believe it's fairly simple.  My lang converter to approximate this is below, but probably cloning the strikethrough parser is more robust:
showdown.extension('pp-insert', function() {
  return {
    type: 'lang',
    regex: /(?<!\\)[+]{2}((?=\S).*?\S)[+]{2}/gi,
    replace: '$1'
  };
});

That is non-standard syntax, not supported in any flavor showdown supports (see babelmark2).
As such, is better suited for an extension, namely a listener extension (you can check a working example in this fiddle)
// Extension of type listener
showdown.extension('ins', function() {
  return [{
    type: 'listener',
    listeners: {
      // the extension is called right AFTER the parser parses italicsAndBold
      // and only during span gamut
      'italicsAndBold.after': function (event, text, options, globals) {
        return text.replace(/(?:\+){2}([\s\S]+?)(?:\+){2}/g, function (wm, txt) {
          if (options.simplifiedAutoLink) {
            txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);
          }
          return '' + txt + ''
        });
      }
    }
  }];
});

I tried it out.  Works perfectly.  I understand why you'd want to limit the scope of the project.
For those who follo me, this regex works a bit better by including the last +'s and ensuring there's a non-whitespace character after the first ++ and before the last:
/(?!\\)(?:\+){2}(?=\S)([\s\S]*?\S)(?:\+){2}(?!\+)/g


Release checklist

Before

[x] Create the intro video #130

On the day

[x] Add privacy policy section on website
[x] Add plugin homepage to menu on website
[x] Turn repository public
[x] Release on https://console.adobe.io
[x] Release YouTube intro video
[ ] Create ProductHunt Post
[x] Release blog post
[x] Tweet

19:00:00 UTC+2: YouTube video becomes public (automatically, scheduled in YouTube video manager)

LinkedIn Post (not planned in advance, but still 🙂 ): https://www.linkedin.com/feed/update/urn:li:activity:6724004911543070720/

19:34:00 UTC+2: ProductHunt Post: https://www.producthunt.com/posts/document-chat-for-adobe-xd


How to get a frame from video?

I try to follow the doc to get  a frame from video, but no luck...
I take a look in MediaExporter, I think maybe function getFormat  is the cause.
https://github.com/pascalbaljetmedia/laravel-ffmpeg/blob/master/src/MediaExporter.php#L24
Btw:
If I want to save the Frame image at the same folder with video, that will be error:
https://github.com/pascalbaljetmedia/laravel-ffmpeg/blob/master/src/MediaExporter.php#L58

Please post your code and some debugging information, this way your issue is quite unclear to me.

At first I just copy your sample code to test it,
but FFMpeg::fromDisk('videos') gives me Non-static method 'fromDisk' should not be called.
So, here is my code:
use Pbmedia\LaravelFFMpeg\FFMpeg;
Class VideosController {

    public function __construct(FFMpeg $ffmpeg)
    {
        $ffmpeg->fromDisk('local')
        ->open('video-background.mp4')
        ->getFrameFromSeconds(10)
        ->export()
        ->toDisk('local')
        ->save('video-background.png');
     }
}

Error:
League \ Flysystem \ FileNotFoundException
File not found at path:

ScreenShoot：

https://github.com/pascalbaljetmedia/laravel-ffmpeg/issues/7 https://github.com/pascalbaljetmedia/laravel-ffmpeg/issues/18 https://github.com/pascalbaljetmedia/laravel-ffmpeg/issues/23 https://github.com/pascalbaljetmedia/laravel-ffmpeg/issues/28

Still got nothing.  no output and frame not found.
......
Looking forward for running sample.

Again, I can't help you with such little information.
https://pascalbaljetmedia.com/en/blog/how-to-use-ffmpeg-in-your-laravel-projects


Document recommended versions for targeting a particular IntelliJ version

I'm writing an IntelliJ plugin and would like to support IntelliJ 2019.1 and above.
I haven't been able to find a combination of (gradle-intellij-plugin, gradle-grammar-kit-plugin, grammar-kit) versions that works together with intellij { ideVersion = "2019.1" }. Instead I'm getting NoSuchMethodError, NullPointerException, etc. at plugin build time.
Please document which versions are recommended (and known to work together) when targeting a particular IntelliJ version.
It would also be beneficial to document which Kotlin, Gradle, and JFlex versions to use when targeting a particular IntelliJ version. For example, I'm using Kotlin 1.3.11 because that's what ships with 2019.1, but now I can't use Gradle 6 because kotlin-gradle-plugin:1.3.11 isn't compatible with Gradle 6 (NoClassDefFoundError). Also I can't use jflex-1.7.0-2 because then the code generated by Grammar Kit 2019.3 won't compile anymore.
A related issue is that I can't separately specify which IDE version to build against and which one is used by the runIde task. For example, GrammarKit 2019.3 requires intellij { ideVersion = "2019.3" } (otherwise NullPointerException during parser generation) but I do want to develop against 2019.1. For now I work around by setting runIde { ideDirectory = "..." } but that's cumbersome (not automatically downloaded, etc.).

intellij { ideVersion = "2019.1" }

You mean intellij { version = "2019.1" }, right?

Instead I'm getting NoSuchMethodError, NullPointerException, etc. at plugin build time.

Class names of exception are not enough for understanding what's going on.

Please document which versions are recommended (and known to work together) when targeting a particular IntelliJ version.

Which version of what?

It would also be beneficial to document which Kotlin, Gradle

Kotlin any, Gradle greater than 3 (I use the latest one always, now 6), JFlex any

For example, I'm using Kotlin 1.3.11 because that's what ships with 2019.1

It makes sense to reduce the distribution size of the plugin.

I can't use Gradle 6 because kotlin-gradle-plugin:1.3.11 isn't compatible with Gradle 6 (NoClassDefFoundError)

I know nothing about kotlin but I believe you can use gradle plugin higher version than version of compiler/stdlib. If it doesn't then I think it's documentation matter for kotlin plugin, not for gradle-intellij-plugin.

Also I can't use jflex-1.7.0-2 because then the code generated by Grammar Kit 2019.3 won't compile anymore.

I think this is a question to grammarkit plugin, I know nothing about it.

A related issue is that I can't separately specify which IDE version to build against and which one is used by the runIde task

Makes sense, please file a separate feature request for it. PR is also welcome, though.

intellij { ideVersion = "2019.1" }

You mean intellij { version = "2019.1" }, right?

Correct.

Instead I'm getting NoSuchMethodError, NullPointerException, etc. at plugin build time.

Class names of exception are not enough for understanding what's going on.

Sure, this is just to demonstrate that version guidance is really needed because most version combinations don't work, and there is no documentation saying if they should work.

Please document which versions are recommended (and known to work together) when targeting a particular IntelliJ version.

Which version of what?

When writing plugins for IntelliJ 2019.1, we recommend you use these versions,
which are known to work together and with IntelliJ 2019.1:

(when building with gradle)
gradle: xxx
gradle-intellij-plugin: xxx

(when using grammar kit)
grammar-kit: xxx
jflex: xxx

(when using grammar kit and gradle)
gradle-grammar-kit-plugin: xxx

(when implementing the plugin in kotlin)
kotlin: xxx

If this is the wrong place for such documentation, then perhaps it can be added to the IntelliJ plugin dev documentation. (JetBrains can make a more informed decision on this than me.)

(when building with gradle)
gradle: xxx
gradle-intellij-plugin: xxx

There are no other recommendations. gradle-intellij-plugin doesn't care what versions of grammarkit, kotlin or intellij version you use.

JetBrains can make a more informed decision on this than me.

I don't think so. Only you can decide what build/generation tool or language you want to use and which versions of IDE you consider as compatible.

Please try to think from the plugin developer's perspective. I've tried many reasonable combinations and all of them fail with obscure exceptions. Other developers have had similar experiences. Providing no guidance on known good version combinations simply means to leave plugin developers in the dark.
As I said, perhaps the plugin dev documentation is a better place for this kind of documentation, in which case I'd hope that you forward this issue to the right place (or tell me where to report it).

From the user-perspective, there are dozens of tools that I can use for building plugin, and none of them is required. Building matrix like this doesn't make any sense to me, really.
In fact, the only tool I need is gradle and there is recommendation about it. There are no any other recommendations and other tools of my choice can be checked for compatibility with my current configuration by there own documentation.

I'd hope that you forward this issue to the right place (or tell me where to report it).

You can make a PR to https://github.com/JetBrains/intellij-sdk-docs. I'm not sure how to file issues there. @YannCebron?

Obscurity of exception is completely another issue. If you think they are not clear enough, file an issue about it for the tool that throws the.

These exceptions arise out of incompatibility between dependent libraries that neither document nor check compatibility requirements.

So? Is this the reason to keep them as is? None of the possible compatibility tables will help you with these exceptions. If they are obscure – they should be handled. If they are clear – deal with them. Nothing to document here.

The compatibility tables will avoid these exceptions (esp. if they are backed by automated tests) and will avoid the need to try countless combinations until I find one for which no exception occurs. Documenting "known compatible versions" or "recommended versions" is a common solution to this difficult problem.

It looks like you know what to do and I'm not. So please feel free to make a PR to sdk docs. I'm pretty sure gradle-intellij-plugin has nothing to do with it.

I'll give you an example for how this is related to gradle-intellij-plugin: When I changed intellij { version = "..." }, I was very surprised to find that parser generation with gradle-grammar-kit-plugin broke. While you may consider this a gradle-grammar-kit-plugin problem, as a plugin developer, it's difficult to tell what the dependencies are and where to look for the relevant information.


Checkbox visualization on UWP

I think I have found two bugs with the visualization of the checkbox on UWP.
Here is the XAML:
<messier16:Checkbox Checked="{Binding Complete}"                                             TickColor="Yellow"                                              CheckboxBackgroundColor="Green"                                              BackgroundColor="Transparent"                                              WidthRequest="30"                                              HeightRequest="30" />
And here is how it looks like:

As you can see the colors are not respected. (They work fine on iOS and Android)
The second problem is that checkboxes that are checked at startup have a checkmark (Subtask 0) but when you toggle one at runtime it just fills with color (Subtask 1). If I toggle Subtask 0 off and on, the checkmark disappears.
Let me know if I'm missing something or if you need further info to debug this!
P.S. Thanks for the nice component :)

Sorry for the late response, I'll start checking it now.

 But I think the check colors are somewhat more difficult than I thought. I remember facing this when I developed the control. Basically I think you'll have to customize the theme of your entire application as I can't find a way to set the color of each checkbox individually.
As for the other issue, I'm unable to reproduce it, ¿can you please upload a testable example, if possible a MCVE?

Hey!
About the colors - thanks for the info. I'll keep in mind I need to change the app theme.
About the initial checkmark - I'm attaching a simple project that reproduces the problem. It happens on both mobile and desktop. On desktop the checkmark disappears even by just hovering over it. Let me know if you need further assistance!
UWP_checkbox_bug.zip

Woha, that's a really weird bug. The value of the Checked property persists, it's just the Windows CheckBox the one that has drawing issues.
On desktop if you maximize the window the checkmarks will appear again, it is just weird. Still working on it now I'll try reproduce it on a "native" UWP project.

Aaaaaaand seems like we're not alone: https://stackoverflow.com/questions/41016815/uwp-customrenderer-for-checkbox-pointer-over-checkbox-changes-style

Oh, another Xamarin bug - surprise!
I guess we are left with the wait-and-hope strategy :) In this case this issue is good for closing.

Can you make this work from this fork?
https://github.com/charsleysa/CustomCheckbox/tree/charsleysa-patch-1/CheckboxSample/CheckboxSample
It is taken from that question on stackoverflow.
https://stackoverflow.com/questions/41016815/uwp-customrenderer-for-checkbox-pointer-over-checkbox-changes-style


fix(mutator): Fix empty case statement unkillable mutant

Hotfix for #1156: if a case clause contains no statements, do not mutate it.

I think a better fix (technically) would be to always remove the case clause altogether. However this was discounted as part of #1127 due to it producing unclear reporter output - stryker then considers the entire switch block mutated, rather than the single case clause.
One possible alternative is ensuring the case is never matched, rather than removing the statments:
case "A":
case "B":
  console.log("Do some actions");
...

// becomes
case "stryker/expression-that-is-never-matched/40ed2198-a801-40fe-8edd-0531783bc069":
case "B":
  console.log("Do some actions");

This would pick up mutants for:

the case clause never being matched
the case clause resulting action not being tested

Downside is, I don't think this is immediately readable/clear to the user. Unlike the IfStatement mutator, we we can't simply replace it with case false: or case null:, as these are valid expressions that could be easily matched.

@tommilligan in packages/stryker-javascript-mutator/src/mutators/SwitchCaseMutator.ts can't you make
if (types.isSwitchCase(node) && node.consequent.length > 0) {
        const mutatedNode = copy(node);
        mutatedNode.consequent = [];
        return [mutatedNode];
}

instead of
if (types.isSwitchCase(node)) {
      // if not a fallthrough case
      if (node.consequent.length > 0) {
        const mutatedNode = copy(node);
        mutatedNode.consequent = [];
        return [mutatedNode];
      }
}

?
and in packages/stryker-typescript/src/mutator/SwitchCaseMutator.ts
you don't need else. You can just return [] like so:
protected identifyReplacements(node: ts.CaseOrDefaultClause, sourceFile: ts.SourceFile): NodeReplacement[] {
    // if not a fallthrough case
    if (node.statements.length > 0) {
      const clause = isDefaultClause(node)
        ? ts.createDefaultClause([])
        : ts.createCaseClause(node.expression, []);
      const replacement = printNode(clause, sourceFile);
      return [{ node, replacement }];
    }
    return [];
  }

@kmdrGroch indeed I could. However this is a stylistic choice and not covered by the test or lint suite.
Do you have any comments on the functionality of the code?

Thanks for fixing 🥇 , I'll take a look (and probably merge) tomorrow.


Workless gem does not distinguish between future scheduled jobs and immediate execution jobs

We recently encountered a scenario where we started taking advantage of the scheduling capability of Delayed Job in our application and encountered a serious and costly problem used in conjunction with Workless. Workless doesn't seem to be able to distinguish between jobs that are set to execute as soon as possible in the queue and jobs that are scheduled for a far future date. As a result, the 1,100 or so future scheduled events are sitting in the queue, not being executed on, but being seen as a large queue backlog nonetheless. Workless sees this large queue backlog and is automatically scaling things far beyond what is necessary for jobs that aren't even being processed at that time, resulting in multiple worker servers sitting active, but completely idle, costing us money for every hour they're up.
There should probably be a minimum threshold for the run_at column to be at before the job is considered in the queue to be processed. Maybe an option for scaling based off backlogs in specific queues or priorities could also allow this issue to be worked around.

workless currently doesn't support run_at with a date in the future. It will do what you describe, which is of course not what we want. There would be an issue for workless missing a job in the future when we don't spin up a worker at all (have 0)
I think we could make a change so we only count the number of pending jobs with a run_at that is now or has past. We then would only need 1 worker to be running all the time. If we don't have a worker running, the scheduled jobs wouldn't be run because workless only scales up or down when a new job is inserted...
But we can get around that by always running 1 worker...
What do you think? Does that sound a bit sensible?

This sounds good to me. You may want to make support for future jobs something that could be toggled  since the current operating paradigm is that an application could work with 0 dynos spooled. That being said, this will be perfectly fine for my application as I always have at least one worker dyno spooled up.


[FEATURE REQUEST] Add examples field wherever it makes sense

This issue is about 2 things:

Review the spec and add an examples field to every object where it makes sense. It should allow an array where each item is of type any.
Search for example field and make it examples as the one above.

With this, we'll unify how examples are provided and align with the JSON Schema way of doing it.

Sounds great


Updating copyright year

Feature request 🚀
Copyright year at the footer of https://varlet.gitee.io/varlet-ui/#/en-US/index is still 2022

Expected:
Copyright © 2023 varletjs member and varlet contributors.

No breaking changes

Examples:

Programme:
Others:

The time described by copyright is the time when it was first declared, so it does not need to be updated.
Thank you for your care.


Damping for image sequence rendering

Damping needs to support image sequence rendering (probably we need a new mode/flag or context variable to define the intended mode.

I change the implementation of [Damp] to use context.Playback.LocalFxTime. This might already fix a lot of issues.


Derive TryFromInner

#[derive(TryFromInner, validate = "check")] should produce a TryFrom implementation that does some validation, where fn check(&S) -> Result<(), E> for some E: Display.
#[derive(TryFromInner, validate_bool = "check")] should take an fn check(&S) -> bool that returns true if the argument is valid. This would make it easy to directly plug in e.g. functions from the validator crate.
#[derive(TryFromInner, regex = "…")] should produce one that succeeds only if the given regular expression matches. (This probably requires that the inner type implements AsRef<str>.)

https://github.com/afck/derive-serialize-into/commit/b2dab9ef480bcc088b75b5c80a89b4f71cc3fd06


old batch_matmul much faster than new batch_matmul on GPU

I am often getting more than an order of magnitude better performance using the previous version of batch_matmul function than with the current batch_matmul function (which uses cupy.matmul). The current batch_matmul function also seems to scale very poorly with the batch size on my setup.

Thank you for reporting.
Could you provide the code and version/commit you compared to?

For the old batch_matmul, I used the version of matmul committed August 23 2016.  I copy pasted code from this github version to obtain these results. All my experiments were performed using chainer 1.23 and cuda toolkit 8. I noticed the issue is mainly with batches of larger matrices (for instance 2000x2000), and with smaller matrices the new batch_matmul is actually sometimes faster. I also noticed the relative performance seems to be different across different setups. In my code on my setup (using a gtx Titan with 6GB), 100 iterations of chainer.functions.batch_matmul(A,B) where A and B are both float32 cupy arrays of shape (5,2000,2000) takes ~6 seconds. The same benchmark for the old batch_matmul takes around 0.3 seconds. Also increasing the batch from 5 to 10 doubles the computation time for chainer.functions.batch_matmul, but only increases the time for the old batch_matmul by about 10%.
matmul_benchmark_new.txt
matmul_benchmark_old.txt

I'm getting an adequate performance out of cupy/chainer batch matmul in recent versions


Execute commands not handled by controllers when opening large notebooks

Create a large notebook 1000 cells
Open using VS Code API
Wait for the promises
Verify the notebook is active (via code)
Select a controller via vs code commands API
Verify the selection changed event is fired in the controller (i.e. controller is definitely selected)
Run cells via the vs code commands API
Bug: Nothing happens, controller does not get the cells to be executed.

Observations:

UI is still loading the notebook.
Hence it seems as though command handlers are not wiredup/not handled until the notebook UI completely loads

Not a bug, but a debt item to polish (there might be some code in the renderer thats slow to wireup the command handlers).
As tests written need to work around these issues.

@DonJayamanne can you please try to reproduce with logs, by F1 -> Set Log Level, change it to Trace, and then try to open the notebook. Once the notebook opens, in the Window output channel, you can find a trace like
2024-04-25 13:23:18.710 [trace] [NotebookEditor] open notebook perf file:///c%3A/Users/rebor/Code/Work/vscode/.vscode/notebooks/my-endgame.github-issues - extensionActivation: 15, inputLoad: 17, webviewComm: 17, customMarkdown: 521, editorLoad: 525

Which can tell use where the time is spent. Thanks!


Get-ScheduledTaskList does not work in Powershell V2

Hi @itm4n !
The function Get-ScheduledTaskList does not work in Powershell V2:

This seems to be due to the use of member enumeration on lines 2496 and 2511, a feature only available starting from PS v3 ($TaskExec is of type XmlElementList, an array of XmlElement objects):
https://github.com/itm4n/PrivescCheck/blob/39fc0989dee7d1d40e660772047103767a4fd1ea/PrivescCheck.ps1#L2496-L2511
Thanks for your work !

The $Principal variable is also subject to the same issue, which leads to the RunAs and CurrentUserIsOwner element not being filled out properly, leading to checks Invoke-ScheduledTasksImagePermissionsCheck and Invoke-ScheduledTasksUnquotedPathCheck showing false positives.
I opened PR #9 to fix this issue, feel free to merge or to implement another solution :slightly_smiling_face:

You made a really good point once again. 🙂
I wonder how many similar bugs are lying in my code now... Perhaps it's time for me to start implementing some unit tests. 🙄
I tested your solution before merging the code but it triggered exceptions in PSv2 whenever it tried to access the UserId attribute of a Group Principal (whereas it was just fine in PSv5). Therefore I had to implement your solution slightly differently. I tested the code in PSv5 and PSv2, I get the exact same result now without any errors.
Thanks again for your contribution. It is very much appreciated.
May I ask you to check if this new version works for you too?

It's working the same on both versions for me too now, great, thanks for taking this into account !
I do have one interrogation though. When translating from member enumeration to Select-Object -ExpandProperty I aimed to emulate the same behaviour as upstream without causing regressions. But what is the behaviour of upstream when multiple <Exec> actions are defined in the scheduled tasks? Or multiple <Principal>? Is it even possible, should we even worry about this? I don't know enough about Windows Scheduled Tasks to say if it is.
I welcome your input on this :slightly_smiling_face:

As far as I can tell, there is only one Principal per Task. However, there can be multiple Actions, and these are not even necessarily Exec nodes. That's a potential issue, for sure.
According to the XML schema provided by MS here:
<!-- Principals -->
<xs:complexType name="principalsType">
    <xs:sequence>
        <xs:element name="Principal" type="principalType" maxOccurs="1" />
    </xs:sequence>
</xs:complexType>

Although the node is called Principals, there can be at most one Principal element inside (maxOccurs="1").
<xs:complexType name="actionsType">
    <xs:sequence>
        <xs:group ref="actionGroup" maxOccurs="32" />
    </xs:sequence>
    <xs:attribute name="Context" type="xs:IDREF" use="optional" />
</xs:complexType>

There can be up to 32 Actions per Task.
<xs:group name="actionGroup">
    <xs:choice>
        <xs:element name="Exec"          type="execType" />
        <xs:element name="ComHandler"    type="comHandlerType" />
        <xs:element name="SendEmail"     type="sendEmailType" />
        <xs:element name="ShowMessage"   type="showMessageType" />
    </xs:choice>
</xs:group>

These Actions can be something other than a simple Exec node.
So, yeah, I should take this into account... :/

Issue fixed, thanks again for your help!


Add persistent volume for tool cache

Hell yeah, this is working in test - need to

[ ] put this on all the deployments
[ ] add test coverage (that the cache exists and is readable)
[ ] clean up the docs to talk about what this does and why


module 'cloud_firestore' not found

I'm following the Firebase for Flutter code lab and cannot build the app.
 ** BUILD FAILED **
Xcode's output:
↳
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    /Users/xxx/development/xxx/ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal error: module 'cloud_firestore' not found
    @import cloud_firestore;
     ~~~~~~~^~~~~~~~~~~~~~~
    1 error generated.

env
-------
Xcode: Version 11.3.1 (11C504)
CocoaPod: 1.8.4
-------
VSCode
[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.15.3 19D76, locale en-US)
    • Flutter version 1.12.13+hotfix.7 at /Users/willjay/development/flutter
    • Framework revision 9f5ff2306b (10 days ago), 2020-01-26 22:38:26 -0800
    • Engine revision a67792536c
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/willjay/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.41.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.0

[✓] Connected device (1 available)
    • iPhone 11 Pro Max • 61D514E8-A82D-4C53-8C57-7115B152C9A6 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)

• No issues found!

yaml
dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cloud_firestore: ^0.13.0+1
  cupertino_icons: ^0.1.2

I figure it out!  I think it is a bit confusing when you start setting up firebase.
When starting an iOS project, the instruction on Firebase tells you to use CocoaPod for the setup.
However, flutter handles all the these. So, you don't need to Pod init and Pod install anymore.

@Willjay90
Hey, I ran into the same issue.
How did you fix it?

@hrsma2i when you're adding Firebase to your iOS app, you just skip step 3 (Add Firebase SDK) and step 4 (ADD initialization code). The yaml file will handle this part for you.

I tried the following commands.
flutter clean
rm ios/Pod*
flutter build ios

However there is still the same issue.

Also, you don't need to write any code in AppDelegate.swift

@Willjay90
I didn't edit AppDeletgate.swift.

Opening XCode and opening the iOS folder as a project there

Adding the "GoogleServices-Info.plist" file via "Add Files" (right click on "Runner" in the left bar and choose "Add Files to 'Runner'") => Select the "GoogleServices-Info.plist" file

The app runs on my simulator on my laptop, but it shows the same error when I try to run it on my physical device. Does anyone have that issue?

Remove the pod file, the podlock file and the pods folder. Then run pod deintegrate from the Terminal and build from Flutter tools. And as the previous comment mentioned, don't add anything to the AppDelegate.

This helped me - Make sure you open Runner.xcworkspace and not Runner.xcodeproj as the latter does not have access to Pods.

@leeprobert @toolworld thank you guys for your suggestions, I got past that error doing as you said but now it shows this
Could not locate the device support files:
This iPhone 11 is running iOS 13.5.1 (17F80), which may not be supported by this version of Xcode. An updated version of Xcode may be found on the App Store or at developer.apple.com.
Anyone else has this error?

Thank you @leeprobert & @toolworld, by following your instructions I was able to test my app on my phone   👍🏽


[Mobile] Newline fires before compositionend

Observed Behavior:
when typing a new word on mobile and ending with a newline without finishing a composition the newline is observed before the composition, thus causing the typed word to be moved to the new line.
behavior
Expected Behavior:
When typing a new word and ending it with a newline on mobile the typed word should remain on the line.
Reproduction:
http://codemirror.net/
focus the editor, make a new, blank line, write a single word without submitting a composition, then press newline.
Browser and OS:
Android 7.0.0; Chrome 65.0.3325.109
Possible Related Issues:
#4493
#3655

This is one of many issues which are a lot of work to solve with the fundamental approach currently taken by CodeMirror.
We are working on a rewrite (CodeMirror 6) that will overhaul input handling and should address this issue, and we are currently raising money for this work: See the announcement for more information about the rewrite and a demo.
Note that CodeMirror 6 is by no means stable or usable in production, yet. It is highly unlikely that we pick up this issue for CodeMirror 5, though.


feat: added extensions option

I added extensions option for more flexible configuration

+1 for this
Need this options to load another extentions like jsx