kubefirst: 2.4.0 -> 2.4.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/kubefirst/kubefirst/releases.
meta.description for kubefirst is: The Kubefirst CLI creates instant GitOps platforms that integrate some of the best tools in cloud native from scratch.
meta.homepage for kubefirst is: https://github.com/kubefirst/kubefirst/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.4.2 with grep in /nix/store/bikkgxkfbl0vjb7s9gbmcga2sq5rqkmp-kubefirst-2.4.2
found 2.4.2 in filename of file in /nix/store/bikkgxkfbl0vjb7s9gbmcga2sq5rqkmp-kubefirst-2.4.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
kubefirst

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bikkgxkfbl0vjb7s9gbmcga2sq5rqkmp-kubefirst-2.4.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kubefirst https://github.com/r-ryantm/nixpkgs/archive/1297be6cfc67f2d8bdcd7d46f3575c1b24358821.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1297be6cfc67f2d8bdcd7d46f3575c1b24358821#kubefirst

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bikkgxkfbl0vjb7s9gbmcga2sq5rqkmp-kubefirst-2.4.2
ls -la /nix/store/bikkgxkfbl0vjb7s9gbmcga2sq5rqkmp-kubefirst-2.4.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

kubefirst

Maintainer pings
cc @qjoly for testing.

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

1 package built:

kubefirst


Problem with Facebook

I do not know why but the messages are not coming in the middleware. I've checked everything, the credentials, the tunnel. When I registered the callback url on facebook webhook it showed that everything is ok. But if I send a message on facebook it the bot is not triggered. I put breakpoint in code in debug mode and nothing happens.  Following the image of the service:

And the status of the ngrok that displays the request. No new requests are made when a user's message is sent via Facebook.

I used the multi-bot example

Hi There, I have exactly the same issue , how did you resolve the problem ?

Remember to subscribe your webhook on a facebook page in the Messenger menu on the development page. Try again


Release 1.5.0.Beta14

Summary
Release 1.5.0.Beta14 is required to fix / test Quarkus CLI failures on Windows in AWS (without big customization).
Please check the relevant options

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Dependency update
[ ] Refactoring
[x] Release (follows conventions described in the RELEASE.md)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[ ] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[x] Example scenarios has been updated / added
[x] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

Got typo in commit title.


Add snippets for Ember Enumerables

Enumerables are quite common currently so I added all the ones supported both in js and coffee =D

Thats awesome (sorry for the late reply). Can you just remove prepending variable, match prefix with function name (ex: use forEach instead fore), and remove functions that existing in JS autocomplete like .map. Thanks :)

Also can you update the README

Absolutely I'll do it until the end of the week.

@seifsallam a couple of questions:

Variable assignment: Do you really think we should remove it? Those methods are most of the time used with variable assignment (at least as far as I know). In addition to that, I made all of them optional, so if you just hit backspace they will be removed and you can move to the next breakpoint and continue filling the snippet.

.filter and .map: I checked the language-javascript and they are not there, you mean another package that includes it?

I already changed the functions names and updated the README, just wanted to discuss these two before the pull request.

@taylon

Yes, and yes, but I believe it should be up to the user to assign it to a variable themselves. Some prefer defining variables at the top, some would want to chain methods. Problem with backspace that it would break users typing flow, so it's the better to keep it simple.
Yes, I'm actually using https://atom.io/packages/turbo-javascript

@seifsallam
Cool, so there we go, let me know if there is any other change you would like to see.

@taylon Awesome. Thanks for the PR :+1: :)


Cant Download From Playlist

Whenever I try to download any file from a playlist, it adds the playlist to the download que but nothing happens. I've tried a different playlist, downloading the whole playlist, a single song within the playlist... Same thing.
I can get the same file to download by searching for that artist/song/etc., just not through a playlist.
Thank you very much for your work.

fixed


