Buttons to toggle mode on Lovelace

Hi, is there anyway I can implement a button to toggle the kiosk mode on lovelace.
I am thinking to create an input.boolean and toogle using template.
Here is my code which doesn't work :(
kiosk_mode:
  kiosk: >-
    {% if is_state('input_boolean.kiosk_mode', 'on') %}
      true
    {% else %}
      false
    {% endif %}

Any tips for me?

Also tried this, not working
kiosk_mode:
  kiosk: "{{ state('input_boolean.kiosk_mode') }}"

Found something, it work for the first time when page is refreshed after changing the ui-lovelace.yaml. I guess is it something about the cache?

Ok! I managed to solve it with Template Switch and browser_mod
Not the best solution but it works for now.
- platform: template
  switches:
    kiosk_mode:
      turn_on:
        - service: browser_mod.navigate
          data:
            navigation_path: /lovelace/homekit?kiosk
        - service: browser_mod.window_reload
      turn_off:
        - service: browser_mod.navigate
          data:
            navigation_path: /lovelace/homekit?clear_km_cache
        - service: browser_mod.window_reload

When I get the chance I will add a feature to enable/disable kiosk mode on an entities state, like a input boolean, etc.

Ok! I managed to solve it with Template Switch and browser_mod
Not the best solution but it works for now.
- platform: template
  switches:
    kiosk_mode:
      turn_on:
        - service: browser_mod.navigate
          data:
            navigation_path: /lovelace/homekit?kiosk
        - service: browser_mod.window_reload
      turn_off:
        - service: browser_mod.navigate
          data:
            navigation_path: /lovelace/homekit?disable_km
        - service: browser_mod.window_reload

How or were do you do that?
i am not beeing able to do it in config.yaml
I get an template switch error

Ok! I managed to solve it with Template Switch and browser_mod
Not the best solution but it works for now.
- platform: template
  switches:
    kiosk_mode:
      turn_on:
        - service: browser_mod.navigate
          data:
            navigation_path: /lovelace/homekit?kiosk
        - service: browser_mod.window_reload
      turn_off:
        - service: browser_mod.navigate
          data:
            navigation_path: /lovelace/homekit?disable_km
        - service: browser_mod.window_reload

How or were do you do that?
i am not beeing able to do it in config.yaml
I get an template switch error

Ok! I managed to solve it with Template Switch and browser_mod

Not the best solution but it works for now.

platform: template

switches:

kiosk_mode:

  turn_on:

    - service: browser_mod.navigate

      data:

        navigation_path: /lovelace/homekit?kiosk

    - service: browser_mod.window_reload

  turn_off:

    - service: browser_mod.navigate

      data:

        navigation_path: /lovelace/homekit?disable_km

    - service: browser_mod.window_reload

How or where do you do that?
i am not beeing able to do it in config.yaml
I get an template switch error

If you split your configuration.yaml into part like me, I put this on switches.yaml and !include that in configuration.yaml
If you didn't spilt tour configuration.yaml, you should put it in configuration.yaml under switch:
Make sure you got browser mod installed too

Ok! I managed to solve it with Template Switch and browser_mod

Not the best solution but it works for now.

platform: template

switches:

kiosk_mode:

  turn_on:

    - service: browser_mod.navigate

      data:

        navigation_path: /lovelace/homekit?kiosk

    - service: browser_mod.window_reload

  turn_off:

    - service: browser_mod.navigate

      data:

        navigation_path: /lovelace/homekit?disable_km

    - service: browser_mod.window_reload

How or where do you do that?
i am not beeing able to do it in config.yaml
I get an template switch error

If you split your configuration.yaml into part like me, I put this on switches.yaml and !include that in configuration.yaml
If you didn't spilt tour configuration.yaml, you should put it in configuration.yaml under switch:
Make sure you got browser mod installed too

Hmmm i will try that way and will say something, thanks

Hmmm i will try that way and will say something, thanks

I'll have a look if I find time in the near future to make it dynamic (ie. watch for either state change of an entity or location change) and PR something.
However, I believe, watching for a state change is going to be tricky in the current state as we do not get the hass object update since this is not a card.

I'll have a look if I find time in the near future to make it dynamic (ie. watch for either state change of an entity or location change) and PR something.
However, I believe, watching for a state change is going to be tricky in the current state as we do not get the hass object update since this is not a card.

