[CAMEL-15871] remove item name prefix

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

Please add the Camel issue number in the commit message along with the title of the issue, for tracking purpose. Thanks

yes. I have appended it to last commit.

This has been squashed and merged. Thanks.


Use URL-safe base64 decoding with the REST API

Google does not accept '/' or '+' in the payloadBase64 field.

https://ocd.appscale.com:8080/job/Daily Build/2078/


Roll Flutter from fa39206a2a34 to e3d08fb6d325 (23 revisions)

https://github.com/flutter/flutter/compare/fa39206a2a34...e3d08fb6d325
2022-07-26<EMAIL_ADDRESS>Hide the debug banner in the PopupMenuButton example (flutter/flutter#108324)
2022-07-26<EMAIL_ADDRESS>Roll Flutter Engine from 5dcaeae6561b to 89e117b89c63 (1 revision) (flutter/flutter#108367)
2022-07-26<EMAIL_ADDRESS>[flutter_tools] [dap] Ensure DAP sends app.stop/app.detach during terminate (flutter/flutter#108310)
2022-07-26<EMAIL_ADDRESS>Roll Flutter Engine from 11d927ac3e9b to 5dcaeae6561b (1 revision) (flutter/flutter#108356)
2022-07-26<EMAIL_ADDRESS>Roll Flutter Engine from f1f9b4de82b6 to 11d927ac3e9b (2 revisions) (flutter/flutter#108353)
2022-07-26<EMAIL_ADDRESS>Roll Flutter Engine from 8eca26d130a2 to f1f9b4de82b6 (5 revisions) (flutter/flutter#108350)
2022-07-26<EMAIL_ADDRESS>Roll Flutter Engine from 7f8925b1f6f3 to 8eca26d130a2 (1 revision) (flutter/flutter#108326)
2022-07-26<EMAIL_ADDRESS>[flutter_tools] Remove more shuffles (flutter/flutter#107759)
2022-07-26<EMAIL_ADDRESS>Explain the "patching" protocol in KeyMessageManager.keyMessageHandler and add an example (flutter/flutter#105280)
2022-07-26<EMAIL_ADDRESS>Revert "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate examples/tests (#108197)" (flutter/flutter#108349)
2022-07-25<EMAIL_ADDRESS>Upgrade Gradle and AGP versions to 7.5/7.2 and migrate examples/tests (flutter/flutter#108197)
2022-07-25<EMAIL_ADDRESS>Roll Flutter Engine from 3964cf62cdf8 to 7f8925b1f6f3 (2 revisions) (flutter/flutter#108320)
2022-07-25<EMAIL_ADDRESS>Added iconSize parameter in ButtonStyle (flutter/flutter#108268)
2022-07-25<EMAIL_ADDRESS>[iOS] Update template icons (flutter/flutter#107873)
2022-07-25<EMAIL_ADDRESS>Roll Flutter Engine from 705072522c00 to 3964cf62cdf8 (1 revision) (flutter/flutter#108316)
2022-07-25<EMAIL_ADDRESS>Roll Flutter Engine from 54b0ac3059bf to 705072522c00 (4 revisions) (flutter/flutter#108308)
2022-07-25<EMAIL_ADDRESS>Fix Tamil DateTime representation of AM/PM (flutter/flutter#108185)
2022-07-25<EMAIL_ADDRESS>Migrate InputDecorator to Material 3 (flutter/flutter#107943)
2022-07-25<EMAIL_ADDRESS>[flutter_tools] Remove unused parameter when connected DAP to VM Service (flutter/flutter#108285)
2022-07-25<EMAIL_ADDRESS>Roll Flutter Engine from c31036f2381c to 54b0ac3059bf (1 revision) (flutter/flutter#108302)
2022-07-25<EMAIL_ADDRESS>flutter update-packages --force-upgrade + analyzer fix (flutter/flutter#108198)
2022-07-25<EMAIL_ADDRESS>Revert "Add optional flag to determine assertiveness level in aria announcement for flutter web" (flutter/flutter#108262)
2022-07-25<EMAIL_ADDRESS>Roll Flutter Engine from cd7e2ec4037b to c31036f2381c (1 revision) (flutter/flutter#108299)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Landing manually to "fix" the tree; the current post-submit has Cirrus tests that passed, but never successfully checked in due to a transient GitHub API issue, and there's no way to retry them.


WGPU Validation Error: Index Extends Beyond Limit

Describe the bug
Very randomly I get this error with the WGPU backend:
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In a RenderPass
      note: encoder = `encoder`
    In a draw command, indexed:true indirect:false
      note: render pipeline = `egui_pipeline`
    index 228 extends beyond limit 0. Did you bind the correct index buffer?

', /home/zicklag/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.12.0/src/backend/direct.rs:2273:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The numbers for the index and limit are different sometimes, with different code.
To Reproduce
This is the strange part:

I have my egui dependency set to pull the master branch from GitHub
I'm editing and building my egui app like normal
I make some change and re-compile
All of the sudden I get this error, for some seemingly random and totally normal modification to my app
I clone egui and switch to the master branch from github, and switch my local egui dependency to use the path to my cloned egui codebase
The error stops happening :eyes:

It seems to be incredibly unpredictable and somewhat rare when the issue happens, but I have a hard time reproducing when I clone the same commit of egui locally and somehow the error goes away!
Expected behavior
No error.
Screenshots

Desktop (please complete the following information):

OS: Pop!_OS ( Ubuntu ) 20.04

Additional context
The error is simple and I'm fairly sure it's just that the index buffers are somehow getting mixed up which vertex buffer they go to, I just don't know why the behavior is so random.
I'm going to look into fixing this, and I did see the error once or twice ( again random and rarely ) before #1704, but it still could have been due to #1684. I think I'm just going to try to refactor the wgpu renderer a little to avoid the somewhat fragile association of the index buffers to the vertex buffers and see if that helps.
Unfortunately, since I can't reliably re-produce the issue, we may have to just try making the fix and wait a while to see if it comes back again.

OK, I think it's fixed with #1716, but I can't be sure.
I'll be testing more and seeing if it pops up again.
If my guess is right, the error is caused when a mesh in the current frame with the same index as a previous frame's mesh has an index or vertex buffer smaller than the previous frame.
That could explain the random behavior, because that could potentially depend on all kinds of seemingly unrelated things about your app.

There is a bug in wgpu, please wait for the fix. https://github.com/gfx-rs/wgpu/issues/5430


Add line numbers and line highlighting to the RTF-formatter

Finally implemented line numbers and line highlighting as discussed in issue #1217.

If desirable, I could use f-strings instead of %-based string formatting while we're at it (maybe capitalize comments). I chose not to because it is not directly related to the issue.
Merging this would cause https://github.com/pygments/pygments/pull/2607 to need a minor rewrite. \\sa0 would need to be added to rtf.py#L269

Merged, thanks a lot!


zstack install ansible specify version

when I use zstack install manage node,the ansible version is 2.0.1.
then add host failed.
when install manage node i think need specify the ansible version.

Will included in 1.0.3 release.


Update README with examples

Re: Issue #130, this PR updates the README here on GitHub to provide some installation instructions and motivating examples.
We can probably bikeshed this forever, but I think it's an improvement? I'll do the top-level Read The Docs page separately.

Looks like an improvement to me! It'd be lovely if we could rig a way to not have to copy and paste this onto the front page of the Sphinx docs. Perhaps we can use the Sphinx include directive.

Cool - I'll work on something for the docs index also.

Bingo, that worked. Thanks!


"Post to timeline" block in page builder for the account.php.

Add a "post to timeline" block in page builder for the account.php page. When members login, that's the first page they are taken to. They view all the latest member posts, and post right from this page. Account.php is the most active/popular page on all my sites.

Actually it is aggregated list of notifications from friend, not a some sort of public place.
When user posts to the Timeline in own profile - it'll be displayed in own profile.
When user posts to the Timeline of another user - it'll be displayed in that profile Timeline.
When user posts to the Timeline on homepage - it'll be displayed in the public
So, if user posts to the own private list of events in account - where "publicly" it will be displayed ?

We can show "own" updates to account.php timeline also. Point is that it's often the "Start" page for user, so Post to Timeline should be there. Quite typical for most social networks. Post goes to the user Timeline, but displays in Account feed/timeline as well.

Exactly. Account.php is a start page for users. Having used 3rd party EVO Wall (instead of current Timeline) on 3 sites has totally spoiled me and my users.
A typical Dolphin site has a small user base. Most users don't even make friends (or if they do, very few). This leaves the account.php "friends timeline" block essentially blank. It's basically a useless page! If users constantly see a blank page each time they login, they do not come back often.
On the other hand, having the account.php display a "post to timeline" block followed by "member timeline" block directly below that, shows ALL member activity in the community and encourages high participation rate. Account.php becomes a BIG hub of activity.
When user posts to the Timeline on homepage - choice: public / members only
When user posts to the Timeline on account page - choice: public / members only
When user posts to the Timeline in own profile - choice: own profile / members only / public
Admin Settings: admin should decide what posts are displayed by default in each location above.
User Settings: userscan change to their own preferences in 'edit profile' page under 'edit profile privacy'.
With a small user base, these settings encourage growth.
As site grows and participation soars, settings can then filter from "member timeline" to "friends timeline" as desired on account.php.
Attached (image) is what account.php page can be. Great start page and hub!


"Show Language" label

Would it be possible to add a label to the code sections, showing the reader what the language of the code is?
Basically, it would be great to have something like Prism's Show Language plugin for highlight.js: http://prismjs.com/plugins/show-language/

It's already possible in the same way it's done in that Prism plugin. All you have to do is run over all the highlighted fragments after highlighting happens:
hljs.initHighlightingOnLoad();
addEventListener('load', function() {
  var blocks = document.querySelectorAll('pre code.hljs');
  Array.prototype.forEach.call(blocks, function(block) {
    var language = block.result.language;
  });
})

A few caveats to note:

result.language is a lowercase code word, not a human readable title, so as with that Prism plugin, you'll have to define a mapping for those {'javascript': 'JavaScript', 'cs': 'C#', ... }
Relying on language detection might bite you in a way that even if highlighting itself looks correct, the detected language might be different from the expected one (let x = "something"; are equally highlighted as JavaScript and Rust, for example).

I'll go ahead and close it as it seems to be answered. Do feel free to re-open if you think we could/should do something to make such a solution easier.

  Javascript

  class extends LWElement {
    name = 'Leanweb';
  }

.codeBlock {
  position: relative;
  .label {
    position: absolute;
    color: lightgray;
    right: 4px;
    top: 4px;
    font-size: 11px;
  }
}

That would be another way to get it done. :-)  I think the point here is how you'd do it programaticaly.

I was not able to get the label shown using the code in this thread. It would be great if you can show some working examples.

I see it in your snap, what is the issue you're having exactly?

I want to show the little language label on the top right corner. But I was not able find a working example. Google for highlight.js language label brought me here. @isagalaev in this thread mentioned it's done, and he showed some code snippet, but I was not able to get the label shown using his code.

Because his code is an example:
hljs.initHighlightingOnLoad();
addEventListener('load', function() {
  var blocks = document.querySelectorAll('pre code.hljs');
  Array.prototype.forEach.call(blocks, function(block) {
    var language = block.result.language;
    // you need to use the DOM here to manipulate your HTML to add the label dynamically
  });
})

Oh, I see. Thanks for the explanation. I was hoping as a user, we could do something like this:
hljs.highlightBlock(block, {showLanguageLabel: true});

I see no need for this to be a feature of the core library when it's easy to achieve with 5-10 lines of Javascript code outside the library, or even as a plugin.  This would great content for plugin-recipes.rst documentation though.  This is the kind of thing would be trivial to do with a plugin.
If you make a working https://jsfiddle.net/ for me I might be able to go provide you a working example.  It'd be great if you wanted to contribute that back to the documentation I mentioned earlier.

addEventListener('load', function() {
  var blocks = document.querySelectorAll('pre code.hljs');
  Array.prototype.forEach.call(blocks, function(block) {
    var language = block.result.language;
    block.insertAdjacentHTML("afterbegin",`<label>${language}</label>`)
  });
})

Just one way.

https://jsfiddle.net/a79spbd0/
Thanks for the code example. It works!

Here's a highlight.js plugin I wrote to do this for my own needs: https://github.com/crpietschmann/hljslanguagedisplayplugin
Feel free to use it. :)


[fpv/padctrl] Fix compile error

Delete the dependency from prim as it is auto-generated now
Delete the Imp local-param assignment
Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

First of all: The auto-generated primitives should be available the same way as before, at least as long as you're using fusesoc (which might not be the case for FPV at the moment?)
Beyond that, two comments:

If you remove the Impl parameter from padring.sv, please also remove the PRIM_DEFAULT_IMPL lines at the top.
I know that padctrl.sv needs the Impl parameter for some of its magic, padring might not need it, so it could be safe to remove. But please double-check with @msfschaffner, I might be missing something here.

Yes, @imphil is right about the "magic" inside padctrl.sv. Unfortunately that is still needed since we need to know about the PAD capabilities in that module.
The padring.sv does not need the parameter, so you can safely remove it there.

Thanks for the comment @msfschaffner, could you double check again with the latest change when you have time? Thanks!


Change Draw.io arrow color

Can I change arrow colors?

Yes, choose stroke in color method

Thank you. It worked.

btw as a workaround we could loop refresh by running
setInterval(() => $('.fa-refresh').click(), 1000) in the console


Change the installation files

Release note:

<PLEASE PUT RELEASE-NOTE HERE, PUT NONE if NO RELEASE-NOTE>

@andraxylia: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
c86f263ae651e44dda320ee49c940ab001b1f102
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
da47bce24e2478fd01d7ee8bdbfb048261a09a3b
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
da47bce24e2478fd01d7ee8bdbfb048261a09a3b
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
da47bce24e2478fd01d7ee8bdbfb048261a09a3b
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
da47bce24e2478fd01d7ee8bdbfb048261a09a3b
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
da47bce24e2478fd01d7ee8bdbfb048261a09a3b
link
/test e2e-suite-rbac-auth

prow/istio-presubmit.sh
054352448ce2b5d109624a1d58d37ef737c9055a
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
da47bce24e2478fd01d7ee8bdbfb048261a09a3b
link
/test e2e-suite-rbac-auth

prow/istio-presubmit.sh
054352448ce2b5d109624a1d58d37ef737c9055a
link
/test istio-presubmit

prow/e2e-suite-rbac-no_auth.sh
31bc53754b72940a944373ef7e2d9f1fdce16050
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
054352448ce2b5d109624a1d58d37ef737c9055a
link
/test istio-presubmit

prow/e2e-suite-rbac-no_auth.sh
31bc53754b72940a944373ef7e2d9f1fdce16050
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
31bc53754b72940a944373ef7e2d9f1fdce16050
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
31bc53754b72940a944373ef7e2d9f1fdce16050
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
31bc53754b72940a944373ef7e2d9f1fdce16050
link
/test e2e-suite-rbac-auth

prow/istio-presubmit.sh
68122d7b6ec30fb47db90f1985b9cd4839ed9615
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
31bc53754b72940a944373ef7e2d9f1fdce16050
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
31bc53754b72940a944373ef7e2d9f1fdce16050
link
/test e2e-suite-rbac-auth

prow/istio-presubmit.sh
68122d7b6ec30fb47db90f1985b9cd4839ed9615
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
31bc53754b72940a944373ef7e2d9f1fdce16050
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest all

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-suite-rbac-auth

/test e2e-suite-rbac-no_auth

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-suite-rbac-auth

/test e2e-suite-rbac-no_auth

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

can you update the summary and including adding a rationale for why have 2 files that could stay combined in 1 is an improvement
Alternatively if a pr isn't ready maybe put WIP in the summary until it's ready

Please provide a description for context.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

prow/istio-presubmit.sh
f5a0fd44a705db0ed4f288b694c7088d35316aae
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

prow/istio-presubmit.sh
8a555c7c24f4d72697e049ce1e4e9850acfe8ea6
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

prow/istio-presubmit.sh
0b4af6bcc6c30775ba6adc14dd446e532973833b
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

prow/istio-presubmit.sh
35a8505287ef366127c1357ec4b450ef4dcf1278
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-presubmit

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

prow/istio-presubmit.sh
35a8505287ef366127c1357ec4b450ef4dcf1278
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-presubmit

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
693d1e682eb04bbcc1ab0490cc1fcfb5cb5b6af6
link
/test e2e-suite-rbac-no_auth

prow/istio-presubmit.sh
35a8505287ef366127c1357ec4b450ef4dcf1278
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Addressed the comments, PTAL.

@andraxylia: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
e20289490a1531b931542739aee2674471168105
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
e20289490a1531b931542739aee2674471168105
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
e20289490a1531b931542739aee2674471168105
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
916d0ff05ff5cba17469a3bb213bde1295f88cd9
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@andraxylia: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
916d0ff05ff5cba17469a3bb213bde1295f88cd9
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Strange bug (or maybe non-issue?) with EXCITING

So I'm encountering a weird bug in the tests (I think?) when testing with a structure containing more than just Ti and O. This could be a coincidence and it could happen at any time, but here's the long story short. I'm on commit ede3d9d.
from lightshow import Database

# NEW MATERIALS PROJECT API (v2)
database = Database.from_materials_project(material_ids=["mp-754147"])

Write the input files and whatnot using standard defaults.
from lightshow import EXCITINGParameters
from lightshow.defaults import EXCITING_DEFAULT_CARDS

mycards = EXCITING_DEFAULT_CARDS
mycards['xs']['BSE']['bsetype'] = 'IP'

exciting_params = EXCITINGParameters(
    cards=mycards,
    edge="K",
    # kpoints=lightshow.common.kpoints.GenericEstimatorKpoints(cutoff=33),
    # nbands=lightshow.common.nbands.UnitCellVolumeEstimate(e_range=40)
)

database.write("test", options=[exciting_params], absorbing_atoms=["Ti", "O", "Li", "Co"])

Now, here's where things get weird. Let's see what the neighbors of site 0 are:
s = database.structures["mp-754147"]
neighbors = s.get_neighbors(s[0], 20)
neighbors = [[xx.nn_distance, str(xx.specie)] for xx in neighbors]
neighbors.sort(key=lambda xx: xx[0])

neighbors[:5]
# [[2.048235442706463, 'O'],
#  [2.073903123716639, 'O'],
#  [2.1057234887497844, 'O'],
#  [2.1289397552271683, 'O'],
#  [2.1518768612671186, 'O']]

But now let's read the written .xml file and see that that produces...
from pymatgen.io.exciting import ExcitingInput
exciting_s = ExcitingInput.from_file("test/mp-754147/EXCITING/000_Li/input.xml").structure

exciting_neighbors = exciting_s.get_neighbors(exciting_s[0], 20)
exciting_neighbors = [[xx.nn_distance, str(xx.specie)] for xx in exciting_neighbors]
exciting_neighbors.sort(key=lambda xx: xx[0])

exciting_neighbors[:5]
# [[2.090969402260802, 'O'],
#  [2.090969402260803, 'O'],
#  [2.1376486809681263, 'O'],
#  [2.1376486809681268, 'O'],
#  [2.1565877489554155, 'O']]
# ?????

It appears something is wrong, right?
Maybe not, because pymatgen's structure matcher code identifies these two structures as identical!

from pymatgen.analysis.structure_matcher import StructureMatcher

matcher = StructureMatcher(primitive_cell=True)
matcher.fit(s, exciting_s)  # returns True

matcher = StructureMatcher(primitive_cell=False)
matcher.fit(s, exciting_s)  # returns True

And not just identical, the indexes all match correctly.
transform = matcher.get_transformation(s, exciting_s)
# transform[2] is the index mapping between the two

transform
# (array([[-1, -1,  0],
#         [ 0,  0, -1],
#         [-1,  0,  0]]),
#  array([-0.00617118, -0.49999995,  0.01234225]),
#  [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19])

I'm genuinely confused here and have no idea why the neighbors of site 0 are different between these two structures, even though the structures are identical by PMG's own software. Perhaps there's some weird scaling or something that's done in the XML file that wasn't picked up? I have no idea.
@FCMeng @deyulu @vorwerkc @jtv3 @FabiPi3
who is the EXCITING expert?

@FCMeng No they don't. That's kinda the problem. They appear to be the "same" site in terms of matching the materials together, but my manual analysis with the nearest neighbors doesn't seem to imply that they are...

The thing is, that none of the atoms in the second structure match the nearest-neighbor ordering of the first and I cannot figure out why... but with that said, this is where I almost feel like it's a problem with the test I'm using and not our code. What do you think?

I don't think I understand it. I was thinking the site 0 in your first and second structure are different. In this way, the nearest-neighbor ordering cannot match with each other by any means. Maybe it is easy to print our the atomic positions for every site in the second structure to see which one matches the site 0 in the first structure?

I tried play with it a bit. And I found the structure is P1 from MP. But when storing it to local disk, I think pmg tried to discover the space group in the background and converted it to a C2 structure and did all the rescale I think. You can get this by exciting_s.get_space_group_info().  But for vasp when writing to POSCAR, the transformation was not performed. I don't understand why for exciting, there is this transformation happened. I don't understand why after this transformation, the nn distance changed.

Thanks, Fanchen, that's really helpful. Do you have any suggestions here? It's sounding kinda like this is a non-Lightshow-issue, but on the other hand it probably should not be doing any rescaling haha

This looks very confusing. Is the problem only related to exciting .xml
file? @Matthew Carbone @.> @Fanchen Meng
@.>  When does this step happen exactly, "pmg tried to
discover the space group in the background and converted it to a C2
structure and did all the rescale"?
On Mon, Sep 18, 2023 at 9:04 PM Matthew Carbone @.***>
wrote:

Thanks, Fanchen, that's really helpful. Do you have any suggestions here?
It's sounding kinda like this is a non-Lightshow-issue, but on the other
hand it probably should not be doing any rescaling haha
—
Reply to this email directly, view it on GitHub
https://github.com/AI-multimodal/Lightshow/issues/193#issuecomment-1724681658,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP66N6JCBVROOE6GLIEKXLDX3DVS7ANCNFSM6AAAAAA45D3JGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@deyulu yes it appears to be an issue with the EXCITING xml file only.

Can you share the resulting exciting input.xml file with us please?

@FabiPi3 Just a quick comment: if you only use the EXCITING interface to PMG, e.g. ExcitingInput(database.structures['mp-754147']).write_file(filename='exciting.xml',celltype="primitive"), the crystal structure is also transformed.

Ok, I checked the pymatgen source code and indeed a transformation happens while writing to file:
# determine which structure to use
finder = SpacegroupAnalyzer(self.structure, symprec=symprec, angle_tolerance=angle_tolerance)
if celltype == "primitive":
     new_struct = finder.get_primitive_standard_structure(international_monoclinic=False)
elif celltype == "conventional":
     new_struct = finder.get_conventional_standard_structure(international_monoclinic=False)
elif celltype == "unchanged":
    new_struct = self.structure
else:
    raise ValueError("Type of unit cell not recognized!")

I guess @vorwerkc has implemented those lines. I guess you could scrap these lines if you doesn't want the transformation or at least make it optional.

It seems we may use “celltype ="unchanged"” as the default for exiting writer in lightshow?

I think the default behavior without a doubt must be that the structure in the loaded PMG structure is identical to the saved structure. Do others agree? If nothing else, this makes it consistent with the other methods.

I agree with @Matthew Carbone @.***> on "the structure in
the loaded PMG structure is identical to the saved structure". Consistency
is a key feature to Lightshow. I don't think we can compromise it. --Deyu
On Thu, Sep 21, 2023 at 9:03 AM Matthew Carbone @.***>
wrote:

I think the default behavior without a doubt must be that the structure in
the loaded PMG structure is identical to the saved structure. Do others
agree? If nothing else, this makes it consistent with the other methods.
—
Reply to this email directly, view it on GitHub
https://github.com/AI-multimodal/Lightshow/issues/193#issuecomment-1729522938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP66N6MLLGAOO5R4HBN3K2LX3Q3IRANCNFSM6AAAAAA45D3JGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@vorwerkc can you hot fix this? Or someone who knows what they're doing with EXCITING.


Unable to manage multiple hosts in cluster

Hi,
I was thinking that was possible to create a structure like this:
hosts = [
{
host = "https://node1:9200","https://node2:9200"
name = "MyCluster"
}
]
just to manage every node that belongs to my cluster directly with one entry (to handle downtime or something similar).
was my code syntax?

You don't have to write down every node you have inside your cluster.
Just type one, and the service will discover the others node by itself
If you have a VIP setup for Elasticsearch, you will never have downtime issue if the address you try to access is not available when you wanted to access your cluster with Cerebro

yeah, but if I have a basic cluster with 3 nodes
node1
node2
node3

and I have not any VIP configured on DNS (or any network balancer tool) I have to create 3 entries in Cerebro config since, if node1 goes down or it is turned off, it will not be able to discover (and to connect to) node2 or node3.
having the change to configure an array will demand directly to Cerebro application the discovery of the first master node available. a sort of resiliency let me say.

This is why you HAVE to setup a VIP.
Without this, you can't really use cerebro this way.
Apart from using cerebro, posting content to elasticsearch without a VIP will result in downtime issue everytime  or if you want to access data with other services like Grafana or Kibana ...
Having a elasticsearch cluster without a VIP is not a really good idea in my opinion, but that's just my point of view.


Thrust allocator for temporary storage used with thrust algorithms.

I don't see real usage for this.
I believe, in case when it is used in your custom app/library only, there is no problem to add this directly into your code.
@jet47 Does this make any sense?

I don't see the usage of newly added class. We have GpuMat::Allocator and BufferPool classes, can they be used instead?

Hi,
The main reason I added this was there are a few places where a thrust algorithm is used inside of an opencv algorithm.  Namely in orb thrust::sort is used.  These thrust algorithms use temporary memory which is causing allocations and deallocations.  By creating a ThrustAllocator class with a similar interface to the GpuMat::Allocator, I can tie the thrust allocations into my memory management.
This optimization increased the speed of ORB feature matching on 1080P images by 8ms per frame.
I made this a class in the utilities.hpp file with the plan to update all uses of thrust algorithms with this, as well with the hopes that anytime thrust is used later on, that it would be with this allocator.
In theory you could tie the thrust allocator into the BufferPool or GpuMat::Allocator, but neither class can currently be directly passed into a thrust algorithm.  I would have to change the interface for GpuMat::Allocator or BufferPool to have the allocate, deallocate and value_type.  Which would expose host device decorations in the core/cuda.hpp file.  Or I would have to write an interface ThrustAllocator class which gets it's allocations from the current GpuMat::Allocator.

Example usage can be found in my fork under the branch thrust_allocator_usage.

:+1:


Symantic colorization

This is a first step at colorization. Colorization for TagHelpers and their elements is working (yay!), but not all directives attributes display correctly (@bind is an example), transitions aren't colored, and elements which host a directive attribute get colored as taghelpers. We're going to go with this for now though so that the improvement commits are easier to reason about.
@danroth27, I'd be happy to give you a demo whenever you like.
(I will be really sad if we change colors!)

:up::date:

:up::date:. Had to fix some tests this broke, but it actually exposed undesirable behavior in Hover of directive attributes, so that's nice.


Return ServiceException with 413

In my Jersey service, I throw ServiceException to benefit from the consistent logging and serialization of com.palantir.remoting3.servers.jersey.ServiceExceptionMapper. However, this means I am forced to use an HTTP error code from ErrorType.Code. In particular, I can't return a 413 when requests are too large.

This is by design: we explicitly don’t support arbitrary HTTP mechanisms (including headers and response codes).


Implement Public Profile Developer API

see: https://github.com/uport-project/3box-js

@christianlundkvist can you please see if we need any help here with @ajunge out? Want to make sure this doesn't fall through.

So this issue is under “Code Review”, but what are we reviewing? All the code in 3box-js? There is no specific pull request there.


KML Support

This issue has been heavily edited since Andre's original write-up and is now maintained by @mramato.
The initial KML implementation was started as part of the 2013 Google Summer of Code and resulted in many core features being implemented by @andre-nunes in his branch.  Current work is taking place in the kml branch of the official Cesium repository.  Since KML is a large specification, the plan is to implement what we see as the minimum viable product first and officially release that as part of Cesium.  We will then continue to add additional functionality on a feature by feature basis with each Cesium release.
The below task list tries to capture everything at a fairly high level for each phase.  There are many hidden features and requirements here and listing them all isn't useful.  For example, we are going to need polygon and polyline draping on terrain as a core Cesium feature (#2172).  We will add new tasks when we encounter an issue as we implement each of the high-level types.  If you have a strong need for a feature that we haven't gotten to yet, or feel we're missing something in the below list; please don't hesitate to let us know.
Related Links
Mailing-list topic
Google Documentation
OGC Specification

[x] KmlDataSource

[x] KMZ support
[x] Proxy support

[x] Folder
[ ] Placemark

[x] Geometry

[x] Point
[x] LineString
[x] LinearRing
[x] Polygon
[x] MultiGeometry
[x] gx:MultiTrack
[x] gx:Track
[ ] Model

[ ] Overlay

[x] GroundOverlay
[x] ScreenOverlay
[ ] Super Overlays
[ ] PhotoOverlay

[x] NetworkLink

[x] onExpire, onInterval, onStop
[ ] onRegion, onChange, onRequest

[ ] [NetworkLinkControl]
(https://developers.google.com/kml/documentation/kmlreference#networklinkcontrol)

[x] Everything except updates
[ ] Updates

[ ] Styles

[x] LineStyle
[x] PolyStyle
[x] IconStyle
[x] LabelStyle
[x] BalloonStyle
[x] styleUrl
[ ] StyleMap

[x] normal
[ ] highlight
[x] locally defined

[ ] ListStyle (requires DataSourceBrowser for full implementation)

[x] Additional <Link> features

[x] <refreshMode>
[x] <refreshInterval>
[x] <viewRefreshMode>
[x] <viewRefreshTime>
[x] <viewBoundScale>
[x] <viewFormat>
[x] <httpQuery>

[ ] Same <Link> features for <Icon>
[ ] LookAt
[ ] Camera
[ ] ExtendedData

[x] <Data>
[ ] <Schema> and <SchemaData>
[ ] Arbitrary XML data

[x] Resolve KMZ links inside of an entity description.
[x] Turn plain text urls in descriptions into links.
[x] gx:LatLonQuad

[ ] Trapezoidal Texture Projection

[ ] Region
[x] root:// notation for older KML documents
[ ] gx:Tour
[ ] gx:drawOrder
[ ] <gx:altitudeOffset> for LinearRing and LineString
[ ] <gx:angles> for Track and MultiTrack (applies to both model and billboard).
[ ] <Icon> gx extensions x, y, w, and h for GroundOverlay
[ ] gx extensions for LineStyle
[ ] xal:AddressDetails
[x] altitudeMode

[x] absolute
[x] clampToGround
[ ] relativeToGround (doesn't work on terrain).

[ ] gx:altitudeMode
[x] visibility
[ ] ge:Track gets billboard heading from angles or direction of travel.
[ ] Support for TIFF images. forum discussion
[ ] Password protected kmz files.
[ ] Password protected network links.
[ ] Ability to specify default icon when load fails.

Random notes

We need to match handling of missing x/y/w/h values when using Placemark gx sub-region
All billboards KML produces are currently square, Google Earth instead scales the longer edge to 32 while maintaining aspect ratio.  This can be seen in the KMZ Sandcastle demo, which has squate flags in Cesium and rectangular flags in GE.
Cesium doesn't have any way to support BalloonStyle:displayMode. I'm not sure we care.
We currently replace BalloonStyle text $[geDirections] with nothing.  If we ever provide out of the box routing, we can use that instead.
(https://github.com/gregjacobs/Autolinker.js) can be used to do this.
We may be able to use createObjectURL for loading data from a zip file (which is currently using data uris). The problem here is that you need to call revokeObjectURL in order to clean things up when you're done.
We need to support passing an ellipsoid to KmlDataSource to support other planets.
We may want to expose some way to customize default values, either by exposing default entity graphics directly, or exposing a limited set of options (like GeoJSONDataSource does)
Clicking on a link in a balloon description that returns KML has special behavior in GE.  While we probably won't mirror that directly in Cesium, we should provide a mechanism to be able to do so (maybe through events).
zip.js has the ability to report progress which we currently don't utilize. loadXmlFromZip and loadDataUriFromZip in KmlDataSource.js would be the place to start if we ever want to add it.  We just need to pass a onprogress callback as the third parameter to entry.getData
It would be nice to have a KML animation demo that uses TimeSpan, similar to the US states formation demo in Google's own documentation.
Google Earth silently ignores errors with invalid dates (such as having garbage in a when block).  If we want to match Google Earth, we should too.  Rather than try/catching JulianDate.fromIso8601, we should add a exceptionless version that returns undefined.

Hey @andre-nunes I know we haven't talked much but I just wanted to let you know that we just opened a PR for KML to go into master (link above this post).  There's still a lot of work to do with KML overall, but it's looking really good for a bunch of use cases.  That's again for getting the ball started on this!

Hi @mramato, I'm really glad to see some of my work being finally merged into cesium, let me know if there's something I can help out with in my free time. Oh and I just noticed that you've updated GSoC's ideias for 2015, is Cesium applying this year? I might shoot you an email regarding that ;)

Yes, we're applying. I assumed you graduated already. Definitely let me know if you're interested and what you want to work on.

Some, because I didn't try them all, of the KML files available from http://activefiremaps.fs.fed.us/googleearth.php result in error.
An error occurred while loading the file: conus_latest_modis.kml
An error occurred while loading the file, which may indicate that it is invalid.  A detailed error report is below:
Request has failed.

The file https://www.google.com/maps/d/kml?mid=zp8nK_5H0MFQ.kzTmU5XK-qJQ results in the following:
An error occurred while loading the file: 2015 California Fire Map.kmz
An error occurred while loading the file, which may indicate that it is invalid.  A detailed error report is below:
TypeError: Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
at Autolinker.HtmlParser.Autolinker.Util.extend.parse (http://localhost:8080/Source/ThirdParty/Autolinker.js:947:24)
at Autolinker.link (http://localhost:8080/Source/ThirdParty/Autolinker.js:359:15)
at processDescription (http://localhost:8080/Source/DataSources/KmlDataSource.js:1225:27)
at processFeature (http://localhost:8080/Source/DataSources/KmlDataSource.js:1288:9)
at processPlacemark (http://localhost:8080/Source/DataSources/KmlDataSource.js:1331:17)
at processDocument (http://localhost:8080/Source/DataSources/KmlDataSource.js:1319:21)
at processFolder (http://localhost:8080/Source/DataSources/KmlDataSource.js:1327:9)
at processDocument (http://localhost:8080/Source/DataSources/KmlDataSource.js:1319:21)
at processFeatureNode (http://localhost:8080/Source/DataSources/KmlDataSource.js:1477:13)
at http://localhost:8080/Source/DataSources/KmlDataSource.js:1502:13

Thanks @GatorScott.  The Request has failed. is a CORS issue. Just like imagery, any KML files loaded via url to another website or that contain a NetworkLink to another website either needs CORS to be enabled on that server or it has to go through a proxy. I'm writing up a tutorial on using KML in Cesium and I plan on having a section covering this.
That being said, once I used a proxy, I got a lot of errors about invalid styles; so I'll definitely look into and fix the issue for all KML on that page.
The length issue appears to be a clear cut bug caused by KML objects with no description but an empty ExtendedData node.  It's an easy fix that I'll have a PR open for in a few minutes.
Thanks again for the link.

#2538 fixes the length problem.

#2539 fixes the rest of the issues.  All of the files @GatorScott linked to should now load and work in Cesium (though loading directly from the URL, or ones that use NetworkLink still require use of a proxy).

The "2015 California Fire Map KML" works now but is displaying the placemark names using a serif font that is pretty illegible.

The "2015 California Fire Map KML" works now but is displaying the placemark names using a serif font that is pretty illegible.

It's using the browser's default san-serif font, but I agree it could be done better.  I also want to allow people to select the font to use for labels as well.  Cesium's label rendering as a whole needs improvements, this problem is not specific to KML.  I'll write up an issue, since I don't think we have one right now.

You wrote "san-serif" when it should be "sans-serif" which is French for without serif.

Looks like that typo is also in the KML code, so it's not even using sans-serif but instead whatever the default browser font is.  Unfortunately, fixing it doesn't fix the overall problem so we still have a bug somewhere in LabelCollection or writeTextToCanvas.  Thanks for the heads up.

Could you make that a bold sans-serif by default?  It looks way better.

I tried to get a non-bold picture but the California fire file doesn't work from cesiumjs.org.

I opened #2549 which majorly improves font issues (but is going to probably be partially held up by #2130).  We could go with a bold in the meantime, I also recommended a monospace font in a comment in that PR which looks good without bolding.

Is there a way to control z-level for polygons loads through KMLs?
I have placemarks loaded into my viewer:

But when I load a polygon over the are the placemarks are buried behind it, barely visable:

Is there a way to make it so the placemark undeaneath can come to the top? A way to control the z-level? I believe a problem might be that the polygon kml acting at the large blue overlay has the attribute:
gx:altitudeModeclampToSeaFloor</gx:altitudeMode>
And I noticed that "gx:altitudeMode" has yet to incorporated into the API, perhaps that is the problem?

I swear I answered this yesterday, but I guess I never submitted the comment.  I just posted an answer to the same question on the mailing list.  I assume that was you too?

Hi, How can I get the coordinates from Kml file using JavaScript

Hi folks, is there anyone working on lookAt right now? If not, could someone point me at where I might want to look to add this or at least access the data in the KML? Thanks.

@maburiza and @Hoverbear in the future, please use the forum for general questions and discussions.  More people will see it and you're likely to get a faster answer.
@maburiza We don't have a way to directly get the extent of an entire file (since it changes over time), but you can iterate the loaded entities and discover any information you need.
@Hoverbear No one is working on lookAt, but if you are interested in adding the capability, we would be willing to look at a pull request.  My first approach would be to modify processFeature in KmlDataSource to load the lookAt element and convert it and assign it to the viewFrom property on the Entity being created.  There might be some roadblocks to this approach but if you take it as far as you can and open a PR, we can help you finish it.
Please create a forum topic to continue any further discussion.

There are some sample KML files for regions in this forum thread
https://groups.google.com/forum/#!topic/cesium-dev/7BTA9RCCdIc

another resources for regions. I find them more clear for me than the KML reference:

the standard:
http://www.opengeospatial.org/standards/kml

this tutorial:
http://www.google.com/earth/outreach/tutorials/region.html

There appears to be no support for NetworkLink/Link/viewRefreshMode, viewRefreshTime and viewFormat.  Those would be very helpful.  We use:
onStop 0 BBOX=[bboxWest],[bboxSouth],[bboxEast],[bboxNorth]
to have the network link update when the user stops moving, and to limit the view to the bounding box.

@13kenney Yes, this is explicitly marked not-support in the above roadmap.  We will be implementing sometime over the next few months (but don't have an exact ETA).

Thanks, great to hear it is coming!
Mark

On Aug 17, 2015, at 1:33 PM, Matthew Amato<EMAIL_ADDRESS>wrote:
@13kenney Yes, this is explicitly marked not-support in the above roadmap. We will be implementing sometime over the next few months (but don't have an exact ETA).
—
Reply to this email directly or view it on GitHub.

Hi,
Anybody working on ScreenOverlay feature? Any ticket in place or plan for it?
Regards,
Ramesh

No one is actively working on it, but it's definitely on the roadmap.  We are hoping to do another round of KML improvements early next year, but I don't have any kind of ETA for you.

Thanks for the quick response. (Until then, we will parse the KML document and use HTML/JS features to overlay the image on Cesium maps.)

Hi
Anybody working on Placemark Geometry-Model feature? Any plan for it? Our project used to display 3D models created by google-skechup on google-earth. Now we are seeking a solution to display these models on the map.

Hello,
It seems to me that Cesium interprets KML absolute <altitudeMode> as altitude from ellipsoide, while in KML specs it should be an altitude from sea level (or EGM96 if my guess about Google Earth sea level is true).
Please, tell if there is any work towards altitudeMode support?

Please, tell if there is any work towards altitudeMode support?

It is on our roadmap, but there's no ETA.

It is on our roadmap, but there's no ETA.

Thank you for response! And good luck with your roadmap!

@mramato Here is what should be checked off
For NetworkLinks
In <Link> all these are done
 <refreshMode>
 <refreshInterval>
 <viewRefreshMode> (onStop only)
 <viewRefreshTime>
 <viewBoundScale>
 <viewFormat>
 <httpQuery>

For <Icon> there isn't any refreshing but these now work for the first load
 <viewBoundScale>
 <viewFormat>
 <httpQuery>

<NetworkLinkControl> has support for
<cookie>
<expires>
<maxRefreshInterval>

These are also done

StyleMap - locally defined
root:// notation for older KML documents

Thank you, wonderful news about the Network Links support!

Cesium KML not support 3d model?

NetworkLinkControl support requested in #4404

I'm porting an application from GE to Cesium; it relies on NetworkLinks updates heavily, a Is there any roadmap for such a feature? If the answer is No.. does Cesium have Network  Links but not using KML files but some other format I may have to convert to ? Thank You

Hi @micelic!  Cesium does have support for network links, but performance may be slow depending on how your KML is organized.  If performance is an issue, I would recommend converting to CZML.  Other users that have migrated from GE->Cesium have seen significantly better performance with CZML than KML.  You can learn about the format here: https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/CZML-Guide
In the future, please post questions like this on our forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
There is higher visibility there so it is more likely that others will see your question and be able to help answer it.  And it may help out other members of the community who have a similar question.   Thanks!

Thank You.
I would like to try the network links first to see the performance hit.. If it is an issue I will think to convert to CZML.
Is there anything documented on Cesium and network links for KML.
The documentation on this topic is limited.
I appreciate your help.
From: Hannah<EMAIL_ADDRESS>Sent: Thursday, February 09, 2017 8:47 AM
To: AnalyticalGraphicsInc/cesium
Cc: Miceli, Carlo J.; Mention
Subject: Re: [AnalyticalGraphicsInc/cesium] KML Support (#873)
Hi @micelichttps://github.com/micelic! Cesium does have support for network links, but performance may be slow depending on how your KML is organized. If performance is an issue, I would recommend converting to CZML. Other users that have migrated from GE->Cesium have seen significantly better performance with CZML than KML. You can learn about the format here: https://github.com/AnalyticalGraphicsInc/czml-writer/wiki/CZML-Guide
In the future, please post questions like this on our forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
There is higher visibility there so it is more likely that others will see your question and be able to help answer it. And it may help out other members of the community who have a similar question. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/AnalyticalGraphicsInc/cesium/issues/873#issuecomment-278644612, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMB5q4KX202u08BO-AzVpJRZweGjarBmks5raxjjgaJpZM4AvhIQ.

Any plans for Screenoverlays? Previous comments have indicated it was on roadmap, but not sure if this work has started?

@prieks we will likely not add screen overlay support because you can easily use HTML and CSS to create and position elements on top of the viewer.  You can see this example for how to do so programmatically: http://analyticalgraphicsinc.github.io/cesium-google-earth-examples/examples/screenOverlay.html

Although Cesium may not have a general screen overlay API, I'm pretty sure that we would add ScreenOverlay support for KML if enough users need it or someone is able to contribute it.

Any plans for gx:angles ? It seems to me that display an aircraft orientation based on pitch, roll, heading is a nightmare in Cesium. KML gx:angles is not implemented. CZML orientation must  be computed in fixed Earth reference. Even in javascript, pitch, roll, heading must me transformed with heading-pitch-roll to Quaternion and Transforms.eastNorthUpToFixedFrame.

Hello @florentdu,  gx:angles is on our list but I don't think we'll have a chance to work on it in the near future.  We would gladly review a pull request though if you have some time to work on implementing this!  You would need to make changes to KmlDataSource.  You can find information on checking out and building the code base in our Build Guide and see our Contributing Documentation for instructions on opening a pull request. Thanks!

When will there be support for infoboxes using KML documents? Currently, I can only get the infobox to show up for my KML file if I wrap the <Document> in a <Folder>

@burn123 I'm not sure what you mean.  Infoboxes are already supported for KML.  If you have a KML file or snippet that you feel should work, but doesn't, please share it and we'll take a look.

In my app, the infobox won't appear if I don't have the Document wrapped by a Folder element. So for example, in this snippet I can't get the Placemark description to show up in the infobox, because the infobox never appears
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
        <name>Beam Footprint Plot</name>
        <open>1</open>
        <Placemark>
		<name>Beam 51</name>
		<description>SMAC instance id: 12
 Access Network id: 111
 SMAC domain id: 324
SMAC base station id: 01:03:24:68:00:00
Logical beam id: 51
Physical beam id: 307
 CSA id: 551</description>
        </Placemark>
    </Document>
</kml>

But if I simply wrap it in a folder tag, it works in my app
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
  <Folder>
<name>Temporary Places</name>
<open>1</open>
<Document>
         ......
    </Document>
  </Folder>
</kml>

In the official Cesium viewer, both work so I'm not sure what makes my app unable to render the infobox for the first example

Is there anything on the roadmap for how to support large KML data sets?  I've seen some discussion about plans for Region support, eventually, and that's good if you have control over the source, but I'd also like to allow my users to bring their own KML and handle that as gracefully as possible.
Right now, when you load a large data set (just Googling around I found this 15MB example ), nothing seems to happen for some time, then the render loop crashes out with "Array buffer allocation failed".  (I tried to make a Sandcastle example to show this, but ran into CORS issues -- sorry!)
I'd like to see better error handling, certainly, but also maybe we could have the ability to limit how many entities are loaded from the file?  Obviously splitting large sets into Regions (once supported), or parsing server-side and exposing WMS / WFS / 3D Tiles / whatever would be best in the long run, but until we can provide that I'm stuck handling KML client-side.

Hello @thw0rted!  Our strategy for handling large KML datasets will be to process them into 3D tiles server-side.  This is one of the processing tools we plan to make available on cesium.com.  We do want to improve loading and error handling to prevent large datasets from freezing and crashing, but I don't think there's much we have planned to improve rendering support client side.  It's difficult because everything has to be stored in memory and it's just too much data for the browser to handle all at once.

I don't think it's worth a whole issue, but I wanted to point out that the docs for KMLDataSource say that the static .load method's options paramter is optional -- this is not true.  The static load is a thin wrapper that makes a new instance and calls its prototype .load, but it won't get past the constructor if the options aren't specified, since camera and canvas are required.

Thanks @thw0rted!  I fixed the doc here: #5961

Uh, am I maybe the only one actually using the KML capability right now?  I sort of assumed it would have lots of users but this thread has been suspiciously quiet :D
I am back because I wanted to ask about Google Earth compatibility.  We have users on Google Earth Pro 7.1 and 7.3, and both have an infuriating feature -- the default Placemark icon set uses links to http://maps.google.com (hard-coded protocol and all :( ), for example http://maps.google.com/mapfiles/kml/shapes/placemark_circle.png.  That would be fine, except that our network is not on the internet... but Google Earth Pro still happily fills in the correct image!  They must have an internal pre-fetched representation of the default icons and silently use those instead of looking for the actual file online.
What does this have to do with Cesium?  Well, there are a number of compatibility / interoperability features on the roadmap that specifically cater to the Google "flavor" of KML.  Ideally, this "feature" (ugh) of Google Earth could also be replicated.  More generally, maybe we could pass a function (or Proxy?) to the KMLDataSource that is allowed to rewrite resource URIs before they're requested from the network?  This would be more work -- we'd have to grab and host copies of the default icon set somewhere -- but it would also be helpful in other situations, like some legacy KML sources we found where the root file is available over HTTPS (good!) but it includes NetworkLinks over HTTP (bad!).
Is something like that possible today?  If not, could it be added to the roadmap?  Should I file a separate issue?

@thw0rted yes, can you please write up a separate issue?  That will make it easier to discuss since it's a specific case. Thanks!

onRegion networkLink event support requested on the forum: https://groups.google.com/forum/#!topic/cesium-dev/MOuIjyW4pew

Has terrain support been added? When I add a KML and a terrain provider, the KML moves around when I pan the globe. When I turn off terrain, its fine. Also tried setting clampToGroup: true and still an issue.

@bbehling-trimble yes, some terrain support has been added.  In addition to passing in the clampToGround: true flag to the KmlDataSource, you need to make sure your KML has the correct altitude mode set for placemarks. ie <altitudeMode>clampToGround</altitudeMode>.  Note that altitude modes like clampToSeaFloor are not supported, and relativeToGround has support for some placemark types but not all.  If the altitude mode is not supported there should be a warning logged to the console.

Thanks for the example file.  At first glance, this looks like a bug.  I'll take a closer look and let you know.

@bbehling-trimble KML requires <tessellate>1</tessellate> be set on line strings in order for them to conform to terrain.  None of the strings in the file you posted have this set.  I updated the file and now it loads as expected in Cesium.
Dimensions2018OffsiteScans2.zip
That being said, I'm not sure why the original file was loading on terrain in Google Earth.  Longer lines I tested in Google Earth do not follow the terrain unless tessellate is set.  This is probably another case of Google not following their own format and having undocumented behavior (happens all of the time).
I'll look more into it and possibly open a PR to better match GE (if I can figure out the "rules") but for now the most correct thing to do is add tessellate to the LineString.

@mramato Thanks!

This thread has been quiet again for a while!  I'd like to make another quick suggestion -- again, it can be its own issue if need be, but it's very small.  I'm using the KmlDataSource in a context where it would be helpful to know if the loaded file has NetworkLinks or not.  I'd like to show the user whether or not they can expect the data to periodically update itself.  I don't need tons of details, but even something like a hasNetworkLinks boolean (implemented as get() { return this._networkLinks.length > 0; }) would be useful as part of the public API so I don't have to dig around under the hood.

I just got a request for supporting SchemaData over the support email. Is this something that would be easy to support?

Hello, @mramato
https://github.com/AnalyticalGraphicsInc/cesium/issues/873#issuecomment-76861511
Please let me know how to handle that CORS issue while loading KML. #8381

@gogo1211 Hannah's response here https://github.com/AnalyticalGraphicsInc/cesium/issues/8381#issuecomment-552457568 explains it best. You need to configure this on your server host. If you need additional help please open a thread on the Cesium forum.

@OmarShehata , thank you!

I have come across an odd issue relating to kml 'Folder' support (which is currently marked as supported).  If I load a kml file with folders, none of the data shows within cesium and I get no errors on the console.
var viewer = new Cesium.Viewer('cesiumContainer');
var options = {
   camera: viewer.scene.camera,
   canvas: viewer.scene.canvas
};
viewer.dataSources.add(Cesium.KmlDataSource.load('test_wind.kml', options)).then(function(data){
   console.log("Data loaded:", data);
});

The above outputs "Data loaded" and displays nothing within cesium.
As soon as I strip the folder tags out of kml, everything seems to work.
var viewer = new Cesium.Viewer('cesiumContainer');
var options = {
   camera: viewer.scene.camera,
   canvas: viewer.scene.canvas
};
viewer.dataSources.add(Cesium.KmlDataSource.load('test_wind_no_folders.kml', options)).then(function(data){
   console.log("Data loaded:", data);
});

test_wind.kml
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>

  <Folder id="time1499886000.0">
    <name>1499886000.0</name>
    <visibility>0</visibility>
    <Folder id="altitude24000">
      <name>24000</name>
      <visibility>0</visibility>
      <Placemark>

         <Point>
            <altitudeMode>clampToGround</altitudeMode>
            <coordinates>-98,38</coordinates>
         </Point>
      </Placemark>
    </Folder>
  </Folder>
</Document>
</kml>

test_wind_no_folders.kml
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
   <Document>

      <Placemark>

         <Point>
            <altitudeMode>clampToGround</altitudeMode>
            <coordinates>-98,38</coordinates>
         </Point>
      </Placemark>
   </Document>
</kml>

I haven't tried loading your sample KML but you have both of your (nested?) folders' <visibility> tags set to 0, i.e. hidden.  I spent 10 seconds searching the source for KMLDataSource and it looks like that tag should be respected so setting it to 1 is likely to fix your issue.

Well that would make plenty of sense.  Apparently you can stare at an issue for hours and still never see the obvious.
GoogleEarth seems to ignore the <visibility> tag (I originally had set the <visibility> to '0' within my kml generator to try to suppress the display upon KML loading and forgot about removing the <visibility> tag when it had no effect on GoogleEarth) so I am glad to see that Cesium honors that tag.
The nested folders was simply because I pulled the example from a much larger data-set where there was more data which the nesting provided organization to.
Thanks for the assist in debugging despite the obvious blunder on my part.

gxlTrack when rendered on terrain shows only icon, and path is underground.
Minimal KMLs are attached in sandcastle demos.
Let's have 4 points and 2 flavors of KML, one as LineString and one as gx:Track
First example: LineString works (after some suggestions on forum)  https://sandcastle.cesium.com/index.html#c=bVRtT9swEP4rVr80lTKn6XipSgjTQOzDQCC12j4skzDOtbVw7Mh2Wgriv++cN1pYVTW95557vwvXyjqyEbAFQ86Jgi25BCuqgv6qsWDIa/FSK8eEAjMMyWumCHFgDAL3Rm9EDmbWmXEDzMFvbWS+aCjBKMzU2+gsUxtmiC6dwJgY65V4P4RwVoBhZNZmQS0HBbRBw56DxvYzx6NhS5GsKBf6h9GVymfEmQow7Blpwr5oXSyYWYHrkKdCYhIPycUz/tmAsZjWeTaI6TgbEFBc50KtEKjc8ss0G1ykmUq8DdKVRXztXDmLou12S3UJaiUsVeAipEQTOkEfNXG2ej7krrReSUxdFzUVnl1DT30Vyb1kHApmntKmqERhG9LbHbnB3idRLbWaHCw3ou5mulgLS/Dr1kCk5syDRC9JscPfpeBAk2if37rwTufOYJ0tgpgDa0FKnGEaJ9Ge1DOYdMJVOdzqHNKDrifRga634Fob7CZ6sWl8SuPJeHI8DY+mdBKPj04npMHGxw0Un8YnLRR/Peow1DefuNVNev7J9DiJ9mP0gaMPFSbRfoMTPwF8PrSrWTJj+yu4uru9r+Wg29zS6EJYQH276j8LecUcm+vKYIelZnnQuKD14xr5TewA4+AmD5yfNq5FNhiF3SGM/D62DrdrUEEbJiTLSnFPCfI+yKg/mvYO3lWWsjzfp561zPfNx8zf9RQUjkqg3YbJCuyf8V9v8VbbZWrOVM6Zdbiq6HehtXxk5nvlHOYzvJY74jTpezncS/ZTiku5W+iuqtFZFFHny0Tiefp/Tp3CW0iGrgk7RGAQDhLrdrLbqm+iKLVxpDIyoBT3tCj9ltroseJP4Ci31s8tiTqjJBcbInI8xg8vNLxUXGLrT3pZSTkXL4DXiPciNgdmfr44yzt8VUi285R1nN40IKV4YCh+tmpL2PP4Dw
Second Example:
gx:Track, "banner" is OK
but "track line" is UNDERGROUND
https://sandcastle.cesium.com/index.html#c=jVX7b9s2EP5Xbv7FNuBQjzzhKOq2Fu2GNU1QCxuwaUAZ6WwToUiDpOy4Rf73HfWKs3RYBMIy777v7vj4ToVW1sFW4A4NXIHCHbxFK+qK/d7YJuOimb7VynGh0Ixn8C1XAEEA2S+/LsCP69ubz9lPnzL4AbiUYBErCwa5RFeC0+DQGCLDHYqVAk3s5vFhOtet0VtRopn32QuiO/xDG1lmLWQyneXqcXqZqy03oDdOUOlU8rcmDkDBKzQc5t1imC1QIWutswFDZPsS462zDiJ5tcn0B6NrVc7BmRop7SW0ab9qXWXcrND1lvtKUhFfkjcP9GeLxlJZV/koYmE+AlSFLoVakaF2y6OLfPQmzVXiOQRXluxr5zbzINjtdkxvUK2EZQpdQJAgZjHFaIDz1cNz7ErrlaTSddVA8cG18NSvIrmVvMCKm/u0XVSiaBvS6z18pCNMgmbWeUq0hRHNbqbZWlig4dYIUhfcG0EvodrT71IUyJLgEN+FWD3MM8OLPhlZHFqLUtIJplESHMwGBJdOuLrEa11i+mzPk+CZb2Ds1qjSOIzOjsLjo+Mwi47n0SmNP5Ogcf0f8PyVwDh8DTAOvweknSi0NmUanbMoDuPTCzi5YHEUnpzHSTB4/wsfnrbw6Dw6ewU8Oj7p8cRtn+gVvHjIc3Zx+gLfGJ7OMwkOL1Pibxu9v3Qy3HBjh8bx7ub6tplPepVujK6ERfJ3sv6tku+44wtdG7pNUvNy0oZgzes94RfOkGImlIdUO3L+ZpME8tF01ot+6rXXBfT7P+nSzGBZq8JDJuWQZDo0iE7zTy7LeFkeQi875JPKqfInP0NFF1MQb8tljfav8G/PeGx4uVpwVRbcOpIlxc20lnfc/Fw7R/WM38u974TDXo4Pin1R4lLuM92vasqcXyOhrtLvA5r8jzMYuzbnmAyj2Sixbi97Af0oqo02DmojJ4yRJKuNF6QN7uriHh0rrPWHlgQ9KSnFFkRJXedfHwBqSaRX63vXspZyIb4itR1qDGL7jOYPlw7yhnqi5HsPWUfpx9bIGHUSmr5kdUs4iPgP
Third Example:
When no terraiin is specified, also gx:Track works
https://sandcastle.cesium.com/index.html#c=jZX7b9s2EMf/lZt/sQ041CNPOIq6rUW7YU0T1MIGbBpQRjrbRCjSICk7bpH/fUe94iwdFkOwzOPnHnx8z4VW1sFW4A4NXIHCHbxFK+qK/d7YJuOiGb7VynGh0Ixn8C1XAEEA2S+/LsA/17c3n7OfPmXwA3ApwSJWFgxyia4Ep8GhMeQMdyhWCjR5N582TDd5a/RWlGjmff6CAjj8QxtZZi0ymc5y9Ti9zNWWG9AbJ6h4KvpbEwmg4BUaDvNuOcwWqJC11tnAkLN9yXjrrEMkrzaZ/mB0rco5OFMjpb2ENu1XrauMmxW63nJfSSriS/LmgX5s0Vgq6yofRSzMR4Cq0KVQKzLUbnl0kY/epLlKvA/hypJ97dxmHgS73Y7pDaqVsEyhCwgJYhZTjAacrx6esyutV5JK11WD4oNr8dSvIrmVvMCKm/u0XVSiaBvS6z18pENMgmbUzZRoCyOa3UyztbBAj1sjSF1wbwS9hGpP30tRIEuCQ74LsXqYZ4YXfTKyOLQWpaQTTKMkOBgNBJdOuLrEa11i+mzPk+DZ3OCxW6NK4zA6OwqPj47DLDqeR6f0/JkEzdT/geevBOPwNWAcfg+knSi0NmUanbMoDuPTCzi5YHEUnpzHSTDM/hcfnrZ4dB6dvQKPjk96nnzbT/QKv3jIc3Zx+oJvDE/nmQSHlynxt43eXzoZbrixQ+t4d3N924wnvUo3RlfCIs13sv6tku+44wtdG7pNUvNy0oZgzes98QtnSDETykOqHTl/s0kC+Wg660U/9drrAvr9n3RpZrCsVeGRSTkkmQ4NotP805RlvCwP0cuOfFI5Vf40z1DRxRTkt+WyRvtX+Lf3eGz8crXgqiy4dSRLiptpLe+4+bl2juoZv5d73wuHvRwfFPuixKXcZ7pf1ZQ5v0airtLvA03+xxmMXZtzTIbRbJRYt5e9gH4U1UYbB7WRE8ZIktXGC9IGd3Vxj44V1vpDS4LeKSnFFkRJXedffwHUkkiv1veuZS3lQnxFajvUGMT2mZs/XDrIG+qJku89so7Sj62RMeokNHzp1S3hIOI/
How to fix/workaround samples to make gx:Track and their respecitive lines to work with terrainProvider ON ?
Are there any tests simulating behavior of KML imported data on terrain ? I have studied briefly DataSources/KmlDataSource test case, but is does not seem to cover terrainSpecific rendering which seems to be a problem.
Thanx a lot

I'm not an expert but it looks like gx:track translates to PathGraphics under the hood.  Polylines support clampToGround but Path does not have that option.  If you think about it, this makes sense, because a Polyline has its own set of positions independent of the parent Entity, but Path relies on the time-variant Entity#position.  The docs for KMLDataSource#load say that it clamps "geometry features (Polygons, LineStrings and LinearRings)" but not the entities themselves.
I've run into similar problems before but I am not loading from KML, so I don't know if my solution would help you.  I compute a Cartographic for each position, then pass that to sampleTerrainMostDetailed, then if that fails I call sampleTerrain with a fixed level -- I picked 11, can't remember why.  Once my Cartographics have been "clamped" then I update the original entity with new position(s).  It's an asynchronous process but at the end the Entity is where I want it to be.
With KML, you'd have to "fix" all the Entities created after load finishes.  The problem is that once a SampledPositionProperty has been created, there is no public API for retrieving the positions, so you have to poke around in the private part of the class.
It might be worth putting in a new ticket, either to have the KML#load option for clampToGround also clamp Entity positions when they're created, or to expose the samples in a SampledPositionProperty via a getter so that you can fix the positions yourself after the fact.

Anyone watching this issue might be interested in https://github.com/CesiumGS/cesium/pull/10260 which I just filed.  Not a huge change, but could be useful to some.

Couple of questions on this ticket...

What's the status of "StyleMap"->"Highlight" ?
If "Highlight" is still a WIP, I would like to help out. What do I need to know about or where should I begin to look for getting Stylemap Highlight implemented?

Thanks.

Hi @icarter09,

I believe StyleMap -> Highlight is still yet to be implemented.
It would be great if you could contribute this! I'll look into getting you some more information, but in the meantime this comment mentions the areas of the code to look.

hello, are there plans to support PhotoOverlays? I would like to visualize geolocated images against Google's 3D Tiles

Hello everyone, I am currently using cesium 1.121 and I loaded the kml file in the picture. It does not say gx:AltitudeMode on the polygon on the ahead, but it does on the polygons on the behind. The code section is below. I want to determine it with cesium settings instead of the value written in the kml. How can I follow?
const kmlDataSource = await CesiumJs.KmlDataSource.load(kmlText, {
            camera: CesiumViewer.scene.camera,
            canvas: CesiumViewer.scene.canvas,
            clampToGround: true,
          });
          CesiumViewer.dataSources.add(kmlDataSource);
          const entities = kmlDataSource.entities.values;

          entities.forEach((entity:any) => {
            // Poligonların zeminle hizalanması
           if (entity.polygon) {
             entity.polygon.heightReference = CesiumJs.HeightReference.NONE;
             entity.polygon.extrudedHeightReference = CesiumJs.HeightReference.NONE;
           }

are there plans to support PhotoOverlays? I would like to visualize geolocated images against Google's 3D Tiles

@martimpassos There hasn't been any activity on PhotoOverlays recently.
If you'd like to add more information about your use case, that may help us prioritize. If you are interesting in contributing, please let us know and we'd be happy to discuss implementation or review a PR. Thanks!

Hello everyone, I am currently using cesium 1.121 and I loaded the kml file in the picture. It does not say gx:AltitudeMode on the polygon on the ahead, but it does on the polygons on the behind. The code section is below. I want to determine it with cesium settings instead of the value written in the kml. How can I follow?

@selimsezr CesiumJS is a big project, so we use GitHub for feature requests and bug tracking exclusively. Could you please take this question to the Cesium Forum? On the forum, there are members of the community and developers from the team who can help. Thanks!

@ggetz While doing research, I found this topic as a similarity and added it, but I can also open it as a different topic.


Location path 2

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
fix
What is the current behavior? (You can also link to an open issue here)
see the commit message
What is the new behavior (if this is a feature change)?
see the commit message
Does this PR introduce a breaking change?
The previous behaviour would have led to a broken app, so it is highly
unlikely that any app relied on this behaviour. So this doesn't constitute
a breaking change.
Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:
Alternative solution #15359

@koto and @mprobst - any further comments before we merge this?

Looks good to me, security-wise.
On Mon, Nov 7, 2016, 12:10 Pete Bacon Darwin<EMAIL_ADDRESS>wrote:

@koto https://github.com/koto and @mprobst https://github.com/mprobst

any further comments before we merge this?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/angular.js/pull/15365#issuecomment-258808297,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAH0q3zX-T7nINjGyNQnmgFsrH2up6INks5q7wc6gaJpZM4KpoUt
.

LGTM

This fix has problems with internal routing of an app. Sometimes double slash in fragments might be important to indicate an specific state.
I believe this fix should not take into account the fragment part of the URL since it's not sent to the server and breaks some applications.

@ivanrey, afaict this is supposed to only check for the beginning of the client-side URL and I think it didn't work correctly before either. Do you have a specific usecase/demo you can share, that used to work before and broke as a result of this fix?


Include Halogen Ecosystem links on ReadMe

Since @garyb mentioned purescript-halogen-svg in answer to my question here, I searched GitHub and found a number of other Halogen-related libraries.
I thought it might be helpful to include an index of Halogen-related libraries on the ReadMe. Would such a PR be desired?

For example, something like this:
Halogen Ecosystem

Most popular Halogen Libraries
Halogen Project Template - Template for starting a fresh project using the Halogen library

Utilities

SVG - A collection of SVG elements for Halogen
HTML Source to Halogen Views Parsers

SVG Parser - inline SVG source string into Halogen views
HTML Parser - rnons / maackle - render raw HTML string into Halogen views.

[Halogen VDOM to String Renderer](- String Renderer - String rendering for halogen-vdom

Libraries for Component Development

Color picker - A bunch of components that can be used to build a color picker
Formless - A renderless component that helps you build forms
Proxy - Utility component that proxies an inner component to hide all/part of its query algebra
Renderless - Helper functions & templates for building renderless components in Halogen. In other words, implement a component's behavior and state but delegate its rendering to the developer using it
Select building blocks for common selection UI (e.g. dropdown menu, typeahead, autcomplete, multi-select, calendar, image picker, etc.)

Reusable Components (Standalone)

Pickers

Calendar DatePicker
Color Palette Picker - Color Palette picking
Date picker - Pickers for Date, Time, DateTime, Duration, and Interval
Day Picker - provides DayPicker and DayPickerInput components
File Picker - Helper functions for handling file uploads

Other

Ace a component for the Ace editor
Autocomplete - Simple autocomplete component for Halogen
Dialogs - support for modal dialogs
HTML Component - encapsulates a region of arbitrary HTML
JS Barcode - Component for JsBarcode
Mailing List - Mailing list component
Menu - a reusable Halogen component that presents an interactive menu
Number Input - A wrapper for HTML number input
QR Code - QR Code
Tooltip - simple tooltip component that proxies input into and out of a wrapped component, maintaining its hover state internally.
Signature Pad - Signature Pad
Sprite Editor - editor for creating/editing sprite graphics for Commodore 64
Zuruzuru - A simple list reordering component, drag-and-drop style

Reusable Components (Bundled)

PS Hendry - Components for input types (integers only, numbers only, text only)
newslandvalley - components useful in building various music player / editor applications (soundfont melody player, file input select, multiple select dropdown, trivial button)
fnords

Integration with other libraries

Bootstrap - Bootstrap 3 classes and utilities for Halogen
CSS - An adapter between purescript-halogen and purescript-css libraries
Echarts - integration for Echarts via the purescript-echarts library
Electron - Exploration of a Halogen/Electron stack
Giphy - Find a random type-safe GIF
Leaflet - Embedding leaflet geocharts to Halogen
Markdown - A Halogen rendering library for purescript-markdown
React
Tachyons - integration for tachyons

Maybe we'd be better off using a GH wiki page for this? I'm hesitant to include it in the "official" documentation since a bunch of these I know for sure are not up to date with the latest release. By having it in the Wiki it can be updated easily by authors who come up with new stuff rather than having to PR it too.

Makes sense. It's been added to the wiki and linked to in the home page.

Great, thanks for working on it! I've added a reverse link from the README too.


rise: here or in metapackage

I would like to add rise to all our hubs / binders. Since this is a jupyter-related package, would it make sense to add it here, or in the metapackage?

The original idea with the pangeo-notebook metapackages was to bundle the minimal set of packages needed for a functioning pangeo user interface (so key UI things for jupyterhub and dask-gateway). So maybe here? I don't have strong preferences.

closed by #256


refuses to install, says it doesn't work with 3.1.13

The extension "jupyterlab-execute-time" does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab                  Extension       Package
>=3.1.12 <3.2.0             >=2.0.2 <3.0.0  @jupyterlab/application
>=3.1.12 <3.2.0             >=2.0.2 <3.0.0  @jupyterlab/notebook
>=3.1.12 <3.2.0             >=2.0.1 <3.0.0  @jupyterlab/settingregistry

Please see https://github.com/deshaw/jupyterlab-execute-time/issues/50


Duplicate transaction error

When I make two transactions straight after each other (very quickly), I get duplicate transaction error yet, both transactions seem to go through just fine (balance deducted from account etc.).
Get the same error when using two different accounts and sending one transaction from each account as well.

Someone on the core team told me they tried to re-create this but could not.  Is this still an issue?  Can you provide more info to repeat the problem?

cleos push action offers a --force-unique option.  I'm wondering if this is available on eosjs as I have the same issue

@jcalfee I'm revisiting this issue.  it is common in test suites to want to issue the same transaction twice, to make sure that the backend code handles it properly.  in my particular case, records represent signatures and I want to be able to write them twice, albeit with different dates.  when I make the call to the method, no date is passed, as this is supplied by the method itself, thus the transactions seem like duplicates and error out as such
how can I solve this predicament?

I've tried passing a field in the data section of actions passed into api.transact like this: nonce: Math.random() but it doesn't help

@tbfleming have you seen this recently?

for the record, I'm using v20.0.0 of eosjs

so I modified the signature to the method to accept an integer, which then I pass a random value to.  that seems to fix the problem but it's a shite way to do it.  still open to input from anyone on this

It is definitely coming from the network. I don't think it considers the signature when it is finding uniqueness.  You can see the code by searching.  Looks like it maybe the same tx ID and Expiration:
https://github.com/EOSIO/eos/blob/eb88d033c0abbc481b8a481485ef4218cdaa033a/libraries/chain/transaction_context.cpp#L709


AccessExpression.abnf could be deleted

src/main/resources/org/apache/accumulo/access/specification/AccessExpression.abnf exists for the sole purpose of validating that the ABNF in SPECIFICATION.md is valid ABNF. The contents of AccessExpression.abnf are a copy of the ABNF in SPECIFICATION.md. AccessExpressionTest.testSpecificationDocumentation and AccessExpression.abnf could be deleted and the method used in AccessExpressionTest.testSpecificationDocumentation to get the ABNF from SPECIFICATION.md could be used in SpecificationTest.

I don't want to do that, because I think it's useful as a jar resource so it can be used as a dependency by other projects who might want to pull it in as the canonical definition.

ok, so that's why you added the test for equality between SPECIFICATION.md and AccessExpression.abnf. I'm fine with that, I just thought we wanted to remove the duplication.

ok, so that's why you added the test for equality between SPECIFICATION.md and AccessExpression.abnf. I'm fine with that, I just thought we wanted to remove the duplication.

Yes, exactly. Deduplication was my preference, but I decided to punt on that for now. We could still deduplicate by removing it from SPECIFICATION.md... but I'm not sure how much affinity people had for having it there, rather than just having a link there to the abnf file.


Batch strategies

Added support for Batch Mode Active Learning for One-class Classification.
All tests are passing.

Pull Request Test Coverage Report for Build 187

150 of 505 (29.7%)  changed or added relevant lines in 36 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-24.9%) to 62.563%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/QueryStrategies/SubspaceQueryStrategies/SubspaceQs.jl
11
12
91.67%

src/QueryStrategies/qs_base.jl
26
31
83.87%

src/Oracles/QuerySynthesisSVMOracle.jl
18
24
75.0%

src/QueryStrategies/BatchQueryStrategies/AllRandomBatchQs.jl
0
6
0.0%

src/QueryStrategies/BatchQueryStrategies/batch_qs_util.jl
0
7
0.0%

src/QueryStrategies/BatchQueryStrategies/TopKBatchQs.jl
2
10
20.0%

src/QueryStrategies/BatchQueryStrategies/RandomBatchQs.jl
3
12
25.0%

src/QueryStrategies/SubspaceQueryStrategies/subspace_util.jl
0
9
0.0%

src/QueryStrategies/BatchQueryStrategies/KMedoidsBatchQs.jl
0
10
0.0%

src/QueryStrategies/BatchQueryStrategies/ClusterBatchQs.jl
0
15
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/QueryStrategies/qs_base.jl
2
72.97%

src/QueryStrategies/qs_utils.jl
4
30.43%

Totals

Change from base Build 185:
-24.9%

Covered Lines:
742

Relevant Lines:
1186

💛  - Coveralls

Pull Request Test Coverage Report for Build 187

150 of 505 (29.7%)  changed or added relevant lines in 36 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-24.9%) to 62.563%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/QueryStrategies/SubspaceQueryStrategies/SubspaceQs.jl
11
12
91.67%

src/QueryStrategies/qs_base.jl
26
31
83.87%

src/Oracles/QuerySynthesisSVMOracle.jl
18
24
75.0%

src/QueryStrategies/BatchQueryStrategies/AllRandomBatchQs.jl
0
6
0.0%

src/QueryStrategies/BatchQueryStrategies/batch_qs_util.jl
0
7
0.0%

src/QueryStrategies/BatchQueryStrategies/TopKBatchQs.jl
2
10
20.0%

src/QueryStrategies/BatchQueryStrategies/RandomBatchQs.jl
3
12
25.0%

src/QueryStrategies/SubspaceQueryStrategies/subspace_util.jl
0
9
0.0%

src/QueryStrategies/BatchQueryStrategies/KMedoidsBatchQs.jl
0
10
0.0%

src/QueryStrategies/BatchQueryStrategies/ClusterBatchQs.jl
0
15
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/QueryStrategies/qs_base.jl
2
72.97%

src/QueryStrategies/qs_utils.jl
4
30.43%

Totals

Change from base Build 185:
-24.9%

Covered Lines:
742

Relevant Lines:
1186

💛  - Coveralls

Thanks for the feedback.
I did an extensive cleanup and added a many tests to make sure initialization and batch selection work.
Please have another look at the code and let me know, if it is up to your requirements.

I have now addressed the remaining issues and fixed the tests.


type inside async block must be known in this context

Could you please provide a full example with tokio & mysql, In all my attempts I am getting this:
type inside `async` block must be known in this context

I am trying with this in Cargo.toml:
[dependencies]
sqlx = { version = "0.2", default-features = false, features = [ "runtime-tokio", "macros" ] }
tokio = { version = "0.2", features = ["macros"] }

And in main.rs:
use sqlx::Pool;

#[tokio::main]
async fn main() {
    let pool = Pool::new("mysql://root:secret@localhost:3306/policyd")
        .await
        .unwrap();
}

Probably is something very basic but if possible could you please point out what I am missing.
Thanks in advance.

@nbari Pool is generic and needs you to parameterize what kind of pool it is. You can either write it as Pool<MySqlConnection> and/or Pool::<MySqlConnection>::new or you can use the alias MySqlPool.

Hi @mehcode thanks, I  had to add to the featutres mysql in the  Cargo.toml to be something like this:
[dependencies]
sqlx = { version = "0.2", default-features = false, features = [ "mysql", "runtime-tokio", "macros", "tls" ] }
tokio = { version = "0.2", features = ["macros"] }

But now I am trying to do a basic query: SELECT version() with something like:
use sqlx::MySqlConnection;
use sqlx::Pool;

#[tokio::main]
async fn main() {
    let pool = Pool::<MySqlConnection>::new("mysql://root:secret@localhost:3306/policyd")
        .await
        .unwrap();
    println!("{:?}", pool);

    let row = sqlx::query!("SELECT version()")
        .fetch_one(&mut pool)
        .await
        .unwrap();
}

I was getting DATABASE_URL not set until I set the environment variable to be the same as the one in the pool, but then I am getting: "version()" is not a valid Rust identifier
Any ideas?

You have to give your column a name that's a valid Rust identifier because it's used in the generated struct definition. Right now, MySQL is telling SQLx that the column name is "version()" because that's the expression you're using. You want something like select version() as version.
We had some ideas about just making this work but it would require fudging column names a bit any may not be intuitive, although I think just stripping parenthesis would be fairly straightforward.

Hi @abonander many thanks, just as a reference here the full working example:
use sqlx::MySqlConnection;
use sqlx::Pool;

#[tokio::main]
async fn main() {
    let pool = Pool::<MySqlConnection>::new("mysql://root:secret@localhost:3306/policyd")
        .await
        .unwrap();
    println!("{:?}", pool);

    let row = sqlx::query!("SELECT version() as version")
        .fetch_one(&mut pool)
        .await
        .unwrap();
}

It works but how to avoid using the environment variable DATABASE_URL?  I can't compile/build in a system that has no access to the DB:
error: failed to connect to database: Access denied for user<EMAIL_ADDRESS>(using password: YES)
  --> src/main.rs:12:15
   |
12 |     let row = sqlx::query!("SELECT version() as version")
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error: aborting due to previous error

error: could not compile `sql`.

That is a feature planned probably for release 0.4: https://github.com/launchbadge/sqlx/issues/60