Make resume of the weekly meeting (17.02.2016)

video
resume will be here

@AndriyBaibak time spent: 30 minutes

@AndriyBaibak time spent: 1 hour

@romach thank you, nice job!

@romach I am sorry - found problem. Pls, public link to resume in resume list page. Last one is 10.02

@vkuchyn fixed

@romach please, move it to review column

@vkuchyn done


Oracle - Unauthorized to create NLB

For Oracle, I was able to authenticate with oci and create all the VPC, Subnets, NSG, etc with 'make create-network'. On running 'make create-lb', I continue to get the following error. Is it possible that the IAM rules need additional policies?
│ Error: 401-NotAuthenticated, The required information to complete authentication was not provided or was incorrect.
│ Suggestion: Please retry or contact support for help with service: Network Load Balancer
...
│   with oci_network_load_balancer_network_load_balancer.contolplane[0],
│   on network-lb.tf line 24, in resource "oci_network_load_balancer_network_load_balancer" "contolplane":
│   24: resource "oci_network_load_balancer_network_load_balancer" "contolplane" {

Ignore this. Figured it out, problems with first time OCI authentication and terraform.
I could only ever get it to work by upgrading oci from 4.x to 6.x latest and switching to session token authentication. I will put the changes on my fork for historical purposes.


REVEALF_OSILIKEPERSONALSPACE not working

This flag in the INI does not work, you can still reveal someone when stepping over them while hidden.
// REVEALF_OSILIKEPERSONALSPACE		020     // Do not reveal when a character enters on personal space (and do not send any message).

I tested it with a i_potion_Invisibility and it's work A1. Don't forget this behavior is for Invisible flag and not hidden flag

ah, i see.
// REVEALF_SPEAK works for hidden though. looks like these flags are not working entirely as intended.  perhaps we need to look at these, and maybe make some for the hidden  flag as well.

with just statf_hidden these work:
REVEALF_LOOTINGSELF
REVEALF_LOOTINGOTHERS
REVEALF_SPEAK
REVEALF_SNOOPING
so this makes it very confusing, and then impossible to really use these flags without affecting hiding also.  I assume most of the other ones apply to hiding as well.

The osilikepersonnal space suppose to be like osi. How it work on osi?

it notifies you that youve pushed through something invisible but does not reveal them.

though truthfully invis and hiding did not work differently from one another on OSI, this is just a sphere thing where they work differently. so we should continue to have flags to modify invis, but also we should add the same ones for hidden.

See #343

Fix confirmed, thank you Jhobean


Confirm session load twice

First of all: great plugin! I appreciate your work.
One minor issue I have is that I have to press Enter twice - once to select the session and a second time to actually load it.
This is a bit annoying. Is there a possible fix?

I see, thank you guys a lot!


Change library name

Changed from "Schmitt trigger" to "SchmittTrigger".
This change is also done in the library's properties.

Hi @tfeldmann. Thanks for making the extra effort to submit a PR the name change.
Unlike submissions, this type of request is still handled manually. The Library Manager index's maintainer occasionally comes through to clear all the outstanding requests and closes/merges those issues/PRs when that is done. You'll get a notification at that time.
After that, you can monitor the indexing of the library via its logs web page:
https://github.com/arduino/library-registry/blob/main/FAQ.md#can-i-check-on-library-releases-being-added-to-library-manager

I'm sorry for the trouble. The linter gave a hints about naming conventions that I wanted to follow. Thanks for the heads up!

@per1234 backend maintenance operations are done

Closes #183


Line-by-line execution restarts terminal on SSH connection

Describe the bug
I asked this in the vscode repository but maybe I should post it here:
https://github.com/microsoft/vscode/issues/135385

There is a workaround meanwhile. In the bash terminal opened by VSCode, I launch R in there then it is fine. Afterward CTRL+ENTER sends line of code in that terminal without issue.
But not sending the code to the "R Interactive" terminal window properly is an issue since things don't appear in the R Workspace pane.
The R Workspace left pane offers to open a Workspace file. Where shall be that workspace file for the R teminal I start manually (as explained above)?


[BUG] New-PnPTeamsTeam -ResourceBehaviorOptions WelcomeEmailDisabled does not work and throws exception

Reporting an Issue
Issue with New-PnPTeamsTeam -ResourceBehaviorOptions WelcomeEmailDisabled
It complains that the combination is not right.
I am using the following script:
$team = New-PnPTeamsTeam -GroupId $group.Id -Owners $OwnersLogin -Members $MembersLogin -AllowCreatePrivateChannels $false -AllowDeleteChannels $false -AllowCreateUpdateRemoveTabs $false -AllowCreateUpdateRemoveConnectors $false -AllowCreateUpdateChannels $false -ResourceBehaviorOptions WelcomeEmailDisabled
Its not even auto picking the WelcomeEmailDisabled with hitting tab.
Expected behavior
It should create a team site when passed with -Group -Owner and/or -Members and not send emails to the members but it sends emails to anyone added as member to the team.
Actual behavior
Its throwing error:
Combination of parameters cannot be used together
What is the version of the Cmdlet module you are running?
2.4.0   PnP.PowerShell
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

https://pnp.github.io/powershell/cmdlets/New-PnPTeamsTeam.html documentation shows 2 parameter sets, one "For an existing group" and one "For a new group".
You can see how GroupId parameter is only for the existing group case, while ResourceBehaviorOptions is only for the new group case:

This is because Microsoft Graph supports ResourceBehaviorOptions only during the creation of the group as mentioned at https://learn.microsoft.com/en-us/graph/group-set-options#resource-behavior-options

resourceBehaviorOptions is a string collection that specifies group behaviors for a Microsoft 365 group. These behaviors can be set only on group creation.

In your case, if you cannot create the M365 group at that point, you will have to find other changes to change the settings of the existing M365 group, which is usually done on Exchange Online (if I remember correct).

hi @zenaidura , this is by design and not a bug. Those parameters can only be used when you create a new Team. It isn't supported by Graph API on M365 Groups which are to be teamified. This is an API limitation , nothing we can do from our side here.
If you want to set those values, you can use New-PnPMicrosoft365Group cmdlet which allows you to set these values and create a new Team as well.


Large Particles2D shapes not rendering unless their center is visible.

Godot version:

3.1 Alpha and Master build as of 9/8/2018
OS/device including version:

GTX 970 official drivers
Issue description:

Large Particles2D shapes such as a box 1500x500 do not render until the center point is visible. Which causes them to just suddenly pop in to existence.
Steps to reproduce:
Minimal reproduction project:

Particles2D POPIN.zip

I think you need to increase the visibility AABB to match your particle's emission box.
You can do that either manually by increasing the width/height of the Visibility Rect...

...or automatically by going to Particles → Generate Visibility Rect on the toolbar...

That fixed it, I would have never guessed to try that due to it's description in the documents being. "Editor visibility helper." I thought it only existed to make seeing the Particle area easier in the editor.

AABB really should get a better description (I tried fiddling with one of my meshes' AABB to no avail, for a similar reason as here)

I've never contributed to a git project before, but perhaps this would be a good place to learn and start. As I often run into circumstances with the API documentation in godot where just a little more information would make a world of difference.
How dose this sound:

I think I've figured git out enough to make a pull request properly.
Though the CONTRIBUTING.md says I should talk to other developers before making a pull request. Since I don't use IRC I'm guessing this issue is as good as any place to ask to make sure it's okay if I start trying to contribute extra details to the Class References.

@chaosdrop The "ask other developers" thing is there mainly to avoid the situation where someone works for many hours on a specific feature and it ends up being rejected. Documetation improvements are usually fine to PR, if something needs to be changed it will be discussed in th PR itself.


supporting OpenTelemetry

OpenTelemetry is a CNCF project that defines a telemetry protocol and data formats, it covers distributed tracing, metrics and logs. The project provides an SDK as well as a collector component that can run on Kubernetes. Typically, an application exposes OpenTelemetry data through direct instrumentation that is most often implemented in-app using OpenTelemetry SDK. An OpenTelemetry collector is used to gather data from various applications in a cluster, and send it to one or more backends. Jaeger (another CNCF project) is one of the backends that can be used for storage and presentation of trace data.
Possible Design
Best to support an OpenTelemetry adapter to KubeArmor that receives KubeArmor logs/alerts/telemetry from the kubearmor-relay-service and converts it into open telemetry format.
Tasks

[ ] Create OpenTelemetry adapter for kubearmor
[ ] Setup/Usage guide for using OpenTelemetry Adapter
[ ] Demo integrations with any backend supporting OpenTelemetry

Does this need to be added in kubearmor-relay-server ?

Does this need to be added in kubearmor-relay-server ?

Yep, that seems to be the most logical way. Relay acts as a single point of contact where telemetry from across all nodes is available. Now we can another adapter which connects to kubearmor-relay-server and then emits OT output. This would not require any changes to the existing components. This would result in a new repo.

Hey @nyrahul
I'm interested in this project for LFX mentorship. How should I get started?

I am interested in working on this issue as an lfx mentee

I am also interested

Folks, thank you for your interest. However, the mentors of this LFX project will take a call based on proposals submitted to the LFX mentorship call and subsequent evaluation based on artifacts submitted therein. Interests submitted on this GH issue would not be taken into account. So if you are interested please ensure that you submit your interest on the LFX mentorship project.

Hi Rahul (@nyrahul) pardon me for continuing this thread, but I see only "Cover letter" and "Resume" among the artifacts to be uploaded in LFX dashboard. Am I missing something? (Is there a sample project we should complete?).
Also should the cover letter include a proposal?

Hi Rahul (@nyrahul) pardon me for continuing this thread, but I see only "Cover letter" and "Resume" among the artifacts to be uploaded in LFX dashboard. Am I missing something? (Is there a sample project we should complete?).
Also should the cover letter include a proposal?

Yep, only the resume and cover letter has to be uploaded. The cover letter could briefly explain your intent and basic idea as to how you would like to shape this project.
All good questions. Thank you for your interest.

Please assign this issue to me. This involves creating a new repo. How do I go about doing that under Kubearmor


Kevin loading screen 1

Did some preliminary work on the first loading screen. Features a button that can generate coloured balls with random locations and a starry backdrop

@andstun - Can you resolve the merge conflicts? Let me know if you want to work through them together.

Is there a reason for the package-lock.json having 20k+ changes? That seems a lot 😅 @andstun
cc @ahmedhamodi since I am not too familiar with that file

Thanks for the loom video. I have no clue -- will investigate for a little bit and see if I can figure out why that is happening.


Fix fsType param name for aws-ebs storage class

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
fsType parameter for aws-ebs storage class is improperly documented - code in k8s requires the parameter name be all lowercase: "fstype"
Proposed Solution:
Change instances of this parameter for the aws-ebs storage class to match what k8s recognizes.
Page to Update:
https://kubernetes.io/docs/concepts/storage/storage-classes/

/language en
thank you for sending a PR @hercynium 💯

Take a look at the comment I left on the PR - turns out the docs are correct for k8s 1.14 because the case-sensitivity bug was fixed. But it's still wrong for all prior versions of k8s. The patch would make it correct for all versions... I'm not sure what you might want to do in this case, just letting you know FYI.


TokenLoader improvements

updating serialID right up from, to it's value is correct in all blocks
as well added some loggers

@lfryc @secondsun mind taking a 👀  ❓

@secondsun it's also covered in tests, the serialId:

https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/sender/src/test/java/org/jboss/aerogear/unifiedpush/message/jms/TestTokenBatchDeduplication.java
https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/push/sender/src/test/java/org/jboss/aerogear/unifiedpush/message/jms/TestTokenLoaderTransactionFailForGCM.java#L133

merging ... ⏫


Rules: As a User I want to Read the rules to know how the game Works.

Acceptance Criteria

[x] sopra-fs24-group-46/client#79

Closing since all tasks are done


feat: support streaming queries

I want to support streaming queries in risinglight in the future. Although it may take a long time, I want to try it.

This is what I've always wanted to do! I've started a branch but never had enough time to complete it.

This is what I've always wanted to do! I've started a branch but never had enough time to complete it.

cool, I am also studying its sql streaming in the calcite community, hoping to transplant its advantages.


Nvidia orin support

Nvidia orin is now supported in branch 9.x_alpha and tested:rocket::rocket::rocket:. Questions about Nvidia orin can be discussed here, or open a new issue and link here.
Why add this issue
We know that many developers are concerned about running autonomous driving systems on embedded devices like Nvidia orin, We supported it on beta and hope to collect more issues. Hope this version can help you :hearts:!

apollo version: 7.0
platform: orin
i refer to this link https://github.com/ApolloAuto/apollo/issues/14858#issuecomment-1489733361 to adapt to tensorrt8, and it can be compiled successfully. but this error is reported when i run it
I0811 15:46:10.485334 30293 rt_net.cc:37] 2: [pluginV2Runner.cpp::execute::265] Error Code 2: Internal Error (Assertion status == kSTATUS_SUCCESS failed. )

here is the log mainboard.INFO

@duanchengwen We focus on the latest version, 7.0 will not be supported!

apollo version: 9.x_alpha
platform: jetson tx2
problem with camera driver:

https://github.com/ApolloAuto/apollo/blob/34eaf82c6bd9cafde4d6dc6ed10406b05a9916e4/modules/drivers/camera/BUILD#L187, no rule/build for format:convert
fatal error: immintrin.h: No such file or directory

in the script to install bazel: https://github.com/ApolloAuto/apollo/blob/34eaf82c6bd9cafde4d6dc6ed10406b05a9916e4/docker/build/installers/install_bazel.sh#L92
do the following lines to install/upgrade bazel with apt really work?

docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure<EMAIL_ADDRESS>--device=all --compute --video --graphics --utility --require=cuda>=11.4 --pid=6318 /var/lib/docker/overlay2/432c72c884ab8b4a05b80e0511b8ff2a36424fffc0538521c2fa6c8a25efa0d8/merged]
nvidia-container-cli: requirement error: unsatisfied condition: cuda >= 11.4: unknown.
Did this question need me to upgrade the cuda? My cuda version is 10-2.