I was just going to use the socket and check against the state and entity set in config options:
window.hassConnection.then(({ conn }) => conn.socket.onmessage = (e) => {
  let event = JSON.parse(e.data).event;
  if (event && event.event_type == "state_changed") {
    console.log(event.data.entity_id + ": " + event.data.new_state.state)
});

I was just going to use the socket and check against the state and entity set in config options:
window.hassConnection.then(({ conn }) => conn.socket.onmessage = (e) => {
  let event = JSON.parse(e.data).event;
  if (event && event.event_type == "state_changed") {
    console.log(event.data.entity_id + ": " + event.data.new_state.state)
});

Added in 1.5.4. See example at end of conditional section of the readme.

Added in 1.5.4. See example at end of conditional section of the readme.


On finding an upper bound to the norm of the Hamiltonian

In eq 36 from https://journals.aps.org/prx/pdf/10.1103/PhysRevX.8.041015 the norm of the Hamiltonian is used. In fact, this Hamiltonian norm is used also in other articles that do not use plane waves, such as https://quantum-journal.org/papers/q-2019-12-02-208/pdf/ implicitly assumed in the O(1) appearing in the definition of M (page 9).
I have seen that Openfermion has prepared a way to compute the Hamiltonian norm for a DiagonalCoulombHamiltonian, as in https://quantumai.google/openfermion/tutorials/circuits_2_diagonal_coulomb_trotter, but not in the case we are in a different (non-diagonal) basis.
The issue is that to make this useful I need such upper bound to be smaller than $\lambda = \sum_j w_j$ for $H =  \sum_j w_j H_j$, with $H_j$ unitary and $w_j$ positive. $\lambda$ would be one such upper bound to the norm, but we need something smaller due to the eq 36 mentioned above. Also, it seems that the estimated ground state energy would be close to $||H||$ but all methods give upper bounds to the minimum energy, which is negative, so only lower bounds to the norm of the Hamiltonian. A colleague suggested using the Frobenius norm of the sparse matrix as in
        sparse_mat = openfermion.get_sparse_operator(JordanWigner_operator)
        dense_operator = sparse_mat.todense()
        fro = np.linalg.norm(dense_operator, ord = 'fro')

but it is a much worse upper bound than $\lambda$, so not useful.
Finally, I have asked in pyscf and psi4 communities (http://forum.psicode.org/t/finding-a-lower-bound-for-the-ground-state-energy/2116) to see how to bound it, but without luck. Any ideas of how to find an upper bound to ||H||?
Thanks a lot in advance!

I take it that by norm you mean spectral norm / largest eigenvalue? Bounding this well is hard. The bounds I know of is the Frobenius norm that you mentioned, and a quick wikipedia scan also claims the spectral norm is bounded by sqrt(||A||1 ||A||{\infty}), where ||A||1 and ||A||{\infty} are the largest (absolute value) row sum and largest (absolute value) column sum respectively. Doing anything better than this might require some significant research on your Hamiltonian in question.

Thanks @obriente for the answer. Right now I am even more confused than yesterday because executing
molecule_geometry = geometry_from_pubchem('water')
molecule_data = MolecularData(molecule_geometry, basis = "sto-3g" multiplicity = 1)
molecule_pyscf = run_pyscf(molecule_data,run_scf=True, run_mp2=False, run_fci=False)

molecular_hamiltonian = molecule_data.get_molecular_hamiltonian()
fermion_operator = openfermion.get_fermion_operator(molecular_hamiltonian)
JW_op = openfermion.transforms.jordan_wigner(fermion_operator)

sparse_mat = openfermion.get_sparse_operator(JW_op)
max_eig, _ = scipy.sparse.linalg.eigsh(sparse_mat, k=1, which="LM")

d = JW_op.terms
del d[()]
l = abs(np.array(list(d.values())))
lambd = sum(l)

print('<i> ||H||/lambda', -max_eig/self.lambd)

prints
<i> ||H||/lambda [1.0423128]

and I must be doing something wrong then because supposedly ||H||/lambda << 1 (as can be seen from the definition of lambda in my first comment and the fact that H_j are unitary).

Not sure that I follow why ||H||/lambda << 1 is necessary here? Note that the 1 norm / infinity norm I mentioned in the above definition are defined w.r.t. the matrix columns in the 2^Nx2^N matrix representation of the operator, while summing abs(d.values) will give you this 'induced one-norm', which is like the 1-norm in a vector space defined on some basis vectors that are not norm-1 in the original space. So the two aren't equivalent.

Sorry, there was a typo: I did not mean << but only <. As for the prove of why ||H||<lambda:
||H||  = || sum w_j H_j || <= sum |w_j| ||H_j|| = sum (w_j * 1)  = lambda


not work properly with 2 images

i set setScrollTimeInSec to 4 with 2 images and now
1st image takes 4 sec to get to 2nd image and display back 1st image instantly.

can u tell me how to implement it its very confusing
i am beginner help me? or else send ur xml code and java code with implementation

can u tell me how to implement it its very confusing
i am beginner help me? or else send ur xml code and java code with implementation

If you still need code to implement mail me on<EMAIL_ADDRESS>


Add keyring dependencies

There is trouble on installing python client on ubuntu.
Keyring 8.0 have changes that don't see default security backend on ubunty.  https://github.com/jaraco/keyring/issues/117
Simple solution is to install keyrings.alt package, but It is possible that FileBackend will be used(base64 encoded pasword in plain text file).
To test your platform you need to install keyring and keyrings.alt and execute code:
import keyring.core
print keyring.core._keyring_backend

Simple solution is to install keyrings.alt package, but It is possible that FileBackend will be used(base64 encoded pasword in plain text file).

In which cases this would be used?  We could check if it's selected backend and fail/warn.

On ubuntu
>>> import keyring.core
>>> print keyring.core._keyring_backend
<keyring.backends.file.EncryptedKeyring object at 0x7f8d24c44750>

Yeah, I know, but it doesn't answer my question.
You say that insecure backend could be used, so I ask "when" and "should we guard against it".

My question still stands.


User is now welcomed with username when logged in.

Description
Issue: "Welcome, #discord name!" #337
When logged in the user is welcomed as "Welcome, [username]!" in the LongCard component displayed on the LandingPage. Otherwise if not logged in, only "Welcome!" is displayed.
In the landingPage js file, "!" is removed from the header prop passed to the LongCard component, as this is now included inside the component itself.
Type of change
Please select everything applicable. Please, do not delete any lines.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This change requires an update to testing

Issue

[x] Is this related to a specific issue? If so, please specify:

Fix for issue - "Welcome, #discord name!" https://github.com/Together-100Devs/Together/issues/337
Checklist:

[x] This PR is up to date with the development branch, and merge conflicts have been resolved
[ ] I have executed npm run test-frontend and all tests have passed successfully or I have included details within my PR on the failure
[ ] I have executed npm run lint and resolved any outstanding errors. Most issues can be solved by executing npm run format
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

Great work @jalonghurst! If I may ask, why are not running lint and testing for this pull request?


DBZ-7170 Create Unit Test for Debezium Operator - API Model Status

https://issues.redhat.com/browse/DBZ-7170

hi @jcechace, I'm wondering if it's necessary to add unit tests for the getter and setter in this PR. If not, please let me know, and I'll close it. Thank you.

@ilyasahsan123 Sorry for the delay, I was swamped with more pressing features.
I don't think so. The test could however cover the addToConditions method, regardless it being not used at the moment. Ideally we would test

adding condition into empty conditions
adding condition when conditions is null
adding condition when conditions already contains some previously set

Appreciate your input, @jcechace . I'll go ahead and close this PR, incorporating your suggestion. Thanks for guiding us through the testing considerations


Enable Support for 2 factor authentication

It's is not possible to login to GitHub with Gister when 2fa is enabled.

Logging in every time is a killer for me. Is there any update on at least staying logged in?

I'd love to @nate456789, but I just don't use Visual Studio anymore :frowning:.


This fix the Header for the old navigation. It is a tempoary patch, m…

What?
This fixes the Header for the old navigation. It is a temporary patch, made to be removed after the new navigation is released.
-[x] Show the header and search form only in /sections page
-[x] tiny refactor on disable_search_form
Why?
to fix the missing header in /sections


Possible to update for iOS 12.2 +?

With the recent news of a 12.2 Jailbreak, I'm sure the community could really use this. Thank you for your efforts.

It's trivial to make a pull request in the future, and I'll gladly accept them.  In any case, updated through 12.3.2
https://github.com/fecaleagle/fecaleagle.github.io/commit/aaf18d956f27d7ba6e861728ad18165bf90eaef0#diff-eacf331f0ffc35d4b482f1d15a887d3b


added VPA SLO alert

towards https://github.com/giantswarm/giantswarm/issues/24111
This PR:

adds/changes/removes etc

Checklist

[X] Update changelog in CHANGELOG.md.
[ ] Add Unit tests
[X] Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).
[X] Alerting rules must have a comment documenting why it needs to exist.
[ ] Consider creating a dashboard (if it does not exist already) to help oncallers monitor the status of the issue.

No unit tests? :cry:


get-owners-action integration

/lgtm

/wip

/lgtm

Okay the labeler is not working. Because we merged a wrong formatted yml for that action. So we have to merge this manually


Sort "keywords" lexicographically

It would be nice if the items in the keywords array could be sorted as well ☺

See #83

Hmm, okay I guess 🤷
@keithamus feel free to close this if you don't want this change ☺

I guess this is unexpected for other users, closing.


Table output EXPLAIN seems broken border because ambiguous width

The output of EXPLAIN with -t(--table) seems broken border in some environment.
$ spanner-cli -e "EXPLAIN SELECT * FROM Songs@{FORCE_INDEX=SongsBySongName}" -t
+--------------------------------------------------------------------------------------------------------+
| Query_Execution_Plan (EXPERIMENTAL)                                                                    |
+--------------------------------------------------------------------------------------------------------+
|                                                                                |
| .                                                                                |
| └── Distributed Union (subquery_cluster_node: 1)                                                    |
|     └── Distributed Cross Apply (subquery_cluster_node: 15)                                         |
|         ├── Create Batch                                                                            |
|         │   └── Distributed Union (call_type: Local, subquery_cluster_node: 4)                     |
|         │       └── Compute Struct                                                                 |
|         │           └── Scan (scan_target: SongsBySongName, scan_type: IndexScan, Full scan: true) |
|         └── Serialize Result                                                                        |
|             └── Cross Apply                                                                         |
|                 ├── Scan (scan_target: $v2, scan_type: BatchScan)                                   |
|                 └── Distributed Union (call_type: Local, subquery_cluster_node: 23)                 |
|                     └── FilterScan                                                                  |
|                         └── Scan (scan_target: Songs, scan_type: TableScan)                         |
|                                                                                |
+--------------------------------------------------------------------------------------------------------+

It can be fixed by replacing to unambiguous width characters.
https://github.com/xlab/treeprint/issues/2#issuecomment-324944141
For example
func (n *Node) Render() string {
	tree := treeprint.New()
	renderTree(tree, &Link{Dest: n})
	return "\n" + strings.NewReplacer(
		"└", "+",
		"├", "+",
		"│", "|",
		"─", "-",
		).Replace(tree.String())
}

$ spanner-cli -e "EXPLAIN SELECT * FROM Songs@{FORCE_INDEX=SongsBySongName}" -t
+----------------------------------------------------------------------------------------------------+
| Query_Execution_Plan (EXPERIMENTAL)                                                                |
+----------------------------------------------------------------------------------------------------+
|                                                                                |
| .                                                                                |
| +-- Distributed Union (subquery_cluster_node: 1)                                                   |
|     +-- Distributed Cross Apply (subquery_cluster_node: 15)                                        |
|         +-- [Input]  Create Batch                                                                  |
|         |   +-- Distributed Union (call_type: Local, subquery_cluster_node: 4)                     |
|         |       +-- Compute Struct                                                                 |
|         |           +-- Scan (Full scan: true, scan_type: IndexScan, scan_target: SongsBySongName) |
|         +-- [Map]  Serialize Result                                                                |
|             +-- Cross Apply                                                                        |
|                 +-- [Input]  Scan (scan_target: $v2, scan_type: BatchScan)                         |
|                 +-- [Map]  Distributed Union (subquery_cluster_node: 23, call_type: Local)         |
|                     +-- FilterScan                                                                 |
|                         +-- Scan (scan_type: TableScan, scan_target: Songs)                        |
|                                                                                |
+----------------------------------------------------------------------------------------------------+

Currently, EXPLAIN with table output is not important but #57 will need correct output.

This can't be reproduced in my terminal. What locale do you use?
This is my setting.
$ locale
LANG=""
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL="en_US.UTF-8"

It would be reproduced when LC_CTYPE="ja_JP.UTF-8"

May be related
https://github.com/olekukonko/tablewriter/issues/141

hmm... so there is no workaround other than replacing the character for the tree?
By the way, treepoint exposes EdgeType, so we can replace it with another character.
https://play.golang.org/p/w_07S6ByeEx

I see, it seems changed in order to be customizable.
https://github.com/xlab/treeprint/issues/4
It is possible to implement switching EdgeType value using locale related values but it makes behavior unclear and I feel it doesn't much help users.
I prefer pure-ASCII characters tree format.

+1 for using ASCII characters for tree.


Fix right click crash when qsudo is not installed.

In DirWidget2.cpp createMenus() there is a conditional that I guess should be
if(LUtils::isValidBinary("qsudo")){
    cOpenMenu->addAction(LXDG::findIcon("", ""), tr("Open Current Dir as Root"), this, SLOT(openRootFM()));
}

But rather the conditional extends and wraps some menu creation

if(LUtils::isValidBinary("qsudo")){
    cOpenMenu->addAction(LXDG::findIcon("", ""), tr("Open Current Dir as Root"), this, SLOT(openRootFM()));
    ...
    if(cFViewMenu==0){
        cFViewMenu = new QMenu(this);
    }
    ...
}

causing lumina-fm to crash on right click if qsudo is not installed.

Good catch!  Thanks for sending that in.

Next time make sure you don't have a modified README in your merge request


name confuse

Hi guys, I'm a little confused. I'm a beginner in neural networks but some docs/library use neuron/preceptron/etc (like http://synaptic.juancazala.com/ ) some using layer/solver (leaf). What's the difference? Can I write a feedforward network in leaf? (like http://synaptic.juancazala.com/#/paint-an-image )

It looks like perceptron in synaptic corresponds to one Sequental layer in leaf that itself consists from 3 layers: 1) Linear, 2) Sigmoid or ReLU, 3) another Linear.
Currently Leaf supports feedforward networks and AFAIK only them. Here is an example.

Supporting @alexandermorozov's answer:
Feedforward networks are built with a Sequential layer in Leaf. The Sequential layer can use any kind of layer, even other Sequential layers. The API in Leaf is very, very easy. I would say even easier than the synaptic one.
There is currently a PR for the Leaf Book #93 which has all the chapters by now, although there are still a lot of grammar, spelling mistakes - clean up is on the way. The Leaf Book will also have a Glossary, I will use your input of neurons/perceptrons/etc. If there are some other confusions or if you would like to clarify the confusion a bit more, I would be pleased about a comment at #93


when password is number，it error

Hi,
Version 1.2.2 should fix this problem.
Thank you for the feedback.


Xperia 1 III(XQ-BC72) baseband lost

I has flash 61.1.A.2.211(Cust SEA, Android 12) into system ver  61.0.A.23.20(Cust CN, Android 11) when active slot is b
when it end and phone reboot, it got into boot loop
after 3 times reboot, I got "device isn't trusted and no boot" alarm
when I force power off and connect it in flash mode, newflasher show baseband version is the old one
so I try use tool send "set_active:a" cmd to device, then newflasher show current slot is a, then I flash it again
after this time, it can boot into system normally and show system is Android 12
but when I plug my phone card in, there shows no signal
then I open service menu, found IMEI and Softwear Verision become UNKNOWN
Now it seem that cellular function totally break down
Did baseband won't flash in flash process or missed file?

Hello, this is not a nwflasher related isue but inproper firmware model for your model, please login to xda forum, there is a lot of posts relatd to your problem, this have nothing to do with newflasher.


[Feature] report output and error message

Problem Statement
I find the xml report error message is empty.
Solution Description
will u add messages when logging to report.
Alternatives
No response
Additional Context
No response
Slack discussion
No response
Research

[X] I have searched other issues in this repository and mine is not recorded.

I just merged PRs to improve reports, outputs are not there yet though.


High res with r30gb

@artemy
I understand why high resolution doesn't work: the high res stream is h265 coded.
The old models (y21ga too) use h264 for both, high res and low res streams.
r30gb uses h264 for low res stream and h265 for high res stream.
I will try to solve the problem, but is not simple.

Try this binary:
rRTSPServer.gz
channel0 is an h265 stream.
At the moment the address is rtsp://IP-CAM/ch0_0.h264

VLC can't open the high-res stream. Low-res works fine still.

Please, another try:
rRTSPServer.gz

Both streams do seem to work alright now.

@artemy highres confirmed??

Please try snapshot too:
snapshot.tar.gz

Please try snapshot too:
snapshot.tar.gz

Both are broken. Low-res just shows green screen, high-res doesn't give any output at all

Another try?
:)
snapshot.tar.gz

So both are good now, although I think there is another issue now.
I can get a high-res snapshot once after camera boots, but then it randomly causes camera reboot after one of the next requests

The problem here is the memory.
The cam runs with very little ram available and ffmpeg library is very "big".
Try to enable swap space.


Enable pthread_mutex_t use on WASI with a multithreaded runtime.