[to #48] Modify TiDB CDC to TiKV CDC

What problem does this PR solve?
Issue Number: #48
Problem Description:
TiDB CDC cannot currently be used to synchronize RawKV data directly.
What is changed and how does it work?
Modify TiDB CDC to synchronize RawKV data.
Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change
Has persistent data change

Check List for Tests
This PR has been tested by at least one of the following methods:

Unit test

@pingyu PTAL~


Powers issue

Is there an existing issue for this?

[X] I have searched the existing issues

Flutter Quill version
1
Steps to reproduce
on click x powers and entering values power is not displaying as excepted.
Expected results
x²
Actual results
x2
Code sample
Code sample
[Paste your code here]

ki
Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

ii
Logs
Logs
[Paste your logs here]

;lii

I have found code commented out in the 'example' application to be helpful in these cases:
File = my_quill_toolbar.dart
Under section:  configurations: QuillSimpleToolbarConfigurations(
Uncomment:
// buttonOptions: QuillSimpleToolbarButtonOptions(
//   base: QuillToolbarBaseButtonOptions(
//   afterButtonPressed: focusNode.requestFocus,
This forces the focus to return to the editor when you click a toolbar button.
Your code should look like:
return QuillToolbar.simple(
configurations: QuillSimpleToolbarConfigurations(
buttonOptions: QuillSimpleToolbarButtonOptions(
base: QuillToolbarBaseButtonOptions(
afterButtonPressed: focusNode.requestFocus,
)))),

I think this is resolved in latest release. Feel free to reopen if the issue still exists.


clarify v2 vs. v3 compose file format for different use cases

TL;DR
I'd like to use this PR to talk about how we can improve docs for helping people choose either compose file format versions 2.x vs. 3.x.  I'm willing to add/change the messaging to help direct people to the correct version for their use case, and this may need to be tweaked in multiple files, but I'd like to get feedback on the right approach and docker team(s) strategy.
@garethr @shin- @thaJeztah (maybe others)
Brief History of Compose Version Usage:

We were all happy in our 2.x days and then Swarm Mode came along and needed some new compose file concepts that wouldn't work in docker-compose cli. It made sense to create a new major version because many Swarm concepts wouldn't work in a single-daemon docker-compose scenario. 3.x was born, and it was awesome.
We all starting changing every compose file to 3.x thinking that was the future for everything and a total superset of compose file features. New files started with version: 3.1 in early 2017
Then SwarmKit didn't get all the features that docker run had and we needed some things in docker-compose that weren't yea in Swarm, so then 2.x was re-born with 2.2 (or 2.1 I can't remember,) and it was useful, but the choice became confusing between 2.x and 3.x.
Messaging still said "we recommend 3.x" and our demos and tools were all still changing to 3.x. Today the common understanding in my workshops, weekly online chats, and online students are "2.x is old, always use 3.x" but the featureset doesn't match that sentiment.
What I've been trying to communicate through 2018 is that 2.x lives on, as a featureset for people only using the file with docker-compose cli and don't intend to use that compose file with Stacks. 2.x has device support and now "healthcheck aware depends_on" which makes it useful as a separate version fork from the 3.x track which seems focused on multi-node orchestration compatibility.

The Problem
The problem is those feature differences are not being talked about much, and this PR is suggesting what might need to be the first of multiple file changes to help educate users on when they should choose 2.x or 3.x for a specific compose file.
When Swarm Mode and 3.x was released, many of us tried to use the "one compose file to rule them all" approach and for various reasons, I don't think it stuck.  Even .env options, overrides, and templating was not enough to create a single-file experience for dev->test->prod. Too many things like multi-value compose arrays, complexities of dev vs. prod, and version differences have created a world where most teams, including docker's own examples, use docker-compose.yml for docker-compose local dev, and docker-stack.yml for Stack deployments. Honestly, this is fine, and not something I'm worried about.
But the value of 2.x versions and their features since 1.12 release is lost on everyone I meet IRL and online. There's no message that "2.x is of value and should still be used in certain use cases."
The Fix
My assumption is that this is what the current strategy is, and I'd like to help clear it up in docs:

3.x is focused on Stacks, with as much backward compatibility as docker-compose cli can support.
2.x is focused on docker-compose workflows and docker run features, with as much forward compatibility as stacks can support.

If this is the case, then what other things besides this small PR file change can support helping people chose their version. Should we have a separate "2 vs. 3" file linked from the main compose files? What other ways can I help make this strategy plain to the compose user?
Thanks for your help.

Deploy preview for docsdocker ready!
Built with commit 638b9d099c20a039a56cbe1f4e989edfee2effaa
https://deploy-preview-7593--docsdocker.netlify.com

@BretFisher @shin- perhaps we should have a longer description of the differences between V2 and V3 in the documentation; also mentioning that the V2 spec is not "frozen", so features are still added to V2 (that may not be in V3). This leads to quite some confusion; https://github.com/docker/cli/issues/1177

I added some details to the v1/2/3 summary lines, but wonder if this is enough.

What other areas deserve a mention that v2 is still maintained/useful?
Does this deserve a full "v2 or v3" heading on that page right below my edits, where we link to features that distinguish each branch?
are their limits of v2 for single-machine dev/test that I'm not seeing? Any arguments for using v3 if you're not using Stacks?

@shin- PTAL. Thanks!

I just happened upon this issue while researching the difference between v2 and v3 and found the clarifications to the docs very helpful. Is this still being considered?

Is there anything stopping this from being merged?


Removing Ores from Laser Drill with CraftTweaker Removes All Ores Except Ore Listed in Removal

Trying to remove an ore with craft tweaker will actualy set that ore as the only valid output for the laser drill.
mods.industrialforegoing.LaserDrill.remove(<minecraft:gold_ore>);

Industrial Foregoing Version: industrialforegoing-1.12.2-1.8.10-141
TeslaCoreLib Version: tesla-core-lib-1.12-1.0.12
Crashlog (If Any): n/a

does it actually only output the removed item or is it only JEI thats showing it like that?

It seems like it does only output that ore. I had a user complain they had got 4 stacks of an ore I had removed before they got even a single coal. I tested it and got 6 gold ore with the screen shot above before I made the report.


[BUG] Type inference with contrasting types

Description
Consider this pseudocode:
class A {
    int f;
}

x = new A();
x.f = 5;

With a field sensitive analysis we can correctly separate not only the values of x and x.f, but also their types (A* and int). Whenever we use a field insensitive analysis, x.f will point to the same location as x, meaning that the type inference will infer the types of x.f as A* since it alredy has a mapping from x to A* in memory when the field access is reached.

Cannot reproduce. Need to investigate further in the future.


fix(cmake): make sure link flags are propagated to module library builds

CMAKE_SHARED_LINKER_FLAGS_INIT alone does not populate the link flags for module library targets, i.e.:
add_library(foo MODULE)

This sets the variable in the crosstool script.

All that's failing is the buildifier step but no logs indicating an issue with the code.

Not sure why this got closed.

Thanks for your help getting this merged @jsharpe !


people().connections().list() returns nothing

I have put the correct resource name in, as well as field masks. The call I'm making is:
service.people().connections().list( resourceName='people/me', pageSize=10, personFields='names,emailAddresses')

which returns nothing, but the same call in the same function to get me contact groups:
service.contactGroups().list()

returns exactly what I'd expect. Is anyone else seeing this behavior? Have I missed something?

@stevenmcastano Can you share the code that you were using?

See https://stackoverflow.com/questions/38680216/people-connections-list-not-returning-contacts-using-python-client-library


SSL/TLS is not working when client_authentication was not setup in APM Server

Describe the bug:
I'm trying to set up TLS/SSL between Django/Flask Agents and self-managed APM Server in the same local machine.
When I checked the apm-server.yml configuration, it seems client_authentication default value is optional but when I didn't set up this, I keep seeing SSL handshaking exceptions.
After comment out client_authentication: 'optional' in apm-server.yml and restart APM Server, it was working.
To Reproduce

Set APM Server with below configuration in apm-server.yml. (FYI, I've generated self-signed certificates with elasticsearch-certutil.)

apm-server.ssl.enabled: true
apm-server.ssl.key: "./certs/localhost/localhost.key"
apm-server.ssl.certificate: "./certs/localhost/localhost.crt"
apm-server.ssl.certificate_authorities: ['./certs/ca/ca.crt']
apm-server.ssl.secret_token: ${SECRET_TOKEN}

Set Django and Flask with below.

Django(settings.py)
ELASTIC_APM = {
  'DEBUG': True,
  # Set required service name. Allowed characters:
  # a-z, A-Z, 0-9, -, _, and space
  'SERVICE_NAME': 'amazing_django_service',

  # Use if APM Server requires a token
  'SECRET_TOKEN': '6AC5BF896C915',

  # Set custom APM Server URL (default: http://localhost:8200)
  'SERVER_URL': 'https://<IP_ADDRESS>:8200',

  #'SERVER_CERT': './certs/localhost/localhost.crt',

  'VERIFY_SERVER_CERT': False,

}

Flask(hello-flask.py)
app.config['ELASTIC_APM'] = {
  'DEBUG': True,
  # Set required service name. Allowed characters:
  # a-z, A-Z, 0-9, -, _, and space
  'SERVICE_NAME': 'flask-hello-service',

  # Use if APM Server requires a token
  'SECRET_TOKEN': '6AC5BF896C915',

  # Set custom APM Server URL (default: http://localhost:8200)
  'SERVER_URL': 'https://localhost:8200',

  #'SERVER_CERT': './certs/localhost/localhost.crt',

  'VERIFY_SERVER_CERT': False,
}

When you run Django or Flask, below error messages was printed periodically.

Django & Flask
elasticapm.transport.base.TransportException: Unable to reach APM Server: HTTPSConnectionPool(host='<IP_ADDRESS>', port=8200): Max retries exceeded with url: /intake/v2/events (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1056)'))) (url: https://<IP_ADDRESS>:8200/intake/v2/events)

APM-Server
2020/03/16 17:28:43 http: TLS handshake error from <IP_ADDRESS>:53345: tls: client didn't provide a certificate
2020/03/16 17:28:43 http: TLS handshake error from <IP_ADDRESS>:53347: tls: client didn't provide a certificate
2020/03/16 17:28:43 http: TLS handshake error from <IP_ADDRESS>:53349: tls: client didn't provide a certificate
2020/03/16 17:28:43 http: TLS handshake error from <IP_ADDRESS>:53351: tls: client didn't provide a certificate

After comment out client_authentication: 'optional', it was working properly.

    # Configure which type of client authentication is supported.
    # Options are `none`, `optional`, and `required`. Default is `optional`.
    client_authentication: 'optional'

Expected behavior: client_authentication default setting is optional but it has different behavior when explicitly set it up as optional. The behavior should be the same as the comment's description and reference doc's content.
Environment (please complete the following information)

OS: macOS Mojave 10.14.6(18G3020)
Python version: Python 3.7.3
Framework and version: Django (3.0.2), Flask (1.1.1)
APM Server version: apm-server version 7.6.1 (amd64), libbeat 7.6.1 [3b7823bb329e0e5bfe25e106a3b93e8f61d0451f built 2020-02-28 22:16:31 +0000 UTC]
Agent version: elastic-apm 5.3.2

Additional context
The current setup of APM Server w/o issues is described step by step here: https://wiki.elastic.co/display/CC/How+to+setup+the+self-managed+APM+Server
I have long discussion with @beniwohli in slack, and he recommended to create this issue on apm-agent-python rather than apm-server repo! Thank you for your help @beniwohli

it seems apm-server.ssl.certificate_authorities: ['./certs/ca/ca.crt'] configuration automatically change certificate_authorities to required. I missed below comments from reference. So that's why 'VERIFY_SERVER_CERT': False was ignored.

If certificate_authorities has been specified, this setting will automatically change to required.
required - Requires clients to provide a valid certificate.

One more scenario, if setup client_authentication: 'required' or comment out it in apm-server.yml, still have the same error message when I put the valid server certificate in Django configuration like below.
'SERVER_CERT': './certs/localhost/localhost.crt',

Only client_authentication: 'optional' in apm-server.yml is working for this case.

Closing this for now. Client certificates are currently not supported by backend agents.


Azure Test Plan - Multivalue control issue in Test Case when creating from Test Plan

Hi all,
We are facing a strange issue since yesterday with a multivalue control : we have one in the Test Case workitem and when we create the Test Case directely from the Test Plan, the different values are not available and not editable. View image 1 and 2

But if we create it from the work item page, we have the different values to select. We sometimes have to refresh the page to view the values. View image 3 and 4

Can you please help us ?
Thanks a lot for your help
M.

We are also experiencing this.  We noticed that to see the values when going directly to the work item, you have to have the "Change process of team project" permission set to "Allow".  Project Admins already have this permission.
Is this extension still being supported?

@bminisi we are observing the same, but not all users in our org observe the behavior.  The project admins and those with the "Change process of team project" cannot replicate the issue.  Those that do observe the 'bug' have reported that a refresh resolves the issue.  Yet we cannot ask all users to "Refresh the page anytime you observe an issue"
@ostreifel @mmanela @joserady  @mohitbagra I see that there have been no commits to the extension since late 2019.  Can you confirm if a contributor will be looking into this issue?  We're hoping that the DevLabs team is still supporting this extension.  thank you.

@MFigAs @bminisi @Vertex-btb Thanks for reporting this. I'm part of the team taking care of the DevLabs extensions. We'll take a look at this issue right away and ramping up in general to work through the queued up issues.

@MOlausson great news.  thanks for getting back to us on this.

@MOlausson Great news thanks ! Looking forward for good news

We are experiencing this issue as well and are glad to hear that there are plans to address it. Thank you!

Short update - still investigating but not found the root cause yet. Hope to have good news to share soon!

My Azure DevOps org admin and users are also observing this behavior.
What we see:

The multivalue control field on the test case is not visible when opening a test case from the Test Plans service.
The field is visible when opening a test case from other pages, such as the Boards > Work items, Boards > Queries, Kanban board card, or Search results.

Environment Details:

Azure DevOps Services
Process: Our projects are using an Inherited process from the Agile (system) process
Work Item Type with the multivalue control: Test Case
Browser: Edge, Chrome

MOlausson commented 7 days ago
Short update - still investigating but not found the root cause yet. Hope to have good news to share soon!
Has there been any progress in resolving this issue?

@MOlausson Thanks for the update. Looking forward for the fix.

@MFigAs @teckert1964 @t-anderson @bminisi @Vertex-btb @JGPease Happy to share that the fix is rolling out now, it's working again in our Azure DevOps organization. Check if it's reached your already, else give it a day or two to propagate.

@JGPease thanks for confirming!

It's working for us too!!  Thanks @MOlausson


fix typeof jQuery, typeof returns a string

I think that this check is broken, because typeof returns the string "undefined" when the variable is not present

Thanks for pointing that out. As it's a small thing I'll opt to just add it in on the README and .js file with the next change I make shortly.

:+1:


The question of speech recognition

I would like to ask how to save the user's words into audio files. Do you have the corresponding API

We don't have a mechanism to save the audio sent for speech recognition to a file.

@rhurey I got it.Thank you very much.Could you please help me with my next question about speech recognition.


Wiki request - rewrite and simplify explanation of Currying

https://leanpub.com/javascript-allonge/read#pabc

Moved this issue to Wiki repository, see https://github.com/FreeCodeCamp/wiki/issues/352.


OnComplete Showing Upload More instead of Finish

Hello,
I am trying to use the Importer library and all is well, however, I noticed when using the
onComplete and onClose while setting the restartable  attribute to true. The button for onClose will show "Upload More" instead of "Finish".
I am sure this is a minor bug, but I cannot locate where to fix the issue?
Expecting to see:
Upload More and Finish
<Importer           assumeNoHeaders={false}            restartable={true}            onStart={({ file, preview, fields, columnFields }) => {               setFile(file);           }}           processChunk={async (rows, { startIndex }) => {             for (let row of rows) {                 console.log("Row: ", row)             }           }}           onComplete={({ file, preview, fields, columnFields }) => {             if (file) {                  // Do something with file               }           }}           onClose={({ file, preview, fields, columnFields }) => {             //goToMyAppNextPage();           }}            escapeChar={true}            skipEmptyLines={true}         >           <ImporterField name="name" label="Name" />           <ImporterField name="columna" label="COLUMN A" optional />           <ImporterField name="columnb" label="COLUMN B" optional />         </Importer>

Hi Dymyll, thanks for reporting this - I just checked and was able to reproduce the issue. Will merge a fix very shortly, might be a bit longer to publish a new version though.

Released the fix in v0.8.0.


⚠ Bofrost.fr has degraded performance

In 18016ee, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1390 ms

Resolved: Bofrost.fr performance has improved in 4686598 after 13 minutes.


Show obstacle bounding boxes in Dreamview

System information

Linux Ubuntu 18.04
Apollo installed from source
[INFO] Apollo Environment Settings:
[INFO]     APOLLO_ROOT_DIR: /apollo
[INFO]     APOLLO_CACHE_DIR: /apollo/.cache
[INFO]     APOLLO_IN_DOCKER: true
[INFO]     APOLLO_VERSION: master-2021-12-28-463fb82f9e
[INFO]     DOCKER_IMG: dev-x86_64-18.04-20210914_1336
[INFO]     APOLLO_ENV:  STAGE=dev USE_ESD_CAN=false
[INFO]     USE_GPU: USE_GPU_HOST=1 USE_GPU_TARGET=1
[INFO] Usage: /apollo/scripts/apollo_config.sh [Options]
[INFO] Options:
[INFO]     -i|--interactive      Run in interactive mode
[INFO]     -n|--noninteractive   Run in non-interactive mode
[INFO]     -h|--help             Show this message and exit

Is it possible to show obstacles bounding boxes in Dreamview or other tools?
I'm running in reality mode, feeding data to Apollo using /dev/video0. Yolo obstacle detection and lane detection work properly (as seen in logs). Can I visualize the obstacles bounding boxes?

Thanks!

is the dreamview main screen not showing obstacles ? or you wish to show the obstacle bounding boxes in the camera view ?

Dreamview main screen is not showing obstacles, it doesn't build the virtual environment based on the video input. Can this be done based on video input alone? The image shown in dreamview main screen was activated when I ticked Sim Control.
So, yes, I'd like either to see the obstacles in dreamview main screen or in camera view.
I started the following modules:

/apollo/modules/perception/production/dag/dag_streaming_perception_camera.dag
/apollo/modules/perception/production/dag/dag_streaming_perception_lane.dag
a custom version of: modules/drivers/camera/dag/camera.dag
video input is coming from /dev/video0
In dreamview I ticked Sim Control so I could then enable Camera Sensor which in turn enabled Camera View.

is the dreamview main screen not showing obstacles ? or you wish to show the obstacle bounding boxes in the camera view ?

@ntutangyun, is there a way to show the bounding boxe in the camera view?

you can check if the prediction module pulish the obstacle message correctly

To show the obstacle in dreamview, you need to have prediction running

To show the obstacle in dreamview, you need to have prediction running. And make sure /apollo/prediction channel shows up appropriately as @diaokaitian mentioned

Thanks for the replies.
This ticket can be closed now.
Cheers!


Add option to make player equipment read-only

Maybe you find this useful.
Defaults to true (equipment readonly).

Partially solves https://github.com/EtienneLamoureux/TQVaultAE/issues/25

Merged in as part of https://github.com/EtienneLamoureux/TQVaultAE/pull/27


ion-button in ion-navbar does not pick up bar-button style classes in custom components

Ionic version:  (check one with "x")
[ ] 2.x
[ x ] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[ x ] bug report
[ ] feature request
Current behavior:
When an ion-button is embedded in an ion-navbar, it picks up several bar-button style classes (bar-button, bar-button-{platform}, bar-button-default, and bar-button-default-{platform}). However, if the button is defined in a custom component, or if a custom component that includes an ion-navbar embeds a button using <ng-content>, the classes and corresponding style rules are not applied to the button.
Expected behavior:
An ion-button embedded in an ion-navbar should acquire bar-button style classes, even when the ion-navbar or ion-button is defined in a custom component.
Steps to reproduce:
Create an Angular component named custom-navbar. Define the HTML for the custom component as:
<ion-navbar>
  <ion-buttons>
    <button ion-button>Correct Style</button>
    <ng-content></ng-content>
  </ion-buttons>
</ion-navbar>

Create an Ionic page. Use custom-navbar and add embedded content of an ion-button using HTML like:
<ion-header>
  <custom-navbar>
    <button ion-button>Incorrect Style</button>
  </custom-navbar>
</ion-header>

Inspecting the source, you'll see the classes applied to the "Correct Style" button include bar-button, bar-button-md (assuming browser), bar-button-default, and bar-button-default-md. These classes are not applied to the "Incorrect Style" button. This can be worked around by applying the style classes manually.
This occurs in reverse, as well. To reproduce, create an Angular component named custom-button. Define the HTML for the custom component as:
<button ion-button>Incorrect Style</button>

Create an Ionic page. Use custom-button in an ion-navbar using HTML like:
<ion-header>
  <ion-navbar>
    <ion-buttons>
      <button ion-button>Correct Style</button>
      <custom-button></custom-button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

My primary motivation for this pattern is that I have a header button with moderately complex logic that's re-used across all the main pages of my app. I wanted to consolidate this logic in one custom component.
Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 7.0.1

local packages:

    @ionic/app-scripts : 3.0.1
    Cordova Platforms  : android 6.3.0 ios 4.4.0
    Ionic Framework    : ionic-angular 3.8.0

System:

    Android SDK Tools : 26.1.1
    ios-deploy        : 1.9.1
    ios-sim           : 6.0.0
    Node              : v8.1.4
    npm               : 5.5.1
    OS                : macOS High Sierra
    Xcode             : Xcode 9.2 Build version 9C40b

Environment Variables:

    ANDROID_HOME : /Users/mkirn/Library/Android/sdk

Misc:

    backend : pro

Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having? Thanks for using Ionic!

Project is here, use ionic serve to see the buttons rendered with correct and incorrect style classes applied.
The repository includes a screenshot of the correct/incorrect styles, as well as the classes applied to the buttons (note the missing bar-button-* classes on the incorrectly styled buttons).

Thank-you. I will take a look at it.

Looking at the code that handles this in the upcoming @ionic/core release (which will be part of Ionic v4) this should no longer be an issue at that time. I will mark this as something to double check after the initial v4 release is complete.

@kensodemann look like the same issue exist with ion-footer and ion-toolbar. Does the v4 fix gonna solve this too?
Sample application https://github.com/peterpeterparker/my-basket-button
Ionic forum discussion https://forum.ionicframework.com/t/css-breaks-with-new-custom-component-what-is-best-practice

@kensodemann Have a look at the following post - this is a issue that can be easily fixed in Ionic 3
https://forum.ionicframework.com/t/custom-components-missing-ionic-directives/126974

this Is not longer a problem with ionic 4

I too am looking for a solution. Currently I need to duplicate code on every page due to this issue and its not looking pretty.

@Laroosta
Have a read of this post - it explains how to add two imports to the component.module.ts file which fixes the problem.
https://forum.ionicframework.com/t/custom-components-missing-ionic-directives/126974

Why it's closed?
The problem still exist and thousands still using v3.
I'm not a developer, so I don't know how to make a pull request.
But as I can see problem laying here:
https://github.com/ionic-team/ionic/blob/master/core/src/components/button/button.tsx
  componentWillLoad() {
    if (this.el.closest('ion-buttons')) {
      this.buttonType = 'bar-button';
    }
  }

Maybe it's possible to add type attribute as workaround?


type 'TextEditingController' is not a subtype of type 'String'

Steps to Reproduce

...
...
...

Logs

Steps to Reproduce

...
...
...

Logs


DexArchiveMergerException: Unable to merge dex

Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

I got above error after adding this dependency!
compile 'com.firebaseui:firebase-ui:0.4.2'
I also tried compile 'com.firebaseui:firebase-ui:0.4.3' version but the problem comes in both version!
give me some solution!

You're probably meaning to use version 4.1.0. 😉

I'm also getting this error with 4.1.0
Error: Program type already present: android.arch.core.util.Function

@frapeti see https://github.com/firebase/FirebaseUI-Android/issues/1357
@mrjaypatel see that issue, also make sure you're using the latest version!  0.4.x is from many many years ago.


How to zip some feature in tf.data.Dataset ?

I have a dataset with structure: (x, y_in, y_length, y_out) for my encoder-decoder network.
But my encoder-decoder network only accept ((x, y_in, y_length), y_out).
How to convert from (x, y_in, y_length, y_out) to ((x, y_in, y_length), y_out) ?

Hi @thopv133802 ,
Thanks for your question. I'm not sure whether these are tuples or shapes, and whether x represents features and y represent labels, and I don't know whether x, y_in, y_length and y_out are integers or NumPy arrays, or Tensors, or arbitrary objects.
Could you please clarify? Ideally, please provide a full example, up to the error that you are getting.
If you're talking about tuples, then it's super easy:
x = 1
y_in = 2
y_length = 3
y_out = 4
dataset = (x, y_in, y_length, y_out)
new_data=(dataset[:3], dataset[-1])
# or just:
new_data=((x, y_in, y_length), y_out)

If you are talking about shapes, then consider a simpler example:
import numpy as np
a = np.array([[[1,2,3],[4,5,6]], [[7,8,9],[10,11,12]]])
print(a.shape) # prints (2, 2, 3)

That's a 3D array. Now suppose that I want to have instead two arrays, one with shape (2, 2) and the other with shape (3,). You would end up with a 2D array and a 1D array. There's really no way to do that, at least not without losing information. Indeed, the 3D array contains 223 elements, which is 12. But after the change, we would have a 2D array with just 2*2=4 elements and a 1D array with just 3 elements, so that's a total of 12 elements.

x: questions encoded by TokenTextEncoder
y: answers encoded by TokenTextEncoder
y_in: " " + answers encoded by TokenTextEncoder
y_out: answers + "" encoded by TokenTextEncoder
error I got: InvalidArgumentError:  assertion failed: [] [Condition x == y did not hold element-wise:] [x (loss/tf_op_layer_Softmax_loss/SparseSoftmaxCrossEntropyWithLogits/Shape_1:0) = ] [64 100] [y (loss/tf_op_layer_Softmax_loss/SparseSoftmaxCrossEntropyWithLogits/strided_slice:0) = ] [64 68] with BATCH_SIZE = 64
model: your book's basic encoder-decoder model without attention
In short: I want to prepare a dataset for your basic encoder-decoder
Link: https://learning.oreilly.com/library/view/hands-on-machine-learning/9781492032632/ch16.html
Section: An Encoder–Decoder Network for Neural Machine Translation


[bug][docs] A few issues on Patterns/Card page

There are a few issues on the Patterns/Card page in docs:

Broken image
CTA link broken — missing <a> and causing arrow overlap
2 other CTA links broken

Closed by #1186


Add bestower(sr mod) to special name

Plz...

didnt ask

didnt ask

didnt ask

it... must happen

didnt ask

it... must happen

didnt ask

it... must happen

ill bet moul wont accept the pr

didnt ask

it... must happen

ill bet moul wont accept the pr

Only moul can add people, stop making prs.

Only moul can add people, stop making prs.


Compatibility with VisiumHD

Following up with this: https://github.com/BayraktarLab/cell2location/issues/356
Are there any improvements coming soon in cell2location to take in the full data for very large datasets? The approach of splitting in batches removes any spatial information that might be used to do cell deconvolution so taking in the full dataset would be important
With the new VisiumHD being more prominent, the number of spots or bins can range anywhere from 150k to 650k+, so when I test with cell2location, I always get memory errors.
And doing in batches also doesn't work very well (the full dataset would have to be passed along).

Solving modelling challenges for VisiumHD, NovaST, OpenST and other similar high-resolution technologies is a research project rather than a matter of tweaking models to work on larger data. Subcellular resolution of measurements requires rethinking what it means to analyse this data. I see two major ways forward:

Modelling observations at high resolution but ignoring cell boundaries. We could estimate cell type and subcellular gene programme densities at 1-2um resolution using CNN, GNN, conditional autoregressive models as approaches to pool information at the subcellular resolution. You also need to represent that scRNA-derived RNA abundance profile needs to be decomposed into several subcellular compartments. I implemented a CNN-based approach that considers these factors in this branch https://github.com/BayraktarLab/cell2location/pull/337 but it likely requires much more compute than people in this community are used to (many GPUs many days). This approach is also related to https://github.com/HiDiHlabs/ssam by @pjb7687.
Using cell segmentation by modifying the Baysor approach to work with 1000s of genes. Maybe @VPetukhov can weigh in too.

If anyone is interested in collaborating to make this happen please reach out to me, Omer and Oliver by email.

A practical way to analyse VisiumHD right now is to aggregate it at 8um or 20um or 50um resolution (depending on data quality) and using cell2location with tips discussed in #356.

A practical way to analyse VisiumHD right now is to aggregate it at 8um or 20um or 50um resolution (depending on data quality) and use cell2location with tips discussed in #356.

Hey thank you so much for your valuable input! Indeed, this was something I was thinking - Performing clustering in order to achive 25-55 micron artificial "spots" and perform deconvolution on these. Another thing I was testing was cell typist that is commonly used for scRNA annotation, and since the slots are so small now, it's no longer a manner of spot deconvolution anymore. So by using the 8 micron resolution and assuming that each bin is a cell, cell typist seemed to do okay in that mapping, but I'm still figuring out the biological meaning of that mapping (if there's one to begin with). Other would be to use cell typist to annotate the 2 micron, then use these predictions to predict the 8 micron bin with majority voting, and then use these 8 micron bins to predict predict the 16 micron bins with majority voting once again. But then again, the goal of this new HD technology would be to avoid performing deconvolution as that was one of the main problems to solve from that technology, so I'm also interested in finding a solution to this for my research

A practical way to analyse VisiumHD right now is to aggregate it at 8um or 20um or 50um resolution (depending on data quality) and use cell2location with tips discussed in #356.

Hey thank you so much for your valuable input! Indeed, this was something I was thinking - Performing clustering in order to achive 25-55 micron artificial "spots" and perform deconvolution on these. Another thing I was testing was cell typist that is commonly used for scRNA annotation, and since the slots are so small now, it's no longer a manner of spot deconvolution anymore. So by using the 8 micron resolution and assuming that each bin is a cell, cell typist seemed to do okay in that mapping, but I'm still figuring out the biological meaning of that mapping (if there's one to begin with). Other would be to use cell typist to annotate the 2 micron, then use these predictions to predict the 8 micron bin with majority voting, and then use these 8 micron bins to predict predict the 16 micron bins with majority voting once again. But then again, the goal of this new HD technology would be to avoid performing deconvolution as that was one of the main problems to solve from that technology, so I'm also interested in finding a solution to this for my research

Another thing from these more probabilistic methods is that it's heavily dependent on the intersection between the genes present in the scRNA used as reference and the ST data. So even when I use the 16 bin resolution, which has over 150k bins for a sample I'm using, I'm essentially only using 1500-2000 genes to do the "predictions" on these 150k bins

Another possible improvement might come on the torch's end. Not sure how this would impact scvi tools, but cuda currently has a way to treat system memory as gpu memory. Pytorch doesn't have this implemented to my knowledge (https://github.com/pytorch/pytorch/issues/104417#issue-1781120079) and https://developer.nvidia.com/blog/simplifying-gpu-application-development-with-heterogeneous-memory-management/.

Visium HD data can be segmented into cells using https://github.com/Teichlab/bin2cell and then counts aggregated into segmented cells can be analysed using cell2location to examine cell purity and to further decompose areas with spatially interlaced cell types.

Visium HD data can be segmented into cells using https://github.com/Teichlab/bin2cell and then counts aggregated into segmented cells can be analysed using cell2location to examine cell purity and to further decompose areas with spatially interlaced cell types.

I've been using bin2cell, but even then it produces quite a few number of cells (one of the datasets I've been testing still counts 350-400k cells out of the 9 million + bins of 2 micron resolution) so cell2location would still throw some memory errors I'm afraid
Right now Bin2Cell + CellTypist seems to be the most scalable approach for cell type inference using a scRNA reference

@vitkl @Rafael-Silva-Oliveira Hello, I am interested in using bin2cell to segment cells and then applying cell2loc for further analysis. I followed the demo notebook (https://nbviewer.org/github/Teichlab/bin2cell/blob/main/notebooks/demo.ipynb) of bin2cell but I don't know how to do next when I finished the pipline. Could you please guide me if there are any tutorials or reproducible code available that demonstrate this workflow? I would prefer not to use CellTypist as I already have a fully annotated single-cell dataset. Thank you!