why a customized version of libc6 is needed in the orin docker image? https://github.com/ApolloAuto/apollo/blob/33bc20e2721a82d88ba226032971feec271994fa/docker/build/dev.aarch64.orin.dockerfile#L65C1-L66C67
which makes it always have Unmet dependencies when executing sudo apt upgrade there?

apollo version:9.x_alpha
device: jetson orin, jetpack r35.1
I successfully built apollo on orin,but when I launch prediction module some errors occur like this:
[prediction]  E0914 16:45:48.394281 159793 plugin_manager.h:146] [prediction]plugin of class apollo::prediction::SemanticLstmPedestrianTensorrt have not been loaded
[prediction]  E0914 16:45:48.429389 159793 plugin_manager.h:146] [prediction]plugin of class apollo::prediction::SemanticLstmVehicleTensorrt have not been loaded
[prediction]
[cyber_launch_159786] ERROR Process [prediction] has died [pid 159793, exit code -11, cmd mainboard -d /apollo/modules/prediction/dag/prediction.dag -p prediction -s CYBER_DEFAULT].

and the prediction.log.INFO:
I0914 16:28:59.371124 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmPedestrianTensorrt
W0914 16:28:59.371173 159073 plugin_manager.h:233] plugin of class apollo::prediction::SemanticLstmPedestrianTensorrt not found, please check if it's registered
E0914 16:28:59.371182 159073 plugin_manager.h:146] plugin of class apollo::prediction::SemanticLstmPedestrianTensorrt have not been loaded
I0914 16:28:59.371233 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmPedestrianGpuTorch
I0914 16:28:59.389387 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmPedestrianCpuTorch
I0914 16:28:59.406278 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmVehicleTensorrt
W0914 16:28:59.406319 159073 plugin_manager.h:233] plugin of class apollo::prediction::SemanticLstmVehicleTensorrt not found, please check if it's registered
E0914 16:28:59.406328 159073 plugin_manager.h:146] plugin of class apollo::prediction::SemanticLstmVehicleTensorrt have not been loaded
I0914 16:28:59.406366 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmVehicleGpuTorch
I0914 16:28:59.423386 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmVehicleCpuTorch

Any suggestions? Thanks!

apollo version:9.x_alpha device: jetson orin, jetpack r35.1 I successfully built apollo on orin,but when I launch prediction module some errors occur like this:
[prediction]  E0914 16:45:48.394281 159793 plugin_manager.h:146] [prediction]plugin of class apollo::prediction::SemanticLstmPedestrianTensorrt have not been loaded
[prediction]  E0914 16:45:48.429389 159793 plugin_manager.h:146] [prediction]plugin of class apollo::prediction::SemanticLstmVehicleTensorrt have not been loaded
[prediction]
[cyber_launch_159786] ERROR Process [prediction] has died [pid 159793, exit code -11, cmd mainboard -d /apollo/modules/prediction/dag/prediction.dag -p prediction -s CYBER_DEFAULT].

and the prediction.log.INFO:
I0914 16:28:59.371124 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmPedestrianTensorrt
W0914 16:28:59.371173 159073 plugin_manager.h:233] plugin of class apollo::prediction::SemanticLstmPedestrianTensorrt not found, please check if it's registered
E0914 16:28:59.371182 159073 plugin_manager.h:146] plugin of class apollo::prediction::SemanticLstmPedestrianTensorrt have not been loaded
I0914 16:28:59.371233 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmPedestrianGpuTorch
I0914 16:28:59.389387 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmPedestrianCpuTorch
I0914 16:28:59.406278 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmVehicleTensorrt
W0914 16:28:59.406319 159073 plugin_manager.h:233] plugin of class apollo::prediction::SemanticLstmVehicleTensorrt not found, please check if it's registered
E0914 16:28:59.406328 159073 plugin_manager.h:146] plugin of class apollo::prediction::SemanticLstmVehicleTensorrt have not been loaded
I0914 16:28:59.406366 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmVehicleGpuTorch
I0914 16:28:59.423386 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmVehicleCpuTorch

Any suggestions? Thanks!

Simply solved by commenting out line 27 to 40 of the file "modules/prediction/conf/prediction_conf.pb.txt".

apollo version:9.x_alpha device: jetson orin, jetpack r35.1 I successfully built apollo on orin,but when I launch prediction module some errors occur like this:
[prediction]  E0914 16:45:48.394281 159793 plugin_manager.h:146] [prediction]plugin of class apollo::prediction::SemanticLstmPedestrianTensorrt have not been loaded
[prediction]  E0914 16:45:48.429389 159793 plugin_manager.h:146] [prediction]plugin of class apollo::prediction::SemanticLstmVehicleTensorrt have not been loaded
[prediction]
[cyber_launch_159786] ERROR Process [prediction] has died [pid 159793, exit code -11, cmd mainboard -d /apollo/modules/prediction/dag/prediction.dag -p prediction -s CYBER_DEFAULT].

and the prediction.log.INFO:
I0914 16:28:59.371124 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmPedestrianTensorrt
W0914 16:28:59.371173 159073 plugin_manager.h:233] plugin of class apollo::prediction::SemanticLstmPedestrianTensorrt not found, please check if it's registered
E0914 16:28:59.371182 159073 plugin_manager.h:146] plugin of class apollo::prediction::SemanticLstmPedestrianTensorrt have not been loaded
I0914 16:28:59.371233 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmPedestrianGpuTorch
I0914 16:28:59.389387 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmPedestrianCpuTorch
I0914 16:28:59.406278 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmVehicleTensorrt
W0914 16:28:59.406319 159073 plugin_manager.h:233] plugin of class apollo::prediction::SemanticLstmVehicleTensorrt not found, please check if it's registered
E0914 16:28:59.406328 159073 plugin_manager.h:146] plugin of class apollo::prediction::SemanticLstmVehicleTensorrt have not been loaded
I0914 16:28:59.406366 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmVehicleGpuTorch
I0914 16:28:59.423386 159073 plugin_manager.h:144] creating plugin instance of apollo::prediction::SemanticLstmVehicleCpuTorch

Any suggestions? Thanks!

I found build error with 9.x_alpha，how to resolve this?
nvidia@ubuntu:~/01_McDevCode/apollo$ sudo bash docker/scripts/dev_start.sh
[INFO] Setup geolocation specific configurations for cn
[INFO] GeoLocation settings for Mainland China
[INFO] Start pulling docker image registry.baidubce.com/apolloauto/apollo:dev-aarch64-20.04-20230719_2137 ...
Error response from daemon: manifest for registry.baidubce.com/apolloauto/apollo:dev-aarch64-20.04-20230719_2137 not found: manifest unknown: manifest unknown
[ERROR] Failed to pull docker image : registry.baidubce.com/apolloauto/apollo:dev-aarch64-20.04-20230719_2137

i couldn't find libperception_componet_camera.so in bazel-bin, bazel-out etc. i suppose the version of alpha9.0 has not supported camera_decompression function yet, is it true?

@daohu527 @ScottDeng114514
I have another question about perception.
branch:9.x_alpha
Hardware: Orin
OS: Ubuntu 20.04
Build method: Compiled from source code .
When I try to launch the pointcloud_preprocess perception module using cyber_launch start point_preprocess.launch, it starts up normally but there is no data output. Using cyber node_info PoinCloudPreprocess, I see that there are no writing channels displayed for this node，but the reading channels exist. In the configuration files under the conf folder, the output channel name is specified as /perception/lidar/pointcloud_preprocess, and I've verified in the Init() function in component.cc that the output channel name matches. Inside the Proc() function, I've Ainfo the 'status' variable and see it has a value of 1.
I've been stuck on this issue for several days now. Could you please advise on how I can debug and resolve the lack of output from this node? Thank you for your time and assistance.