This PR opts WASI builds into using pthread_mutex_t in Locked when the WASI environment supports threading.
_runtime(_multithreaded) was added very recently with https://github.com/apple/swift/pull/72649, so we need an additional compiler version check before testing the runtime flag.
WASI with Swift 5.10, as well as WASI without threading, will continue to stub out Locked.
Checklist:

[ ] Code and documentation should follow the style of the Style Guide.
[ ] If public symbols are renamed or modified, DocC references should be updated.

@kateinoigakukun, does this look right to you?

@swift-ci please test

@swift-ci please test

@swift-ci please test


"uorb status" command hangs firmware on pixhawk 4

Describe the bug
On pixhawk 4 running uorb status in MAVLink console hangs firmware.
To Reproduce
Tested with latest master c50c44cc582956aefd32e39a6c7a5210ba4e1585
Steps to reproduce the behaviour:

Drone switched on '
Connect with QGC via telemetry link or directly via a USB cable.
Got to MAVLink console
run uorb status
see link disconnected, only reboot helps

Expected behavior
I expect to see a full list of topics when running uorb status. But I see only a couple of them before firmware hangs.

@a6a3uh thanks for reporting. I can reproduce this.

Fix is here: https://github.com/PX4/Firmware/pull/11941


DatabaseFilter with .number

This doesn't seem to make sense:
extension DatabasePropertyFilter {
    public enum NumberCondition {
        case equals(Int)
        case doesNotEqual(Int)
        case greaterThan(Int)
        case lessThan(Int)
        case greaterThanOrEqualTo(Int)
        case lessThanOrEqualTo(Int)
        case isEmpty
        case isNotEmpty
    }
 }

number for Notion is a Decimal and not an integer. Plus, trying to create a filter with (an example Int):
.property(name: "theKey", type: .number(.equals(10000)))
Fails to query at all: NotionSwift.NotionClientError error 1.
Oddly, using the example from your test code, this works:
.property(name: "theKey", type: .number(.greaterThanOrEqualTo(10000)))
However, it still has the problem of being an Int instead of a Decimal

@jraymonds86 thank you for finding and reporting this bug, much appreciated!
issue should be fixed now fixed


thirtyDayPeriodsSinceEpoch update

In JS they do this
const thirtyDayPeriodsSinceEpoch = Math.floor(
          Date.now() / 1000 / 60 / 60 / 24 / 30
        )

I think this brings the code closer inline with that.

We validated that this already works so going to close this.


Update create_repo CLI templates' GitHub Actions and ruff dependency.

This brings the templates closer to how we develop langchain: the same poetry and ruff versions, releasing on manual action instead of using a finicky if conditional trigger, etc. Also fixes minor lint and bugs in the workflows.

This looks good. I'll confirm that the CLI works tomorrwo prior to merging (unless @obi1kenobi has already done it?)

This looks good. I'll confirm that the CLI works tomorrwo prior to merging (unless @obi1kenobi has already done it?)

I assumed there were tests so I didn't check it separately. Might be good to add them if they don't already exist, I'm happy to add some next week if you agree.

@obi1kenobi not tested at the moment unfortunately, skipped since it wasn't high yield


Cf 19 Remove settings from context

Fixes #19
Patches pipelines to allow building but settings as a constructor argument will effect (break) all the processors and resources.

Use new pipelines with settings on configure


Placeholders/Replacements in "component" translations

If I understand the code of the new replace function correctly there's no way to mix placeholders and JSX/HTML translations anymore.
We sadly did this a lot in our application. Sometimes for good reasons, most of the time just because people were lazy.
Example for the lazy scheme that's pretty easy to refactor:
{
  transportPricePiece: 'Transportpreis pro Stück: %{amount}',
}

And another one which is not so easy or at least doesn't make much sense to split and refactor:
{
  inquiryDescription: 'Anfrage %{id} vom %{date}',
}

Anyone got any ideas on how to get that working with v2, without spending countless hours manually rewriting all the translations?
I know the developer(s) aren't really talkative, but maybe some other users had similar problems and might have an idea?

That approach was based on dangerouslySetInnerHTML, something which should be avoided. If you really want to do this, I guess you could still do something like: .


Compile a presentation about NSM Operator

Collect information that could be useful for NSM Community to get a good overview about NSM Operator and compile a presentation material of it.

@szvincze, what kind of presentation are we aiming for with this issue? Could please describe with details? For example: would a demo on how to use it be enough? Or you're more interested in a code walkthrough? Let me know and I'll be glad to provide whatever information we need. Not sure if we need an issue for this. Are we willing to store presentations in this repo?

@szvincze, I'm closing this issue as a presentation is not supposed to be stored on this repo. We have other issues addressing documentation though, and we can link our presentation on the docs for sure.


Feat: After Executing query, number of rows affected or count of rows should be displayed

Is your feature request related to a problem? Please describe.
Yes, after executing a query, users need a way to easily determine the number of rows affected or the count of rows returned.
Describe the solution you'd like
I would like a button beside query took: 0ms button where, after executing a query, the application displays the number of rows affected or the count of rows returned. This information is valuable for users to understand the impact of their query and verify the success of the operation.
Describe alternatives you've considered
An alternative could be manually checking the count or number of rows in the database, but having this information displayed immediately after query execution would streamline the process and enhance user experience.
Additional context
This feature would provide users with quick feedback on the outcome of their executed queries, improving the usability of the application.

Solution is ready, waiting for you to confirm to confirm this change.

@janvi01 @prash240303 can you please confirm this Issue, i have the solution ready to raise PR.


Minor typo fix in Changelog.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
584

Relevant Lines:
597

💛  - Coveralls


How to quit the app from inside the app?

for desktop apps.
quit() or sys,exit() doesnt seem to work

https://flet.dev/docs/controls/page#window_close
https://flet.dev/docs/controls/page#window_destroy
Don't really know the difference between the two, but they both seem to be able to solve your problem.
Let me know if it works.

Thank you!!


Nuget Error

Microsoft.Xbox.Live.SDK.WinRT.UWP  fail to install :/

The problem might be with nuget disliking your PATH. That's a problem with newer nuget versions. I'm not sure this affects the built-in nuget, but when I had a problem with this, I tried command line nuget, it failed, and then I found that my PATH had an empty component (;;), and removing that solved the problem. Anything in the PATH which doesn't translate directly to a working directory will cause nuget to fail.
I hope this helps.

Closing since there has been no movement on this issue. Please reactivate if this is still an issue.


Scrolling settings bounces at end of page

Microsoft PowerToys version
0.83.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Settings
Steps to reproduce
Visit PowerToys Run settings page. Expand some plugin settings entries. Scroll to the bottom of the page.
✔ Expected Behavior
Screen scrolls to the bottom and stops
❌ Actual Behavior
Screen scrolls to the end and then bounces for a long time
https://github.com/user-attachments/assets/6761159b-527a-4318-a57f-0672e66c43aa
Other Software
No response

This is a reproduction of the underlying issue causing #25353. Any attempted fix should target all settings pages, not just the Fancy Zones settings pages.

I don't think the monitor resolution and scale is important, but I was able to reproduce the issue on a QHD at 125% and a 4k at 175%

I think it is it is something with the collapsing of the panes and maybe some type of subpixel calculation.
/dup #25353


adding analytics

👷 Deploy Preview for cristian-cordero processing.

Name
Link

🔨 Latest commit
7d0a0844c86dd3ac0fc04b7ae93487df321589e4

🔍 Latest deploy log
https://app.netlify.com/sites/cristian-cordero/deploys/6547bd1e40329000083fd309


<Angle brackets> around URIs

Overview
This isn't a huge issue, but not addressing this in rdftab is propagating to a chain of other libraries / tools, e.g. semsql -> oaklib -> owl-on-fhir.
Expected behavior
A list of URIs, like:
http://omim.org/entry/1000070
...

Actual behavior
I can't remember if this happens 100% of the time or just sometimes, but I get:
<http://omim.org/entry/1000070>
...

Questions

Is there any advantage / reason why the angle brackets appear?

Additional information
Related slack discussion in obo-community.

The design intention was to make a hard distinction between IRIs and CURIEs. Most IRIs that we see are URLs starting with "http(s)", but in the general case they can be almost any string. The code should favour CURIEs when a prefix is available, and IRIs when there's not applicable prefix.

Agreed!
How about this? You can still draw a hard distinction on a non-URL IRI and CURIEs by only including angle brackets when the IRI does not start with http.

Here's another suggestions:
b. Add a parameter to rdftab to activate the <angle brackets>, with a default set to either true or false.

These are both good suggestions, and I understand the reasoning behind them. Thank you for raising them.
When I was designing RDFTab I thought long and hard about carving out an exception for http(s), and in the end I decided against it. Now that it's out in the world, I'm very reluctant to reverse that decision.
If you have an RDFTab table with too many angle brackets, the best option is to add more prefixes.
Thanks again!


Testing contributors bot

@all-contributors please add @rishFilet for infrastructure, code, project management

@all-contributors please add @rishFilet  for infrastructure, code, projectmanagement

@all-contributors add @hanlinc27 for infrastructure, code, design

@all-contributors add @harshvchawla for code

@all-contributors add @airshiprook for infrastructure, code

@all-contributors please add @demiwu96 for code

@all-contributors add @gh0stl0nely  for code, doc

@all-contributors add @BBoutet1  for code

@all-contributors add @dghazi12 for code

@all-contributors add @rishFilet for doc

@all-contributors add @rishFilet for doc

@all-contributors add @rishFilet  for doc

@all-contributors add @leeroyp for code

@all-contributors add @danunder for code


about delaying rollup

Hi team:
If the data of metric_5m is delaying when rollup,How should I find the delaying data accurately?
Thanks

There are couple of ways to know.

Using JMX we can enable Tracking which will print delayed metrics in the logs. Blueflood does support jolokia. All you have to do is download jolokia jvm agent(Ex:jolokia-jvm-1.3.5-agent.jar) and when starting up blueflood, pass these jvm parameters.

-javaagent:<location of jar file>/jolokia/jolokia-jvm-1.3.5-agent.jar=port=9082,host=localhost

If you hit the below url it will enable tracking. you should see a log statement "[TRACKER] Tracking delayed metrics started".
curl -i 'http://localhost:9082/jolokia/exec/com.rackspacecloud.blueflood.tracker:type=Tracker/setIsTrackingDelayedMetrics'

There are several functions you can invoke. Check the Tracker class to see available options for tracking. You can also log requests for certain tenants.
A metric is considered delayed if it arrives after ROLLUP_DELAY_MILLIS from its collection time, but tracker uses a different config( TRACKER_DELAYED_METRICS_MILLIS) to identify whether a metric is delayed or not. For regular scenarios set this config value TRACKER_DELAYED_METRICS_MILLIS, same as ROLLUP_DELAY_MILLIS and that should print delayed metrics in the logs.

We recently implemented a feature where we record delayed metrics in a separate column family(metrics_delayed_locator). If you use the latest code with RECORD_DELAYED_METRICS turned on, you should be able to see delayed metrics in that column family.

