unable to grab bluetooth data packet,prompt to Disabling amp

After the btle installation is successful, enter. /btletools/src/ btle_ Rx, prompt to Disabling amp, open Bluetooth, unable to grab data packet.

Who are you?

What is your own modification (if any)?

Environments: OS type/version, BTLE repo branch and commit revision

Board/hardware type

Detailed commands/steps to reproduce the issue, and the related error message, screenshot, etc

Your debug efforts and results (if any)

Any other thing we need to know for helping you better?

Who are you?
I'm an employee of ZTE
What is your own modification (if any)?
no
Environments: OS type/version, BTLE repo branch and commit revision
Linux kali 5.6.0-kali2-amd64 #1 SMP Debian 5.6.14-1kali1 (2020-05-25) x86_64 GNU/Linux
Board/hardware type
hackRF-one
Detailed commands/steps to reproduce the issue, and the related error message, screenshot, etc
enter. /btletools/src/ btle_ Rx, prompt to Disabling amp as follow, when open Bluetooth, unable to grab data packet.
Setting VGA gain to 6
Setting LNA gain to 32
Disabling amp
Your debug efforts and results (if any)
no
Any other thing we need to know for helping you better?
The version of BTLE is master branch， The version of HackRF is master branch.
The installation process is as follows:
cd hackrf
cd host
mkdir build
cd build
cmake ../
make
sudo make install
cd BTLE/host
mkdir build
cd build
cmake ../                   (default. for HackRF)
make
./btle-tools/src/btle_rx

i replied to you on github，thank you very much
| |
张飞
@.***
|
签名由 网易邮箱大师 定制
On 07/16/2021 17:52, Jiao Xianjun wrote:
Who are you?
What is your own modification (if any)?
Environments: OS type/version, BTLE repo branch and commit revision
Board/hardware type
Detailed commands/steps to reproduce the issue, and the related error message, screenshot, etc
Your debug efforts and results (if any)
Any other thing we need to know for helping you better?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Could you put an iPhone or other smart phone near by, and turn off/on its bluetooth? In principle, when you turn on the bluetooth, you should see some packet printing on screen.

I have the exact same problem, I also try the btle_tx  example and in seems to work since the SDR Bluetooth low Energy shows on devices on my ligth blue app in  my phone, however not a single package shows when i run the btle_rx example.

Could you put an iPhone or other smart phone near by, and turn off/on its bluetooth? In principle, when you turn on the bluetooth, you should see some packet printing on screen.
Please also try to change the rx gain via the command line arguments.