各位大佬，请教一下，在orin中如何部署apollo环境，有详细教程吗

Ladies and gentlemen, please tell me how to deploy the Apollo environment in Orin, is there a detailed tutorial?

I also have some image pull failures, and many images in the arm architecture cannot be downloaded, or I cannot find this image at all

apollo version:9.x_alpha
device: jetson orin
ERROR: /apollo/third_party/rtklib/BUILD:8:18: Compiling third_party/rtklib/rtcm3.c failed: (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/aarch64-opt/bin/third_party/rtklib/_objs/librtklib.so/rtcm3.pic.d ... (remaining 35 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
aarch64-linux-gnu-gcc-9: error: unrecognized command line option ‘-mavx2’
Who has a solution for errors reported during the compilation process

download the alpha version to orin and bash docker/scripts/dev_into.sh
---- Replied Message ----
| From | @.> |
| Date | 11/03/2023 15:10 |
| To | ApolloAuto/apollo @.> |
| Cc | Scott @.>,
Mention @.> |
| Subject | Re: [ApolloAuto/apollo] Nvidia orin support (Issue #15090) |
Ladies and gentlemen, please tell me how to deploy the Apollo environment in Orin, is there a detailed tutorial?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

During compilation, I ran into a build failure error.

After successfully building the perception module, I attempted to test the effect of the smoke. I used the command
"mainboard -d modules/transform/dag/static_transform.dag -d modules/perception/camera_detection_single_stage/dag/camera_detection_single_stage.dag -d modules/perception/camera_location_estimation/dag/camera_location_estimation.dag -d modules/perception/camera_location_refinement/dag/camera_location_refinement.dag -d modules/perception/camera_tracking/dag/camera_tracking.dag -d modules/perception/multi_sensor_fusion/dag/multi_sensor_fusion.dag"
to launch the modules. However, the "/apollo/perception/obstacles" topic consistently had no information. Upon inspecting the logs, I found that it was stuck in the tracker module. The logs indicated that the detection, location_estimation, and location_refinement modules were producing output normally, but the tracker module only output the following message once::
"I1116 16:05:16.286335 48529 camera_tracking_component.cc:71] Enter Tracking component, message timestamp:<PHONE_NUMBER>.641768 current timestamp:<PHONE_NUMBER>.286372."
Could you please advise me on how to debug the camera tracker module?

After successfully building the perception module, I attempted to test the effect of the smoke. I used the command "mainboard -d modules/transform/dag/static_transform.dag -d modules/perception/camera_detection_single_stage/dag/camera_detection_single_stage.dag -d modules/perception/camera_location_estimation/dag/camera_location_estimation.dag -d modules/perception/camera_location_refinement/dag/camera_location_refinement.dag -d modules/perception/camera_tracking/dag/camera_tracking.dag -d modules/perception/multi_sensor_fusion/dag/multi_sensor_fusion.dag" to launch the modules. However, the "/apollo/perception/obstacles" topic consistently had no information. Upon inspecting the logs, I found that it was stuck in the tracker module. The logs indicated that the detection, location_estimation, and location_refinement modules were producing output normally, but the tracker module only output the following message once:: "I1116 16:05:16.286335 48529 camera_tracking_component.cc:71] Enter Tracking component, message timestamp:<PHONE_NUMBER>.641768 current timestamp:<PHONE_NUMBER>.286372." Could you please advise me on how to debug the camera tracker module?

I am also facing a similar issue. When I run the following launch, there is no information displayed in the /apollo/perception/obstacles channel. I have already enabled the transform module, set the vehicle model to perception_test_v1, and the record file is sensor_rgb.record. And I used 'amodel' to install 3d-r4-half_caffe.Can someone please help? Thank you very much.

c

Sorry, I haven't resolved this issue yet.

After successfully building the perception module, I attempted to test the effect of the smoke. I used the command "mainboard -d modules/transform/dag/static_transform.dag -d modules/perception/camera_detection_single_stage/dag/camera_detection_single_stage.dag -d modules/perception/camera_location_estimation/dag/camera_location_estimation.dag -d modules/perception/camera_location_refinement/dag/camera_location_refinement.dag -d modules/perception/camera_tracking/dag/camera_tracking.dag -d modules/perception/multi_sensor_fusion/dag/multi_sensor_fusion.dag" to launch the modules. However, the "/apollo/perception/obstacles" topic consistently had no information. Upon inspecting the logs, I found that it was stuck in the tracker module. The logs indicated that the detection, location_estimation, and location_refinement modules were producing output normally, but the tracker module only output the following message once:: "I1116 16:05:16.286335 48529 camera_tracking_component.cc:71] Enter Tracking component, message timestamp:<PHONE_NUMBER>.641768 current timestamp:<PHONE_NUMBER>.286372." Could you please advise me on how to debug the camera tracker module?

I am also facing a similar issue. When I run the following launch, there is no information displayed in the /apollo/perception/obstacles channel. I have already enabled the transform module, set the vehicle model to perception_test_v1, and the record file is sensor_rgb.record. And I used 'amodel' to install 3d-r4-half_caffe.Can someone please help? Thank you very much.

Sorry, I haven't resolved this issue yet.

I am outputting the content of the 'track' line by line to identify the problem. Currently, it is confirmed that the entire process is stuck in the
”OMTObstacleTracker::Associate2D“
method when calling
“OMTObstacleTracker::CreateNewTarget”
Upon further output, it can be observed that the code is stuck at
“auto &min_tmplt = kMinTemplateHWL.at(sub_type);”
At the moment, I cannot find a solution. The log outputs information indicating the successful initialization of “object_template_manager”

After successfully building the perception module, I attempted to test the effect of the smoke. I used the command "mainboard -d modules/transform/dag/static_transform.dag -d modules/perception/camera_detection_single_stage/dag/camera_detection_single_stage.dag -d modules/perception/camera_location_estimation/dag/camera_location_estimation.dag -d modules/perception/camera_location_refinement/dag/camera_location_refinement.dag -d modules/perception/camera_tracking/dag/camera_tracking.dag -d modules/perception/multi_sensor_fusion/dag/multi_sensor_fusion.dag" to launch the modules. However, the "/apollo/perception/obstacles" topic consistently had no information. Upon inspecting the logs, I found that it was stuck in the tracker module. The logs indicated that the detection, location_estimation, and location_refinement modules were producing output normally, but the tracker module only output the following message once:: "I1116 16:05:16.286335 48529 camera_tracking_component.cc:71] Enter Tracking component, message timestamp:<PHONE_NUMBER>.641768 current timestamp:<PHONE_NUMBER>.286372." Could you please advise me on how to debug the camera tracker module?

I am also facing a similar issue. When I run the following launch, there is no information displayed in the /apollo/perception/obstacles channel. I have already enabled the transform module, set the vehicle model to perception_test_v1, and the record file is sensor_rgb.record. And I used 'amodel' to install 3d-r4-half_caffe.Can someone please help? Thank you very much.

I am outputting the content of the 'track' line by line to identify the problem. Currently, it is confirmed that the entire process is stuck in the
”OMTObstacleTracker::Associate2D“
method when calling
“OMTObstacleTracker::CreateNewTarget”
Upon further output, it can be observed that the code is stuck at
“auto &min_tmplt = kMinTemplateHWL.at(sub_type);”
At the moment, I cannot find a solution. The log outputs information indicating the successful initialization of “object_template_manager”

Nvidia orin is now supported in branch 9.x_alpha and tested:rocket::rocket::rocket:. Questions about Nvidia orin can be discussed here, or open a new issue and link here.
Why add this issue
We know that many developers are concerned about running autonomous driving systems on embedded devices like Nvidia orin, We supported it on beta and hope to collect more issues. Hope this version can help you ♥!

4090 is ok？

how to use cuda on orin？
The directory structure is as follows：
// kernel.h
#include <iostream>
#include <cuda.h>
#include <cuda_fp16.h>
#include <cuda_runtime_api.h>

...

// kernel.cu
#include "kernel.h"

...

// BAZEL
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("//tools/install:install.bzl", "install")
load("//tools/install:install.bzl", "install", "install_src_files")
load("//tools:cpplint.bzl", "cpplint")
load("//third_party/gpus:common.bzl", "gpu_library", "if_cuda", "if_rocm")

package(default_visibility = ["//visibility:public"])

gpu_library(
    name="kernel",
    hdrs=["kernel.h"],
    srcs=["kernel.cu"],
    deps=[
        "@local_config_cuda//cuda:cublas",
        "@local_config_cuda//cuda:cuda_headers",
        "@local_config_cuda//cuda:cudart",
    ],
    alwayslink = True,
)

when I run:
sudo bazel build --config=gpu --config=nvidia  modules/perception/test/...

report error:
/apollo/modules/perception/test/BUILD:10:12: error while parsing .d file: /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/aarch64-fastbuild/bin/modules/perception/test/_objs/test/test.pic.d (No such file or directory)

But this is fine on x86，I want to know how to build and compile gpu code with bazel on orin? Can someone help me, thank you very very much!

do you have a solution？

how to use cuda on orin？
The directory structure is as follows：
// kernel.h
#include <iostream>
#include <cuda.h>
#include <cuda_fp16.h>
#include <cuda_runtime_api.h>

...

// kernel.cu
#include "kernel.h"

...

// BAZEL
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("//tools/install:install.bzl", "install")
load("//tools/install:install.bzl", "install", "install_src_files")
load("//tools:cpplint.bzl", "cpplint")
load("//third_party/gpus:common.bzl", "gpu_library", "if_cuda", "if_rocm")

package(default_visibility = ["//visibility:public"])

gpu_library(
   name="kernel",
   hdrs=["kernel.h"],
   srcs=["kernel.cu"],
   deps=[
       "@local_config_cuda//cuda:cublas",
       "@local_config_cuda//cuda:cuda_headers",
       "@local_config_cuda//cuda:cudart",
   ],
   alwayslink = True,
)

when I run:
sudo bazel build --config=gpu --config=nvidia  modules/perception/test/...

report error:
/apollo/modules/perception/test/BUILD:10:12: error while parsing .d file: /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/aarch64-fastbuild/bin/modules/perception/test/_objs/test/test.pic.d (No such file or directory)

But this is fine on x86，I want to know how to build and compile gpu code with bazel on orin? Can someone help me, thank you very very much!

Hello have you solved this error?

在编译过程中，我遇到了构建失败错误。 ``(01:38:40) 信息：找到 1 个目标... (01:39:00) 错误：/apollo/modules/drivers/video/tools/decode_video/BUILD:6:17：链接模块/驱动程序/ video/tools/decode_video/video2jpg 失败：（退出 1）：crosstool_wrapper_driver_is_not_gcc 失败：执行命令时出错 external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc @bazel-out/aarch64-opt/bin/modules/drivers/video/tools/解码视频/video2jpg-2.params
使用 --sandbox_debug 查看来自沙箱的详细消息并保留沙箱构建根用于调试<EMAIL_ADDRESS>文件格式无法识别;视为链接器脚本 /usr/bin/ld:bazel-out/aarch64-opt/bin/_solib_local/_U@can_Ucard_Ulibrary_S_S_Chermes_Ucan___Ulib/libbcan.so:0: 语法错误 collect2: 错误: ld 返回 1 退出状态 Target //modules/drivers /video:install 构建失败 使用 --verbose_failures 查看失败构建步骤的命令行。 (01:39:01) 信息：已用时间：22.712 秒，关键路径：18.45 秒 (01:39:01) 信息：205 个进程：192 个内部进程，13 个 linux-sandbox。 (01:39:01) 失败：构建未成功完成 (01:39:01) 失败：构建未成功完成 [buildtool] 2023-11-15 09:39:01 错误遇到 ErrCode.BazelErr [buildtool] 2023 -11-15 09:39:01 错误提示：安装包驱动程序-视频源失败！ [buildtool] 2023-11-15 09:39:01 错误解决方案：请按照 bazel 错误提示检查构建文件`
`

hello I also encountered a similar problem. Did you solve it?

how to use cuda on orin？
The directory structure is as follows：
// kernel.h
#include <iostream>
#include <cuda.h>
#include <cuda_fp16.h>
#include <cuda_runtime_api.h>

...

// kernel.cu
#include "kernel.h"

...

// BAZEL
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("//tools/install:install.bzl", "install")
load("//tools/install:install.bzl", "install", "install_src_files")
load("//tools:cpplint.bzl", "cpplint")
load("//third_party/gpus:common.bzl", "gpu_library", "if_cuda", "if_rocm")

package(default_visibility = ["//visibility:public"])

gpu_library(
   name="kernel",
   hdrs=["kernel.h"],
   srcs=["kernel.cu"],
   deps=[
       "@local_config_cuda//cuda:cublas",
       "@local_config_cuda//cuda:cuda_headers",
       "@local_config_cuda//cuda:cudart",
   ],
   alwayslink = True,
)

when I run:
sudo bazel build --config=gpu --config=nvidia  modules/perception/test/...

report error:
/apollo/modules/perception/test/BUILD:10:12: error while parsing .d file: /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/aarch64-fastbuild/bin/modules/perception/test/_objs/test/test.pic.d (No such file or directory)

But this is fine on x86，I want to know how to build and compile gpu code with bazel on orin? Can someone help me, thank you very very much!

Hello have you solved this error?

Hello have you solved this error?

how to use cuda on orin？
The directory structure is as follows：
// kernel.h
#include <iostream>
#include <cuda.h>
#include <cuda_fp16.h>
#include <cuda_runtime_api.h>

...

// kernel.cu
#include "kernel.h"

...

// BAZEL
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("//tools/install:install.bzl", "install")
load("//tools/install:install.bzl", "install", "install_src_files")
load("//tools:cpplint.bzl", "cpplint")
load("//third_party/gpus:common.bzl", "gpu_library", "if_cuda", "if_rocm")

package(default_visibility = ["//visibility:public"])

gpu_library(
    name="kernel",
    hdrs=["kernel.h"],
    srcs=["kernel.cu"],
    deps=[
        "@local_config_cuda//cuda:cublas",
        "@local_config_cuda//cuda:cuda_headers",
        "@local_config_cuda//cuda:cudart",
    ],
    alwayslink = True,
)

when I run:
sudo bazel build --config=gpu --config=nvidia  modules/perception/test/...

report error:
/apollo/modules/perception/test/BUILD:10:12: error while parsing .d file: /apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/aarch64-fastbuild/bin/modules/perception/test/_objs/test/test.pic.d (No such file or directory)

But this is fine on x86，I want to know how to build and compile gpu code with bazel on orin? Can someone help me, thank you very very much!

do you have a solution？

Hello have you solved this error?


Use semver npm package in typescipt api rather than accepting string

Cannot

Closing since semver uses plain strings as well.


⚠ gorzdrav.org has degraded performance

In 766f63e, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 3216 ms

Resolved: gorzdrav.org performance has improved in 490e23a after 16 minutes.


[Feature] Add ability to customize webhook https and capi port

So I have an EKS cluster with Calico CNI installed.
When I installed rancher into the EKS cluster via helm chart, I ran into these problems.

I want to use hostNetwork for rancher-webhook but I don't know how to specify helm values for rancher-webhook. It seems rancher automatically install the chart. So I just edit it directly via the deployment yaml.
I just did briefly check the source code but it seems didn't have the ability to specify custom webhook https and capi ports. This is needed for hostNetwork because when ports 9443 and 8777 are already used by another deployment (e.g. aws-load-balancer-controller). The rancher webhook pod won't start (stuck at pending). It's good that I can change the aws-load-balancer-controller webhook port via webhookBindPort so the problem was solved.

I need to test, but in theory, rancher chart expose a global var, and rancher-webhook can use it.

https://github.com/rancher/charts/blob/dev-v2.7/charts/rancher-webhook/1.0.8%2Bup0.2.9/values.yaml#L6
https://artifacthub.io/packages/helm/rancher-stable/rancher?modal=values

Will try it.

We are looking at this now and I will update this issue when there is some more movement.

@cpinjani to validate the EKS related changes

Closing the issue as the validations run as part of the issue https://github.com/rancher/rancher/issues/41142#issuecomment-1667674189 look good.


Memoize filter option generation and scatterplot logic

Closed by https://github.com/philihp/skyfall/pull/22


Moving height, round,solutions, and transactions to bft for clients

Motivation
Right now, we only track height, round, solutions and transactions in consensus, and not in the node/bft CoreLedgerService, therefore we cannot track what height clients are at. This PR moves those metrics into the CoreLedgerService.
Also removed the numTransmissions metric, as you can just sum the numTransactions and numSolutions in the end analytics service (metrics/prometheus or visualization/Grafana) if needed.
Test Plan
These graphs show where I add 5 clients to the network.

How does this track syncing vs advancing? I think this now muddies the two up.

Before it would not track block height if not participating in consensus, so clients would not show any metrics. Now, if a client is syncing it will show what block height it is synced at for that timestamp.

How does this help Grafana delineate what is syncing vs advancing?

Why would a client sync a block below it's current max height?

Sorry, that was badly worded-- here is a better graph of a devnet w 4 validators that runs for 30 mins, then i add 5 clients to sync up w the network-- the green line is block advancement of the validators, and then the lines that start at 12:00 are the clients joining the network, you can see the rate of advancement as it syncs to the current network block height. Since the CoreLedgerService:advance_to_next_round function is used both in sync and regular consensus advancement, we capture the state of both validators participating in consensus and clients syncing with the network


feat: change the sample application

feat: change the sample application
ci: add docker-publish
ci: add makefile
ci(pre-commit): add actionlint hook
docs(README): add image info

Codecov Report
Patch coverage: 65.51% and project coverage change: +15.51% :tada:

Comparison is base (9d8c646) 50.00% compared to head (d865181) 65.51%.

:exclamation: Current head d865181 differs from pull request most recent head ddd3fd9. Consider uploading reports for the commit ddd3fd9 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #33       +/-   ##
===========================================
+ Coverage   50.00%   65.51%   +15.51%
===========================================
  Files           1        1
  Lines           6       29       +23
===========================================
+ Hits            3       19       +16
- Misses          3       10        +7

Files Changed
Coverage Δ

cmd/deadnews-template-go/main.go
65.51% <65.51%> (+15.51%)
:arrow_up:

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

@CodiumAI-Agent /review

PR Analysis

🎯 Main theme: This PR introduces changes to the sample application, adding new features and tests, and setting up continuous integration (CI) workflows.
📝 PR summary: The PR modifies the sample application to create and start a server using the Echo framework. It also adds tests for the server creation and response. Additionally, it sets up a docker-publish workflow for Docker and adds an actionlint hook for pre-commit. The README is updated with image information.
📌 Type of PR: Enhancement
🧪 Relevant tests added: Yes
🔒 Security concerns: No security concerns found

PR Feedback

💡 General suggestions: The PR is well-structured, and the changes are logically grouped. The addition of tests for the new server functionality is appreciated. However, it would be beneficial to add more comments in the code to explain the logic and any complex sections. This will make the code easier to understand for other developers.

 🤖 Code feedback:

relevant file: cmd/deadnews-template-go/main_test.go
suggestion: Consider adding more edge cases in your tests. For example, what happens if the server fails to create? Or what if the server response is not as expected? Handling these edge cases will make your tests more robust. [important]
relevant line: func TestServerCreation(t *testing.T) {

relevant file: cmd/deadnews-template-go/main.go
suggestion: It's good practice to handle errors explicitly. In the main function, the e.Start(":" + httpPort) might fail. Consider handling this error. [important]
relevant line: e.Logger.Fatal(e.Start(":" + httpPort))

relevant file: .github/workflows/docker-publish.yml
suggestion: It's recommended to use pinned versions of GitHub Actions to mitigate the risk of unexpected changes. Consider pinning the version of docker/login-action and docker/build-push-action. [medium]
relevant line: uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0

relevant file: Dockerfile
suggestion: It's a good practice to minimize the number of layers in your Docker image. Consider combining the WORKDIR / and COPY --from=go-builder /tmp/deadnews-template-go /bin/deadnews-template-go commands into a single RUN command. [medium]
relevant line: WORKDIR /

How to use

Tag me in a comment '@CodiumAI-Agent' and add one of the following commands:
/review [-i]: Request a review of your Pull Request. For an incremental review, which only considers changes since the last review, include the '-i' option.
/describe: Modify the PR title and description based on the contents of the PR.
/improve [--extended]: Suggest improvements to the code in the PR. Extended mode employs several calls, and provides a more thorough feedback.
/ask <QUESTION>: Pose a question about the PR.
/update_changelog: Update the changelog based on the PR's contents.

To edit any configuration parameter from configuration.toml, add --config_path=new_value
For example: /review --pr_reviewer.extra_instructions="focus on the file: ..."
To list the possible configuration parameters, use the /config command.


Setup CI

@IanKeen which service do you want to use for this?

https://help.github.com/en/actions/getting-started-with-github-actions/about-github-actions

Super old. Closing.


Sending event to orthgonal region

Hello, I'm looking into sml and find it really good, however there is one UML feature I can't get to work. It's posting event from one orthogonal region to another.
This example show me trying to accomplish that:
#include <iostream>
#include <boost/sml.hpp>

namespace sml = boost::sml;

namespace {

// ACTION

struct ge1 {};
struct ge2 {};

struct o1 {
    struct e1{};
    struct e2{};
auto operator()() const noexcept {
    using namespace sml;
    return make_transition_table(
        (*"s1"_s) + event<e2> = "s2"_s
        , "s1"_s  + event<ge1> / [](
            std::cout << "o1: s1 -> s2\n";
            sml::back::process<ge2> process_event){process_event(ge2{});
         }
        , "s2"_s  + event<ge2> = "s1"_s
    );
}
};

struct o2 {
    struct e1{};
    struct e2{};

auto operator()() const noexcept {
    using namespace sml;
    return make_transition_table(
        (*"s1"_s) + event<e2> = "s2"_s
        , "s1"_s + event<ge2> / [] {std::cout << "o2: s1 -> s2\n";} = "s2"_s
        , "s1"_s + event<e2> / [] {std::cout << "o2: s1 -> s2\n";} = "s2"_s
    );
}
};

struct main_state {
    struct e1{};
    struct e2{};

    auto operator()() const noexcept {
        using namespace sml;
        return make_transition_table(
            (*state<o1>) + on_entry<sml::initial> / [this]{ std::cout << " o1 init\n"; }
            ,(*state<o2>) + on_entry<sml::initial> / [this]{ std::cout << " o2 init\n"; }
        );
    }
};

}

int main(int argv, char** argc) {

    my_logger logger;

    sml::sm<main_state, sml::defer_queue<std::queue>, sml::process_queue<std::queue>, sml::logger<my_logger>> sm(logger);

    using namespace sml;
    sm.process_event(ge1{});

}

In this example, I try to send a ge2 event from orthogonal region o1 to orthogonal region o2, however, the the process_event function does not affect the full state machine but only the sub_machine defined by o1. This is the same if o1 is a composite state of main_state, the event does not reach main_state but affect only the o1 sub_state_machine.
Does someone know a may to send event from a sub_state to the main state machine or from an orthogonal region to another orthogonal region?
At first, I tried to use process(o2::e2{}) in an action of o1, but the compilation failed saying that this type of event couldn't be casted into a known event of the o1 sub_state_machine.
Wouldn't it be interesting to have this event checking at compilation time for event not handled by the state machine?
Thanks for your awesome job Kris!

Fixed by https://github.com/boost-experimental/sml/pull/302


Add dlrobertson to embedded subgroup

I haven't been available for the past few weeks, but I'd definitely like to be involved with this subgroup.

Added, thanks!


[DOCS] Adds shared/attributes.asciidoc to index

Overview
This PR adds the reference of the shared/attribute.asciidoc file to the index.asciidoc, so abbreviations in the attributes file can be used across the .NET documentation.

Doc checks are happy 👍


Use Auth in construct method

Laravel Version: 5.6.*
PHP Version: 7.2.2
Database Driver & Version: Mysql 5.0.12

Description:
I need return logged user in contruct method
Steps To Reproduce:
I need return logged user in contruct method,
<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Menu;
use View;
use Session;
use Redirect;
use App\User;
use App\UserPermissions;
use Auth;
use DB;

class GerencialController extends Controller{
	public function __construct(){

		$this->menu = new Menu();

		$this->menu->getEnabledMenu();

		$this->categories = $this->
		menu::with('children')->
		where('parent_id','=',0)->
		whereIn('id', [8,9,7])->
		orderBy('position', 'asc')->
		get();
	}

i tried with $this->user->Auth::user()->id; but this doesn't work
i also tried this
https://laravel-news.com/controller-construct-session-changes-in-laravel-5-3
$this->middleware(function ($request, $next) {
        $this->user= Auth::user();

        return $next($request);
    });

but i I do not know how to access $this->user
please
i need help
sorry for my english

Welcome to Laravel! We are glad to have you as part of the community.
Unfortunately GitHub is not an appropriate platform for general application issues. This is only for issues/bugs with the framework code itself.
Please close your issue, and instead try asking your question on one of the many great community support areas that will likely give you a better answer more quickly:
Laravel Slack (https://larachat.co/)
Laravel.io Forum (https://laravel.io/forum)
Laracasts Forum (https://laracasts.com/discuss)
StackOverflow (http://stackoverflow.com/questions/tagged/laravel)
Thanks!

@gmeireles  You are running Auth before the middle-ware. To avoid this use middle-ware closure.
public function __construct()
{
   $this->middleware(function ($request, $next) {
        $this->userId = Auth::user()->id;
        return $next($request);
    });
}


Implement sys_thr_get_name

I'll check this when I have time.
@ultimaweapon This is unrelated to the PR, but what would you thinkabout doing Vthread::current().unwrap() before a syscall is called and making it another argument to all the syscall handlers? I feel like it's kind of redundant to do Vthread::current().unwrap() everywhere when we could do it once. Maybe there is an issue with it that I don't see.


SNotify not showing any styles

"vue-snotify": "^3.2.1",
it just showing like this

My settings
import SNotify, { SnotifyPosition } from 'vue-snotify';

const NotifyOptions = {
    toast: {
        position: SnotifyPosition.rightTop
    }
}

Vue.use(SNotify, NotifyOptions);

what is wrong here..?

Opps! I forgot to import css, now its done


Publicpath is empty string.

See this is why we need testing, because previous travis builds succeed when they would normally fail.


Seems to get black screen on Spofify when start from API on version <IP_ADDRESS>8.g2c497f24

seems when start from the API, Spotify remains in black screen...

Now, needs to wait for Spotify starts before connect.


Add heapdump trigger

LGTM

This lacked a test even though its easy to write, and it had a syntax bug: #376

A test for this could be based on https://github.com/RuntimeTools/appmetrics/blob/master/tests/heapdump/test-callback.js which came from the heapdump project.


cannot install

The gemspec at /root/XSpear/XSpear.gemspec is not valid. Please fix this gemspec.
The validation error was 'XSpear-1.3.1 contains itself (XSpear-1.3.1.gem), check your files list'
:(

Same issue, not sure how to fix


V4.0.1

v4.0.0 to v4.0.1
🌟 upgrade pkg and solved 🐛 of _httpServer and node supported up-to v20.9.0 💯 👍


nullRF with CyberZombie

Not entirely sure if this is a new issue, but after collecting the essence from a CyberZombie from cyberware (which registers the cyberzombie as a zombie type)

the spawner says nullRF, is there a config I need to change or has it just not worked?

I am having the same problem with all mobs, including vanilla mobs: Enderman, Zombie, EnderMini (from Ender Zoo), etc. When the syringe is inserted, it shows that it requires nullRF and shows nothing where the required matter should appear.
RFTools 6.10
Forge <IP_ADDRESS>5
MC 1.11.2
Pack https://minecraft.curseforge.com/projects/danny-sirenuse-pack

Perhaps this is related to #1199

i have having the same problem with all mobs as well

Can you post your rftools.cfg?

For anyone still looking for a solution to this problem, in my case, it was caused by a problem with the configs. My pack has existed since MC 1.9.4 and has been through many changes, so the config was out of sync. I fixed it by deleting the config, allowing it to be regenerated, and then working with the newly generated config file.


[Issue #111] Join Implementation: Intersection of inner and outer tuples based on attributes and fields

@chenlica @FlavioBayer
Implemented the intersection the inner and outer tuples based on the attributes and fields list and return it with relevant span information as the result of Join operation.

@zuozhiw Please review it if you can.

High-level comments:

Undo those formatting changes.
Merge the master to your branch.
Add schemas to the comments of test cases.
Fix those minor grammatical issues in the comments.

Can one of the admins verify this patch?

retest this please


nezha-agent: 0.16.11 -> 0.17.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/nezhahq/agent/releases.
meta.description for nezha-agent is: Agent of Nezha Monitoring
meta.homepage for nezha-agent is: https://github.com/nezhahq/agent
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 0.17.0 with grep in /nix/store/pa9finpa475ah0s3mw4yk588hhlmsa8f-nezha-agent-0.17.0
found 0.17.0 in filename of file in /nix/store/pa9finpa475ah0s3mw4yk588hhlmsa8f-nezha-agent-0.17.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

nezha-agent

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pa9finpa475ah0s3mw4yk588hhlmsa8f-nezha-agent-0.17.0 \
  --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 nezha-agent https://github.com/r-ryantm/nixpkgs/archive/e03bb988ac2d1e70d211c060d84c98633cb45692.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e03bb988ac2d1e70d211c060d84c98633cb45692#nezha-agent

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pa9finpa475ah0s3mw4yk588hhlmsa8f-nezha-agent-0.17.0
ls -la /nix/store/pa9finpa475ah0s3mw4yk588hhlmsa8f-nezha-agent-0.17.0/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:

nezha-agent

Maintainer pings
cc @Moraxyc for testing.

@NixOS/nixpkgs-merge-bot merge


sqlglot.errors.ParseError for sample from website

Hello everyone,
Running a copy/pasted sample from the site is raising a sqlglot.errors.ParseError. Version issues maybe? Please see details below.
Your help is appreciated!
Cheers,
Sami
Environment details

OS type and version: Sonoma 14.2.1 (on M2 Max)
Python version: python --version  3.9.18
pip version: pip --version pip 23.0.1
bigframes version: pip show bigframes 0.19.0

Steps to reproduce

Run code sample from : https://cloud.google.com/bigquery/docs/bigquery-dataframes#bigframes-ml-regression after adding a project id

Code example
from bigframes.ml.linear_model import LinearRegression
import bigframes.pandas as bpd

bpd.options.bigquery.project = "our_project_id"

# Load data from BigQuery
query_or_table = "bigquery-public-data.ml_datasets.penguins"
bq_df = bpd.read_gbq(query_or_table)

# Filter down to the data to the Adelie Penguin species
adelie_data = bq_df[bq_df.species == "Adelie Penguin (Pygoscelis adeliae)"]

# Drop the species column
adelie_data = adelie_data.drop(columns=["species"])

# Drop rows with nulls to get training data
training_data = adelie_data.dropna()

# Specify your feature (or input) columns and the label (or output) column:
feature_columns = training_data[
    ["island", "culmen_length_mm", "culmen_depth_mm", "flipper_length_mm", "sex"]
]
label_columns = training_data[["body_mass_g"]]

test_data = adelie_data[adelie_data.body_mass_g.isnull()]

# Create the linear model
model = LinearRegression()
model.fit(feature_columns, label_columns)

# Score the model
score = model.score(feature_columns, label_columns)

# Predict using the model
result = model.predict(test_data)
# example

Stack trace
% python src/bq_run.py
Query job bb049054-a4f0-4d88-b128-b97eb020038b is DONE.28.9 kB processed.
https://console.cloud.google.com/bigquery?project=platform-dev-285607&j=bq:US:bb049054-a4f0-4d88-b128-b97eb020038b&page=queryresults
Traceback (most recent call last):
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/sqlglot/parser.py", line 1039, in parse_into
    return self._parse(parser, raw_tokens, sql)
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/sqlglot/parser.py", line 1078, in _parse
    self.raise_error("Invalid expression / Unexpected token")
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/sqlglot/parser.py", line 1119, in raise_error
    raise error
sqlglot.errors.ParseError: Invalid expression / Unexpected token. Line 1, Col: 61.
  platform-dev-285607._21e83bdd53455fdc8544000e45591de500adacc2.anon0277dfb0_f1fc_47b2_a519_1493d286435f

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/samiabboud/dev/aampe/modeling/src/bq_run.py", line 33, in <module>
    model.fit(feature_columns, label_columns)
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/bigframes/ml/base.py", line 162, in fit
    return self._fit(X, y)
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/bigframes/core/log_adapter.py", line 44, in wrapper
    return method(*args, **kwargs)
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/bigframes/ml/linear_model.py", line 136, in _fit
    self._bqml_model = self._bqml_model_factory.create_model(
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/bigframes/ml/core.py", line 245, in create_model
    input_data = X_train._cached().join(y_train._cached(), how="outer")
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/bigframes/core/log_adapter.py", line 44, in wrapper
    return method(*args, **kwargs)
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/bigframes/dataframe.py", line 3045, in _cached
    self._set_block(self._block.cached())
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/bigframes/core/blocks.py", line 1677, in cached
    self.session._execute_and_cache(self.expr, cluster_cols=self.index_columns),
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/bigframes/session/__init__.py", line 1479, in _execute_and_cache
    table_expression = self.ibis_client.table(
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/ibis/backends/bigquery/__init__.py", line 509, in table
    table = sg.parse_one(name, into=sg.exp.Table, read=self.name)
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/sqlglot/__init__.py", line 124, in parse_one
    result = dialect.parse_into(into, sql, **opts)
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/sqlglot/dialects/dialect.py", line 325, in parse_into
    return self.parser(**opts).parse_into(expression_type, self.tokenize(sql), sql)
  File "/Users/samiabboud/dev/aampe/modeling/venv/lib/python3.9/site-packages/sqlglot/parser.py", line 1044, in parse_into
    raise ParseError(
sqlglot.errors.ParseError: Failed to parse 'platform-dev-285607._21e83bdd53455fdc8544000e45591de500adacc2.anon0277dfb0_f1fc_47b2_a519_1493d286435f' into <class 'sqlglot.expressions.Table'>

Hi @samiabboud, could you help check which version of ibis-framework and sqlglot are you using? It might be ibis forgets to add the ``` backticks to escape names. It's possible when you were using an older version of these.

Upgrading sqlglot to 20.8.0 doesn't resolve the error.
Upgrading ibis-framework results in the following dependency error:
bigframes 0.19.0 requires ibis-framework[bigquery]<7.2.0dev,>=7.1.0, but you have ibis-framework 7.2.0 which is incompatible.

+1

Could you try upgrading bigframes to the latest version 0.19.2 and see if you can repro the problem?
(venv) $ pip show sqlglot
Name: sqlglot
Version: 20.4.0
Summary: An easily customizable SQL parser and transpiler
Home-page: https://github.com/tobymao/sqlglot
Author: Toby Mao
Author-email<EMAIL_ADDRESS>License: MIT
Location: /usr/local/google/home/ashleyxu/src/python-bigquery-dataframes/venv/lib/python3.10/site-packages
Requires:
Required-by: ibis-framework
(venv) $ pip show ibis-framework
Name: ibis-framework
Version: 7.2.0
Summary: Productivity-centric Python Big Data Framework
Home-page: https://ibis-project.org
Author: Ibis Maintainers
Author-email<EMAIL_ADDRESS>License: Apache-2.0
Location: /usr/local/google/home/ashleyxu/src/python-bigquery-dataframes/venv/lib/python3.10/site-packages
Requires: atpublic, bidict, filelock, multipledispatch, numpy, pandas, parsy, pins, pyarrow, pyarrow-hotfix, python-dateutil, pytz, rich, sqlglot, toolz, typing-extensions
Required-by: bigframes

I already updated these library but it was not resolved.

https://partner.cloudskillsboost.google/course_sessions/11372701/labs/448513 same issue in this cloudskill lab with colab enterprise

+1

+1

+1

For ones who're facing this issue, please try re-installing the package with pip, and restart your runtime and try running the notebook again by following these steps:

Expand the menu.
Select Runtime
Select Restart session

If this still doesn't work for you, you can try creating a brand new project. (The issue might be related to permissions or cross region)

We're working on fixing it. Internal issue number: 326126888

Hi, @ashleyxuu
Code:
from bigframes.ml.preprocessing import OneHotEncoder

enc = OneHotEncoder()
X = bf.DataFrame({"a": ["Male", "Female", "Female"], "b": ["1", "3", "2"]})
enc.fit(X)
print(enc.transform(bf.DataFrame({"a": ["Female", "Male"], "b": ["1", "4"]})))

Error:
ParseError: Invalid expression / Unexpected token.
The above exception was the direct cause of the following exception:

ParseError                                Traceback (most recent call last)
Cell In[7], line 5
      3 enc = OneHotEncoder()
      4 X = bf.DataFrame({"a": ["Male", "Female", "Female"], "b": ["1", "3", "2"]})
----> 5 enc.fit(X)
      6 print(enc.transform(bf.DataFrame({"a": ["Female", "Male"], "b": ["1", "4"]})))

I am waiting for fix. Thanks.

@uysalfurkan Thank you so much for reporting this issue! I apologize for the delay in responding. To help me track down this dependency mismatch, could you please provide the full call stack? Also, to reproduce the error in our side, would you mind sharing your environment details? You can generate these using the following command:
import sys
!{sys.executable} -m pip freeze

@chelsea-lin , @tswast sorry for delayed response.
Environment details:
environment.txt
Full call stack:
Traceback (most recent call last):
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/sqlglot/parser.py", line 1056, in parse_into
    return self._parse(parser, raw_tokens, sql)
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/sqlglot/parser.py", line 1095, in _parse
    self.raise_error("Invalid expression / Unexpected token")
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/sqlglot/parser.py", line 1136, in raise_error
    raise error
sqlglot.errors.ParseError: Invalid expression / Unexpected token. Line 1, Col: 64.
  encoded-hangout-414110._46f61dc8b3e2eb2697eb7be8fa45757c2d44aebe.anon271366cfceeb965c764bc43446c057e69691f83157ca78394ecb85df7904eb22

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/folders/wn/fkylpmg57j11htwlk6n249xr0000gp/T/ipykernel_37862/2695306357.py", line 5, in <module>
    enc.fit(X)
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/bigframes/core/log_adapter.py", line 44, in wrapper
    return method(*args, **kwargs)
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/bigframes/ml/preprocessing.py", line 510, in fit
    self._bqml_model = self._bqml_model_factory.create_model(
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/bigframes/ml/core.py", line 243, in create_model
    input_data = X_train._cached()
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/bigframes/core/log_adapter.py", line 44, in wrapper
    return method(*args, **kwargs)
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/bigframes/dataframe.py", line 3045, in _cached
    self._set_block(self._block.cached())
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/bigframes/core/blocks.py", line 1677, in cached
    self.session._execute_and_cache(self.expr, cluster_cols=self.index_columns),
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/bigframes/session/__init__.py", line 1479, in _execute_and_cache
    table_expression = self.ibis_client.table(
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/ibis/backends/bigquery/__init__.py", line 509, in table
    table = sg.parse_one(name, into=sg.exp.Table, read=self.name)
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/sqlglot/__init__.py", line 123, in parse_one
    result = dialect.parse_into(into, sql, **opts)
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/sqlglot/dialects/dialect.py", line 447, in parse_into
    return self.parser(**opts).parse_into(expression_type, self.tokenize(sql), sql)
  File "/Users/furkan.uysal/anaconda3/envs/myenv/lib/python3.9/site-packages/sqlglot/parser.py", line 1061, in parse_into
    raise ParseError(
sqlglot.errors.ParseError: Failed to parse 'encoded-hangout-414110._46f61dc8b3e2eb2697eb7be8fa45757c2d44aebe.anon271366cfceeb965c764bc43446c057e69691f83157ca78394ecb85df7904eb22' into <class 'sqlglot.expressions.Table'>

Re-opening, as it appears this issue occurs even with latest supported sqlglot.

I'd also like to try updating to ibis 8.x in https://github.com/googleapis/python-bigquery-dataframes/pull/277 to see if that fixes this issue.

I'm having a similar issue even with basic operations like bq_df.head(). This is all taking place in the BigQuery notebook interface with the default runtime. Here's the full call stack:
ParseError                                Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/sqlglot/parser.py](https://localhost:8080/#) in parse_into(self, expression_types, raw_tokens, sql)
   1038             try:
-> 1039                 return self._parse(parser, raw_tokens, sql)
   1040             except ParseError as e:

14 frames
ParseError: Invalid expression / Unexpected token. Line 1, Col: 60.
  TABLE_REDACTED

The above exception was the direct cause of the following exception:

ParseError                                Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/sqlglot/parser.py](https://localhost:8080/#) in parse_into(self, expression_types, raw_tokens, sql)
   1042                 errors.append(e)
   1043
-> 1044         raise ParseError(
   1045             f"Failed to parse '{sql or raw_tokens}' into {expression_types}",
   1046             errors=merge_errors(errors),

ParseError: Failed to parse 'TABLE_REDACTED' into <class 'sqlglot.expressions.Table'>```

import bigframes
bigframes.__version__

0.21.0

import sqlglot
sqlglot.__version__

19.9.0

@ZeroCool2u Thanks for the report. My teammate @chelsea-lin was able to determine that there is a bug in sqlglot's parsing of BigQuery table IDs, which has been reported and hopefully fixed in a future release. In the meantime, I believe bigframes 0.22.0 will have worked around this issue. Could you please try with that version and report back if it is fixed?
In a notebook:
%pip install --upgrade bigframes

And then restart your notebook runtime.

@tswast @chelsea-lin Just tested and seems fixed! Thank you!!


Improve sql backend perf

Fixes #26.
Fixes #25.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@90cc14f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #27   +/-   ##
=========================================
  Coverage          ?   51.59%
=========================================
  Files             ?       15
  Lines             ?     1068
  Branches          ?        0
=========================================
  Hits              ?      551
  Misses            ?      517
  Partials          ?        0

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 90cc14f...4592f27. Read the comment docs.


Add Missing Flexbox Properties

Issue
Add missing properties related to the Flexbox layout model in the following file: https://github.com/chasefleming/elem-go/blob/main/styles/styles.go
Properties to be added

flex-grow
flex-shrink
flex-basis
align-self

Can I take on this issue? I'm new to contributing.

Absolutely! Go for it @MhmoudGit . Assigning you. Thanks.

Thanks, I already made the PR would appreciate if you reviewed it @chasefleming

Reviewed. Looks good. Thanks!


Added new functions to metagenomics_pipeline_MiniPiconorm jupyter notebook

Added gDNA_dilution_check(), find_threshold(), and autopool() for MiniPico normalized pooling pipeline.

Re-estructured the metagenomics_pipeline_MiniPiconorm notebook. Deleted a bunch of unnecessary modules and streamlined the flow of the notebook.

@RodolfoSalido Ty Rodolfo, I'll review and merge and polish and merge again. I think going forward, we'll have a separate dev branch that you and I can merge to, and once we're satisfied we can push to master.

merged with https://github.com/charles-cowart/metagenomics_pooling_notebook.git merge_rodolfo branch instead.


Tartabit devices

Thank you for contributing to the Azure IoT Plug and Play Models repository
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact<EMAIL_ADDRESS>with any additional questions or comments.
The repository pipeline will ensure minimum validation of incoming DTDL models.

PR validation steps are described in the tools Wiki.
The same validation can be run locally via the dmr-client command line tool.

Requested info template for model(s) submission
When submitting models to the repository we ask that you provide as much of the following meta information around your models and related devices as possible. This info will be used to improve Plug and Play.
:star2: Please replace the markdown comment examples with your own values.
Company Info

Tartabit
https://www.tartabit.com
github.com/tartabit

IoT Plug and Play Device Info
Models used by the Tartabit IoT Bridge for mapping LPWA devices into Azure IoT Hub.
Model Submission Goals
Used for integrating low powered devices into IoT Hub and IoT Central
Code Owners & Reserved Names
TARTABIT
Examples:

@bocajim

I see there was a validation error about repositories being modified, but I can't find any models that were changed with this pull request, is there something I am missing?

I see there was a validation error about repositories being modified, but I can't find any models that were changed with this pull request, is there something I am missing?

Your latest merge resolved the issues.

Hi @bocajim
May I ask you to update this PR? or close it if appropriate?


Bug: unable to select certain images within additer

[ ] (in unix) if the file is in a folder ending with " f", there is no way to select the image since the command will be split before the space, so the following command will not work: additer d/2022-10-10 n/xxx p//test f/image.png f/feedback.
[x] Within windows, typing certain illegal characters like " will throw a java.nio.file.InvalidPathException exception that isn't handled (Fixed in a2d8f67342242669ef930ddef9940eabe575dc80)

If we use greedy regex before feeding to tokeniser then only the last occurrence of f/ will be considered as feedback? Like do our own parsing first. Problem is that feedback cannot contain f/ as well but I think that should be acceptable to the user.

Updated UG to specify file path constraint.


update nodejs test versions

Same thing

AHA! Similarly, we do not provide these values to untrusted builds, triggered by pull requests from another repository.

Oh, I see. That makes sense, since you're PRing from a fork. I'll see if I can enable that somehow anyway, since the same issue might be hit by external contributors at some point.


learning rate

actually while training a model the learning rate decreses. if learning rate is saturated ----> the  network can't learn further. if learning rate still decreases ----> still we have to train. how to observe this learning rate for every epoch.. in kaldi we have these option for obseving learning rate.

Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will open a new issue. Thanks!


Add support for blacklisting TLS ciphers (instead of only whitelisting)

Feature
What did you expect to see?
Currently, Traefik 2.2.5 only supports the white-listing of ciphers as documented here: https://docs.traefik.io/https/tls/#cipher-suites
When running "sslscan", two 3DES ciphers are mentioned as insecure:
Accepted  TLSv1.2  112 bits  TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
Accepted  TLSv1.2  112 bits  TLS_RSA_WITH_3DES_EDE_CBC_SHA

Instead of whitelisting 20+ ciphers, I would like to blacklist these two insecure ciphers. Because a whitelist is a) harder to determine correctly for all kinds of clients and b) would need maintaining in the future as new ciphers come out.
Would it be possible to add support for this?

Hi @geosmart,
Thank you for your interest in Traefik.
As it is a small finite list of elements, we do not think that a black list is useful in this case.
We close this issue accordingly.


fix(api): home plunger & mount axis properly after drop tip

Overview
Pipette plunger and mount were not homed properly in ot3api.drop_tip() function.

we should discuss with HWE before merging this


Fabric Placeholder Conditions buggy, and request pattern for correct usage of Has_Permission arg

Please could you tell me the placeholder condition pattern for fabric?
Placeholders in fabric are like modId:placeholder and I guess this doesn't work correctly with papi args of better hud.
I need also the pattern for has_permission because I can't find it working in my tests
I'm searching from days but I can't find them working, please I really need the correct pattern usage for fabric.
In the wiki is only written "has_permission:arg" and "papi_parse_for:arg" that doesn't help me
I guess this is an issue of the mod for fabric:
[17:00:29] [Thread-50/WARN]: Unable to load this condition: main
[17:00:29] [Thread-50/WARN]: Reason: this placeholder not found: [placeholder_api_parse
in layout:
conditions:
    main:
      first: "[placeholder_api_parse:instancemod:name]"
      second: "'Volo'"
      operation: "!="

what am I doing wrong?
in layout withaout brackets I have no errors but the placeholder doesn't work in conditions:
conditions:
    main:
      first: "placeholder_api_parse:instancemod:name"
      second: "'Volo'"
      operation: "!="

The placeholder used in text works with no issues, only conditions have this problem in fabric

As i mentioned, i can't answer you with external placeholder.
1. This might be the text with some color code (like '&fhello', It is display to 'hello', but it is NOT hello)
2. I do not know about every external mod


Use LinkList to collect unique records.

Please answer these questions before submitting pull request

Why submit this pull request?

[X] Improve performance

Related issues
#1032

New feature or improvement

Describe the details and related test reports.
The records with unique id in indexes named segment, segment_duration, global_trace persistence. Those are not need to merge in collector, so use LinkList to collect.

Coverage decreased (-0.004%) to 21.619% when pulling 04d19f3a52d04e0647488e6b6818a8fd5faa4d02 on peng-yongsheng:feature/performance into 268ea2f0d0317325aa05ab8e8de1533aeb32714d on apache:master.


[Feature Request] Add way of running a script as a "before run" that runs before Jest executes

This issue was discovered while digging into this: https://github.com/nodejs/node/issues/20432
Effectively, I am trying to debug one test, but I need NODE_EXTRA_CA_CERTS to be set before Jest executes.  This variable cannot be set at runtime.
Currently, the workaround is to go to my Node Debug console in VSCode and set the variable there.  Then I can debug each individual test.  I notice that when I click "Debug", what is outputted a command line is generated.  I simply want to prepend a "before run" hook to where I can set an ENV before Jest executes.

in settings with
"jestrunner.debugOptions": {}
you can add stuff to the debug console...
https://github.com/firsttris/vscode-jest-runner/blob/master/src/jestRunner.ts#L109
would it be possible to add a varialbe to the debug console using this feature?

So I tried this
"jestrunner.debugOptions": {
       "argv": [" export NODE_EXTRA_CA_CERTS=resources/security/certificate.pem "]
    }

And what outputted was
Warning: Ignoring extra certs from `resources/security/certificate.pemcd`, load failed: error:02001002:system library:fopen:No such file or directory

For some reason, it is appending "cd".  Am I doing this right?

refering to
https://create-react-app.dev/docs/debugging-tests/#debugging-tests-in-visual-studio-code
i think i should be simple as this
"jestrunner.debugOptions": {
       "env":{
            NODE_EXTRA_CA_CERTS: resources/security/certificate.pem
         }
    }


Compatibility between spatialpandas.dask.DaskGeoDataFrame and HoloViews, GeoViews and hvplot?

Hi,
Apparently, there is no support for spatialpandas.dask.DaskGeoDataFrames in HoloViz plotting libraries other than datashader.
A simple example:
import holoviews as hv
hv.extension("bokeh")

# I have a single-row Parquet file I created using spatialpandas.
# It only contains one row and one column, called geometry, which contains a MultiLine object.
# I can easily read in as a spatialpandas.dask.DaskGeoDataFrame:
from spatialpandas.io import read_parquet_dask

df = read_parquet_dask("sample_spatialpandas_row.parquet")

# I now want to plot the multiline. For instance, with hvplot:
import hvplot.dask

df.hvplot()

# This raises an exception: Supplied data type DaskGeoDataFrame not understood

# And the same goes for instance for GeoViews:
import geoviews as gv

gv.Path(df)

# It does not recognizes it as a geodataframe-like element, raising:
# ValueError: kdims: list length must be between 2 and 2 (inclusive)

The above is just an example, obviously. You can find the sample parquet file I used here (needs to be unzipped).
Having this working would allow datashading dinamically and directly from Holo/GeoViews/HvPlot using holoviews.operation.datashader on larger than memory datasets, backed by spatialpandas.dask.DaskGeoDataFrame, which would be amazing.
What do you think?

Thanks for dropping in at the right time! You can try out the just-added DaskGeoDataFrame support in HoloViews using something like:
git clone git@github.com:holoviz/holoviews.git
cd holoviews
git checkout dask_spatialpandas
pip install --no-deps -e .

and then re-running your code. I haven't tested your code with this work-in-progress branch, so I don't know if it will work yet, but you can see what we are testing it with at https://github.com/pyviz-topics/examples/pull/130 .

Thanks for dropping in at the right time! You can try out the just-added DaskGeoDataFrame support in HoloViews using something like:
git clone git@github.com:holoviz/holoviews.git
cd holoviews
git checkout dask_spatialpandas
pip install --no-deps -e .

and then re-running your code. I haven't tested your code with this work-in-progress branch, so I don't know if it will work yet, but you can see what we are testing it with at https://github.com/pyviz-topics/examples/pull/130 .

Thanks @jbednar for reaching out!
Sure, I will try it this afternoon and will provide feeback :)

Thanks @jbednar for reaching out!
Sure, I will try it this afternoon and will provide feeback :)

Ok so I just tried with the branch dask_spatialpandas in HoloViews, and now it seems to be at least accepted. The following line:
plot = gv.Path(df)

Does not raises an exception anymore; but the plot is not generated. If I just write in a single-line cell in Jupyter:
plot

It only outputs what I think it is the hv.Dataset info:
:Path   [Longitude,Latitude]

But the chart is not generated.
Also, for hvplot the ValueError still remains.

Ok so I just tried with the branch dask_spatialpandas in HoloViews, and now it seems to be at least accepted. The following line:
plot = gv.Path(df)

Does not raises an exception anymore; but the plot is not generated. If I just write in a single-line cell in Jupyter:
plot

It only outputs what I think it is the hv.Dataset info:
:Path   [Longitude,Latitude]

But the chart is not generated.
Also, for hvplot the ValueError still remains.


Exception "The type 'RazorViewAttribute' exists in both 'Microsoft.AspNetCore.Mvc.Razor..", in Run-> edit cshtml -> refresh

Hi,
the exceptions says : "The type 'RazorViewAttribute' exists in both 'Microsoft.AspNetCore.Mvc.Razor, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'Microsoft.AspNetCore.Mvc.Razor, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'"
To reproduce the issue :
File, NewProject, AspNetCore (netcore2.1) application, press F5.
Open file Views/Shared/_Layout.cshtml, do a trivial edit (add some spaces), refresh the page, you get this exception, i'm having it on multiple computers but i can't identify the source of the problem.
This is the project with vs 17.7.4 :
<Project Sdk="Microsoft.NET.Sdk.Web">   <PropertyGroup>     <TargetFramework>netcoreapp2.1</TargetFramework>   </PropertyGroup>   <ItemGroup>     <PackageReference Include="Microsoft.AspNetCore.App" />   </ItemGroup> </Project>
This is the dotnet folder :

This is the full error :
Internal Server Error.zip

Adding the sdk 2.1.302 fixed the issue, is this supposed to happen on every package upgrade (if we do not update the skd) or has been handled ?
Thanks


Modify target sent when redirected

The animation occurs on the user of Follow Me/Rage Powder, as if it was targeted. The user of redirection should not know which Pokemon was targeted initially, which is disclosed on PS due to the animation.

Not 100% sure if this is the best way to implement this, but it was the simplest idea I could think of. It's probably important enough for the doubles community to look at anyway.
Could possibly look to use this for https://github.com/Zarel/Pokemon-Showdown/pull/2438#issuecomment-192032470 too

Watch where the redirect event occurs and run your function there instead of in all of these event handlers, I think.
At any rate, someone might come up with a better solution anyways.

As far as I can tell, this is the only place that deals with redirecting a target https://github.com/Zarel/Pokemon-Showdown/blob/master/battle-engine.js#L470-L476 but, if it's put there how does in interact with other moves that listen to RedirectTarget like Mirror Coat?

Updated. Thoughts on the actual implementation?

Hmm. How is the message from Mirror Coat structured? Does our implementation list the Pokemon it attacks?
We might need to check how Counter interacts with Follow Me, etc. anyways. @Marty-D?

I don't think it's the best way to do it, but the best way to do it is a lot harder to implement than this. This seems to be the simplest fix.

@ascriptmaster, since Lightning Rod can redirect Counter (which we tested), Follow Me can too.


[Message template] UI corrections 2

EPAM AI DIAL chat version
0.18.0
How to reproduce
Open Message template window
Actual result

All resolutions: change paddings as shown in the screenshot

DESKTOP AND TABLETS ONLY: change paddings

MOBILE ONLY: change paddings

Remove word "message" from the mobile context menu

Expected result
1-2.

3.

https://www.figma.com/design/lwL5jneveZczAj5RLcLFH2/DIAL-Chat?node-id=12326-85217&t=LCoGf0T9P8jYTnWW-1
Confidential information

[X] I confirm that do not share any confidential information

Verified on staging env. Reported #2306


Cannot upload one file via 3g

Hey,
After getting the "Cannot allocate memory" problem when uploading multiple files via 3g I tried to merge all files into just one and upload that. However I am still getting the error.
The file is 2.6 megabytes, uploads fine via WiFi and I have plenty of free memory on the device.
When using the experimental-stream-file-from-url branch the error pops around when getting to 80% done. With the latest stable version the error now occurs after 100%.
The code is this:
NSMutableURLRequest *request = [[DIOSSession sharedSession]
    multipartFormRequestWithMethod:@"POST"
    path:[NSString stringWithFormat:@"%@/%@", kDiosEndpoint, @"demotix_services_story/upload"]
    parameters:params
    constructingBodyWithBlock: ^(id <AFMultipartFormData> formData) {
          NSError *error;
          if (![formData appendPartWithFileURL:[NSURL fileURLWithPath:filePath] name:@"joined" error:&error]) {
              NSLog(@"An error occured: %@", error);
          }
          else {
              NSLog(@"No error");
          }
}];

AFHTTPRequestOperation *operation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
[operation setUploadProgressBlock:^(NSInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) {
    [delegate updateUploadProgress:totalBytesWritten from:totalBytesExpectedToWrite];
}];

[operation setCompletionBlockWithSuccess:success failure:failure];
[operation start];

Thanks,
Andu

@mattt do you know if throttling is still needed? Was this only a problem on iOS 6 and earlier?


Integrate AI Chatbot

@Anu27n  Sir i would love to work over this issue , can you please assign this to me.

@PRAteek-singHWY Sure, Please can you star this repo, I have assigned you.

@Anu27n if @PRAteek-singHWY is not doing this one than can i do it ?

@Anas-Rehberlik yes please do it thanks man!, its pending for  2 weeks

@Anas-Rehberlik yes please do it thanks man!, its pending for 2 weeks

ya thats why i thought to do it , thanks. and
what type of chatboat you want like FAQ bot kind of and live chat option or  predefined responses ? and what should be the design ? and what tech stack like pre built chatboat or custom etc
do you have any reference or example

@Anas-Rehberlik For our chatbot, I want to use the ChatGPT API key. Basically i want chatgpt ai chatbot
Type: Let's focus on a ChatGPT bot for dynamic responses.
Design: Please keep the interface simple and user-friendly.
Tech Stack: For our ChatGPT bot, I think this should work:
Frontend: React.js for the user interface
Backend: Node.js with Express for handling API requests
API: OpenAI ChatGPT API for natural language processing
Database: MongoDB or Firebase

@Anas-Rehberlik For our chatbot, I want to use the ChatGPT API key. Basically i want chatgpt ai chatbot
Type: Let's focus on a ChatGPT bot for dynamic responses. Design: Please keep the interface simple and user-friendly. Tech Stack: For our ChatGPT bot, I think this should work:
Frontend: React.js for the user interface Backend: Node.js with Express for handling API requests API: OpenAI ChatGPT API for natural language processing Database: MongoDB or Firebase

I have one doubt that for a website like this 603 where it is about services than why we should add chatgpt to it like user want to ask question related to business and chatgpt api is not free  after certain trial

@Anas-Rehberlik yeah you are right its pricy, just make simple AI chatbot.

@Anas-Rehberlik yeah you are right its pricy, just make simple AI chatbot.

how it can be simple and AI at the same time 😅, I think for such website where the question are limited like predefind question which user can ask related to the services , for that we have two best option
1st make use of chatboat services like collect.chat or if you want AI kind of boat than use chatbase.co  and for that you have to create account on this services than we can use there api to connect with site and thats it.
and another option we can have is ,
to develop custom chatboat using react on client site and than defined some predefined question with answer there ,without need of any API or backend.
now i would like to know from you that which one do you want ?

@Anas-Rehberlik  Thanks for the detailed suggestions! Both options sound great. For simplicity and faster integration, I think the first option using a chatbot service like chatbase.co seems ideal, as it provides that AI feel. Could you go ahead with that approach?

@Anas-Rehberlik Thanks for the detailed suggestions! Both options sound great. For simplicity and faster integration, I think the first option using a chatbot service like chatbase.co seems ideal, as it provides that AI feel. Could you go ahead with that approach?

Ok but to use any of such services you have to create account there than share me the credentials than I’ll handle the rest of the setup. and i have just checked that chatbase only give 20 msg credit per month free than for more you have to take subscription.
If you dont want to do that than other option we can have is i make custom bot using react with predefined question answer.

@Anas-Rehberlik  If that’s a concern, we can definitely go with your custom React bot idea. The example video you shared looks great, and I think a custom bot with predefined Q&A and a better UI could be a good solution too.

@Anas-Rehberlik If that’s a concern, we can definitely go with your custom React bot idea. The example video you shared looks great, and I think a custom bot with predefined Q&A and a better UI could be a good solution too.

Ok sure I will do it.

@Anas-Rehberlik If that’s a concern, we can definitely go with your custom React bot idea. The example video you shared looks great, and I think a custom bot with predefined Q&A and a better UI could be a good solution too.

Hi @Anu27n ,
I have submitted a pull request (#138) that adds a "Chatbot" based on the specifications we discussed. Please review the changes, and would appreciate any feedback you may have.
Thank you!

@Anas-Rehberlik  Merged thank you


A small typo on README.md

Hi, I just found your project and it's interesting me. I'm expecting Swift will be used beyond iOS/OSX dev.
I read README.md first and got a little bit strange part.
In Controller section,
You define MyController and in main.swift you added controller this
app.use(path: "/test", controller: Test())

I can't test your example since I'm having a problem to install Swift 2.2, but in my programming sense it's supposed to be
app.use(path: "/test", controller: MyController())

rather Test() I think?
Could you check it out and if my guess is right I would be happy to make change.
Thanks,

You're correct, sloppy pasting by myself there :).


New: add COLR/CPAL font formats

The COLR/CPAL format is already very popular, and we should support it as soon as possible.
Test Case

https://at.alicdn.com/t/project/2433183/81b0b90c-6c73-4541-8f1e-3814b86099e1.html

Screenshot
More: https://www.yuque.com/u7268/iconfont/colr-test

Native support

Windows 8.1+, Doc
macOS High Sierra(10.13)+
iOS 11+

Browser support test tool

https://pixelambacht.nl/chromacheck/

Chromium engine browser

Chrome 71 supports COLR fonts https://www.chromestatus.com/feature/5897235770376192
Opera: 58 ≈ Chrome 71 https://help.opera.com/en/opera-version-history/#58
Samsung Internet: <IP_ADDRESS> ≈ Chrome 71
Microsoft Edge: The first version of Microsoft Edge based on the Chromium engine was Chromium 79, so it supports COLR fonts. https://en.wikipedia.org/wiki/Microsoft_Edge#Anaheim_release_history

Fixes: https://github.com/Fyrd/caniuse/issues/2458
I will submit the COLRv1 format in a future PR.

@Fyrd PTAL

Looks good, thanks!


initial implementation

Background
Link to issue
https://biomage.atlassian.net/browse/BIOMAGE-1236
Link to staging deployment URL
In UI repo
Links to any Pull Requests related to this
UI - https://github.com/biomage-ltd/ui/pull/416
API - https://github.com/biomage-ltd/api/pull/191
Anything else the reviewers should know about the changes here
Download are streamed
Still have to write unit test.
Changes
Code changes
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[ ] Unit tests written
[X] Tested locally with Inframock (with latest production data downloaded with biomage experiment pull)
[X] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[ ] Relevant Github READMEs updated
[ ] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

Not needed anymore, data download can be done in the UI without having to create the blob.


Unable to run ManageIQ application on default port 3000

• I am trying to run ManageIQ application on my Centos 7 system using develper setup link
http://manageiq.org/docs/guides/developer_setup
• After executing the following commands
bin/setup                              # Installs dependencies, config, prepares database, etc
bundle exec rake evm:start   # Starts the ManageIQ EVM Application in the background
• It shows the message as follows:-
Using session_store: ActionDispatch::Session::MemCacheStore
Starting EVM...
Running EVM in background...
• The document says that, by default application runs on port number 3000.
• But when I checked for the port's in use on my system, it does not show that any application has allocated port number 3000. Thus, unable to run the ManageIQ application on my system. Please help.

Did you check the log\evm.log file? This is where most of the errors will be logged.

@SachinJagtap93 can you close this issue as it's better to submit here: talk.manageiq.org

i build code success and Running EVM in background...
but i cant not  application runs on port number 3000.