Hi ChandraAddala :
For  method 1 :  I can setIsTrackingDelayedMetrics,But I don't know how to add the tenant which is monitored.
In my server,the  column1 of one data in metric_5m  is unchanging from this monday. The blueflood is running smoothly.I cann't find the root cause of this case.
Thanks.

You can add a tenant like this.
curl -i 'http://localhost:9082/jolokia/exec/com.rackspacecloud.blueflood.tracker:type=Tracker/addTenant/$tenant_id'

I dont think I understand the issue very clearly. So you have a metric which is not being rolled in metrics_5m granularity? Did you check if there is data in metrics_full for that locator during the 5m time period which you believe it was not being rolled?

I double check  there is data in metrics_full for that locator during the 5m time period .
E.X:
In metric_full,the time is Mon Dec 05 2016 17:04:47 GMT+0800 (CST),
Mon Dec 05 2016 16:59:47 GMT+0800 (CST)
Mon Dec 05 2016 16:53:32 GMT+0800 (CST)
Mon Dec 05 2016 16:47:51 GMT+0800 (CST)
Mon Dec 05 2016 16:42:40 GMT+0800 (CST)
......
and in metric_5m,the last time has been still Sat Dec 03 2016 16:35:00 GMT+0800 (CST) until now.

Can you see if the locator is in metrics_locator column family?
You can compute the shard using Util.computeShard(locator) class.
Once you compute the shard value, you can check metrics_locator column family for that shard to see if that locator is present.

I can find it in metrics_locator column family
SELECT * FROM metrics_locator where column1=xxxx'  allow filtering;
Its key is   120 ?

I am not sure what happened but if you really want to debug, we can submit a delayed metric for that locator with the collection time corresponding to the time slot you think it wasnt rolled up. That delayed metric should trigger re-roll of that slot.

Hi ChandraAddala：
Just now,I find it is rolluping again from Tue Dec 06 2016 05:55:00 GMT+0800 (CST) in metric_5m.
So it break off between Dec 03 2016 16:35:00 GMT+0800 (CST) and Tue Dec 06 2016 05:55:00 GMT+0800 (CST)

Did you happen to restart ingest nodes on Dec 6th? Jus wondering what might have changed on that day.

no

I query the metric about at 4 hour ago:
SELECT key, column1, WRITETIME (value), value FROM metrics_full WHERE key ='xxxxxxxxxxxxxxxxxxxxx' order by column1 desc limit 10;
key                                                                                | column1       | writetime(value) | value
----------------------------------------------------------------------------------------------------------------------+---------------+------------------+------------------------
Thu Dec 08 2016 10:05:58 GMT+0800 (CST)
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>259 |<PHONE_NUMBER>296000 | 0x006e41ef8d2100002e40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>048 |<PHONE_NUMBER>074000 | 0x006ed07b630800804c40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>830 |<PHONE_NUMBER>904000 | 0x006ea1f7c61000003840
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>110 |<PHONE_NUMBER>190000 | 0x006ed07b630800804e40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>828 |<PHONE_NUMBER>842000 | 0x006e41ef8d2100002a40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>002 |<PHONE_NUMBER>022000 | 0x006ed07b630800004340
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>273 |<PHONE_NUMBER>289000 | 0x006ed07b630800804840
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>043 |<PHONE_NUMBER>053000 | 0x006ed07b630800004f40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>760 |<PHONE_NUMBER>776000 | 0x006ea1f7c61000003340
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>677 |<PHONE_NUMBER>710000 | 0x006ed07b630800804440
(10 rows)
SELECT key, column1, WRITETIME (value), value FROM metrics_full WHERE key ='xxxxxxxxxxxxxxxxxxxxx' order by column1 desc limit 10;
SELECT * from "DATA".metrics_5m WHERE key ='xxxxxxxxxxxxxxxxxxxxx' order by column1 desc limit 10;
key                                                                                | column1       | value
----------------------------------------------------------------------------------------------------------------------+---------------+----------------------------------------------------------------------------------------
Tue Dec 06 2016 17:30:00 GMT+0800 (CST)
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006e41ef8d2100002440016e0000000000000000026e41ef8d2100002440036e41ef8d2100002440
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ee8bd310400005740016e0000000000000000026ee8bd310400005740036ee8bd310400005740
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ed07b630800004940016e0000000000000000026ed07b630800004940036ed07b630800004940
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ea1f7c61000003340016e0000000000000000026ea1f7c61000003340036ea1f7c61000003340
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ed07b630800004e40016e0000000000000000026ed07b630800004e40036ed07b630800004e40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ed07b630800804540016e0000000000000000026ed07b630800804540036ed07b630800804540
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ea1f7c61000003140016e0000000000000000026ea1f7c61000003140036ea1f7c61000003140
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ed07b630800804140016e0000000000000000026ed07b630800804140036ed07b630800804140
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006e41ef8d2100002040016e0000000000000000026e41ef8d2100002040036e41ef8d2100002040
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ee8bd310400c05440016e0000000000000000026ee8bd310400c05440036ee8bd310400c05440

I query the metric about 10minute ago:
SELECT key, column1, WRITETIME (value), value FROM metrics_full WHERE key ='xxxxxxxxxxxxxxxxxxxxx' order by column1 desc limit 10;
key                                                                                | column1       | writetime(value) | value
----------------------------------------------------------------------------------------------------------------------+---------------+------------------+------------------------
Thu Dec 08 2016 13:58:41 GMT+0800 (CST)
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>528 |<PHONE_NUMBER>552000 | 0x006ed07b630800804e40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>158 |<PHONE_NUMBER>177000 | 0x006ed07b630800804a40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>344 |<PHONE_NUMBER>365000 | 0x006ee8bd310400405140
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>238 |<PHONE_NUMBER>262000 | 0x006ed07b630800004440
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>830 |<PHONE_NUMBER>847000 | 0x006ed07b630800804740
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>145 |<PHONE_NUMBER>207000 | 0x006ed07b630800004440
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>546 |<PHONE_NUMBER>574000 | 0x006ed07b630800004640
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>890 |<PHONE_NUMBER>041000 | 0x006ed07b630800004e40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>998 |<PHONE_NUMBER>028000 | 0x006ed07b630800004a40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>674 |<PHONE_NUMBER>694000 | 0x006ed07b630800004f40
(10 rows)
SELECT * from "DATA".metrics_5m WHERE key ='xxxxxxxxxxxxxxxxxxxxx' order by column1 desc limit 10;
key                                                                                | column1       | value
----------------------------------------------------------------------------------------------------------------------+---------------+----------------------------------------------------------------------------------------
Tue Dec 06 2016 17:30:00 GMT+0800 (CST)
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006e41ef8d2100002440016e0000000000000000026e41ef8d2100002440036e41ef8d2100002440
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ee8bd310400005740016e0000000000000000026ee8bd310400005740036ee8bd310400005740
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ed07b630800004940016e0000000000000000026ed07b630800004940036ed07b630800004940
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ea1f7c61000003340016e0000000000000000026ea1f7c61000003340036ea1f7c61000003340
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ed07b630800004e40016e0000000000000000026ed07b630800004e40036ed07b630800004e40
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ed07b630800804540016e0000000000000000026ed07b630800804540036ed07b630800804540
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ea1f7c61000003140016e0000000000000000026ea1f7c61000003140036ea1f7c61000003140
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ed07b630800804140016e0000000000000000026ed07b630800804140036ed07b630800804140
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006e41ef8d2100002040016e0000000000000000026e41ef8d2100002040036e41ef8d2100002040
xxxxxxxxxxxxxxxxxxxxx |<PHONE_NUMBER>000 | 0x0001006ee8bd310400c05440016e0000000000000000026ee8bd310400c05440036ee8bd310400c05440

compare to the two data,the metric data in metric_5m have not been rolluped again.

Do you see any exceptions during the rollup process? What about other granularities like 20m, 60m.

We are using latest blueflood and rollups are working fine for us. Unless we can narrow down the the definition of the issue, it is hard for us to debug.
So far I understood it as, even though you are ingesting metrics, the data is not getting rolled up. We have to figure out if it happens all the time for all metrics or if it is intermittent and happens with only few of them so as to narrow the definition.
Can you also share the blueflood configurations you use for rollup nodes?

there are no exceptions during the rollup process. The version of the code I use is rax-release-v1.0.1956.
the blueflood configurations I use are default config except  that MAX_LOCATOR_FETCH_THREADS=32
MAX_ROLLUP_READ_THREADS=32 ,MAX_ROLLUP_WRITE_THREADS=32 which are fit for my cassandra.

Hi ChandraAddala:
Last friday,I cleared up all of the data in cassandra,and then ingest the data,and rollup the data.
Today I found that a metric had been rollup but no point ,I query the earliest of this metric in metric_5m
is Sun Dec 11 2016 14:25:00 GMT+0800 (CST).
The following is log:
[2016-12-16 16:15:19,845 +0800] [DEBUG] [pool-18-thread-5] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:20,449 +0800] [DEBUG] [pool-18-thread-17] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:21,007 +0800] [DEBUG] [pool-18-thread-20] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:21,702 +0800] [DEBUG] [pool-18-thread-31] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:22,306 +0800] [DEBUG] [pool-18-thread-11] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:22,855 +0800] [DEBUG] [pool-18-thread-14] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:23,415 +0800] [DEBUG] [pool-18-thread-18] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:23,916 +0800] [DEBUG] [pool-18-thread-2] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:24,445 +0800] [DEBUG] [pool-18-thread-23] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:24,936 +0800] [DEBUG] [pool-18-thread-21] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:25,507 +0800] [DEBUG] [pool-18-thread-26] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:26,036 +0800] [DEBUG] [pool-18-thread-14] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:26,512 +0800] [DEBUG] [pool-18-thread-31] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:27,137 +0800] [DEBUG] [pool-18-thread-15] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:27,642 +0800] [DEBUG] [pool-18-thread-7] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:28,182 +0800] [DEBUG] [pool-18-thread-30] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:28,689 +0800] [DEBUG] [pool-18-thread-26] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
[2016-12-16 16:15:29,177 +0800] [DEBUG] [pool-18-thread-23] [com.rackspacecloud.blueflood.service.RollupRunnable:run 110] No points rollup for locator xxxx
why have the metric which has no point  been  rollup ?

"No points rollup for locator xxxx" This just means that when it tried to rollup a locator, that locator does not have any data points in metrics_full for that slot. For 5m granularity, slot is a 5m interval that corresponds to the slot number which was scheduled for rollup.

I found one reason that the value which is *.metrics.com.rackspacecloud.blueflood.service.RollupService.Rejected-Slot-Checks.m1_rate    is greater than 0(about 0.02)

I am not following you. Can you pls elaborate?