The antenna seems a bit abnormal.
Can you unplug the antenna (yes you don' need antenna)?
Then try some big gain values?

I unplugged the antenna and try increase the gain step by step to the maximum value and also changing the channels without good results

what is your hackrf firmware version?

and also the driver version/revision

Firmware version is  2017.02.1

Should i upgrate the frimware ?

not sure. mine is:
hackrf_info
hackrf_info version: git-f202160
libhackrf version: git-f202160 (0.5)
irmware Version: git-f202160 (API:1.04)

我也遇到了同样的问题


bitbake fails due to git segfault on Rpi-distro

Maybe not entirely a bug for this repository, but at least useful to document this failing configuration.
When building v2.75.0+rev4 of this repo on Ubuntu 20.04
Git is at version 1:2.25.1-1ubuntu3.2
git --version
git version 2.25.1

bitbake balena-image fails with the following error:
    WARNING: linux-firmware-rpidistro-20190114-1+rpt10-r0 do_fetch: Failed to fetch URL git://github.com/RPi-Distro/firmware-nonfree, attempting MIRRORS if available
    ERROR: linux-firmware-rpidistro-20190114-1+rpt10-r0 do_fetch: Fetcher failure: Unable to find revision b66ab26cebff689d0d3257f56912b9bb03c20567 in branch master even from upstream
    ERROR: linux-firmware-rpidistro-20190114-1+rpt10-r0 do_fetch: Fetcher failure for URL: 'git://github.com/RPi-Distro/firmware-nonfree'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/duststorm/balena-raspberrypi/build/tmp/work/all-poky-linux/linux-firmware-rpidistro/20190114-1+rpt10-r0/temp/log.do_fetch.1127018
    ERROR: Task (/home/duststorm/balena-raspberrypi/build/../layers/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb:do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 2512 tasks of which 0 didn't need to be rerun and 1 failed.

The following happens when the recipes
layers/meta-raspberrypi/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_git.bb
layers/meta-balena-raspberrypi/recipes-kernel/linux-firmware-rpidistro/linux-firmware-rpidistro_%.bbappend
are being executed:
git -c core.fsyncobjectfiles=0 clone --bare --mirror "git://github.com/RPi-Distro/firmware-nonfree" --progress
git -c core.fsyncobjectfiles=0 branch --contains b66ab26cebff689d0d3257f56912b9bb03c20567 --list master 2> /dev/null | wc -l
# which returns 0

git -c core.fsyncobjectfiles=0 remote
# which returns origin
git -c core.fsyncobjectfiles=0 remote rm origin
git -c core.fsyncobjectfiles=0 remote add --mirror=fetch origin "git://github.com/RPi-Distro/firmware-nonfree"
git -c core.fsyncobjectfiles=0 fetch -f --progress "git://github.com/RPi-Distro/firmware-nonfree" refs/*:refs/*
git -c core.fsyncobjectfiles=0 prune-packed
git -c core.fsyncobjectfiles=0 pack-refs --all
git -c core.fsyncobjectfiles=0 pack-redundant --all | xargs -r rm
# Here things go wrong:
# The following command leads to a segfault
git -c core.fsyncobjectfiles=0 pack-redundant --all
Segmentation fault (core dumped)

# Following this, the next steps fail
git -c core.fsyncobjectfiles=0 branch --contains b66ab26cebff689d0d3257f56912b9bb03c20567 --list master 2> /dev/null | wc -l
# again returns 0
# which is why bitbake spits out:

WARNING: Failed to fetch URL git://github.com/RPi-Distro/firmware-nonfree, attempting MIRRORS if available
DEBUG: Fetcher failure: Unable to find revision b66ab26cebff689d0d3257f56912b9bb03c20567 in branch master even from upstream
NOTE: Removing /home/duststorm/balena-raspberrypi/build/downloads/git2/github.com.RPi-Distro.firmware-nonfree
DEBUG: Trying MIRRORS

# and goes on to download a tar.gz from openembedded.org, which again fails because of the same git crash:
DEBUG: Mirror fetch failure for url http://sources.openembedded.org/git2_github.com.RPi-Distro.firmware-nonfree.tar.gz (original url: git://github.com/RPi-Distro/firmware-nonfree)
DEBUG: Fetcher failure: Unable to find revision b66ab26cebff689d0d3257f56912b9bb03c20567 in branch master even from upstream

Anyone a clue what git problem this could be related to and whether it is already fixed upstream?
What reference environment is used to perform the official balena builds?

The plot thickens.
If I update git to version 2.34
I get the following message on the command that previously caused the crash:
git -c core.fsyncobjectfiles=0 pack-redundant --all
'git pack-redundant' is nominated for removal.
If you still use this command, please add an extra
option, '--i-still-use-this', on the command line
and let us know you still use it by sending an e-mail
to<EMAIL_ADDRESS> Thanks.

If I run the command as follows I no longer get a crash:
git -c core.fsyncobjectfiles=0 pack-redundant --i-still-use-this --all

However, it appears to change nothing, the command after that still yields no results:
git -c core.fsyncobjectfiles=0 branch --contains b66ab26cebff689d0d3257f56912b9bb03c20567 --list master 2> /dev/null | wc -l
# returns 0

So maybe the segfault is not the cause of the issue
The recipe that executes this command seems to stem from poky:
layers/poky/bitbake/lib/bb/fetch2/git.py:            runfetchcmd("%s pack-redundant --all | xargs -r rm" % ud.basecmd, d, workdir=ud.clonedir)

Maybe my issue is similar to this one:
https://github.com/riscvarchive/riscv-poky/issues/15

The build works fine with tag v2.88.4 and master branch
I was confused by the fact that the releases page of this repo appears to be outdated.
However, building 2.25.1 is broken due to the git checkout issue in meta-raspberrypi (yocto).
Perhaps I should report this issue over there.

Hi,
sorry for the late reply.
The git checkout issue for that old release should be reported upstream. But I think there's not much they can backport anyway if the upper git repo has changed history (as it seems to me).
Any particular reason you need to build such an old OS version? (2.25.1)

@duststorm ?


Unable to run the program after image input

I need to know proper format of some image i tried some from the net, but it throws "vector subscript out of range" exception , even though i used exact 800X800 dimension image and converted it into .slice format still it didn't work . The above mentioned website gives a 404 .Please provide some images to make it work, i even mailed you asking that where ever you are more active.
Thank you

Please guide me to convert the ct images to proper format so that it can run in the program .
eagerly waiting for your help
Thank you


VCS Snapshot management

Discord username
No response
How important is this feature to you?
0 – Not too important
Describe the idea you'd like to see implemented.
Following up from #6377, ideally, we'd like to have a way to manage snapshots so that it's easy to switch back and forth between them.
To quote @wdanilo:

(...) when you switch to last saved checkpoint, a new checkpoint should be created before the switch which would allow you to switch back, but this would also require a view of list of checkpoints and managing a tree of checkpoints (not a flat list of them).

Is your feature request related to a problem?
No response
Screenshots, screencasts, mockups.
No response
Would you be willing to help us implement this feature?
No

As GUI2 does not have VCS integration at all, restoring it is also added to this task's scope.


fix(esl-popup): fix esl-popup infinitely created independently of placeholder state

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0-beta.12 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug] ClickHouse: Column of type Nullable(UInt64) will cause error.

Having a column of type Nullable(UInt64) will cause DBeaver to display an error message. The message says:
For input string: "64)"
For input string: "64)"
This message pops up when trying to view the Data, Properties or ER Diagram.
UInt64 on it's own does not cause this problem. Nullable(Float64) doesn't either.

Could you post error stacktrace (https://github.com/dbeaver/dbeaver/wiki/Log-files)?
Most likely this is a driver implementation problem but perhaps we can add some workaround.

Thanks.
Indeed, it is a bug in Clickhouse driver (it is quite raw). It fails during numeric data types scale/precision reading.
I'll add a workaround for this.


Edit project tags does not work

When hovering on tags on projects in the Project table there is a hover tip, "Edit project tags".
Clicking on a tag does nothing.
To Reproduce
Steps to reproduce the behavior:

Click Open Project
Then hover on some tags in the Tags column on list of projects
Try to click on some tags to edit

Current Results
Clicking is not allowed.  Not actually editable, but the hover text says so?
Expected Behavior
However I don't know if it truly is supposed to be clickable in that area to edit.
It might have been an oversight in PR #1357 or a change in Javascript or just now instead should say "Project tags"?
Good news is that clicking on "About" link and editing a projects set of tags within the metadata editor does still work that way.
Screenshots

Versions

Operating System: Windows 10
Browser Version: Firefox latest
JRE or JDK Version: JDK13
OpenRefine: OpenRefine 3.5 Beta1

Datasets

Additional context

@wetneb It is originally a localization problem I think?  See the linked PR above.


Disable chaotic long running verification tests

Since we are about to remove durability from Restate for a short period, it does not make sense to run the chaotic long running verification tests because they cause the server pod to be restarted. Therefore, I suggest to disable these tests temporarily.

Manually removed the restate-chaos and restate-lambda-chaos overlay.


deepLinkValue: type 'Null' is not a subtype of type 'String' in type cast

I'm getting this error since the latest update:
type 'Null' is not a subtype of type 'String' in type cast

flutter: When the exception was thrown, this was the stack:
flutter: #0      DeepLink.deepLinkValue (package:appsflyer_sdk/src/udl/deeplink.dart:16:64)

which corresponds to this method of the DeepLink class:
String? get deepLinkValue =>  _clickEvent["deep_link_value"] as String;

I believe as String causes the problem because _clickEvent["deep_link_value"] can be null. I suggest making sure it's not null before casting, or removing the cast.
In the meantime I'm going to use clickEvent['deep_link_value'] in my code as an alternative for deepLinkValue or any other get accessor here.

Hey @pierrea
A fix for this issue was released in 6.4.0+1.


fix: use eqaf in Pkce.verify

We inherit eqaf from Jose & guess, but should it be explicit here as well? Both in spam and dune


error: no commands supplied

error: no commands supplied

Hello, could you please specify which command you are referring to?


TMT_TREE vs TMT_SOURCE_DIR

I was examining this run and I've noticed something peculiar in how  the design works. In my test I have:
  rlRun "rsync -r $TMT_TREE$TMT_TEST_NAME/ $tmp" 0 "Copy example project"

But that does not work in upstream because it should point to TMT_SOURCE_DIR.
But then, what's the usecase of having TMT_TREE not point to TMT_SOURCE_DIR when using a plan with
discover:
  how: fmf
  dist-git-source: true

If we consider other cases when using how: fmf with url or otherwise, in those cases the source is available at TMT_TREE right? Only dist-git behaves differently with the downloaded tree pointing to a different location.
Is there a reason for having these be different? Should the behaviour be how non-dist-git download work, or the other way around? A temporary fix is possible with ${TMT_SOURCE_DIR:-$TMT_TREE}, but it is unexpected to have to do that.

Where would TMT_TEST_PATH point to in these cases. I am thinking there should be a few variables:

TMT_TEST_PATH, the working directory of the test after the copy.
My understanding that in the tmt/fmf format, all the files under TMT_TEST_NAME (or rather its directory) are copied over in whichever run/provision/discover method is used

This does not allow the navigation to the caller's workspace or the gitrepo's

TMT_TEST_ROOT, the tmt tree root that has defined the test

This allows to (partially) navigate the git repo's files below the TMT_TEST_NAME path, e.g. to specify the common test.sh file relative to the tmt root (similar to this, but more clearer on the intention)

TMT_TEST_GIT_ROOT, the git root path that has defined the test

This allows to fully navigate the git repo's files. There are projects that would want to keep the git root structure as minimal as possible, and this would help in that design

Other variables to potentially get data from the plan caller, e.g. if using discover and we want to design a reusable tmt test where the caller defines the necessary variables/files (currently can only pass env variables though)

For prosperity, here is the test design that I am working with that sparked this necessary design. In this case just the TMT_TEST_PATH should be sufficient, but the others would be more beneficial for creating reusable tests

@lukaszachy Actually I tried with TMT_SOURCE_DIR and it doesn't seem to work. https://artifacts.dev.testing-farm.io/141d1d4d-1050-4646-95b8-f7d7e22aa870/ I've tried the reproducer to try and debug it locally, but it got rid of the temp files. I might need some help with this

I'll take better look tomorrow. It is really possible there are more bugs here and there.

@LecrisUT I think I understand the problem.
rsync runs for /var/tmp/tmt/run-115/plans/examples/discover/default-0/source/docs/examples/getting_started/cython/ however the code is in /var/tmp/tmt/run-115/plans/examples/discover/default-0/source/scikit_build_core-0.4.8/docs/examples/getting_started/cython/ -> see scikit_build_core-0.4.8 got added to the path (and that is expected).
It happens this way because there can be multiple source files and it isn't safe to merge them together (e.g what about name conflicts) so tmt extracts the tarball as-is into TMT_SOURCE_DIR.
I'm looking at available variables but I don't see any nice way how to do what you need.
pwd is /var/tmp/tmt/run-116/plans/examples/discover/default-0/tests/docs/examples
TMT_TEST_NAME=/docs/examples/getting_started/cython
TMT_SOURCE_DIR=/var/tmp/tmt/run-116/plans/examples/discover/default-0/source

I guess $TMT_SOURCE_DIR/*/$TMT_TEST_NAME should work however pwd and TMT_TEST_NAME overlap a bit so it you could strip that common part it will work always (and you will not depend if you run from distgit or from repo) as pwd will be always correct.

in tmt we could probably export '/var/tmp/tmt/run-116/plans/examples/discover/default-0/tests' which is path to where tests are stored... not sure about the name though.

So this is related to #2098 in some way as well. The wildcard solution should work ok, but I should work on applying the patches to source, otherwise fixing this downstream will be problematic.
Anyway for this issue, should consider some other useful variables to define to make these  more navigable. From the previous comment:

TMT_TEST_PATH=/var/tmp/tmt/run-116/plans/examples/discover/default-0/tests/docs/examples/getting_started/cython (not affected by pwd change from the test definition). Not sure how to address the virtual paths (paths that do not have main.fmf), maybe always point to effective path for better consistency
TMT_TEST_ROOT=/var/tmp/tmt/run-116/plans/examples/discover/default-0/tests
TMT_TEST_GIT_ROOT=???
TMT_SOURCE_DIR=/var/tmp/tmt/run-116/plans/examples/discover/default-0/source
Some other paths to navigate across git and fmf root


[RFC] Basic Conditional Logic in Preppers

Data Prepper currently does not provide any control logic within pipelines. This proposal is to add a basic conditional system for processing data in Preppers only when certain conditions are met.
This proposal is to add a new when field which is available for all Processors.
When a Prepper contains the when field, the condition expressed in the value must be true for the Prepper to process a given event. If the field is not provided, then all events are processed.
The conditional expression should support:

Equality operators: ==, >, <, >=, <=
Boolean operators: and, or, and not
Set operators: in, and not in
Regex operators: =~ and !~ which check a pattern on the right against the string on the left
Fields will be accessed using JsonPointer as defined in #450
Sets defined by [] and comma delimited

Thus, an example might be:
preppers:
  ...
  - grok:
       when: "/http/response/status_code and /http/response/status_code >= 400 and /http/response/status_code < 500"
       match: "..."
  - grok:
       when: "/http/response/status_code in [500, 501]"
       match: "..."

Implementation
The AbstractPrepper class can support the when behavior so that individual Prepper implementations do not need to handle the when field.
This will require that AbstractPrepper receive Event types and not any type. This is ongoing work in #319. Making this change in AbstractPrepper is a breaking change though since it does not require the Event type currently.
The AbstractPrepper will only call doExecute for records which meet the conditional expression provided by when.

The given example seems to indicate that all preppers would be iterated through and each where cause evaluated. Would there be a way to short circuit the rest of the preppers in the event a 'when' clause is met? Though would allow for a more conventual if-then-else style evaluation.

@ryn9, Thanks for the feedback. This proposal does not include conditionals any more complicated than skipping a single Prepper/Processor.
Would the current proposal be of value to you? Do you need something more like if-then-else? My thinking is that both could  exist. The proposed when approach may yield clear and compact pipelines when it is sufficient. But, an if-then-else could be available to use when it is needed.

So long as if-then-else is coming - sounds good to me :)

Two possible alternatives that allow branching logic to be represented with nested components.

Data Prepper could leverage the option to chain multiple pipelines to represent branching logic. Adding a new sink named "conditional" that contains an array of {if: "condition", sink: [sink1, sink2]}. Each subsiquent pipeline would need to handle a branch in contorl flow.

  source:
    ...
  sink:
    - conditional:
      - if: "/http/response/status_code and /http/response/status_code >= 400 and /http/response/status_code < 500"
        sink:
          - pipeline:
              name: "pipeline-a"
    - conditional:
      - if: false
        sink: []
      - if: /http/response/status_code in [500, 501, 502]
        sink:
          - pipeline:
              name: "pipeline-b"
      - if: true # effectivly else
        sink:
          - pipeline:
              name: "pipeline-a"
          - pipeline:
              name: "pipeline-b"
pipeline-a:
  source:
    pipeline:
      name: "start-pipeline"
  sink:
    ...

pipeline-b:
  source:
    pipeline:
      name: "start-pipeline"
  sink:
    ...```

Another option with a less verbose syntax could be to create a conditional processor. The conditional processor would need to support nested processors. Branching processor logic is cleaner but directing events to different sinks based on conditionals requires a more complex syntax.

```start-pipeline:
  source:
    ...
  processor:
    - conditional:
      - if: "/http/response/status_code and /http/response/status_code >= 400 and /http/response/status_code < 500"
        processor:
          - grok:
            ...
          - another-processor:
            ...
      - if: "/http/response/status_code in [500, 501, 502]"
        processor:
          ...
      - if: true # effectivly else
        processor:
          ...
  sink:
    - file:
      ...```

Thanks @sbayer55 for putting that together. I have a similar concept, but it uses a conditional_routing Processor.
Basically, this one Processor could route into other processors depending upon the condition. This wouldn't really require any changes to Data Prepper Core either.
my_pipeline:
  source:
    pipeline:
      name: VAR_PIPELINE_NAME
  processor:
    - mutate:
    - conditional_routing:
        - '/http/response/status_code = 500'
            - conditional_routing:
                - '/http/response_body ~= FAILURE1'
                  - mutate:
                     ....
              - '/http/response_body ~= FAILURE2'
                 - mutate:
                    ....
                - otherwise:
                  - mutate:

We've had some concerns about this type of approach though because it could cause problems with a distributed Data Prepper cluster.
I think we should move forward on the when approach to get a feature out in 1.3 and at the same time start an RFC for different approaches to the branching condtionals.

Yes, you also have something similar for the processors. I like your syntax a bit more than mine - it's more readable.

Thanks for the feedback @dlvenable! I agree we can grow from the when processor parameter to more complex functionality.
Based on your proposed when syntax I'd like to add more specific details and address a few edge cases. I'll use this sample event for reference:
{
    "Valid \"JSON\"key~with.special/characters\\are=={[fun]}": true,
    "nested": {
        "values": [1, 2, 3]
    },
    "boolean": true,
    "boolean-string": "true",
    "int": 3,
    "float": 3.14159265
}

Compare JSON pointer to static value
Simple check conditional checks:
when: '/boolean == true' # True

# /boolean evaluates to a boolean type
# "true" evaluates to a string type
when: '/boolean == "true"' # false

when: '/boolean-string == "true"' # true
when: 'boolean == true' # false

# JSON Pointers can use integers to select a node in an array at index n
when: '/nested/values/1 == 2' # true

when '2 in /nested/values/' # true

Compare JSON pointers
Compare the value of two pointers
This comparison evaluates to '3 in [1, 2, 3]'
when: '/int is in /nested/values' # true

Handling special characters
If a JSON pointer has a more complex key it will impossible to identify where a JSON point terminates. To address this issue I propose we define two ways to declare a JSON Pointer

Shorthand notation beginning with a / and consisting of alphanumeric, hyphen, and forward slash characters. Regex pattern ^\/[A-Za-z0-9-\/]*[A-Za-z0-9-]$
Escaped notation JSON Pointers beginning in "/ and terminating with a " not preceded by an escape character \. The escape character \ used to mark the following character to be evaluated as literal text. Example: You would use "/not \"in\"" to select the key not "in". Key in context: {"not \"in\"": true}.

Escaped notation JSON Pointer to select the key Valid \"JSON\"key~with.special/characters\\are=={[fun]}.
when '"/Valid \"JSON\"key~0with.special~1characters\\are=={[fun]}" == true'

JSON keys use the escape character \. For example the "\"\\" evaluates to "\.
JSON pointer escape characters:

~0 representing ~
~1 representing /

Order of operations
Evaluate in order from top to bottom, then left to right for each row
[]
()
in, not in
<, <=, >, >=
=~, !~
==, !=
and, or, not

Examples:
# Evaluates to true:
true or false and true

# Evaluates to false:
true or (false and true)

White space
A single space characters   () surrounding operators and a single following commas in a set are options

true == true is equivalent to true== true or true==true
[1, 2, 3] is equivalent to [1,2,3]
true         == true is invalid syntax and will throw an exception.
"/JSON        pointer" == true is valid. Given this JSON object {"JSON        pointer": true} the statement would evaluate to true.

Character set
I suggest we only allow ascii characters 32-126 to limit parsing complexity and mitigate risk from malformed strings.

To support a when condition on all processes by default I propose following modifications to AbstractProcessor
InputRecord OutputRecord type mismatch
AbstractProcessor defines an input and output record type. If the when condition should cause events to be excluded from the doExecute method and InputRecord.class != OutputRecord.class then then AbstractProcessor would not know how to transform the record.
Out of scope: In an enhancement consider adding support for mismatched types with an output type of String. Then transform the input records using the .toString method.
InputRecord type support.
If the when condition contains a JSON Pointer then AbstractProcessor should only allow InputRecord with a value of one of the following types

String
JsonNode
Event

Out of scope: In an enhancement consider adding support for a way to reference Record.getData(). This might be useful for a condition like when: Record.getData() != "" to skip processing empty strings.
String
Attempt to parse as JSON with Jackson ObjectMapper.readTree(String). Throw exception if parsing fails, otherwise continue as JSON Node as success
JsonNode
Evaluate conditional statement using JsonNode.at(String) to resolve JSON Pointers
Event
Convert event to JSON using Event.toJsonString(). Then handle as type String.
When condition evaluation exception
I propose we add a flag onWhenEvalException configuration property to processes that supports the following values:

drop-event
drop-event-silent
force-true
force-false

drop-event
Do not include the event in the doExecute records parameter
Produces a log message for each dropped event
drop-event-silent
Do not include the event in the doExecute records parameter
No LOG message produced
Logs a warning at startup that events may be dropped silently
force-true
Continue processing the event as if the when condition evaluated as true
force-false
Continue processing the event as if the when condition evaluated as false

If Data Prepper uses the Conditional Routing approach from #1007, this RFC should change to match it.
I believe the following two changes are necessary:

Remove the where property in favor of the route configuration.
Implement the routing logic in Data Prepper Core instead of in the AbstractProcessor class.

@ryn9 , You expressed interest in if-else-elseif conditions within Data Prepper. I created a new proposal for conditional routing in #1007. It represents my current thinking on how to handle routing with Data Prepper.
I'd like to understand your use-case(s) for using complex conditionals like if-else-elseif. Data Prepper currently follows a pipeline model and not a programming model. I'd like to see if other concepts can meet your needs rather than if-else-elseif. Please comment on the proposal for #1007 and let us know if there are other scenarios which it does not solve for you.

The discussion of the exact syntax Data Prepper will use has been moved into #1005.


JavaKit: map NULL jstring to the empty string

Fixes: #155

Will look at tomorrow.

added tests

Thank you!


Mystery deadlock

There's a deadlock that hits Prometheus servers under load some time within 12 hours typically. It is known to occur in servers that are never queried so is likely located in the write path.
Goroutine dumps show to be entirely useless as all waiting goroutines are waiting to acquire a lock.
Thus, it's most likely inconsistent locking order or exiting a locked procedure without unlocking again.

Potentially found and fixed. Testing now.

Seems to be solved. Closing. @beorn7, please let me know if you encounter it again.

Sadly, I still see the deadlock (after the first compaction). Would it be helpful to take a goroutine dump? I even have two different servers in the same state, so overlapping the two dumps might help.
Unfortunately, I have absolutely no cycles left to help debugging myself.

Can confirm, just had it as well before. Might well be it's yet again a new one.
Have to revisit the overall locking structure. Even though there aren't many, it's still too easy to cause one.

It seems I'm incredibly talented at fixing the lock, even adding doc strings on how the two locks causing this again and again (in the same function) should be used – and soon after reintroducing the wrong locking order in the same place... fixing and trying again.

Okay, seems we have encountered quite a few different ones showing very similar stack traces.
Now things ran pretty long but still deadlocked eventually. The problem seems to be when cutting a new block (B) and still writing to the previous one (A). That may happen simply because of weird concurrency interleaving but also if a single scrapes contains samples with timestamps across both blocks.

P1 takes rlock for A, then rlock for B
P2 takes rlock for A, then rlock for B
P1 wants to create new series in A and attempts switching A's rlock to a wlock
P2 wants to create new series in B and attempts switching B's rlock to a wlock

Result: deadlock
Looking for a non-hacky solution now.
Lesson here: optimizing lock contention makes adding deadlocks really easy.

A workaround was pushed that generally works for Prometheus, where every write transaction only appends samples of the same timestamp. This was done to unblock a first alpha release of the storage.
Generally, the full behavior can be restored without any predicted performance impact but should be done carefully with a clean design. We might have to drop the property of nested Appender to gain more control of the locking order.


Race condition causing "No emulators or devices found" for Android

Hi,
I'm trying to set up my new Ember.js project with Android. And I came upon the same issue described here and it looks like there's some race condition going on.
I don't have a device connected, only a single emulator. With the following lines in lib/commands/start.js as they are now:
if (platforms.includes('android')) {
  promises.push(listAndroidDevices());
  promises.push(listAndroidEmulators());
}

it finds my emulator about 10% of the time when running corber start. The other 90% of the time, it outputs No emulators or devices found.
However, when I ask it to list the emulators before the devices:
if (platforms.includes('android')) {
  promises.push(listAndroidEmulators());
  promises.push(listAndroidDevices());
}

it finds the emulator 100% of the time!
So it seems that there's a race condition (or something similar) between the two commands
$ANDROID_SDK_ROOT/emulator/emulator -list-avds (lists emulators)
$ANDROID_SDK_ROOT/platform-tools/adb devices -l (lists devices)

I'm new to Android development so I really don't know what's going on here. Just wanted to document this. Maybe it's an option to run the two commands in serial rather than in parallel? I know it's not ideal without understanding the root cause, but it might offer a solution for some people in the mean time without affecting functionality.
I'm on Linux btw (Ubuntu 18.04).

Interesting - thanks for reporting this - and for the detailed repro case :-)


Numba 0.51: avoid subclassing NamedTuple in LiteralStrKeyDict

Reporting a bug

[x] I have tried using the latest ~released~ release candidate version of Numba (most recent is
visible in the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
[ ] I have included below a minimal working reproducer (if you are unsure how
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).

LiteralStrKeyDict type is a dictionary and semantically different than a Tuple. Subclassing NamedTuple can cause issues, e.g. breaking all the instance(t, types.BaseTuple) calls. I understand that this approach makes implementation (e.g. lowering) easier, but is there a cleaner way to avoid breaking existing code?

CC @stuartarchibald

Thanks for the report. When I get some time I'll have a go at decoupling it. I presume this won't actually break existing code unless you elect to use the feature? or do you have an example of something that worked on 0.50 that now doesn't? Thanks again!

It breaks existing code since some functions can take both tuple and dictionaries. However, I was able to work around it since it requires just an extra type check. Some other issues along the same line:

LiteralStrKeyDict is subclass of Literal but the values are not necessarily constant. We had code with this assumption.
types.Poison and interpreter._UNKNOWN_VALUE (e.g. for dispatcher type) appear in nested literal values in some corner cases.

I'd be happy to discuss these case and help improve LiteralStrKeyDict since this is a very interesting and useful feature.

It breaks existing code since some functions can take both tuple and dictionaries.

Do you have an example of this please? The LiteralStrKeyDict type shouldn't be appearing for conditions that would have existed in 0.50 based code. This may be a bug.

However, I was able to work around it since it requires just an extra type check.

Thanks, I'd anticipate that being the case. I think it's going to be possible to decouple these types from the classes they are borrowing from but I'm not sure of the LOE.

Some other issues along the same line:
* `LiteralStrKeyDict` is subclass of `Literal` but the values are not necessarily constant. We had code with this assumption.

I see. This feature is breaking new ground, we've never had any sort of container const-ness before (that wasn't emulated through analysis and transform in a pass) and I don't think there was a specific contract about what Literal should be. I'm not saying that what is present is right, just that that is what it is. I'm also unsure that Literal would imply constant value or the inverse, for example None is const but not literal. The reason these containers inherit from Literal is so that literally can be used to force re-dispatch and all that (incredibly complicated) mechanism can just be reused. Perhaps these containers need a types.PartLiteral to inherit from and that registering with all typing/literally mechanics so as to differentiate between Literal being a const thing and Literal being a const-like thing with some const-value semantics and some const-type semantics.

* `types.Poison` and `interpreter._UNKNOWN_VALUE` (e.g. for dispatcher type) appear in nested literal values in some corner cases.

Any chance you could provide reproducers please? That this is appearing isn't necessarily bad, Poison should prevent it being used.

I'd be happy to discuss these case and help improve LiteralStrKeyDict since this is a very interesting and useful feature.

Thanks, aim is to be able to do stuff like:
@njit
def my_function(data, config):
    tmp = data / np.linalg.norm(data, ord=config['normalize'])
    iv = config['initial_value']
    for i in tmp:
        iv += i
    return iv

@njit
def config_example(data):
    # pass a dictionary as configuration
    config_a = {'normalize': None, 'initial_value': 5}
    result_a = my_function(data, config_a)
    print(result_a)

    config_b = {'normalize': np.inf, 'initial_value': 10j}
    result_b = my_function(data, config_b)
    print(result_b)

config_example(np.arange(10.))

It breaks existing code since some functions can take both tuple and dictionaries.

Do you have an example of this please? The LiteralStrKeyDict type shouldn't be appearing for conditions that would have existed in 0.50 based code. This may be a bug.

We have a separate infrastructure that passes constant values to specific functions (using a transform pass, not regular type inference). That's why some of these issues are exposed for us. Example function that takes both tuple and dictionary is pandas groupby agg.

Perhaps these containers need a types.PartLiteral to inherit from and that registering with all typing/literally mechanics so as to differentiate between Literal being a const thing and Literal being a const-like thing with some const-value semantics and some const-type semantics.

PartLiteral sounds very good to me.

* `types.Poison` and `interpreter._UNKNOWN_VALUE` (e.g. for dispatcher type) appear in nested literal values in some corner cases.

Any chance you could provide reproducers please? That this is appearing isn't necessarily bad, Poison should prevent it being used.

Here is a simple reproducer for the Poison case. The _UNKNOWN_VALUE case was along the same lines but I can't reproduce it (will try again later).
In [45]: @overload(f)
    ...: def f_overload(d):
    ...:     print(d)
    ...:     return lambda d: None
    ...:

In [46]: def f(d):
    ...:     return
    ...:

In [47]: @overload(f)
    ...: def f_overload(d):
    ...:     print(d)
    ...:     return lambda d: None
    ...:

In [48]: @numba.njit
    ...: def g():
    ...:     return f({"A": [lambda a: 2*a, "B"]})
    ...:

Here is a simple reproducer for the Poison case. The _UNKNOWN_VALUE case was along the same lines but I can't reproduce it (will try again later).

Thanks, minor bug in type inference for the special case of a single entry dict ctor was the cause. https://github.com/numba/numba/pull/6109 fixes.

LiteralStrKeyDict type is a dictionary and semantically different than a Tuple. Subclassing NamedTuple can cause issues, e.g. breaking all the instance(t, types.BaseTuple) calls. I understand that this approach makes implementation (e.g. lowering) easier, but is there a cleaner way to avoid breaking existing code?

As this would impact existing code using isinstance checks, this is fixed in #6111 and scheduled for 0.51 final.


Up and Back navigation don't work like they should

Hierarchy of artist, album, playlist or genre pages often breaks (or doesn't act like it should as declared in the Android guidelines) when navigating between the now playing page and the library

Resolved in version 0.2-α.r0m16y


Android: notification does not dismiss after selection button (1.6.x dev)

I am trying to get a head-start on using the 1.6.x version of the plugin, so I realize it may be 'buyer beware' at this point...
On Android, I get a push notification and it has my action buttons.  When I select an action button, the callback gets called and everything appears to run ok.  But the notification does not get dismissed.  It should get dismissed automatically shouldn't it?  I didn't think there was anything I needed to do on my end to make that happen was there?  This is running with the action button set as foreground: false.
Here's the adb logcat output for the plugin at the time I hit the action button.
D/PushPlugin_BackgroundActionButtonHandler(28049): BackgroundActionButtonHandler = Bundle[mParcelledData.dataSize=1408]
D/PushPlugin_BackgroundActionButtonHandler(28049): not id = 0
D/PushPlugin(28049): convert extras to json
D/PushPlugin(28049): key = actions
D/PushPlugin(28049): key = pushPayload
D/PushPlugin(28049): key = callback
D/PushPlugin(28049): key = icon
D/PushPlugin(28049): key = notId
D/PushPlugin(28049): key = title
D/PushPlugin(28049): key = message
D/PushPlugin(28049): key = coldstart
D/PushPlugin(28049): key = collapse_key
D/PushPlugin(28049): key = foreground
V/PushPlugin(28049): extrasToJSON: {"title":"Mobile Auth","message":"Some tenant name\nLogin Verification\nsome.tenant.com","additionalData":{"actions":[{"callback":"window.rejectVerification","foreground":false,"title":"Reject"},{"callback":"window.acceptVerification","foreground":false,"title":"Accept"}],"pushPayload":{"request":{"loginUri":"sendMsg.fake.com","tenantName":"sendMsg.js fake tenant","responseUri":"responseUri","requestTimestamp":1455305073,"requestId":4058401,"tenantId":"tenantId","userId":"userId","uri":"uri"},"authenticatorId":"authId"},"callback":"window.acceptVerification","icon":"ic_launcher","notId":"1455305073","coldstart":false,"collapse_key":"do_not_collapse","foreground":false}}

@jopelkey are you sure you are using the most up to date v1.6.x? What you talk about should be fixed with this commit:
https://github.com/phonegap/phonegap-plugin-push/commit/ed8360ca33056b7ce91ade389412d89338ae0fa6

Hmm - pretty sure I have the latest as of a few hours ago.  My package.json has this entry in it in:
{
"locator": "https://github.com/phonegap/phonegap-plugin-push#v1.6.x",
"id": "phonegap-plugin-push",
"variables": {
"SENDER_ID": "..." // with my real id here...
}
},
and I am downloading that using 'ionic state restore'
I also checked the code in my plugins/phonegap-plugin-push directory and it looks like it has all the changes from the commit you mention.
The other reason I think I'm up to date is that I was able to verify on the code I have that the bug you fixed the other day (#584) where not specifying an icon in the actions was throwing a JSON exception.

I think I figured something out here.
If my payload has a 'notId' in it, the notification does not get dismissed.
If I take the 'notId' out of the payload, the notification does get dismissed.
'notId' shouldn't affect the dismissal behavior should it?

@jopelkey nope, that should work. Thanks for looking into it. I really appreciate your bugs as they are actually things I can fix. :smile_cat:

@jopelkey again, thanks for the excellent bug reports. I'm back from two weeks of travel so I've just pushed the fix to the 1.6 branch.


Workaround for Windows (x64), again

The content of my previous patch (https://github.com/bsl/bindings-GLFW/pull/12) seems to have disappeared just when bindings-GLFW has updated to 3.1. In fact this is causing a build issue on Windows (#27).
This patch re-adds the workaround.

Thanks @fumieval
Is this a bug in glfw itself? If the workaround is in the source of glfw then we'll have to apply a patch any time glfw is updated. Should this fix instead be sent to https://github.com/glfw/glfw?

GLFW itself has no substantial problem, I think. GHCi linker is a bit erratic so it causes problems on windows.

@fumieval,@LoschmidtParadox I see. Is there any way we can provide this fix without altering the glfw source? Maybe we can use a .patch as part of the cabal build process. The only problem I have with altering the glfw source is that every time we sync with the current glfw version we'll have to re-apply this update and I am forgetful, and any future maintainers won't know to do this until after they run into this problem again.

I agree, I don't think this is a problem with GLFW, although I haven't tried compiling from source on 64-bit. They seem to include similar code to the workaround under win32_platform.h lines 69 to 72, just without the  || _WIN64
Out of curiosity what are you guys using to compile? I'm running this on 32-bit cygwin, which may be causing some confusion to 64-bit ghc when linking.
It should be possible to make a fix where if it doesn't compile for 64-bit it sends a warning and fails gracefully by compiling in 32-bit.
I imagine other packages have had to face this problem as well...
Perhaps this fix will work, it's just a matter of changing the .cabal file (https://github.com/haskell-opengl/OpenGL/issues/28)

This may be another solution.
GLFW.hsc binds the functions using #ccall which isn't correct for 64bit, they should be stdcall.
Bindings-DSL has a macro for this
https://github.com/jwiegley/bindings-dsl/wiki/TipsAndQuestions


Calculation and Summarization Not Able to Occur Because there Is no Data in Poor Quality Column

Discussed in https://github.com/grafana/grafana-infinity-datasource/discussions/891

Originally posted by jesse-grafana June 24, 2024
I have a GE customer trying to use the Infinity plugin to calculate call metrics from Aternity api and calculate into columns using a table plugin. This works if we have values for "poor quality" and "Total calls," but in the scenario "poor quality" has no data, the column does not present itself. There is no equivalent of zero vector you would have in a prom datasource. Is there some way to conjure a calculated column with no value so it's not just absent?  Tried the no data option of null, etc.
So, if no data exists in the column, it no longer adds that column to the report. This is a bad experience because when summarizing calls and their quality, you cannot show that there were no "XXXX" column names.
Example: In this instance, the column does not appear on the report if there are no "Poor Quality" marked records. A call center or quality control group needs to summarize all points even if there are none in the data. Without it in the report's data, they cannot report with dashboards for executives because they no longer see that field. Just because there is no data, does not mean it should be displayed in the data. I believe this could be a UI bug as there is no option to mark display/do not display if column is null option. There should be a toggle to allow the user to toggle if they want to show a null value column or not.
If we can solve this without using customer data, it would be a huge win for this customer because they are 97% ready to go live with a few Grafana features, and this is one of the last few issues holding that up.

@jesse-grafana can you contact me on Slack pls? Having an engagement with an Aternity customer. Thx


Bug Fix: Justify TopNav and SubNav Content right

Justified right when no title is present

Justified Right when no TopNavList is present

@joeyHarig This seems to remove all padding around the title of the subnav

There was 0.25em of padding to the left of the subNavTitle. Now that we are using the maxScreenWidth from theme provider, the margin on either side of the subNav will be determined by the width of the screen. By removing the padding-left on title, it ensures that the title will align cleanly with the rest of the content in the app.

@joeyHarig We'll need to add padding to every container element on the page, then. We shouldn't have titles right up against the edge of the browser.

Changes

Changed screenWidth from 1440px to 1450px
Added 1rem of padding to SubNav and TopNav content so that content never touches edges of browser
Made SubNav a fixed height of 56px (same as AGO)


Contribution buttons / allocation boxes should be easy to use.

Currently the contribution process (click into a number box and push up / down or type a number ) is a bit janky.
This process should be made more intuitive.

is this resolved now with the work done on https://github.com/open-app/cobudget/issues/43, or should we keep it open for a more complete redesign?

I reckon its good to close!


fix(FX-3512): Search results analytics tracking issues

The type of this PR is: Bugfix
This PR resolves FX-3512
Description
The openFilterModal and closeFilterModal events are not standard, we should re-use those we see on the artist screen
https://user-images.githubusercontent.com/44819355/139644270-c8372799-dd4f-4826-8174-dc758d4030c8.mp4
We fire a closeFilterModal event after selecting filters, we should not
https://user-images.githubusercontent.com/44819355/139644562-86e070e8-9645-4e42-98db-5f30ffab248c.mp4
selected result from search screen event on the artist tab and on the auction tab both fire with a selected_object_tab property and they should not
https://user-images.githubusercontent.com/44819355/139644839-f78f6d32-5e37-44e2-8a5e-ede9f0152b3f.mp4
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[ ] I have tested my changes on iOS and Android.
[ ] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[x] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Dev changes

Fix search results analytics tracking issues - anastasiapyzhik

This PR contains the following changes:

Dev changes (Fix search results analytics tracking issues - anastasiapyzhik)

  Generated by :no_entry_sign: dangerJS against 6567a336ff08ff3e2ec95b919df531ac55807ae5


Installation Errors: Unable to resolve package source /  could not get response from query

I tried to update, and after failing in the attempt, to re-install the module on a notebook where <IP_ADDRESS> was installed, but neither method works, even after removing the old version. Any hints on how to get this off the ground again?

This seems to be the cause.
https://github.com/PowerShell/PowerShell/issues/7827
https://github.com/PowerShell/PowerShellGet/issues/349

Sorry, have never seen this before.
You can also get the containerhelper by cloning the git repository from this repo and run the NavContainerHelper.ps1 script from the root folder.

Two older PS add-ons seem to be the cause of this.
After deactivating both the script browser and the module browser in the profile file I finally got this working again.
https://devblogs.microsoft.com/scripting/a-favorite-powershell-ise-feature-script-browser/
https://www.microsoft.com/en-us/download/details.aspx?id=45885


Job, Command, Renames / Recontextulization

Update job names / command names to support the global vs pipeline workflow block.
Add ability to ignore a given workflow by name when calculating running / oldest workflows for global-queue.

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:0010855c6ad34161d383a803207fada5441226bc

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:5742add60b448f8483efb9ed7b12e6a44f68e91c

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:a33c5d0959b4f31d9609b4b1f82f429e9c3ce2f4


Question on how read.maf works alongside mafSurvival

Hey, not sure if this is the right place to post this, if not if I can be pointed in the right direction I would appreciate that.
I'm going through a previous project done by someone else and I want to know what happens when using
read.maf(maf_file, clinical_data)
In the case that the list of "tumor_sample_barcode" present in the maf_file is a subset of the list of "tumor_sample_barcode" present in clinical_data.
i.e. I am inputting clinical data for patients I don't have the MAF data for.
I believe when I do this, the "Formal class MAF" file generated contains:
within data the samples in the original maf file
within clinical.data all of the clinical data.
Now, if using this Fomal Class MAF file I call the function mafSurvival filtering by a list of genes. I think this plots the total number of samples in the clinical data.
So it classes all the mutants with MAF data as mutants, but the wildtype group will include some samples that I don't have MAF data for, so some of these samples could actually be mutants.
The reason I think this is the case is because the total number plotted (i.e. mutant + wildtype) is greater than the number of samples with mutation annotations.
I know thta the way around this would be to ensure that the clinical data used includes only the samples with mutation annotations. However I want to confirm that with the method outlined above the result is what I think it is.
Thank you!

In case this is still unclear:
If I had a maf file with 3 samples 1 of which has a mutation in one of the specified genes, and a clinical data file with 10 samples (the 3 with annotations and another 7).
After doing
complete_maf -> read.maf(maf, clinical)
and
mafSurvival(complete_maf, ...)
Will the output plot be 1 mutant vs 9 wildtype or 1 mutant vs 2 wildtype?
Thank you!

@aguardio In your case, I think the answer is 1 mutant vs 9 wildtype. I used the example code to test this, we can see 48+145=193 which equals the number of samples in clinical data while records in mutation data is 192.
> laml.maf <- system.file("extdata", "tcga_laml.maf.gz", package = "maftools")
> laml.clin <- system.file("extdata", "tcga_laml_annot.tsv", package = "maftools")
> laml <- read.maf(maf = laml.maf,  clinicalData = laml.clin)
-Reading
-Validating
-Silent variants: 475
-Summarizing
-Processing clinical data
-Finished in 0.359s elapsed (1.182s cpu)
> mafSurvival(maf = laml, genes = 'DNMT3A', time = 'days_to_last_followup', Status = 'Overall_Survival_Status', isTCGA = TRUE)
Looking for clinical data in annoatation slot of MAF..
Number of mutated samples for given genes:
DNMT3A
    48
Median survival..
    Group medianTime   N
1: Mutant        243  48
2:     WT        366 145
Removed 11 samples with NA's

> length(unique(laml@data$Tumor_Sample_Barcode))
[1] 192
><EMAIL_ADDRESS>[1] 193

Hi,
Sorry for the late reply. When you read your maf file with clinical data, read.maf will only retain those samples for which clinical info is available; rest will be removed. In you case both maf and clinical data will contain 3 samples. Once you generate maf file, you can double check this with getClinicalData().

Right, thank you. So maybe this maf object was created a different way. Because there is definitely more clinical data than mutation annotations.
When I run your example:
<EMAIL_ADDRESS>I get the total number of clinical data, 290.
But the MAF object only contain annotations for ~100

Here is the preview of the data:
First image is from laml, the second is from my database.

So in this case, seeing as the extra samples for which there is only clinical data have not been removed. When I use mafSurvival based on mutations in specific genes, I get all the samples without annotations as "wildtype".
Please let me know if I am misreading the summary of the maf objects, but to me the "factor with x levels" within data tells me how many samples have mutation data. And the clinical data tab says there are 290 samples. Whereas in the laml example both numbers are the same.
Thanks again

I think, your maf object was generated with older version of maftools. You can re read your maf and clinical data and check again if this is reproducible?

Thank you, unfortunately I don't know how the maf object was created. But it is good to know that it is probably an issue with an older version. I will keep this in mind.
Thanks

I extracted the mutations and the clinical data and then re-read the maf and it did ignore the other clinical features. So thank you. It must have been an older version.


Update/blog controller

Description
This pr solves issue #26
Type of Change
Please delete options that are not relevant.

[ ] New feature (CRUD functionality for blogs)

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] New and existing unit tests pass locally with my changes

Here are the screenshots of working controllers
Create New Blog

Delete a Blog

Get all blogs

get a blog by id

update a blog

@rycerzes please review

@mitul-goswami Hi, good work, PR is good however there are some merge conflicts, please look into it

@Tony-ArtZ  please check now


solara docs

I'm confused about this PR: https://github.com/ploomber/doc/pull/72
since Solara support has been officially added, I'd assume that the Dockerfile is no longer needed, but the documentations say you need to provide it:

@theluvjain @idomic

fixed by https://github.com/ploomber/doc/pull/78


Making bootstrap.sh executable

Hey @kbastani, nice demo! Small adjustment to make the bootstrap script executable.

Awesome, thanks @gunnarmorling!

Awesome, thanks @gunnarmorling!


Editorial pass and updates on Introduction guide https://thenewboston.com/guide/introduction

Some additional context re: community + government. Also an editorial pass to match as closely as possible a standard documentation style guide.

shall we close this issue @led76marx


Heroku account not switching based on app directory

I previously used https://github.com/ddollar/heroku-accounts/ without any problems.  When I changed into the directory of the project I was working on, it would switch to the correct account for that app.  I believe it used git config heroku.account to determine which account to use.
how do I enable this functionality again?  I switch back and forth between different projects under different accounts all day.
currently using heroku accounts:set sets the heroku account to use globally.

Plugins will no longer be able to monkey patch all the commands of the CLI. While this was useful for things like this plugin, it had a very high maintenance cost and was the source of many bugs. For this reason, we won't be supporting it with the new CLI. The old plugin is now incompatible with heroku run as well as the http-git remotes which is the default now.

How can I set up heroku to use a different account for each app?  This is a key feature for me as I have different accounts for each of my client's apps.

would love to be able to set a project root to use a specific account.  sounds like the only option currently is to manually switch accounts?

I asked a question over at https://github.com/ddollar/heroku-accounts/issues/80 about creating a plugin for ZSH to enable us to see which Heroku account was currently logged into (a bit like how viewing a Git project can prompt us what branch we're on for example).
What I came up with is this:

However, it's not too efficient as it occasionally hangs after a period of inactivity. I tried a variety of ways to ask for the currently logged in account, but all seem to do an "auth" which has to ping Heroku. Not too bad for now and I use it on a daily basis to alleviate help the above issue when managing several accounts.
I'll try and see if I can release this if anyone is interested in helping me develop it further... Let me know.
Rikki

This is not possible with http-git as far as I know.

What about using SSH Keys?

While it's possible with ssh keys, we're now recommend http-git and there isn't a way for a plugin to modify the current account for all commands anymore.

Well there should be a way to set this up.  It was working great for me before and like I said I use this every day.  I love heroku and I've been using it for years, but it's not cool to force me to change something that was working fine w/o a replacement.

I do apologize but as I described earlier, this was the source of many issues and we made the decision not to support it.

I already have a script that sets up my local environment for each of my projects, so I'll probably add a line to the script to set my credentials to match the project.  Might also add some aliases like hap which will set me back to my personal account.  That should suffice for me, but I'm disappointed.

For what it's worth, I'm going to have a conversation with the product team about this to see what we can do to make the experience better with multiple accounts. Also, Github issues pretty much just goes to me. A better way to ask for different functionality would be to submit a support ticket addressed to the product team.

Hey, @dickeyxxx. Any update on this issue?
This was a critical feature of the previous plugin that really helped Heroku users with lots of apps and accounts. (You guys want lots of users with lots of apps, right? ;)
In my case, the Heroku toolbelt just updated itself, removed the deprecated plugin, and all of my apps just broke -- without warning. That was not a good experience and I'm sure that Heroku can do better.
Like others, I'll probably try to rig up something to auto-switch accounts for now, but I would love to see this feature restored.


Should fold_constants be before or after flatten_atrous_conv

Please make sure that this is a documentation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:doc_template
System information

TensorFlow version: v1.13.1
Doc Link: https://github.com/tensorflow/tensorflow/blob/v1.13.1/tensorflow/tools/graph_transforms/README.md#flatten_atrous_conv

Describe the documentation issue
The flatten_atrous_conv section lists Prerequisites: fold_constants, whereas in the main paragraph, it says You will need to make sure you run fold_constants after this transform.
So should fold_constants be before or after flatten_atrous_conv?
We welcome contributions by users. Will you be able to update submit a PR (use the doc style guide) to fix the doc Issue?
I assume it's before flatten_atrous_conv, so I submitted a PR.
https://github.com/tensorflow/tensorflow/pull/27145

@lee-bin,
Can you please let us know if this change is still relevant as we don't use Graph Transform Tool much in Tensorflow 2.x ? Thanks!


Validate input to writeExif()

iOS will fail silently if you

Try to add an EXIF tag isn't on the list of approved keys
Add DateTimeOriginal but do not format the datetime as YYYY:MM:DD HH:mm:ss

We can improve on this by raising errors when the client makes these "mistakes". If Android is this picky, we should do the same there. IMO, it would be best to do this in JS where we can write some tests.

[ ] Make a new Javascript error type, ExifReaderInputError or something like that
[ ] In the Javascript wrapper of writeExif(), throw ExifReaderInputError if the exifData argument includes a DateTimeOriginal key that has a value that does not match the YYYY:MM:DD HH:mm:ss format
[ ] In the Javascript wrapper of writeExif(), throw ExifReaderInputError if Platform.OS === "ios" and the exifData argument includes any key not in the list of approved keys
[ ] Write jest tests for both of the above validations

Hopefully superseded by https://github.com/inaturalist/iNaturalistReactNative/issues/2240


Add tf_in_automation parameter

Oddly this environment variable has no CLI arg equivalent but is mention in this guide: https://www.terraform.io/guides/running-terraform-in-automation.html
Here's the implementation: https://github.com/hashicorp/terraform/blob/master/commands.go#L19
From the docs:
When the environment variable TF_IN_AUTOMATION is set to any non-empty value, Terraform makes some minor adjustments to its output to de-emphasize specific commands to run. The specific changes made will vary over time, but generally-speaking Terraform will consider this variable to indicate that there is some wrapping application that will help the user with the next step.

Neat to learn about this, but I'm not really sure the use case for it currently.  It's mainly to slightly adjust messages coming from TF commands but I'm not sure that is needed.
If you have a valid use case for wanting this we can discuss further adding it.  But for now I think I'll opt out of adding this.

Hi @jmccann,
The use case is to improve user experience. We use this flag with our current CI and it saves developers time parsing unnecessary output when checking logs. The difference in output is actually quite a lot, especially across init/plan/apply.
Is the PR poor quality? I left the option defaulting to off so it doesn't change current behaviour unless specified. Can I improve it at all to get it into a release?
Would a different implementation be preferred? How about being able to specify a set of generic environment variables to prefix the terraform command with, would that be more acceptable?
Or are there any alternative ways I could set this flag and continue to use this plugin?
Thanks again,

Since it's just an environment variable, Drone allows you to set/inject it:
pipeline:
  validate:
    image: jmccann/drone-terraform:5.0
+   environment
+     TF_IN_AUTOMATION: true
    root_dir: terraform
    actions:
      - validate


Regenerate kubeadm reference doc

Reformat kubeadm reference doc for better readability.

@tengqm I'm confused.  Aren't these generated files?  Did you go in and edit them by hand?

@bradtopol These are autogenerated docs.

Generator is located here: https://github.com/kubernetes-incubator/reference-docs/
Guide on using the generator: https://kubernetes.io/docs/home/contribute/generated-reference/kubernetes-components/

The PR reworks the options for the kubeadm tool. Previously, the options are shown as verbatim text, very difficult to read thus barely useful. In this PR, the options are generated into nested tables so you can resize the web page freely and still read the options easily.

Oh, forgot to mention, the revised generator is pushed for review as well. https://github.com/kubernetes-incubator/reference-docs/pull/47

Thanks for the clarification @tengqm! I'm assigning this to @steveperry-53 since I believe he is the expert on this.

@bradtopol FYI, these are auto-generated and fed into the kubeadm docs as includes. For example,
https://deploy-preview-8115--kubernetes-io-master-staging.netlify.com/docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_addon_all/
ends up here
https://deploy-preview-8115--kubernetes-io-master-staging.netlify.com/docs/reference/setup-tools/kubeadm/kubeadm-alpha/#cmd-phase-addon
/lgtm
/approve


Various UI changes

Motion star icon centered (Closes #1325 )
Expanded personal note box (Closes #1326 )
Made sure projector messages are correctly formatted (Closes #1327 )
Manage projector icons now grey (Closes #1328 )
Home icon in mediafile list now grey (Closes #1329 )

cannot review meaningfully, if @emanuelschuetze is pleased I am too :D


windowsdesktop-runtime-6.0: Add Version 6.0.25

Closes #XXXX

Relates to #XXXX

[x] I have read the Contributing Guide.

/verify


Requesting the possibility to have target Yaw/Pitch on LinkHotspot

Hi,
I have the feeling that the project is kinda "dead" but I want to do a request I know MANY people are looking for. So asking the creators to make this. (And is it otherwise possible to get the source to contribute in creating this? Would love to help... Thanks in advance).
The problem
An example to explain; You have three rooms A <-> B <-> C.
When you go from room A to B, upon entering you should face room C. Done with InitialView. (works)
When you go from room B to C, upon entering you should face the wall in room C. Done with InitialView. (works)
When you go from room C to B, upon entering you should face room A. But points to InitialView. (This option is not available)
When you go from room B to A, upon entering you should face the wall in room A. Bit points to InitialView. (This option is not available).
Request
The community would like to request an option in the Marzipano tool that not only lets you select the InitialView but also the Initial View for LinkHotspot.
My question; can you please create an extra option in Marzipano to have Initial Views for LinkHotspots? Maybe you can build something like Theasys.io
thanks in advance,
Joost

Joost I am looking for something similar to theasys.io as well. I know their platform is open source. We can't be too far off from something like that. I'd consider contributing some funding to get that project going.

That is the one feature I really wish was supported.
Virtual tours get very confusing without it.

Hi @Romej,
I made myself a small implementation to read Yaw/Pitch and then use the values to use them as target pitch/yaw.
You can read about it here; https://groups.google.com/g/marzipano/c/i723ksluyHs
greetings
Joost


[Extension] add remote components for changes

Signed-off-by: Bariq<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #4317 (9ac4e0e) into master (ad114b5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4317   +/-   ##
=======================================
  Coverage   20.15%   20.15%
=======================================
  Files          59       59
  Lines        5037     5037
=======================================
  Hits         1015     1015
  Misses       3727     3727
  Partials      295      295

Flag
Coverage Δ

unittests
20.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


merge best practices into the README

no need to have a separate document, just throw it in this README
https://github.com/cncf/meetups/blob/master/Meetup_Best_Practices.md

Fixed https://github.com/cncf/meetups/commit/575666e731a26d116b3cd8c0a1f80c6ff117713d


Explain how to define/register routes in a way that is decoupled from the UI

My related StackOverflow question is at https://stackoverflow.com/questions/48830648/how-to-define-a-route-and-then-create-a-simple-crosslink-to-that-route
How do I simply define/register a route such that I can call navigation.navigation('Someroute')?  And how do I do this without an approach like StackNavigator or TabNavigator that also impacts the UI?
Is it possible in React Navigation to simply load a screen (component) according to a route?
Thank you.

The answer may be to create a custom navigator.  With a minimalistic custom navigator and a custom router, I then have a place to specify components for routes, and then I can use navigation.navigate(‘someRoute’).

Returning to this task today, I just find it a little hard to believe I need to implement a custom navigator to accomplish the very simple task I am trying to accomplish:  add a button to a screen that, when tapped, transitions the user to another screen.  Is there a simple way to do this in React Navigation?  This does not appear to be documented.

I'm afraid that what you're asking is not possible. You do need to register the routes somewhere before navigating to them. This static configuration will likely involve a StackNavigator or some other navigator which will handle things like going back to previous route, header appearance and more. This is different from from eg. react-router where you can just present any component (at least I think so).

@arnoldbird - what is a route to you aside from a binding from a name to a component, on a particular type of navigator? I think you need to define what a route is in your mind and describe a use case that is based in something that you will realistically do before we can discuss much further here

I’m all set now.  I was confused about several different things simultaneously.   For one thing, I was a bit confused about the concept of a stack.  It helps if I think of a stack as a section of the app, in the sense that websites are often said to have sections.  React Navigation became very easy once I started using it exclusively and not trying to combine it with another library.


ImportError

This looks like you have had a problem with your installation. Where did you install requests from?

I'm seeing a potentially similar error on python 3; I believe it comes from https://github.com/kennethreitz/requests/blob/master/requests/packages/urllib3/contrib/appengine.py#L45
Note the double traceback, the second error is misleading:
Traceback (most recent call last):
  File ".tox/py35/lib/python3.5/site-packages/requests_toolbelt/_compat.py", line 49, in <module>
    from requests.packages.urllib3.contrib import appengine as gaecontrib
  File ".tox/py35/lib/python3.5/site-packages/requests/packages/urllib3/contrib/appengine.py", line 45, in <module>
    from urlparse import urljoin
ImportError: No module named 'urlparse'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ".tox/py35/lib/python3.5/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File ".tox/py35/lib/python3.5/site-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File ".tox/py35/lib/python3.5/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File ".tox/py35/lib/python3.5/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File ".tox/py35/lib/python3.5/imp.py", line 234, in load_module
    return load_source(name, filename, file)
  File ".tox/py35/lib/python3.5/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 693, in _load
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "ttm_cli/tests/test_objects.py", line 7, in <module>
    from ttm_cli.tests.mock_ttm import MockTTM
  File "ttm_cli/tests/mock_ttm.py", line 11, in <module>
    from ttm_cli.ttm import TTM
  File "ttm_cli/ttm.py", line 11, in <module>
    from requests_toolbelt import MultipartEncoder
  File ".tox/py35/lib/python3.5/site-packages/requests_toolbelt/__init__.py", line 12, in <module>
    from .adapters import SSLAdapter, SourceAddressAdapter
  File ".tox/py35/lib/python3.5/site-packages/requests_toolbelt/adapters/__init__.py", line 12, in <module>
    from .ssl import SSLAdapter
  File ".tox/py35/lib/python3.5/site-packages/requests_toolbelt/adapters/ssl.py", line 16, in <module>
    from .._compat import poolmanager
  File ".tox/py35/lib/python3.5/site-packages/requests_toolbelt/_compat.py", line 51, in <module>
    from urllib3.contrib import appengine as gaecontrib
ImportError: No module named 'urllib3'

I don't think that's quite the same: the traceback is different.

Yeah it may be importing via a different route, but you see ImportError: No module named 'urllib3' when the issue is actually from ImportError: No module named 'urlparse'

@leth That's a Python 3 specific traceback format, but Python 2 doesn't show that. And in this case, we can see where the failing import is, and it doesn't attempt to import the gaecontrib module. So it's definitely a different issue.

@leth further, your traceback is from the requests_toolbelt, not requests itself.

Okay, fine, you can reproduce it without toolbelt installed though, but perhaps this is unsupported: python3 -c 'import requests.packages.urllib3.contrib.appengine'

@moyotar you seem to be using ycmd which uses git submodules to vendory dependencies. Specifically it uses python-future, which has been known to break urllib3 because of the incredibly poor way in which it attempts to provide python 2 and 3 compatibility.

@leth It's not unsupported, please update requests to 2.12.0 which resolves that problem.

@leth Sorry, that's not quite true: the issue is fixed in urllib3 master and will come through to Requests in due course. Right now urllib3's appengine support doesn't work on Python 3.

@Lukasa I installed ycmd which includes requests in windows 7. I copied it to windows 10.

@moyotar that doesn't really answer our question of what you used to install it.
Either way, this seems (at first glance) to be an issue you should bring up with the ycmd mailing list.

@sigmavirus24 I don't really understand what you mean. It's about my python version? If yes, it's python27.

I just installed ycmd by following instruction. And the one thing I did is that I moved ycmd from win7 to win10.

@Lukasa @sigmavirus24 Up to now, I don't kown why I got this error and have no ideas to solve it. I'd be really appreciate if you can give me some help.

We're not really able to help you. You'll have to check with the ycmd folks to see what's going on, but their installation appears to be broken.

I agree with @Lukasa. You've also provided us minimal information. I couldn't reproduce this if I tried because I don't know what instructions you followed and while we've asked for more detail you haven't provided it. We can't help you if you won't let us.

@sigmavirus24 Sorry.I don't understand what info you need. The error output is as the pic. I followed ycmd's building to install it.

@moyotar Moving ycmd from Win 7 to Win 10 is probably what's causing this, and that's the info we'd need. You're pretty vague about what you meant by "moving", did you reinstall, or did you copy a folder? You also mentioned Windows, and didn't actually link to ycmd's instructions for installing on Windows. You linked general build instructions that then pass you off to a different page for Windows.
If you want support for FOSS the goal should be to overflow the maintainers with information and reproducible steps for your bug. Most open source packages at this level function because the maintainers work for almost or literally free.
There's a pretty huge gulf between the stacktrace you get and what library maintainers need to actually resolve the issue, it seems like you're conflating the two.

@drpoggi Thanks! Now I decide to reinstall ycmd to get it work.

The issue was caused by different versions of Python 2 installed on the same machine. See https://github.com/Valloric/ycmd/issues/646 for details. Nothing to do with python-future.


ivpn{,-service}: init at 3.10.0

Description of changes
Due to ivpn and ivpn-service being separate go modules, albeit the former does replace references to the former based on local paths, we will always need at least two derivations to build these tools.
As a trivial initial implementation, they are wholly separate references at the top level, but they could easily be symlinkJoined, as desired.
As the ivpn gui uses node to package the frontend, this has not been completed at this time. We have also not created any nixos modules, thus things like systemd support for starting ivpn-service on nixos will not work out of the box.
Updates #210200
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1737

Result of nixpkgs-review pr 211888 run on x86_64-linux 1

2 packages built:

ivpn
ivpn-service


i18n-t only works with useI18n, eventhough it's unused

Environment

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-a5wazj-rqd1am?file=app.vue
Describe the bug
When I use the i18n-t component it does not load the translation and only uses its key as fallback unless I add some const x = useI18n() to the script setup.
As I'm not using anything out of x in the component I instead expect i18n-t to work right away, without the const.
Adding the use leads to an "unused variable" (x).
See the linked reproduction as an example.

Done: https://github.com/intlify/vue-i18n-next/issues/1274


[Testmap] - Gorefast spawner at the Stationary/Frozen spawning area does not function

Tested on Ireland server:

Turn around after spawning
Walk on the gorefast button
Press E
Nothing happens

Fixed in 61ae528c8f0872bf7ccddac0b2b8dac7caa4dc95.


pageserver: sanity check when loading an old index, to detect bad generations in attach

Usually when we load index_part.json, we're just subtracting one from the current generation and issuing a GET.  We do that to reduce the number of ListObjects operations required (these are expensive and S3 loves to throttle them).
The downside of skipping the listing is that we don't notice if there are many future generations: if something in the control plane has gone rogue and given the pageserver a bad generation (bad == it has gone backwards), then the pageserver may not realize, and just load that old-generation'd index file without complaint, resulting in later corruption when it discovers some missing layer files, and/or deletes layer files referenced by future indices.
Time-based check
The underlying correctness requirement is for the control plane to only advance generation numbers forward, but we can make the pageserver more resilient against this kind  of situation.:

GetObject responses include a Last-Modified header.
If we see that we have loaded a very old (in walltime terms) index, then we may switch to issuing a ListObjects request to probe if any future-generation'd indices exist.
If future indices exist, then we have to decide whether this is okay (e.g. a migration is going on, we are the origin of the migration, and therefore it's okay that some other node has already written a future index), or not.
If we apply some overall high time bound to how long migrations are allowed to take (e.g.  24h), then we can make this distinction: if we see an index more than 24h hours old, then we will list all the indices, and if any future indices are >24h ahead of the stale one we tried to load, then refuse to attach the tenant and log an error.

Again, this isn't the primary mechanism for correctness, it's a defense-in-depth measure.
The main cost of this measure is that if a tenant is intentionally detached for a long time and then re-attached, we will have to issue a listobjects request to check that the new generation is indeed acceptable, because it  is normal that the mtime on the index will be old.
Mode-based check
To protect against cases where the control plane has attached the same tenant two places, e.g. in a faulty migration where the origin location is given incrementing generations that overlap with the generation(s) of the destination location.
In AttachedStale it is fine to see future generations in S3, but in AttachedSingle or AttachedMulti, it is a strong signal of a trouble if we can see a higher generation than our own in S3: this should only happen if the control plane or storage controller has mistakenly marked this node unavailable and proceeded with a migration without cleanly detaching.  So it is not a signal of corruption as such, but it is a string "something is wrong in this system" signal.
This is relatively expensive compared with the time based check, because we must issue an extra GET on normal attaches (e.g. at startup).
Documenting the response to this alert
Add a page that links to generation RFCs and explains how to grep logs to understand the progression of generation nubmers and attachment modes.

As of https://github.com/neondatabase/neon/pull/9383, we will warn on a suspicious old index.
Next steps: before end of next week, check logs for these warnings.  There shouldn't be any.  Then write another PR to upgrade the warning into a "refuse to load tenant", with some kind of escape hatch to force it to start if something went wrong.


same local_ip_address, local_mac_address for multi IO pipes

i was trying to run the multi IO-pipe example
https://github.com/OFS/examples-afu/tree/main/oneapi-samples/io_streaming_multi_pipes
a/c to its readme file
https://github.com/OFS/examples-afu/blob/main/oneapi-samples/io_streaming_multi_pipes/README.md
Before running the executable users need to set follwing env variables
export LOCAL_IP_ADDRESS = local ip address
export LOCAL_MAC_ADDRESS = local mac address
export LOCAL_NETMASK = netmask
export LOCAL_UDP_PORT = local udp port
export REMOTE_IP_ADDRESS = remote ip address , destination ip address
export REMOTE_MAC_ADDRESS= remote mac address , destination mac address
export REMOTE_UDP_PORT= remote udp port

I noticed that these enviroment variables are loaded in mmd_device.cpp.
https://github.com/OFS/oneapi-asp/blob/6a45e17ac8ba3ea6b39dc2f20750a979f67cd16d/common/source/host/mmd_device.cpp#L534
All IO-Pipe get same local_ip_address, local_mac_address from these enviroment variables.
Each IO Pipe is mapped to single HSSI (ethernet +UDP) instance and should have unique  local_ip_address and local_mac_address.
it would be better if user can have environment variable for each IO-PIPE:
# IO-PIPE-0
export LOCAL_IP_ADDRESS_0 = local ip address
export LOCAL_MAC_ADDRESS_0 = local mac address
export LOCAL_NETMASK_0 = netmask
export LOCAL_UDP_PORT_0 = local udp port
export REMOTE_IP_ADDRESS_0 = remote ip address , destination ip address
export REMOTE_MAC_ADDRESS_0= remote mac address , destination mac address
export REMOTE_UDP_PORT_0= remote udp port

# IO-PIPE-1
export LOCAL_IP_ADDRESS_1 = local ip address
export LOCAL_MAC_ADDRESS_1 = local mac address
export LOCAL_NETMASK_1 = netmask
export LOCAL_UDP_PORT_1 = local udp port
export REMOTE_IP_ADDRESS_1 = remote ip address , destination ip address
export REMOTE_MAC_ADDRESS_1= remote mac address , destination mac address
export REMOTE_UDP_PORT_1 = remote udp port

# IO-PIPE-2
export LOCAL_IP_ADDRESS_2 = local ip address
export LOCAL_MAC_ADDRESS_2 = local mac address
export LOCAL_NETMASK_2 = netmask
export LOCAL_UDP_PORT_2 = local udp port
export REMOTE_IP_ADDRESS_2 = remote ip address , destination ip address
export REMOTE_MAC_ADDRESS_2= remote mac address , destination mac address
export REMOTE_UDP_PORT_2 = remote udp port

# IO-PIPE-3
export LOCAL_IP_ADDRESS_3 = local ip address
export LOCAL_MAC_ADDRESS_3 = local mac address
export LOCAL_NETMASK_3 = netmask
export LOCAL_UDP_PORT_3 = local udp port
export REMOTE_IP_ADDRESS_3 = remote ip address , destination ip address
export REMOTE_MAC_ADDRESS_3= remote mac address , destination mac address
export REMOTE_UDP_PORT_3 = remote udp port

Hi,
Sorry for the delay in response. Thank you for the feedback.
We currently do not have this enhancement planned for the oneapi-asp. The current reference design demonstrates UDP packet creation with 1 source and 1 destination address for the Intel® FPGA SmartNIC N6000-PL Platform HSSI interface.
If you would like to route data on channels each with its own addresses, changes will be required in both the oneapi-asp rtl code and the source code for the MMD library. The MMD library currently writes the MAC and IP addresses to a set of registers in the UDP offload engine. These registers are shared across all channels in the design (8 in reference FIM for Intel® FPGA SmartNIC N6000-PL Platform).
The UDP engine will need to be updated to have separate registers for each channel and the MMD will need to be updated to write different values to each register.
Thank you.


[Question] How to pair, write, read after discovery?

Mobile Device Environment
On which device(s) would you like this feature to be implemented.   If Android only, the IOS implementations must be created as well - keep not of this for your pull requests.

Device: LG-7
OS: API 29, Android 10

Describe the solution you'd like
TL;DR: So, I would like to ask you my brothers, how to pair, read, write with HC-06... I need a working code snippet I really ask you guys humble
Hello, My brothers, I'm currently doing a project about connecting Arduino(HC-06) and RN with this library.
At first, I was so happy, because the other libraries(react-native-ble-manager, react-native-ble-plx) doesnt work well with HC-06, because I guess those libraries are not support in serial communication. (I'm not sure)
But, with this libray, I could discovery but I realise that I don't know know to pair, write, and read...
Perhaps, I can use pre-made connector for on and off to the LED...
However, I need some extra feature about Firebase...
So, I would like to ask you my brothers, how to pair, read, write with HC-06...
Thanks for reading...
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for reading... I look though docs but I didn't find all in one
What I tried is...
1. const unpaired = await RNBluetoothClassic.stratDiscovery() // it's okay and I got what I want
2. const result = await RNBluetoothClassic.pairDevice(element.address); // from one of the unpair variables
from 2. -> I couldnt pair even, I tried to RNBluetoothClassic.pairDevice(...)

From now, I successfully paired HC-06 with my Android phone. by using this function RNBluetoothcLASSIC.connectToDevice(...)
So, I have to figure out how to write and read the data...

I would suggest looking at the Bluetooth sample app repository. It's got a fully working example. There are also numerous forks/repos that are using this library you can attempt to follow.
Youd also need to confirm/validate your microcontroller code, which is beyond the scope of this issues list.


undefined issue

When using the change: function(color) of the spectrum javascript call, when on a server whose locale is set to German (DE), color.alpha always returns 'undefined' when the user selects any alpha value.  Is this a known issue?
Thanks!

FYI, getAlpha() seems to work.  So, never mind?  :)


open client side

Hi, how i can to open dbf file in client side, without upload?

That's beyond the scope of this project, but I think you could adapt this project's byte-twiddling source code to do what you want, once you've obtained the bytes of a DBF file using some of the newer browser APIs:

File
FileReader
ArrayBuffer
DataView


Get nodes/variables from driver by name

Is your feature request related to a problem? Please describe.
This is a minor inconvenience, but currently if I'd want to get a node from the driver by name, I'd have to do:
node = next(n for n in dr.list_available_variables() if node.name == "the_node_i_want")

Describe the solution you'd like
A simple way to get a node by name, for example:
node = dr.get_variable("the_node_i_want")

or
node = dr.variables["the_node_i_want"]

The bottom option seems slightly nicer as in an interactive session dr.variables could be called on its own first to have a look at all the names and then called with the correct name.
Additional context
I looked at the code and a potential solution for the above would be to add the following to the Driver class:
    @functools.cached_property
    def variables(self) -> dict[str, Variable]:
        """Returns a dictionary of all the variables (HamiltonNodes) in the graph."""
        return {k: Variable.from_node(v) for k, v in self.graph.nodes.items()}

or
    def get_variable(self, name: str) -> Variable:
        """Returns a variable (HamiltonNode) by name."""
        return Variable.from_node(self.graph.nodes[name])

Linking this relevant issue on have a __getitem__ on the Driver or Driver.graph: https://github.com/DAGWorks-Inc/hamilton/issues/836
And this PR that added __getitem__ on the HamiltonGraph: https://github.com/DAGWorks-Inc/hamilton/pull/919

Adding on this -- get the HamiltonGraph object from the driver as well


Flags not being passed from setup.py

I have written a module that works very well when compiling it with pythran -fopenmp -ftree-vectorize _gdca.py. I am not managing to get the same results when building through pip. This is what I have in the setup.py:
module_gdca = PythranExtension('gaussdca._gdca', sources=['gaussdca/_gdca.py'],
                               extra_compile_args=['-fopenmp', '-ftree-vectorize'])

setuptools.setup(...       ext_modules=[module_parse, module_gdca])

What  am I doing wrong here?

Thanks for the report! If I'm not mistaken #922 should fix the bug.

Thanks!
Can we get this in a release soon-ish? We are writing a paper where one of the points is that we have faster and easier to install and deploy reimplementation, thanks in no small part to Pythran.  I'd be happy to proof-read the paper if you want. I'll do a minor release next week if that's ok with you?


Separate matplotlib specific codes and plot core in test codes

Similar with https://github.com/databricks/koalas/pull/1936 but tests only. This PR is not dependent on each other, and can be merged alone.

tests/plot/test_series_plot.py/tests/plot/test_frame_plot.py: common plot tests
tests/plot/test_series_plot_matplotlib.py/tests/plot/test_frame_plot_matplotlib.py: plots with matplotlib

Codecov Report

Merging #1937 (1edbf5a) into master (79720a7) will decrease coverage by 2.40%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1937      +/-   ##
==========================================
- Coverage   94.16%   91.75%   -2.41%
==========================================
  Files          41       45       +4
  Lines       10055    10600     +545
==========================================
+ Hits         9468     9726     +258
- Misses        587      874     +287

Impacted Files
Coverage Δ

...s/koalas/tests/plot/test_series_plot_matplotlib.py
100.00% <ø> (ø)

databricks/koalas/tests/plot/test_frame_plot.py
100.00% <100.00%> (ø)

...ks/koalas/tests/plot/test_frame_plot_matplotlib.py
100.00% <100.00%> (ø)

databricks/koalas/tests/plot/test_series_plot.py
100.00% <100.00%> (ø)

databricks/koalas/usage_logging/__init__.py
25.66% <0.00%> (-66.65%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
47.82% <0.00%> (-52.18%)
:arrow_down:

databricks/koalas/__init__.py
73.43% <0.00%> (-17.19%)
:arrow_down:

databricks/conftest.py
88.13% <0.00%> (-11.87%)
:arrow_down:

databricks/koalas/spark/functions.py
88.88% <0.00%> (-7.41%)
:arrow_down:

databricks/koalas/accessors.py
86.43% <0.00%> (-7.04%)
:arrow_down:

... and 21 more

Continue to review full report at Codecov.

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


Packaging Embedding ROM file inside emulator for distribution

Being able to package :

Felyx (and dll pre-requisites),
windows icon,
a rom,
a nice configuration setup (keys/pad) already defined,
hide every technical aspects of the emulator (boot rom option / header / debugger )
hide "Open game" option

Basically, the menu could be :

Quit
Input configuration (keys / pad)

Additional:

an option to display the manual in a convenient way inside the emulator (could be a series of images in a folder or zip file, or a link to the PDF file that opens in standard viewer/browser)
???

Also a real full screen mode, not windowed, and hiding task bar.
Maybe it exists in parameters ?
I have not find a list of parameters when called by DOS, does it exist ?

Currently Felix does not accept other parameters than image filename.
Full screen mode might be useful even to normal emulator frontend. I'll think about it.

Kind of "kiosk-mode" ;-)


Add table drawer override event for entry draw

Create branch from main
issue-84-add-table-drawer-override-event-for-entry-draw


Blueprint Plugin fails to open data file created on Windows

Describe the bug
tout_ext.tar.gz
Opens but all plots fail.
**Helpful additional

Did you get wrong results: yes

Desktop

OS and version: Windows 11
VisIt Version: 3.4.1 and 3.3.3
Server info (if applicable):

It's an embedded windows path issue /path/to/something/C:\etc

this issue:
https://github.com/LLNL/conduit/issues/1297

This will require a new conduit release. Need to see if that is possible before 3.4.2