The data of metric_5m is delaying when rollup in my blueflood server,then I found one reason that the value of  "*.metrics.com.rackspacecloud.blueflood.service.RollupService.Rejected-Slot-Checks.m1_rate" is greater than 0(about 0.02).
In code ,if the value is greater than 0,  that is to say
// puts it back at the top of the list of scheduled slots.  When this happens it means that
// there is too much rollup work to do. if the CPU cores are not tapped out, it means you don't
// have enough threads allocated to processing rollups or slot checks.

If there are too many slots to rollup(usually happens when there are lot of delayed metrics), it rejects them, the slots will be rejected. But there is nothing to worry about them. They will be picked up again later in the next run.
How many is too many? Its controlled by MAX_LOCATOR_FETCH_THREADS.

Hi ChandraAddala :
MAX_LOCATOR_FETCH_THREADS =32,  my cpu is 8


cargo doesn't consider crate renaming for optional dependency

cargo can't install futures-util-preview:0.3.0-alpha.4. That crate uses the rename-dependency feature like this:
cargo-features = ["rename-dependency"]

[features]
compat = ["futures01"]

[dependencies]
futures01 = { package = "futures", version = "0.1", optional = true }

I have a Cargo.toml that depends on futures-util-preview
[dependencies]
futures-util-preview = "0.3.0-alpha.4"

cargo update fails with
error: no matching version `^0.3.0-alpha.4` found for package `futures-util-preview`
location searched: registry `https://github.com/rust-lang/crates.io-index`
versions found: 0.2.2

With RUST_LOG=debug :
INFO 2018-09-02T20:33:03Z: cargo::sources::registry::index: failed to parse `futures-util-preview` registry package: Feature `compat` includes `futures01` which is neither a dependency nor another feature

This is with latest nightly cargo cargo 1.29.0-nightly (0ec7281b9 2018-08-20).
@Nemo157 suggested

Seems related to rust-lang/cargo#5753, probably the registry related code wasn’t changed to behave in the same way.

Ref: https://github.com/rust-lang-nursery/futures-rs/issues/1247

Dumping the registry entry for futures-util-preview(0.3.0-alpha.4) it doesn't mention the renaming in any way,
{
  "name": "futures-util-preview",
  "vers": "0.3.0-alpha.4",
  "deps": [
    ...
    {
      "name": "futures",
      "req": "^0.1",
      "features": [],
      "optional": true,
      "default_features": true,
      "target": null,
      "kind": "normal"
    },
    ...
  ],
  "features": {
    ...
    "compat": [
      "std",
      "futures01"
    ]
  },
  ...
}

It seems like either renaming will have to be included in the registry, or Cargo can't check features until it has the full manifest available (would this impact which crates are downloaded? I seem to recall that Cargo will download the entire dependency tree ignoring features and only use features to determine which crates to build, but I'm not certain of that).

Thanks for the detailed report here! I believe this should be fixed in https://github.com/rust-lang/cargo/pull/5993


Use name, not signature of the symbol

Use name, not signature. SourceKit return signature rather than nameeg. for function.

Can you clarify what behaviour you are seeing vs. what you expect?  In Swift the argument labels are part of the name, so I would expect them to show up.

for functions, a signature is init(_:) or foo() while the name is init or foo. LSP defines just a name for name, and signature for details.

In Swift, the terminology would be base name = foo, name = foo(x:), signature = foo(x: Int) -> Float.  Is there a concrete issue showing the full name in editors? VSCode has no trouble with it, for example.

SourceKit return parameters as children (see below), that could be a separate symbol as far as I understand.
    {
      key.kind: source.lang.swift.decl.function.method.instance,
      key.accessibility: source.lang.swift.accessibility.internal,
      key.name: "name(_:)",
      key.offset: 41,
      key.length: 43,
      key.nameoffset: 46,
      key.namelength: 21,
      key.bodyoffset: 69,
      key.bodylength: 14,
      key.substructure: [
        {
          key.kind: source.lang.swift.decl.var.parameter,
          key.name: "param",
          key.offset: 51,
          key.length: 15,
          key.typename: "String",
          key.nameoffset: 0,
          key.namelength: 0
        }
      ]
    }

In Swift, the terminology would be base name = foo, name = foo(x:), signature = foo(x: Int) -> Float. Is there a concrete issue showing the full name in editors? VSCode has no trouble with it, for example.

I didn't look what VSCode is doing with the name. Where this call is used in VSCode?
I expect here base name eg. to locate the function name, not the function declaration. Now I have doubts though. I may be wrong in spec interpretation.

I didn't look what VSCode is doing with the name. Where this call is used in VSCode?

The "Outline" view.

I expect here base name eg. to locate the function name, not the function declaration. Now I have doubts though. I may be wrong in spec interpretation.

The LSP spec doesn't really say anything about this - it just requires that it's a displayable string (below).  I think it's reasonable for a language server to use its own semantics for what is a "name", and in Swift I think the full name is a better choice than the base name.
        /**
	 * The name of this symbol. Will be displayed in the user interface and therefore must not be
	 * an empty string or a string only consisting of white spaces.
	 */
	name: string;

I think it's reasonable for a language server to use its own semantics for what is a "name", and in Swift I think the full name is a better choice than the base name.

Agree. Thanks for pointing this out


Add cluster_tag to mapping to enable controlling the uniqueness of the cluster name

Description
Currently when looking at metrics they are grouped to the clusters which makes it not possible to segregate metrics at an endpoint or mapping level.
This change adds a cluster_tag parameter to mappings so that a unique prefix will be applied to the cluster names, for example given the following mappings:
---
apiVersion: getambassador.io/v2
kind: Mapping
metadata:
  name: mapping-a
spec:
  prefix: /a
  service: my-service.default
  cluster_tag: foo
---
apiVersion: getambassador.io/v2
kind: Mapping
metadata:
  name: mapping-b
spec:
  prefix: /b
  service: my-service.default
  cluster_tag: bah

Previously we would end up with one cluster, with this change we would see two which would provide a way to segregate things like metrics based on our unique endpoints.
cluster_foo_my_service_default_default
cluster_bah_my_service_default_default

The only downside of this approach is that I used the existing marker logic to append the tag, which results in the marker being added as a prefix, I personally would prefer a suffix but doing it in this way enabled me to re-use all the existing logic and make minimal changes.
Related Issues
https://datawire-oss.slack.com/archives/CB46TNG83/p1578300808033800
Testing
Initial manual testing and currently adding real tests.
Tasks That Must Be Done

[ ] Did you update CHANGELOG.md?
[x] Did you add or update tests?
[ ] Did you update documentation?
[ ] Were there any special dev tricks you had to use to work on this code efficiently?

[ ] Did you add them to DEVELOPING.md?

Should be ready for review, am awaiting new from @kflynn on the new docs changes and process before doing any documentation.

@kflynn just wrote a test to cover this scenario looks like it works as expected.

The CI "failure" is a bug with the doc-preview part of the CI run. D'oh! Merging. 🙂


chore: pin selenium to 4.13

Selenide provides an implementation of Selenium HttpClient.Factory based on Selenium's NettyClient.Factory, that has been removed since Selenium 4.14.
With this change we temporarily pin Selenium version to 4.13 until Selenide releases a version compatible with selenium 4.14.

Better first branch out 2.2 and then apply this change when updating main to Hilla 2.3


2 Overflow Menus showing in example

In the Overflow Menu page, there are 2 Overflow Menus that are showing and one seems to have an item with unfinished text: Edit routes and access, use title when

Hey @mven! We can definitely fix the extra text. I don't think that's supposed to be there.
But I can explain why we're intentionally showing 2 overflow menus.
The second overflow menu uses an extra class to flip the positioning of the menu:
<ul class="bx--overflow-menu-options bx--overflow-menu--flip">


move notebooks to different repo

This move notebooks to different repository:
https://github.com/Intron7/rapids-singlecell-notebooks

@Intron7 WDYT about renaming this repository to rapids-single-cellgiven that you're also using - for the notebooks repository? Github will redirect as long as no one uses the old name and that obviously won't happen


drivers: nrfwifi: Fix random MAC address setting

Random MAC address setting can never be configured as the two defaults cover all cases. Fix the defaults, now the order is

Fixed
OTP (default, in case of no config)
Random

@hlord2000 FYI.


Prototype UnityFS bundle reader support

As a first step towards issue #172. I don’t think this is really good enough to include as-is, but it appears to works and there's some design decisions needed that you should probably make on how to capture / structure the data and how to support LZ4.
The headlines for UnityFS are:

most lengths and offsets are now 64-bit
the data header is compressed with another scheme, LZ4
there’s lots of new data I don't yet understand – not all stored and output on ‘info’ – and some old fields no longer populated
I haven’t implemented packing, and I don’t have examples to test all code paths here.

For now I have shoe-horned the data into the existing structures, except I've added a new BundleInfoEntryFS since they are serialised differently. Might be worth considering whether to stick to a single set of structures or separate out new UnityFS classes?
To decompress LZ4 I have imported a subset of lz4-java, the native Java known-decompressed-size version. I did that rather than add a dependency because the original is likely overkill (a 200K jar, including optimised JNI versions for multiple platforms) and we’re only decompressing the data header with this. But that may be the correct solution long-term.

Is this something that I can try out?
I'm not sure how to build the project but I have a rather large sample set that I can test this against.

I'm afraid it only unpacks as far as disunity's current bundle unpack: usually into a single asset file, or an asset file and an attached resource file, no further. If that's any use to you, or if you're just offering to test the unpacking against a large number of files, then I can put a build somewhere for you yes - probably upload a compiled .jar to my fork-project here on GitHub. But if you were hoping to extract meshes etc. then I'm afraid disunity 0.5 doesn't go that far yet sorry.
To build, you'll need a Java 1.8 JDK and Apache Maven. Then it's just get a git checkout and run mvn package from that directory, and it will build a new disunity.jar into disunity-dist\target. Or I can put a compiled jar somewhere for you if you want.

I'm offering to test against a large set of files.
Cheers,
Brian
On Aug 28, 2016 1:10 PM, "Rupert Wood"<EMAIL_ADDRESS>wrote:

I'm afraid it only unpacks as far as disunity's current bundle unpack:
usually into a single asset file, or an asset file and an attached resource
file, no further. If that's any use to you, or if you're just offering to
test the unpacking against a large number of files, then I can put a build
somewhere for you yes - probably upload a compiled .jar to my fork-project
here on GitHub. But if you were hoping to extract meshes etc. then I'm
afraid disunity 0.5 doesn't go that far yet sorry.
To build, you'll need a Java 1.8 JDK
http://www.oracle.com/technetwork/java/javase/downloads/index.html and Apache
Maven https://maven.apache.org/. Then it's just get a git checkout and
run mvn package from that directory, and it will build a new disunity.jar
into disunity-dist\target. Or I can put a compiled jar somewhere for you if
you want.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ata4/disunity/pull/200#issuecomment-242986325, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGhJuUvmIK9d66y1j0TpumXjNV9zjACrks5qkcEegaJpZM4Ji-m0
.

Question: So, after compiling , the command should be,
"java -jar -Xmx8192m  disunity.jar bundle unpack {the name of the UnityFS file}" ?
Does it work on StreamingAssets? Some apps comes with assetbundle files "decompressed" on folder tree structure, and the assets inside the folder are UnityFS files too
Thanks

Question: So, after compiling , the command should be,
"java -jar -Xmx8192m disunity.jar bundle unpack {the name of the UnityFS file}" ?

Yes, same as normal for disunity. (I'm not sure you need to up the Xmx - it ought to stream data through rather than load it all into memory - but I don't know the LZMA library well.)

Does it work on StreamingAssets? Some apps comes with assetbundle files "decompressed" on folder tree structure, and the assets inside the folder are UnityFS files too

I don't know: I've only added support for understanding the new header. If disunity handled this for UnityWeb then it might just work for UnityFS too. If not, if you can point me at a sample file then I can have a look, but I can't promise how quickly (sorry!)

https://mega.nz/#F!zwYWUSBC!jpXt0w3_p7W-pE84CAjKBQ

I'll merge this, but I should mention at this point that I'm working on a Python re-implementation of Disunity that works much better with Unity's dynamic nature, so I don't think I'll continue to work on this repository. It currently requires about a seventh of the current Java code base (920 vs 6600 LOC, not counting dependencies) and already has working deserialization support. However, I'm currently working on UnityFS support, so this will definitely help me to get further.

What is the name of the Disunity Python implementation?

The module is currently called pynity, but I still have to find a project name. I guess DisunityPy or something.

I think he meant "where can I get it".
Thanks for the merge! I'll still have a look at Jorge's streaming UnityFS when I get a chance, and put together a build that'll report better for any bits it doesn't understand - but I'm busy this weekend :-(

I also found this Japanese document during my research, in case it can fill some gaps about the UnityFS format.
And yeah, the Python code isn't public yet, since it's in a very early stage right now and may undergo major changes. But if there's some interest in collaboration, I can change that any time, of course.

D'oh, I hadn't seen that. That's more or less the same as I know:

He has two more compression method IDs than me - I've only got 1=LZMA, 3=LZ4 and he has 2=LZ4, 3=LZ4HC (which I think uncompresses the same as LZ4) and 4=LZHAM (but then I've only ever seen 3 in files)
I know what two of the header flags mean: 0x40 = entry info present - although I forget which block this is - and  0x80 = header at end of file (subtract compressed length from file length and seek there)
I have '16 bytes unknown' that are all zeros in my examples. He speculates this is a GUID.
He doesn't know what the extra flags in the bundle entry info are either.

Regarding structs, here's what I have from the .pdb files:
struct ArchiveStorageHeader::Header
{
   class std::basic_string<char,std::char_traits<char>,stl_allocator<char,54,16> > signature;
   int version;
   unsigned long Padding12;
   class std::basic_string<char,std::char_traits<char>,stl_allocator<char,54,16> > unityWebBundleVersion;
   class std::basic_string<char,std::char_traits<char>,stl_allocator<char,54,16> > unityWebMinimumRevision;
   __int64 size;
   int compressedBlocksInfoSize;
   int uncompressedBlocksInfoSize;
   int flags;
};

struct ArchiveStorageHeader::BlocksInfo
{
   unsigned char uncompressedDataHash[16];
   class std::vector<ArchiveStorageHeader::StorageBlock,stl_allocator<ArchiveStorageHeader::StorageBlock,54,16> > storageBlocks;
};

struct ArchiveStorageHeader::StorageBlock
{
   int uncompressedSize;
   int compressedSize;
   short flags;
};

struct ArchiveStorageHeader::DirectoryInfo
{
   class std::vector<ArchiveStorageHeader::Node,stl_allocator<ArchiveStorageHeader::Node,54,16> > nodes;
};

struct ArchiveStorageHeader::Node
{
   __int64 offset;
   __int64 size;
   int flags;
   unsigned long Padding5;
   class std::basic_string<char,std::char_traits<char>,stl_allocator<char,54,16> > path;
};

Also, I'm currently stuck with the LZ4 decompression. Both the C and Python version always report invalid data at byte 4 when I try to decompress the blocks info, but your Java version seems to work. Are there customizations on the algorithm or am I doing something wrong?

If you want any more sample files, the Disney Zootopia Crime Files Hidden Object app seems to use these.
Free download on Windows 10, files are in
C:\Program Files\WindowsApps\Dizney.ZootopiaCrimeFilesHiddenObject_[version string]\Data [StreamingAssets]
[open an admin command prompt and launch Explorer from the WindowsApps folder to access]
C:\Users[username]\AppData\Local\Packages\Disney.ZootopiaCrimeFilesHiddenObject_[random ID]\LocalState\bundle\case[X]

@ata4 I'd like to help with the python port, where do I sign up?

@ei-hn I'm not yet really satisfied with the current code base and want to apply some changes before uploading it to Github. Could take a few more weeks.

I'll merge this, but I should mention at this point that I'm working on a Python re-implementation of Disunity that works much better with Unity's dynamic nature, so I don't think I'll continue to work on this repository.

Hey @ata4 in case you're not aware, a few people and myself at HearthSim have been working on exactly that. It's called UnityPack and it can currently read a ton of unity files, including UnityFS/lz4-compressed files.
It doesn't currently support reserialization. I'd love your help with the library, there's a lot to do still but it's served us well enough here for Hearthstone. Let me know if you're interested.

Edit: Link to the library - https://github.com/hearthsim/unitypack


Make "View site" link to selected site.

Currently if you select a different site from the sites dropdown and click "View site" it will take you to the site you're visiting the admin through rather than the selected site. This fix should make the link correctly bring you to the selected site instead.

Don't think this is required. You get the same domain you're already on, but content should be for the selected site. See #1327 for more info.


[NO-NOT-MERGE][test-maven] Verify timeout for maven SparkPullRequestBuilder

What changes were proposed in this pull request?
This PR verify timeout for maven SparkPullRequestBuilder:
Test build #111076 has finished for PR 25690 at commit 274ade7.

This patch fails from timeout after a configured wait of 400m.
This patch merges cleanly.
This patch adds no public classes.

Test build #111103 has started for PR 25877 at commit 18a3f1f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16185/
Test PASSed.

@wangyum . Do you need to increase this to pass your https://github.com/apache/spark/pull/25690?

Test build #111103 has finished for PR 25877 at commit 18a3f1f.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111103/
Test FAILed.

retest this please

Test build #111111 has started for PR 25877 at commit 18a3f1f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16192/
Test PASSed.

Test build #111111 has finished for PR 25877 at commit 18a3f1f.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111111/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16194/
Test PASSed.

Test build #111114 has started for PR 25877 at commit 18a3f1f.

@dongjoon-hyun Yes. I'm not if we need to increase it.

retest this please

Test build #111118 has started for PR 25877 at commit 18a3f1f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16198/
Test PASSed.

Test build #111114 has finished for PR 25877 at commit 18a3f1f.

This patch fails from timeout after a configured wait of 400m.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111114/
Test FAILed.

If it's not easy to reduce the time, we might have to increase the timeout again ... but it really takes too long now ..

Test build #111118 has finished for PR 25877 at commit 18a3f1f.

This patch fails from timeout after a configured wait of 400m.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111118/
Test FAILed.

cc @srowen @shaneknapp

@wangyum, can we know which tests take long time and try to reduce? Last time when I tried to reduce the test time, there were some tests that take longer than roughly 4 mins which we could easily cut down the time.

The longest is SQLQueryTestSuite. It's took more than one hour:
https://amplab.cs.berkeley.edu/jenkins/job/spark-master-test-sbt-hadoop-2.7/6520/testReport/org.apache.spark.sql/

@wangyum, can you check if default partition number matters in general at SQLQueryTestSuite? I managed to cut down the time in SQLQueryTestSuite at https://github.com/apache/spark/pull/25271
IIRC, @dongjoon-hyun tried that before and didn't have meaningful results a long long ago; however, it might have different results now since we have a lot of new test cases.

Yes. We can reduce time by reducing shuffle partitions.
spark.sql.shuffle.partitions=200(default):
[info] - subquery/in-subquery/in-set-operations.sql (1 minute, 32 seconds)

spark.sql.shuffle.partitions=5:
subquery/in-subquery/in-set-operations.sql (30 seconds, 390 milliseconds)

spark.sql.shuffle.partitions=200(default):
...
[info] - csv-functions.sql (1 second, 47 milliseconds)
[info] - udaf.sql (705 milliseconds)
[info] - null-handling.sql (8 seconds, 302 milliseconds)
[info] - comparator.sql (407 milliseconds)
[info] - string-functions.sql (3 seconds, 17 milliseconds)
[info] - decimalArithmeticOperations.sql (6 seconds, 100 milliseconds)
[info] - subquery/subquery-in-from.sql (1 second, 51 milliseconds)
[info] - subquery/negative-cases/subq-input-typecheck.sql (477 milliseconds)
[info] - subquery/negative-cases/invalid-correlation.sql (546 milliseconds)
[info] - subquery/exists-subquery/exists-basic.sql (2 seconds, 916 milliseconds)
[info] - subquery/exists-subquery/exists-orderby-limit.sql (7 seconds, 565 milliseconds)
[info] - subquery/exists-subquery/exists-cte.sql (9 seconds, 958 milliseconds)
[info] - subquery/exists-subquery/exists-joins-and-set-ops.sql (2 minutes, 42 seconds)
[info] - subquery/exists-subquery/exists-aggregate.sql (11 seconds, 83 milliseconds)
[info] - subquery/exists-subquery/exists-having.sql (10 seconds, 290 milliseconds)
[info] - subquery/exists-subquery/exists-within-and-or.sql (1 second, 969 milliseconds)
[info] - subquery/in-subquery/in-group-by.sql (52 seconds, 560 milliseconds)
[info] - subquery/in-subquery/in-order-by.sql (40 seconds, 77 milliseconds)
[info] - subquery/in-subquery/not-in-unit-tests-single-column.sql (2 seconds, 285 milliseconds)
[info] - subquery/in-subquery/not-in-group-by.sql (12 seconds, 476 milliseconds)
[info] - subquery/in-subquery/simple-in.sql (4 seconds, 461 milliseconds)
[info] - subquery/in-subquery/in-basic.sql (1 second, 410 milliseconds)
[info] - subquery/in-subquery/in-limit.sql (12 seconds, 211 milliseconds)
[info] - subquery/in-subquery/in-set-operations.sql (1 minute, 32 seconds)
[info] - subquery/in-subquery/in-with-cte.sql (30 seconds, 837 milliseconds)
[info] - subquery/in-subquery/not-in-unit-tests-single-column-literal.sql (649 milliseconds)
[info] - subquery/in-subquery/in-multiple-columns.sql (3 seconds, 981 milliseconds)
[info] - subquery/in-subquery/not-in-unit-tests-multi-column-literal.sql (638 milliseconds)
[info] - subquery/in-subquery/not-in-unit-tests-multi-column.sql (1 second, 779 milliseconds)
[info] - subquery/in-subquery/in-having.sql (22 seconds, 496 milliseconds)
...

spark.sql.shuffle.partitions=5:
...
[info] - csv-functions.sql (794 milliseconds)
[info] - udaf.sql (652 milliseconds)
[info] - null-handling.sql (6 seconds, 103 milliseconds)
[info] - comparator.sql (312 milliseconds)
[info] - string-functions.sql (2 seconds, 429 milliseconds)
[info] - decimalArithmeticOperations.sql (5 seconds, 422 milliseconds)
[info] - subquery/subquery-in-from.sql (831 milliseconds)
[info] - subquery/negative-cases/subq-input-typecheck.sql (384 milliseconds)
[info] - subquery/negative-cases/invalid-correlation.sql (454 milliseconds)
[info] - subquery/exists-subquery/exists-basic.sql (2 seconds, 525 milliseconds)
[info] - subquery/exists-subquery/exists-orderby-limit.sql (4 seconds, 329 milliseconds)
[info] - subquery/exists-subquery/exists-cte.sql (4 seconds, 902 milliseconds)
[info] - subquery/exists-subquery/exists-joins-and-set-ops.sql (35 seconds, 851 milliseconds)
[info] - subquery/exists-subquery/exists-aggregate.sql (4 seconds, 658 milliseconds)
[info] - subquery/exists-subquery/exists-having.sql (3 seconds, 719 milliseconds)
[info] - subquery/exists-subquery/exists-within-and-or.sql (1 second, 589 milliseconds)
[info] - subquery/in-subquery/in-group-by.sql (16 seconds, 478 milliseconds)
[info] - subquery/in-subquery/in-order-by.sql (12 seconds, 296 milliseconds)
[info] - subquery/in-subquery/not-in-unit-tests-single-column.sql (1 second, 853 milliseconds)
[info] - subquery/in-subquery/not-in-group-by.sql (4 seconds, 819 milliseconds)
[info] - subquery/in-subquery/simple-in.sql (3 seconds, 513 milliseconds)
[info] - subquery/in-subquery/in-basic.sql (1 second, 308 milliseconds)
[info] - subquery/in-subquery/in-limit.sql (3 seconds, 181 milliseconds)
[info] - subquery/in-subquery/in-set-operations.sql (30 seconds, 390 milliseconds)
[info] - subquery/in-subquery/in-with-cte.sql (12 seconds, 766 milliseconds)
[info] - subquery/in-subquery/not-in-unit-tests-single-column-literal.sql (550 milliseconds)
[info] - subquery/in-subquery/in-multiple-columns.sql (3 seconds, 350 milliseconds)
[info] - subquery/in-subquery/not-in-unit-tests-multi-column-literal.sql (575 milliseconds)
[info] - subquery/in-subquery/not-in-unit-tests-multi-column.sql (1 second, 487 milliseconds)
[info] - subquery/in-subquery/in-having.sql (7 seconds, 41 milliseconds)
...

Let's go for it in a PR

Test build #111193 has started for PR 25877 at commit c991cab.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16272/
Test PASSed.

Test build #111193 has finished for PR 25877 at commit c991cab.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111193/
Test FAILed.

retest this please

Test build #111201 has started for PR 25877 at commit c991cab.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16278/
Test PASSed.

Test build #111201 has finished for PR 25877 at commit c991cab.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111201/
Test PASSed.

It took almost 7 hr:
Started 7 hr 12 min ago
Took 6 hr 58 min on amp-jenkins-worker-06

https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/111201/

retest this please

Test build #111233 has started for PR 25877 at commit c991cab.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16307/
Test PASSed.

Test build #111233 has finished for PR 25877 at commit c991cab.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111233/
Test FAILed.

quick comment:  i am hesitant to increase test timeouts.  these builds already take far too long.
i will be open to this if, and only if there is no other solution.


Add WiFi Checker Tool

Added python script (wifi_checker.py) and readme file under TOOLS folder.

Awesome work!


PEP8: indentation fixes

(Trivial) indentation fixes, including:

E117 over-indented
E121 continuation line under-indented for hanging indent
E123 closing bracket does not match indentation of opening bracket's line
E124 closing bracket does not match visual indentation
E125 continuation line with same indent as next logical line
E126 continuation line over-indented for hanging indent
E128 continuation line under-indented for visual indent
E302 expected 2 blank lines, found 1
E303 too many blank lines (3)
E305 expected 2 blank lines after class or function definition, found 1

Thanks - merging it.

Thanks - merging it.


Objective-C to Swift Translation

OEXCourseDashboardViewController.h/m to CourseDashboardViewController.swift

@aleffert please review.
commit ae7451e has a faulty commit message.


Cloud mount goes away

I have been using this container for nearly 3 years now and it has been great, however I have noticed that a few times in the last month I have seemingly lost the mount to Google Drive and the container needs to be restarted. The log (docker logs -f cloud-media-scripts) doesn't show anything. Is there any way to enable debug logging or another place to look for info? Thanks!

After digging I managed to find the mongod.log file and looks like this must be it:
2020-09-17T02:23:32.581-0700 I COMMAND  [ftdc] serverStatus was very slow: { after basic: 287, after asserts: 1403, after backgroundFlushing: 1413, after connections: 1534, after dur: 1534, after extra_info: 1655, after globalLock: 1655, after locks: 1665, after network: 1665, after opLatencies: 1665, after opcounters: 1665, after opcountersRepl: 1665, after repl: 1746, after security: 1917, after storageEngine: 2210, after tcmalloc: 2331, after transportSecurity: 2411, after wiredTiger: 3600, at end: 4388 } 2020-09-17T02:23:52.465-0700 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:42104 #6 (3 connections now open) 2020-09-17T02:24:01.957-0700 I COMMAND  [conn5] command admin.$cmd command: isMaster { ismaster: 1 } numYields:0 reslen:189 locks:{} protocol:op_query 5346ms 2020-09-17T02:24:03.802-0700 I COMMAND  [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 3206ms 2020-09-17T02:24:09.187-0700 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:42114 #7 (4 connections now open) 2020-09-17T02:24:14.058-0700 I COMMAND  [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 194ms 2020-09-17T02:24:17.582-0700 I -        [conn1] end connection <IP_ADDRESS>:32948 (3 connections now open) 2020-09-17T02:24:17.570-0700 I -        [conn5] end connection <IP_ADDRESS>:49252 (3 connections now open) 2020-09-17T02:24:18.205-0700 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:42132 #8 (3 connections now open) 2020-09-17T02:24:24.827-0700 I COMMAND  [conn6] command admin.$cmd command: getnonce { getnonce: 1 } numYields:0 reslen:65 locks:{} protocol:op_query 5359ms 2020-09-17T02:24:26.305-0700 I -        [conn7] end connection <IP_ADDRESS>:42114 (3 connections now open) 2020-09-17T02:24:26.351-0700 I COMMAND  [ftdc] serverStatus was very slow: { after basic: 2212, after asserts: 5732, after backgroundFlushing: 6162, after connections: 6489, after dur: 7393, after extra_info: 9650, after globalLock: 9848, after locks: 10595, after network: 12362, after opLatencies: 14042, after opcounters: 14686, after opcountersRepl: 14686, after repl: 15359, after security: 15440, after storageEngine: 15795, after tcmalloc: 21170, after transportSecurity: 21251, after wiredTiger: 21968, at end: 23858 } 2020-09-17T02:24:32.521-0700 I -        [conn8] end connection <IP_ADDRESS>:42132 (2 connections now open) 2020-09-17T02:24:33.112-0700 I COMMAND  [conn6] command admin.$cmd command: ping { ping: 1 } numYields:0 reslen:37 locks:{} protocol:op_query 259ms 2020-09-17T02:24:39.007-0700 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:42168 #9 (2 connections now open) 2020-09-17T02:24:51.025-0700 I -        [conn6] AssertionException handling request, closing client connection: 6 socket exception [SEND_ERROR] for <IP_ADDRESS>:42104 2020-09-17T02:25:02.255-0700 I -        [conn6] end connection <IP_ADDRESS>:42104 (2 connections now open) 2020-09-17T02:25:05.234-0700 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:42190 #10 (2 connections now open) 2020-09-17T02:25:11.968-0700 I COMMAND  [conn9] command admin.$cmd command: getnonce { getnonce: 1 } numYields:0 reslen:65 locks:{} protocol:op_query 5308ms 2020-09-17T02:25:12.526-0700 I COMMAND  [ftdc] serverStatus was very slow: { after basic: 302, after asserts: 809, after backgroundFlushing: 1219, after connections: 1809, after dur: 2774, after extra_info: 5007, after globalLock: 6636, after locks: 9545, after network: 9649, after opLatencies: 9649, after opcounters: 9773, after opcountersRepl: 9773, after repl: 9803, after security: 9813, after storageEngine: 10032, after tcmalloc: 11399, after transportSecurity: 12148, after wiredTiger: 17664, at end: 34368 } 2020-09-17T02:25:12.841-0700 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:42208 #11 (3 connections now open) 2020-09-17T02:25:14.682-0700 I COMMAND  [conn9] command admin.$cmd command: isMaster { ismaster: 1 } numYields:0 reslen:189 locks:{} protocol:op_query 1132ms 2020-09-17T02:25:15.238-0700 I -        [conn11] end connection <IP_ADDRESS>:42208 (3 connections now open) 2020-09-17T02:25:15.403-0700 I COMMAND  [ftdc] serverStatus was very slow: { after basic: 10, after asserts: 30, after backgroundFlushing: 60, after connections: 60, after dur: 60, after extra_info: 352, after globalLock: 352, after locks: 403, after network: 413, after opLatencies: 443, after opcounters: 443, after opcountersRepl: 443, after repl: 443, after security: 453, after storageEngine: 504, after tcmalloc: 544, after transportSecurity: 544, after wiredTiger: 1280, at end: 2368 } 2020-09-17T02:25:15.755-0700 I -        [conn9] AssertionException handling request, closing client connection: 6 socket exception [SEND_ERROR] for <IP_ADDRESS>:42168 2020-09-17T02:25:15.986-0700 I -        [conn9] end connection <IP_ADDRESS>:42168 (2 connections now open) 2020-09-17T02:25:17.080-0700 I COMMAND  [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 241ms 2020-09-17T02:25:18.210-0700 I COMMAND  [conn10] command admin.$cmd command: getnonce { getnonce: 1 } numYields:0 reslen:65 locks:{} protocol:op_query 304ms 2020-09-17T02:25:18.499-0700 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:42238 #12 (2 connections now open) 2020-09-17T02:25:18.662-0700 I COMMAND  [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 124ms 2020-09-17T02:25:20.506-0700 I COMMAND  [ftdc] serverStatus was very slow: { after basic: 41, after asserts: 232, after backgroundFlushing: 262, after connections: 262, after dur: 262, after extra_info: 444, after globalLock: 444, after locks: 474, after network: 494, after opLatencies: 595, after opcounters: 595, after opcountersRepl: 595, after repl: 666, after security: 676, after storageEngine: 716, after tcmalloc: 726, after transportSecurity: 756, after wiredTiger: 1734, at end: 2158 } 2020-09-17T02:25:20.922-0700 I COMMAND  [conn10] command admin.$cmd command: isMaster { ismaster: 1 } numYields:0 reslen:189 locks:{} protocol:op_query 175ms 2020-09-17T02:25:20.923-0700 I COMMAND  [conn12] command admin.$cmd command: getnonce { getnonce: 1 } numYields:0 reslen:65 locks:{} protocol:op_query 172ms 2020-09-17T02:25:22.287-0700 I -        [conn10] AssertionException handling request, closing client connection: 6 socket exception [SEND_ERROR] for <IP_ADDRESS>:42190 2020-09-17T02:25:22.326-0700 I COMMAND  [conn12] command admin.$cmd command: isMaster { ismaster: 1 } numYields:0 reslen:189 locks:{} protocol:op_query 168ms 2020-09-17T02:25:22.455-0700 I -        [conn10] end connection <IP_ADDRESS>:42190 (2 connections now open) 2020-09-17T02:25:22.784-0700 I COMMAND  [ftdc] serverStatus was very slow: { after basic: 50, after asserts: 272, after backgroundFlushing: 383, after connections: 383, after dur: 383, after extra_info: 494, after globalLock: 514, after locks: 726, after network: 726, after opLatencies: 776, after opcounters: 776, after opcountersRepl: 776, after repl: 897, after security: 897, after storageEngine: 938, after tcmalloc: 998, after transportSecurity: 998, after wiredTiger: 1321, at end: 1653 } 2020-09-17T10:47:22.028-0700 I CONTROL  [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends 2020-09-17T10:47:22.035-0700 I NETWORK  [signalProcessingThread] shutdown: going to close listening sockets... 2020-09-17T10:47:22.036-0700 I NETWORK  [signalProcessingThread] closing listening socket: 7 2020-09-17T10:47:22.036-0700 I NETWORK  [signalProcessingThread] closing listening socket: 8 2020-09-17T10:47:22.036-0700 I NETWORK  [signalProcessingThread] removing socket file: /tmp/mongodb-27017.sock 2020-09-17T10:47:22.037-0700 I NETWORK  [signalProcessingThread] shutdown: going to flush diaglog... 2020-09-17T10:47:22.040-0700 I FTDC     [signalProcessingThread] Shutting down full-time diagnostic data capture 2020-09-17T10:47:22.046-0700 I STORAGE  [signalProcessingThread] WiredTigerKVEngine shutting down 2020-09-17T10:47:22.218-0700 I STORAGE  [signalProcessingThread] shutdown: removing fs lock... 2020-09-17T10:47:22.218-0700 I CONTROL  [signalProcessingThread] now exiting 2020-09-17T10:47:22.219-0700 I CONTROL  [signalProcessingThread] shutting down with code:0
So basically it drops the mount "serverStatus was very slow"? I know that my rmlocal process runs overnight and covers time where Plex is also doing its usual nightly maintenance but I never had this happen until recently.

Just had it happen again. rmclocal completed 1 hour before this occurred in the mongod.log:
2020-10-01T02:15:46.116-0700 I COMMAND  [conn5] command admin.$cmd command: ping { ping: 1 } numYields:0 reslen:37 locks:{} protocol:op_query 362ms 2020-10-01T02:15:46.379-0700 I COMMAND  [ftdc] serverStatus was very slow: { after basic: 141, after asserts: 222, after backgroundFlushing: 232, after connections: 252, after dur: 252, after extra_info: 353, after globalLock: 434, after locks: 484, after network: 565, after opLatencies: 968, after opcounters: 1281, after opcountersRepl: 1281, after repl: 1351, after security: 1351, after storageEngine: 1452, after tcmalloc: 1513, after transportSecurity: 1523, after wiredTiger: 4947, at end: 5845 } 2020-10-01T02:15:49.750-0700 I COMMAND  [conn4] command admin.$cmd command: isMaster { ismaster: 1 } numYields:0 reslen:189 locks:{} protocol:op_query 769ms 2020-10-01T02:15:54.000-0700 I -        [conn4] end connection <IP_ADDRESS>:52818 (3 connections now open) 2020-10-01T02:15:55.783-0700 I COMMAND  [ftdc] serverStatus was very slow: { after basic: 80, after asserts: 111, after backgroundFlushing: 211, after connections: 373, after dur: 383, after extra_info: 564, after globalLock: 1644, after locks: 2643, after network: 3177, after opLatencies: 3208, after opcounters: 3208, after opcountersRepl: 3208, after repl: 3248, after security: 3298, after storageEngine: 3460, after tcmalloc: 3802, after transportSecurity: 3823, after wiredTiger: 4891, at end: 6336 } 2020-10-01T02:15:57.206-0700 I COMMAND  [conn1] command plexdrive.api_objects command: find { find: "api_objects", filter: { parents: "0ADFKLpiEBfOFUk9PVA", name: "media" }, skip: 0, limit: 1, batchSize: 1, singleBatch: true } planSummary: IXSCAN { parents: 1 } keysExamined:25 docsExamined:25 cursorExhausted:1 numYields:6 nreturned:1 reslen:365 locks:{ Global: { acquireCount: { r: 14 } }, Database: { acquireCount: { r: 7 } }, Collection: { acquireCount: { r: 7 } } } protocol:op_query 9699ms 2020-10-01T02:16:00.686-0700 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:45954 #6 (3 connections now open) 2020-10-01T02:16:00.908-0700 I COMMAND  [conn5] command admin.$cmd command: isMaster { ismaster: 1 } numYields:0 reslen:189 locks:{} protocol:op_query 2014ms 2020-10-01T02:16:01.771-0700 I -        [conn5] end connection <IP_ADDRESS>:52824 (3 connections now open) 2020-10-01T02:16:03.492-0700 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:45956 #7 (3 connections now open) 2020-10-01T02:16:11.181-0700 I COMMAND  [ftdc] serverStatus was very slow: { after basic: 70, after asserts: 191, after backgroundFlushing: 191, after connections: 191, after dur: 191, after extra_info: 222, after globalLock: 242, after locks: 262, after network: 262, after opLatencies: 413, after opcounters: 413, after opcountersRepl: 413, after repl: 524, after security: 524, after storageEngine: 726, after tcmalloc: 7015, after transportSecurity: 7035, after wiredTiger: 9290, at end: 10340 } 2020-10-01T02:16:14.835-0700 I COMMAND  [conn6] command admin.$cmd command: getnonce { getnonce: 1 } numYields:0 reslen:65 locks:{} protocol:op_query 815ms 2020-10-01T02:16:24.664-0700 I COMMAND  [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 175ms 2020-10-01T02:16:27.522-0700 I COMMAND  [conn7] command admin.$cmd command: getnonce { getnonce: 1 } numYields:0 reslen:65 locks:{} protocol:op_query 4808ms 2020-10-01T02:16:28.884-0700 I COMMAND  [PeriodicTaskRunner] task: UnusedLockCleaner took: 114ms 2020-10-01T02:16:40.266-0700 I COMMAND  [PeriodicTaskRunner] task: DBConnectionPool-cleaner took: 415ms 2020-10-01T02:16:42.486-0700 I COMMAND  [conn6] command admin.$cmd command: isMaster { ismaster: 1 } numYields:0 reslen:189 locks:{} protocol:op_query 10298ms 2020-10-01T02:16:55.730-0700 I COMMAND  [conn7] command admin.$cmd command: ping { ping: 1 } numYields:0 reslen:37 locks:{} protocol:op_query 4114ms 2020-10-01T02:16:59.882-0700 I COMMAND  [ftdc] serverStatus was very slow: { after basic: 30, after asserts: 71, after backgroundFlushing: 71, after connections: 81, after dur: 81, after extra_info: 2869, after globalLock: 2980, after locks: 4941, after network: 7180, after opLatencies: 9180, after opcounters: 9322, after opcountersRepl: 9322, after repl: 12102, after security: 12205, after storageEngine: 17035, after tcmalloc: 18618, after transportSecurity: 19465, after wiredTiger: 34756, at end: 37106 } 2020-10-01T02:17:03.853-0700 I -        [conn7] AssertionException handling request, closing client connection: 6 socket exception [SEND_ERROR] for <IP_ADDRESS>:45956 2020-10-01T02:17:03.896-0700 I -        [conn6] AssertionException handling request, closing client connection: 6 socket exception [SEND_ERROR] for <IP_ADDRESS>:45954 2020-10-01T02:17:07.533-0700 I -        [conn6] end connection <IP_ADDRESS>:45954 (3 connections now open) 2020-10-01T02:17:07.533-0700 I -        [conn7] end connection <IP_ADDRESS>:45956 (3 connections now open) 2020-10-01T02:17:13.078-0700 I COMMAND  [conn1] command plexdrive.api_objects command: find { find: "api_objects", filter: { parents: "0BzFKLpiEBfOFaXk5OWtiZGpuOGs", name: "tv" }, skip: 0, limit: 1, batchSize: 1, singleBatch: true } planSummary: IXSCAN { parents: 1 } keysExamined:49 docsExamined:49 cursorExhausted:1 numYields:11 nreturned:1 reslen:371 locks:{ Global: { acquireCount: { r: 24 } }, Database: { acquireCount: { r: 12 } }, Collection: { acquireCount: { r: 12 } } } protocol:op_query 64960ms 2020-10-01T02:17:13.294-0700 I -        [conn1] end connection <IP_ADDRESS>:35798 (1 connection now open) 2020-10-01T02:17:13.423-0700 I NETWORK  [thread1] connection accepted from <IP_ADDRESS>:46066 #8 (1 connection now open)

Just happened again, this time way before the Plex maintenance period. I have a feeling that Plexdrive is crashing when Plex is detecting intros on a ton of remote files. Might have to try one of the newer builds of Plexdrive separate from this container.


wip: test

This tests the WIP plugin. I want to see what the status check indicator
will show when one test is pending and a second is passing.

OK.


.Net: Name Function rather than Prompt Template

I think it would make more sense to name the Function rather than the prompt template

It's not clear that the Name property in PromptTemplateConfig ties to the Function until you drill down to the comments, so maybe change this property key to "FunctionName"

We may rename the property to FunctionName, but we need to keep the JsonPropertyName "name" because it needs to align with the prompt schema. This may cause confusion, so @markwallace-microsoft is going to have a think about it.

Going to close this since we believe it'll be confusing if the JSON property is different than the class property


Add service for daily summary information

Add a service for the content found in the IEM summary table, like what drives this app.

New service docs are here


Use Polymer.dom(element).innerHTML without scoping the subtree

In certain contexts like WYSIWYG editors, it would be useful to be able to call Polymer.dom(element).innerHTML = html; without creating scoping classes on the new HTML.  I don't want to call element.innerHTML = html; because of Shady DOM considerations.  Is there any way to work around this?

You can disable scoping for a given element by setting this._encapsulateStyle to false
Here's a JSBin example: http://jsbin.com/wequpix/edit?html,output