bug(autocomplete/select): Icons inside mat-option no longer vertically aligned

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
14.x
Description
[Regression between legacy implementation and new MDC implementation]
In the legacy implementation, icons placed inside mat-options were correctly vertically aligned by default. In the new MDC implementation this is no longer the case.
Unlike the MDC menu item icons, mat-option icons will be rendered inside the list item text region, so they do not get aligned by the flexbox. This means that adding the matListItemIcon directive doesn't help either.
As an aside, it is unclear to me whether the list item directives should be supported inside mat-option. If not, will we have to wait for option-specific analogs for each of these directives to become available?
Reproduction
Correct vertical alignment with legacy implementation:
https://stackblitz.com/edit/angular-vcdh27-b2futv?file=src/app/select-overview-example.ts
Incorrect vertical alignment with MDC implementation:
https://stackblitz.com/edit/angular-vcdh27?file=src/app/select-overview-example.ts
Expected Behavior
Either

the alignment behavior should be unchanged, or
the change in behavior should be documented in the changelog

Actual Behavior
The aligment is different and this is not mentioned in the changelog or migration guide
Environment

Angular: 15.0.0
CDK/Material: 15.0.0
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

Same problem with Tabs
https://material.angular.io/components/tabs/examples#tab-group-custom-label
https://v14.material.angular.io/components/tabs/examples#tab-group-custom-label


Track Teku

Track the most important features in the road to Eth2 multiclient in DAppNode of the Teku client.

[x] Implement web3signer support
[x] Immplement validator remote keymanager API: :rocket: https://github.com/dappnode/DAppNodePackage-Teku-Prater/pull/56
[x] Implement fee recipient: https://github.com/dappnode/DAppNodePackage-teku-prater/pull/64
[x] Run as separated services
[x] Checkpoint sync
[x] DAppNode package for Gnosis chain
[x] DAppNode package for mainnet
[x] Implement JWT

This has already been solved


The camera's connectivity varies depending on the USB port.

OS: Ubuntu 22.04
ROS Distro: Humble
turtlebot4_Humble+ Create3-H_1.2
Expected behaviour
The camera needs to work properly
Actual behaviour
If I connect the camera USB to USB 2.0, there is no problem. However, it does not work when I connect the camera to USB 3.0.
To Reproduce

When I connected the camera to USB 2.0.

As you can see from the photo, when I ran dmesg, it indicates that the connection did not get disconnected. Additionally, camera-related values are displayed correctly.

When I connected the camera to USB 3.0

As shown in the photo, when I ran dmesg, it indicated that the USB got disconnected. Additionally, in the camera topic list, the camera is listed but no values are displayed. Furthermore, the camera works fine until it is connected to the PC, but as soon as it is connected, the camera connection gets interrupted.
Is it okay to use the camera on USB 2.0? What are the possible solutions to this issue?

Can you share the logs from the turtlebot4 service when you are using USB 3.0?
sudo journalctl -u turtlebot4 -r

May 24 02:23:15 ubuntu turtlebot4-start[988]: [INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/oakd' in container '/oakd_container'
May 24 02:23:15 ubuntu turtlebot4-start[988]: [component_container-6] [INFO] [1684894995.718442955] [oakd]: Camera ready!
May 24 02:23:15 ubuntu turtlebot4-start[988]: [component_container-6] [INFO] [1684894995.353593053] [oakd]: Finished setting up pipeline.
May 24 02:23:15 ubuntu turtlebot4-start[988]: [component_container-6] [INFO] [1684894995.299845955] [oakd]: Pipeline type: RGB
May 24 02:23:15 ubuntu turtlebot4-start[988]: [component_container-6] [INFO] [1684894995.294922269] [oakd]: Device type: OAK-D-PRO-AF
May 24 02:23:15 ubuntu turtlebot4-start[988]: [component_container-6] [INFO] [1684894995.272513090] [oakd]: USB SPEED: SUPER
May 24 02:23:15 ubuntu turtlebot4-start[988]: [component_container-6] [INFO] [1684894995.267831923] [oakd]: Camera with MXID: 18443010B1AE361300 and Name: 1.1.1 connected!
May 24 02:23:12 ubuntu turtlebot4-start[988]: [rplidar_composition-5] [INFO] [1684894992.935454768] [rplidar_composition]: current scan mode: Sensitivity, max_distance: 12.0 m, Point number: 7.9K , angle_compensate: 2, flip_x_axis 0
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.749033742] [AnalyzerGroup]: Group 'Turtlebot4' has a match with my analyzer '/Turtlebot4/Create3'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.749013539] [AnalyzerGroup]: Group '/Turtlebot4/Create3' has a match with my analyzer 'Mouse'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.748957818] [GenericAnalyzer]: Analyzer 'Mouse' matches 'turtlebot4_diagnostics: /mouse topic status'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.748715265] [AnalyzerGroup]: Group 'Turtlebot4' has a match with my analyzer '/Turtlebot4/Create3'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.748684210] [AnalyzerGroup]: Group '/Turtlebot4/Create3' has a match with my analyzer 'IMU'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.748517009] [GenericAnalyzer]: Analyzer 'IMU' matches 'turtlebot4_diagnostics: /imu topic status'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.748382399] [AnalyzerGroup]: Group 'Turtlebot4' has a match with my analyzer 'Camera'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.748345826] [GenericAnalyzer]: Analyzer 'Camera' matches 'turtlebot4_diagnostics: /color/preview/image topic status'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.748225346] [AnalyzerGroup]: Group 'Turtlebot4' has a match with my analyzer 'Camera'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.748186828] [GenericAnalyzer]: Analyzer 'Camera' matches 'turtlebot4_diagnostics: /stereo/depth topic status'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.748035015] [AnalyzerGroup]: Group 'Turtlebot4' has a match with my analyzer 'Lidar'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747975701] [GenericAnalyzer]: Analyzer 'Lidar' matches 'turtlebot4_diagnostics: /scan topic status'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747696446] [AnalyzerGroup]: Group 'Turtlebot4' has a match with my analyzer '/Turtlebot4/Create3'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747677372] [AnalyzerGroup]: Group '/Turtlebot4/Create3' has a match with my analyzer 'Hazards'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747647799] [GenericAnalyzer]: Analyzer 'Hazards' matches 'turtlebot4_diagnostics: Hazard Detections'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747531022] [AnalyzerGroup]: Group 'Turtlebot4' has a match with my analyzer '/Turtlebot4/Create3'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747509634] [AnalyzerGroup]: Group '/Turtlebot4/Create3' has a match with my analyzer 'Dock'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747478949] [GenericAnalyzer]: Analyzer 'Dock' matches 'turtlebot4_diagnostics: Dock Status'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747364025] [AnalyzerGroup]: Group 'Turtlebot4' has a match with my analyzer '/Turtlebot4/Create3'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747346043] [AnalyzerGroup]: Group '/Turtlebot4/Create3' has a match with my analyzer 'Wheels'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747305544] [GenericAnalyzer]: Analyzer 'Wheels' matches 'turtlebot4_diagnostics: Wheel Status'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.747049881] [AnalyzerGroup]: Group 'Turtlebot4' has a match with my analyzer '/Turtlebot4/Create3'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.746973326] [AnalyzerGroup]: Group '/Turtlebot4/Create3' has a match with my analyzer 'Battery'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.744865189] [GenericAnalyzer]: Analyzer 'Battery' matches 'turtlebot4_diagnostics: Battery Voltage'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.744081829] [AnalyzerGroup]: Group 'Turtlebot4' has a match with my analyzer '/Turtlebot4/Create3'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.744049867] [AnalyzerGroup]: Group '/Turtlebot4/Create3' has a match with my analyzer 'Battery'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [aggregator_node-10] [INFO] [1684894992.743916683] [GenericAnalyzer]: Analyzer 'Battery' matches 'turtlebot4_diagnostics: Battery Percentage'.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [rplidar_composition-5] [INFO] [1684894992.364481798] [rplidar_composition]: Start
May 24 02:23:12 ubuntu turtlebot4-start[988]: [component_container-6] [INFO] [1684894992.193928202] [oakd]: No ip/mxid specified, connecting to the next available device.
May 24 02:23:12 ubuntu turtlebot4-start[988]: [component_container-6] [INFO] [1684894992.044797571] [oakd_container]: Instantiate class: rclcpp_components::NodeFactoryTemplate<depthai_ros_driver::Camera>
May 24 02:23:12 ubuntu turtlebot4-start[988]: [component_container-6] [INFO] [1684894992.042987559] [oakd_container]: Found class: rclcpp_components::NodeFactoryTemplate<depthai_ros_driver::Camera>
May 24 02:23:12 ubuntu turtlebot4-start[988]: [rplidar_composition-5] [INFO] [1684894991.468558396] [rplidar_composition]: RPLidar health status : '0'
May 24 02:23:12 ubuntu turtlebot4-start[988]: [rplidar_composition-5] [INFO] [1684894991.465559048] [rplidar_composition]: Hardware Rev: 7
May 24 02:23:12 ubuntu turtlebot4-start[988]: [rplidar_composition-5] [INFO] [1684894991.465518364] [rplidar_composition]: Firmware Ver: 1.29
May 24 02:23:12 ubuntu turtlebot4-start[988]: [rplidar_composition-5] [INFO] [1684894991.465358866] [rplidar_composition]: RPLIDAR S/N: DA83EDF9C7E29BCEA7E39EF24A504304
-- Boot d1fd29f5b72e4703b7dc9ec85816d225 --
May 24 02:22:07 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894927.760029094] [turtlebot4_node]: start_motor service completed.
May 24 02:22:07 ubuntu turtlebot4-start[981]: [rplidar_composition-5] [INFO] [1684894927.759243421] [rplidar_composition]: Ingnoring start_motor request because rplidar_node is in 'auto standby' mode
May 24 02:22:07 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894927.557805530] [turtlebot4_node]: start_motor service available, sending request
May 24 02:22:06 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894926.547127274] [turtlebot4_node]: RPLIDAR started
May 24 02:22:06 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894926.546835667] [turtlebot4_node]: OAKD started
May 24 02:21:52 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894912.812771084] [turtlebot4_node]: stop_motor service completed.
May 24 02:21:52 ubuntu turtlebot4-start[981]: [rplidar_composition-5] [INFO] [1684894912.811855524] [rplidar_composition]: Ingnoring stop_motor request because rplidar_node is in 'auto standby' mode
May 24 02:21:52 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894912.546896886] [turtlebot4_node]: stop_motor service available, sending request
May 24 02:21:51 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894911.536275703] [turtlebot4_node]: RPLIDAR stopped
May 24 02:21:51 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894911.536077614] [turtlebot4_node]: OAKD stopped
May 24 02:17:06 ubuntu turtlebot4-start[981]: [ERROR] [component_container-6]: process has died [pid 1206, exit code -6, cmd '/opt/ros/humble/lib/rclcpp_components/component_container --ros-args -r __node:=oakd_container -r __ns:=/'].
May 24 02:17:05 ubuntu turtlebot4-start[981]: [component_container-6]   what():  Couldn't read data from stream: '__rpc_main' (X_LINK_ERROR)
May 24 02:17:05 ubuntu turtlebot4-start[981]: [component_container-6] terminate called after throwing an instance of 'dai::XLinkReadError'
May 24 02:16:59 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894619.749405839] [turtlebot4_node]: start_motor service completed.
May 24 02:16:59 ubuntu turtlebot4-start[981]: [rplidar_composition-5] [INFO] [1684894619.746571854] [rplidar_composition]: Ingnoring start_motor request because rplidar_node is in 'auto standby' mode
May 24 02:16:59 ubuntu turtlebot4-start[981]: [component_container-6] [INFO] [1684894619.572786278] [oakd]: No ip/mxid specified, connecting to the next available device.
May 24 02:16:59 ubuntu turtlebot4-start[981]: [component_container-6] [INFO] [1684894619.572591671] [oakd]: Starting camera.
May 24 02:16:59 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894619.570511265] [turtlebot4_node]: start_motor service available, sending request
May 24 02:16:59 ubuntu turtlebot4-start[981]: [turtlebot4_node-1] [INFO] [1684894619.569818351] [turtlebot4_node]: oakd/start_camera service available, sending request
Based on the provided information, you requested camera service, but the camera is not connecting. So, you ran 'sudo dmesg -w' to check if the device is properly connected, and it indicated that one USB connection failed. The following information shows the status of the devices.
[   37.039233] usb 1-1.1: USB disconnect, device number 3
[   37.784299] usb 2-1: new SuperSpeed USB device number 3 using xhci_hcd
[   37.809242] usb 2-1: New USB device found, idVendor=03e7, idProduct=f63b, bcdDevice= 1.00
[   37.809276] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   37.809282] usb 2-1: Product: Luxonis Device
[   37.809287] usb 2-1: Manufacturer: Intel Corporation
[   37.809292] usb 2-1: SerialNumber: 18443010B1AE361300
[   42.975995] usb 2-1: USB disconnect, device number 3
[   45.199974] usb 1-1.1: new high-speed USB device number 6 using xhci_hcd
[   45.304706] usb 1-1.1: New USB device found, idVendor=03e7, idProduct=2485, bcdDevice= 0.01
[   45.304730] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   45.304738] usb 1-1.1: Product: Movidius MyriadX
[   45.304745] usb 1-1.1: Manufacturer: Movidius Ltd.
[   45.304751] usb 1-1.1: SerialNumber: 03e72485

Does this happen with both USB 3 ports? Also can you try this again with the RPLIDAR and any other USB devices disconnected?

The same issue occurs where the camera does not turn on in two USB 3.0 ports. Furthermore, as you suggested, when I disconnected the RPLIDAR and ran it on a USB 3.0 port, a new problem arose. The camera works fine until the robot finishes booting, but once the booting process is complete, the camera no longer works

What do you mean by The camera works fine until the robot finishes booting? Are you getting this from dmesg?
Also, do you have a TurtleBot 4 lite or standard?

I am currently using Turtlebot4 standard. Today, I double-checked, and it seems that what I mentioned earlier was incorrect. When I tried again after disconnecting the RPLIDAR and other USB devices, the camera connected to USB 3.0 did not work. Among many robots, only this robot seems to be unable to use the camera when it is connected to USB 3.0.

This issue is being closed due to inactivity. If you are still experiencing the issue, feel free to reopen this ticket when you are ready to continue the troubleshooting process.


Adding option for viewing all items of a section in one page

In order to avoid pages navigation on large sections i've added an
option to load all items of a section in a single page

more likely that its related to the webos player itself and not the code.
did you try to see if it works with regular dlna and not plex media center initiated streams?


Add a new parameter to have an option to choose TCP socket creation

Describe your changes
Changing 'Use TLS'  parameter 's default option from yes to no in the manifest.json.
Adding a new parameter 'TCP Socket' to choose TCP socket creation.
Issue ticket number and link
https://jira.se.axis.com/browse/ACAPSDK-1545
Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have verified that the code builds perfectly fine on my local system
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have verified that my code follows the style already available in the repository
[x] I have made corresponding changes to the documentation

I have tested the following possibilities:
TCP-yes
TLS-yes
IPC- yes
API listens on both TCP ::2376 and IPC /var/run/docker.sock
TCP-yes
TLS-yes
IPC- no
API listens on TCP ::2376
TCP-yes
TLS-no
IPC- yes
API listens on both TCP ::2375 and IPC /var/run/docker.sock
TCP-no
TLS-no
IPC- yes
API listens on  IPC /var/run/docker.sock
TCP-no
TLS-yes
IPC- yes
Warning: "Set UseTLS as 'no' when TCP socket is set as 'no'."
TCP-yes
TLS-no
IPC- no
API listens on TCP ::2375
TCP-no
TLS-no
IPC- no
API listens on  IPC /var/run/docker.sock since IPC socket is default.

Changes:
TCP-no
TLS-yes
IPC-yes
API listens on IPC /var/run/docker.sock
TCP-no
TLS-no
IPC- no
Dockerd doesn't start.
Warning: Dockerd fails to start. Either IPC socket or TCP socket should be selected

Change merged to main via cherry-pick from docker-acap repo


Local build of Mediapipe Hair Segmentation

Hi,
Thank you for the nice work. I tried your implementation through the docker server but I want to build it locally? How can I go about building your media pipe version which has this hair segmentation python functionality on my local system?

i have same problems,could  you solve it?


Use pg_advisory_locks against deadlocks and overlaps

I suspect locking race conditions to be the cause of deadlocks and overlapping jobs.
Using advisory_locks on blocks of code seems more solid than relying on select_for_update. I experimented locally with two workers doing update requests and timeouts. It seemed the locking did not work regardless the PG isolation level. Instead, using SELECT pg_advisory_lock(lock_id) worked as expected.
I guess it would not impact performance significantly as dequeueing jobs is not the bottleneck currently.
TODO take care of unlocking advisory locks in case of blackout.
#QF-3103

Task linked: QF-2664 Investigate Job error: deadlocks in it

Close it because found better solutions. Further this would need more research and understanding to handle locks securely.


Copying a Lab with Qemu VM's does not copy the configs

When copying a Lab with a Qemu VM the VM is not started with HDA.qcow in the tmp folder. This causes all Qemu VM to start in a blank state.
Steps to reproduce:

Create a Qemu VM node and make a change and save the change
2)Shutdown VM
Copy Lab
Start VM

Affects:
Alcatel vSR
Linux
Juniper VSRX
(Other Qemu node's probably)
Workaround:
None Known

Logs from attached
unl_wrapper.txt

Logs Attached
unl_wrapper.txt

can you show via teamviewer?

You're not using the UNetLab kernel.

Issue Still Present when using Unetlab kernel
alsenior@labserver 8:05 ~ uname -a
Linux labserver 3.16.7-ckt8-unetlab #1 SMP Thu Apr 23 17:44:20 IDT 2015 x86_64 x86_64 x86_64 GNU/Linux


[Dataset][Time filter] Allow setting a global or dataset-level default time range

Is your feature request related to a problem? Please describe.
Currently new charts are created with the default time range filter value set to "Last week". This may make sense for some businesses, but often cause confusion when users didn't notice this filter is being implicitly applied.  Experienced users may even have learned the first thing they do when creating a new chart is to reset this to No filter (or whatever is the best for their dataset).
Describe the solution you'd like
It would be ideal if we can provide a global, as well as database and dataset-level settings on the default Time Range filter when creating a new chart. For dataset-level configuration, we may even allow it to be configurable for each datetime column.
We can start simple with global level configuration that each business can adjust for their own needs. In the future, in the spirit of doing less implicit things, we should probably also consider setting the default global config to "No filter".
Or we can focus on implementing the dataset level config, and set it as "Last week" for all existing datasets.
Describe alternatives you've considered
Simply changing the default to "No filter" may not be desired because time filters have impact on the performance of db queries and setting "No filter" as global default may cause undesired long running queries, especially when a chart start running new queries right after creation (e.g. table chart).
Additional context
Ref: https://github.com/apache/superset/pull/13109#issuecomment-778928053

I agree with this change - setting time range filter at the dataset-level. the reason we set filter to default "Last week" is to prevent users from running expensive explorational query. Not sure about changing default to"No filter" though, shouldn't we allow user to set default? or similar to ad-hoc filter, store value in local storage as user's own default?

https://github.com/apache/superset/issues/12542 related

@junlincc the idea IS to allow users to set default. I was just proposing we don't set the initial default. Once the global setting for default time filter is added, Superset may ship with the global config as "No filter" because it is the most neutral choice. It also forces organizations to pick a default value that makes the most sense to them.
We could also just focus on Dataset level settings and make the default time range filter a required field when creating a new dataset.

We could also just focus on Dataset level settings and make the default time range filter a required field when creating a new dataset.

@ktmud
Will asking new users to setup default time range filter be too confusing at the first place? since the user need is coming from those who have been forced to switch range from "Last week" to "No Filter". Why not store new "default" at local storage?

I think remembering users' last selected time filter MAY work, but it doesn't solve the problem of the initial default "last week" not making sense to certain datasets (i.e. those who don't update every week). We still need a dataset-level default.
We can drop the idea of making it a required field as I imagine it'd be quite hard to implement a good UX for it---especially considering most virtual datasets are created from SQL Lab.

what about setting [max date -7, max date) of any dataset by default? @ktmud

That's a great idea, but I'm not sure how easy it is implement, though--both engineering and design-wise. We need a clean design to communicate this default value to users clearly, and it's needs to be performant.

engineering wise, shouldn't be too hard. and if min and max dates in dataset can be detected, do we still need any configuration?

I like the idea of being able to define a global default time range in superset_config.py (this would be the one e.g. the native filter defaults to), and then being able to override it per dataset.

@junlincc It's not easy engineering wise.

Thanks to everyone who has contributed to the discussion. Closing this issue as it seems this should be accounted for in most recent versions of Superset.


Docs: Improve spelling on readme

Summary
Fix up various spelling issues in the README
Related issues
N/A
Changes these areas

[ ] Bugfixes
[ ] Feature behavior
[ ] Command line interface
[ ] Configuration options
[ ] Internal architecture
[ ] Snapshot data layout on disk
[x] Documentation

Thanks for these fixes. I will merge it this time because you collected quite a few in one PR (but be aware that I normally don't accept typo-only PRs).


Paper of this repository.

Do you have a paper discribed this implementation. I would like to see the comparision with others model and baseline (tacotron2 + waveglow)

Hi, we unfortunately do not have the (time) resources currently to write papers, the closest would be FastSpeech, which the current implementation is based on: https://arxiv.org/abs/1905.09263
We did some non-scientific internal comparisons of Tacotron and ForwardTacotron with WaveRNN where ForwardTacotron performed slightly better, but that's anecdotal.

Hi, we unfortunately do not have the (time) resources currently to write papers, the closest would be FastSpeech, which the current implementation is based on: https://arxiv.org/abs/1905.09263
We did some non-scientific internal comparisons of Tacotron and ForwardTacotron with WaveRNN where ForwardTacotron performed slightly better, but that's anecdotal. We would of course be happy about a real comparison if anyone would like to contribute.

Do you compared inference latency of forward tacotron with orther parallel tacotron like fastspeech?

We will do a comparison soon, hopefully. The latencies in the FastSpeech paper are done with batch size of 1, which is an unrealistic setting for production systems, so we probably will recompute the latencies for FastSpeech as well.


[Bug] emphasis is not applied to series-custom

Version
5.4.2
Link to Minimal Reproduction
https://codepen.io/intijk/pen/qBJJLWr
Steps to Reproduce
For a series-custom type, add emphasis in it.
Current Behavior
custom emphasis was not applied to dataview
Expected Behavior
custom emphasis should apply to dataview, in the reported case, should come with shadow.
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
Same emphasis usage in this cartesian coordinate system(official example) works fine.
No response

emphasis should be in the return object of renderItem
          emphasis: {
            style: {
              shadowBlur: 10, shadowColor: 'rgba(0, 0, 0, 0.5)'
            }
          },

NB: please close issue if problem solved.


"Uncaught SyntaxError: Unexpected end of JSON input appears" if to drag&drop chat/prompt folder from Pinned to Today/Recent

Open browser console
Create a folder for chat
Using drag&drop move the folder from Pinned chats to Today section
Note that the folder isn't moved -> ok, but on drop action exception appears in console -> bug

Note: the same is for prompt folder
Expected result: no exception
Remember: check drag & drop between chats and prompts

Verified on staging server successfully


[QHC-238] Quick fix to qprogram multiple bus acquisitions

Temporary fix, assumes 2 things:

each bus points to only 1 qrm.sequencer
assumes that the name of the bus contains at least 1 integer (qubit number). If it contains more than one integer, it assumes that the qubit number is the first one, eg readout_q0_bus gets qubit=0

Sorry to ask this after having the implementation, but could we consider a more clean approach, so we don't need to have assumptions about namings? There is an easy and quick solution that should work with any bus/acquisition name:
If we add a port parameter in the get_qprogram_acquisitions() method of ReadoutSystemControl we can move the information of the specific sequencer to acquire from down to the instrument. In the same way we do in the upload() method:
# Bus calls the system control with port=self.port
self.system_control.upload_qpysequence(qpysequence=qpysequence, port=self.port)

# SystemControl passes the port to the instrument method
def upload_qpysequence(self, qpysequence: QpySequence, port: str):
        """Uploads the qpysequence into the instrument."""
        for instrument in self.instruments:
            if isinstance(instrument, AWG):
                instrument.upload_qpysequence(qpysequence=qpysequence, port=port)
                return

        raise AttributeError("The system control doesn't have any AWG to upload a qpysequence.")

# QbloxModule finds the correct sequencer using the port
def upload_qpysequence(self, qpysequence: QpySequence, port: str):
        sequencers = self.get_sequencers_from_chip_port_id(chip_port_id=port)
        for sequencer in sequencers:
            ...

I am asking this, because I think it's super easy to implement. If you think it will complicate things we can move on with the current one. I just want to avoid having restrictions in namings. Because many examples and demos just use a drive_bus / readout_bus.


No mysql_static

I hope you can help me here. For the versions before the r41 we had that mysql_static file which is no where to be found.
I tried that Centos7 version it gave me error that you told in FAQ question 2.
Tried installing the libmysqlclient_r.so.18 but the error we had was
 file /usr/lib64/mysql/libmysqlclient.so.18.0.0 from install of compat-mysql55-5.5.45-1.el6.remi.x86_64 conflicts with file from package mariadb-libs-1:5.5.50-1.el7_2.x86_64
Tried installing with _r and it gave error
No package libmysqlclient_r.so.18 available.
I tried the debian8 static version as it said static in it.
That gave me errors that are in FAQ question 1, but the problem is our gcc is
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
So moving on i tried the other file left and it gave the same error.
So one thing you stated that we should use mysql_static file which I can't find anywhere in R41-2.

Try yum install mariadb-devel.i686 mariadb-devel.x86_64
It should provide the following files.
/usr/lib/mysql/libmysqlclient_r.so
/usr/lib64/mysql/libmysqlclient_r.so

Thanks this worked!


Python 2

There are a few minor bugs wrt Python 2, especially with unicode strings, and another just added in 0.3.0 when using the optional round() syntax.
Most importantly with Python 2 and unicode, there are not enough tests that pin-point the bugs, which helps identify how major or minor they are, and helps motivate doing the easy wins, leaving the bigger problems until there is external motivation, which may never eventuate given Python 2 status.


Launch PXT with javascript instead of Blocks

We see that some teachers want to start with text-based coding not blocks (for example, for older children) and a way to launch PXT directly to the Javascript Editor would be great.

We could add another card in the projects dialog: "New Javascript Project"

https://pxt.microbit.org/75837-34664-43430-24077 shows that if one shares when in javascript mode, it is indeed shared in javascript with edit also going into javascript.
Not a solution as such, just an observation.

@microsoftsam @pelikhan we're looking at our 'code' page to align with upcoming RC and would like to know if there's an entrypoint straight to 'new project in JS' yet or whether we should publish an empty JS script and go from there (would prefer not to do that as it's a bit of a hack!)
J

Are you looking at opening a JS-only project?
Do you want to force create a new project or just open an existing one?

Good question: I think the equivalent behaviour to visiting pxt.microbit.org and then clicking 'js' as soon as I arrive

I guess we could have a "#javascript" route that handles that.

This is won't fix for now.


[Add] Freefrontend to Themes and Templates (subcategory) and  IconsScout to Illustrations(subcategory)

Site URL
https://freefrontend.com/ , https://iconscout.com/
Description of the above provided site
Freefrontend :- It is a free and open-source collection of high-quality, responsive, and accessible front-end components and templates. It is a great resource for designers and developers who want to create beautiful and user-friendly websites and applications.
iconscout :- Get millions of 3Ds, icons, illustrations, Lottie animations, and best-in-class search tools for your website, mobile app or project with the IconScout API.
Category
Frontend
Sub Category
themes & templates , illustrations
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am participating in Hacktoberfest 2023

@Abhishek19-dev
I'm stunned by freefrontend. Crazy resource!
I have assigned you the issue. Please proceed with it, and don't hesitate to tag me @Anmol-Baranwal or @CBID2 if you require any assistance.


when call SetupMapper,it can't load and tips: "invalid argument"

my code is as follows:

exec result:

it's can't work , because it unrecognizable the cmd : DM_TABLE_LOAD (0xc138fd09)

ioctl:

why?

Also check kernel logs using dmesg as it might contain additional debug information.

I just added a test for SetupVolume and it works fine.
So check dmesg it will provide more information about this error. It could be a problem with the LUKS volume (e.g. it is too small).
Print content of the volume struct with fmt.Printf("%+v\n", volume) right before SetupMapper(). Also, print the device dump with sudo cryptsetup luksDump /dev/sdb. This will give you more information.

I just added a test for SetupVolume and it works fine.
So check dmesg it will provide more information about this error. It could be a problem with the LUKS volume (e.g. it is too small).
Print content of the volume struct with fmt.Printf("%+v\n", volume) right before SetupMapper(). Also, print the device dump with sudo cryptsetup luksDump /dev/sdb. This will give you more information.

dump info:
cryptsetup luksDump /dev/sdb
LUKS header information for /dev/sdb
Version:        1
Cipher name:    aes
Cipher mode:    xts-plain64
Hash spec:      sha1
Payload offset: 4096
MK bits:        256
MK digest:      71 cc 0b cd a2 ce 80 9a ae cd 87 99 18 8e 6b df e0 45 77 90
MK salt:        40 7f c1 ae e8 7c c2 9f 0e 64 95 68 fd e5 22 20
e4 11 b7 47 8a 1c 76 e7 42 e4 98 62 cc e3 d4 05
MK iterations:  89875
UUID:           3284a821-42de-4557-847c-ea45dfdcb3d8
Key Slot 0: ENABLED
Iterations:             376469
Salt:                   16 b2 ef f7 8d 04 89 f0 91 da 6e 21 7d 33 d6 67
2b 1a 33 b9 a2 f2 3d 68 13 18 72 ea 00 0c 26 8f
Key material offset:    8
AF stripes:             4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
the volume output as follow:
volume = &{backingDevice:/dev/sdb flags:[no-read-workqueue no-write-workqueue] uuid:3284a821-42de-4557-847c-ea45dfdcb3d8 key:[4 116 80 150 14 114 234 58 127 84 197 160 100 57 18 237 82 118 221 98 107 39 87 91 177 47 40 140 75 55 147 60] luksType:LUKS1 storageEncryption:aes-xts-plain64 storageIvTweak:0 storageSectorSize:512 storageOffset:2097152 storageSize:10735321088}
cmd=0xc138fd03
the dmeg output as follow:
Jun 15 09:30:36 qicheng kernel: [686367.269611] device-mapper: table: 252:0: crypt: Invalid feature arguments
Jun 15 09:30:36 qicheng kernel: [686367.270205] device-mapper: ioctl: error adding target to table

The dmesg contains the reason: table: 252:0: crypt: Invalid feature arguments. The "feature" in this context is the list of dmcypt flags like no_read_workqueue. One of the flags is not recognized by your kernel.
Could you please modify the function func (v *Volume) SetupMapper(name string) and add fmt.Printf("%+v\n", kernelFlags) right before calling devmapper.CreateAndLoad()?
Also please tell me your Linux kernel version with uname -a?

fmt.Printf("%+v\n", kernelFlags)

kernelFlags = [no_read_workqueue no_write_workqueue]
# uname -a
Linux qicheng 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:34:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

could tell me which special options need to turn on in the kernel?

fmt.Printf("%+v\n", kernelFlags)

kernelFlags = [no_read_workqueue no_write_workqueue]
# uname -a
Linux qicheng 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:34:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Alright I see the problem. flags FlagNoReadWorkqueue and FlagNoWriteWorkqueue were added to Linux only in 5.4. And your kernel is really old (4.4.0).
Please remove dev.FlagsAdd(luks.FlagNoReadWorkqueue, luks.FlagNoWriteWorkqueue) part from the code and the example should work.

it work well,thanks a lot.


Stopping at around 20%

Tried using the script today, I have about 800 songs thumbed up. It starts out great, but stops about 20-22% with no error.

@daveaperez Hi! I updated the script today in an attempt to assist with this issue. First, I moved storage of the results to local storage instead of in browser memory.
Second, and the more likely culprit, is that your browser is moving too fast on a slow connection with Pandora and the script was bugging out, or thinking it had finished because it reached the bottom of the page.
I've added an option to control the speed at which the process will run. Try setting it to SLOW at the prompt and see if you have more luck. Maybe walk away for a bit, because it could take awhile - but hopefully it will finish now.  🎸

@daveaperez  It appears that Pandora has a feature that if you idle on a page for too long, it shifts you to the "Now Playing" screen.  I managed to export only 230 at Normal speed while afk.  I swapped to fast and just moved the mouse left and right (no clicking) and it appeared to get through 799/800 with a few errors in the middle.  The output looks good, I have not researched what the error impact was.


Add Octavian to benchmark Project.toml

Hmm, this is unfortunate. It's only there for the validation, right? Can't we do something lazy, like https://github.com/JuliaGPU/GPUCompiler.jl/blob/962b84ed84cffc268ce1c28b1c71037566622f24/src/reflection.jl#L60-L62 ?

It's only in the benchmarks/Project.toml, not in the Project.toml in the root, so that doesn't matter, right?

Ah, I missed that. Carry on.

Benchmarks bump into an illegal memory access now, which is weird, because the configuration where it happens should also be run in CI, and it's fine there:
[ Info: Running benchmark WMMA GEMM Float16*Float16+Float32=Float32 (256×256) · (256×256) (TN) Block (256, 64, 64) Warps (2, 2) OP (16, 16, 16)...
ERROR: LoadError: CUDA error: an illegal memory access was encountered (code 700, ERROR_ILLEGAL_ADDRESS)
throw_api_error(res::CUDA.cudaError_enum)
   @ CUDA ~/.cache/julia-buildkite-plugin/depots/3105e5d3-28f0-4cf0-b90b-02786f04b8f6/packages/CUDA/htRwP/lib/cudadrv/libcuda.jl:27
check
   @ ~/.cache/julia-buildkite-plugin/depots/3105e5d3-28f0-4cf0-b90b-02786f04b8f6/packages/CUDA/htRwP/lib/cudadrv/libcuda.jl:34 [inlined]
cuCtxSynchronize
   @ ~/.cache/julia-buildkite-plugin/depots/3105e5d3-28f0-4cf0-b90b-02786f04b8f6/packages/CUDA/htRwP/lib/utils/call.jl:26 [inlined]
profile_internally(f::var"#473#profiled_code#24"{Configuration, CuArray{Float32, 2, CUDA.Mem.DeviceBuffer}, CuArray{Float32, 2, CUDA.Mem.DeviceBuffer}, CuArray{Float16, 2, CUDA.Mem.DeviceBuffer}, CuArray{Float16, 2, CUDA.Mem.DeviceBuffer}}; concurrent::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ CUDA.Profile ~/.cache/julia-buildkite-plugin/depots/3105e5d3-28f0-4cf0-b90b-02786f04b8f6/packages/CUDA/htRwP/src/profile.jl:269
profile_internally(f::Function)
   @ CUDA.Profile ~/.cache/julia-buildkite-plugin/depots/3105e5d3-28f0-4cf0-b90b-02786f04b8f6/packages/CUDA/htRwP/src/profile.jl:239
macro expansion
   @ ~/.cache/julia-buildkite-plugin/depots/3105e5d3-28f0-4cf0-b90b-02786f04b8f6/packages/CUDA/htRwP/src/profile.jl:62 [inlined]
   @ /var/lib/buildkite-agent/builds/ripper/julialang/gemmkernels-dot-jl/benchmarks/runbenchmarks.jl:120
include(fname::String)
   @ Base.MainInclude ./client.jl:478
   @ none:10
🚨 Error: The command exited with status 1

Benchmarks bump into an illegal memory access now, which is weird, because the configuration where it happens should also be run in CI

Benchmarks don't run with --check-bounds=yes.

I can only reproduce the illegal memory access locally on 1.9, seems to be fixed in 1.10. Let's bump benchmarks to Julia 1.10 and see if that fixes things.

I can only reproduce the illegal memory access locally on 1.9, seems to be fixed in 1.10. Let's bump benchmarks to Julia 1.10 and see if that fixes things.

@maleadt Expired GH token?
2024-01-26 18:56:26 CEST	ERROR: LoadError: Error found in GitHub reponse:
2024-01-26 18:56:26 CEST		Status Code: 422
2024-01-26 18:56:26 CEST		Message: Validation Failed
2024-01-26 18:56:26 CEST		Docs URL: https://docs.github.com/rest/issues/comments#create-an-issue-comment
2024-01-26 18:56:26 CEST		Errors: Any[Dict{String, Any}("message" => "Body is too long (maximum is 65536 characters)", "field" => "data", "code" => "unprocessable", "resource" => "IssueComment")]

Let's just merge this for now so we at least have some form of benchmarking. I'll keep track of the remaining problems in an issue.


[T2A3] [W04-not_confirmed] Yoshiaki Nishimura

Ready for review

Accepting this PR without a review because another of your PRs for this tutorial was reviewed in detail.


How to set custom parameters / variables / "Schlagwort"

Hi,
I seem to have problems with adding custom parameters to a tracking call. I'm using version 4.10.0 with a Swift 4 project, my deployment target is iOS 10. I do not use autotracking or tag integration, everything is being tracked manually.
Everything else works just fine, I can, for example, set a content group which will also be sent.
Here's the initialization:
public static func initTracking() {
    guard let configurationFile = Bundle.main.url(forResource: "webtrekk_config",
                                                  withExtension: "xml") else {
        fatalError("Cannot locate webtrekk_config.xml")
    }
    try! WebtrekkTracking.initTrack(configurationFile)
}

and here's the code for the actual tracking:
public static func trackPageImpression(_ webtrekkData: WebtrekkData) {
    guard let contentId = webtrekkData.contentId,
          let contentGroup = webtrekkData.contentGroup,
          var customParameter = webtrekkData.customParameter else {
        return
    }

    customParameter["cs1"] = Helper.isLoggedIn() ? "1" : "0"

    DispatchQueue.main.async {
        let tracker = WebtrekkTracking.instance().trackerForPage(contentId)

        for parameter in customParameter {
            tracker[parameter.key] = parameter.value
        }

        tracker.pageProperties.groups = contentGroup
        tracker.variables = customParameter
        tracker.trackPageView()
    }
}

An example for an entry in the contentGroup looks like this: TrackingValue = 1, value = "someString", and the customParameter is a [String : String] dictionary with example values of: "1" : "anotherString", "2" : "yetAnotherString", "cs1" : "0", ....
For reference, my WebtrekkData object looks like this:
public struct WebtrekkData {
    var contentId: String?
    var contentGroup: [Int : TrackingValue]?
    var customParameter: [String : String]?
    var launchLiveaccount: String?
}

Again, everything but the custom parameters work just fine, even though I tried assigning them to the tracker as a dictionary (tracker[parameter.key] = parameter.value) and assigning them to the tracker's variables property (tracker.variables = customParameter). They appear as "null" in the dashboard under "Schlagwort" (dashboard is in German).
Any help would be greatly appreciated!

Hi @mobru, thanks for reaching out. Could you let me know (by email or pn) which account this is? I believe the problem might be in the setup.

Hi @olebahlmann! Thanks for the quick reply. I sent you an email (I already have your address from a previous conversation, please let me know if you didn't get the mail)!

Hi @mobru
Can you log the data you get here in the for-loop:
       for parameter in customParameter {
            tracker[parameter.key] = parameter.value
        }

and also the tracker object:
   let tracker = WebtrekkTracking.instance().trackerForPage(contentId)

Thanks!

Hi @MBing!
This might be a dumb question, but - how exactly do you want me to log it?

@mobru
Did you write any tests? Then it would also be easier to check that we actually get something back. My first impression is that the for loop looks good. But I am not sure about the tracker object you get back, which methods/keys you can use with them. There used to be some tests where we used tracker.variables["test"] = "test" but these were commented out and I would need to have a look into the docs why that is still in there.
You could use:
https://github.com/Webtrekk/iOS-SDK-Example-App
This should be an example application with some mocks doing some tests. But unfortunately I don't have a test in there for your specific case with the usage of trackerForPage. So I need to look into it. Otherwise you could just print the output of a request (Debug). In the example app there are some examples on how we log the data. In order to retrieve if the request is working and what is being received by the request.
Hope this helps and yeah I will look into it.

Hi @mobru
So below I have an example that should work better. A few notes:

To check if the user is logged in we need to add this to the tracker.sessionDetails and we will create the cs1 for Customer Session 1 and cs2 for Customer Session 2 etc..
To set custom Page Parameters in your case, you need to add it to the tracker.pageProperties.details dictionary which uses an [Int: String] structure. So below make sure the structure is the same. This way you could also skip the for-loop of course.
The identifier of your page should be set in the end after all the tracker params are set and you only need to create an instance in the beginning. Then you can just add the unique id to your trackPageView method which expects a String.
If for any case the tracker.pageProperties.details do not seem what you need (which is possible of course), then yes use tracker.variables = customParameters and you can keep the structure of your current dict [String: String].

// so either [Int: String]
tracker.variables = customParameters
// OR [String: String]
tracker.pageProperties.details = customParameters
// I added the 's' as there will be more than 1
// and then you should be able to skip the for-loop

Full example and make sure to change the customParameter Dictionary to a [Int: String] structure if you want to use the pageProperties.details. And of course make the variable plural would also be advised for clarity.
public static func trackPageImpression(_ webtrekkData: WebtrekkData) {
    guard let contentId = webtrekkData.contentId,
          let contentGroup = webtrekkData.contentGroup,
          var customParameters = webtrekkData.customParameters else {
        return
    }

    DispatchQueue.main.async {
        let tracker = WebtrekkTracking.instance()
        tracker.sessionDetails[1] = Helper.isLoggedIn() ? "1" : "0"
        tracker.pageProperties.groups = contentGroup
        tracker.pageProperties.details = customParameters
        tracker.trackPageView(contentId)
    }
}

Hope this helps and let me know if you have further questions/problems.

Hi again @MBing!
Thank you very much for the example and your suggestions!
Unfortunately, instantiating the tracker with WebtrekkTracking.instance() creates a Tracker object, whereas WebtrekkTracking.instance().trackerForPage(contentId) creates a PageTracker. And the Tracker object lacks the sessionDetails, pageProperties, and variables properties.
Trying to cast to Tracker to a PageTracker -
guard let tracker = WebtrekkTracking.instance() as? PageTracker else { return }

does not work either. And even if it would, I couldn't call trackPageView() with my contentId String as a Parameter.
What I could do, is instantiating the tracker as before, and assigning my custom parameters to pageProperties.details (see code below) - but you said the the tracker should not be instantiated like this in my case?
public static func trackPageImpression(_ webtrekkData: WebtrekkData) {
    guard let contentId = webtrekkData.contentId,
          let contentGroup = webtrekkData.contentGroup,
          let customParameters = webtrekkData.customParameters else {
        return
    }

    DispatchQueue.main.async {
        // call trackerForPage() to get a PageTracker object
        let tracker = WebtrekkTracking.instance().trackerForPage(contentId)

        tracker.sessionDetails[1] = Helper.isLoggedIn() ? "1" : "0"
        tracker.pageProperties.groups = contentGroup
        tracker.pageProperties.details = customParameters

        // no parameter
        tracker.trackPageView()
    }
}

That is actually ok, it was more that I couldn't find an example on the usage of trackerForPage so I wasn't sure on how it will work. But your implementation, given the fact that you get a PageTracker back should also work. The trackPageView argument is optional.
So your last implementation works?

It looks like it!
After adding the WebTrekk debug logs
WebtrekkTracking.defaultLogger.minimumLevel = .debug
WebtrekkTracking.defaultLogger.testMode = true

and looking at the console output, everything seems to be sent!
I need to re-check with the people in charge of tracking / marketing for this project if everything arrives as well, but it looks like using tracker.pageProperties.details instead of tracker.variables (the for tracker[parameter.key] = parameter.value loop) for the custom parameters did the trick!
Assuming that everything does arrive (which it should) - thank you very much for your help @MBing and @olebahlmann!

Great! Then I will close this issue.

let tracker = WebtrekkTracking.instance().trackerForPage(contentId)

Hi @mobru - I have the requirements to create a content group, action parameter, site parameter, custom parameter, and formulare. Could you please share me how did you create a content group and how did you call "trackPageImpression" method? and what is "TrackingValue"?

Hi @pradeepktg !
The trackPageImpression() method is just a custom method I wrote myself. Each appropriate class calls it when it's time to track a page impression (e.g. in viewDidAppear and when the tracking data is set).

how did you create a content group

As I wrote above, the custom WebtrekkData struct I used looks like this:
public struct WebtrekkData {
    var contentId: String?
    var contentGroup: [Int : TrackingValue]?
    var customParameter: [String : String]?
    var launchLiveaccount: String?
}

So a content group is a dictionary with an integer key and a string (or rather: a TrackingValue) as its value. For example:
[1 : "foo", 2 : "bar"]

The TrackingValue comes from Webtrekk itself, see the class TrackingValue.swift in the Webtrekk lib. You can initialise one like this:
TrackingValue(stringLiteral: "foo")

I hope this helps - good luck with implementing all your requirements!

Thanks, @mobru. Yes, I understand trackPageImpression() is a custom method. Below is my implementation, hope it will work.
public struct WebtrekkData {
    var contentId: String?
    var contentGroup: [Int : TrackingValue]?
    var customParameter: [Int : TrackingValue]? // I changed from [String : String], because I was getting the folowing error - Cannot assign value of type '[Int : String]' to type '[Int : TrackingValue]?'
    var launchLiveaccount: String?
}

func trackPageImpression(_ webtrekkData: WebtrekkData) {
        guard let contentId = webtrekkData.contentId,
            let contentGroup = webtrekkData.contentGroup,
            let customParameters = webtrekkData.customParameter else {
                return
        }

        DispatchQueue.main.async {
           let tracker = WebtrekkTracking.instance().trackerForPage(contentId)
//            for parameter in customParameters {
//                tracker[parameter.key] = parameter.value
            //            }
            tracker.pageProperties.groups = contentGroup
            tracker.pageProperties.details = customParameters
        }
    }

override func viewWillAppear() {
       let params = [1: TrackingValue.constant("Sample content Group 1")]
        let group = [1: TrackingValue.constant("Contentgroup 1")]
        let data = WebtrekkData.init(contentId: "Quickstart_iOS", contentGroup: group, customParameter: params, launchLiveaccount: nil)
        trackPageImpression(data)
}

By the way, do you know how to send feedback? somewhere I read, we can send a max of 255 Characters. I have custom form and it has custom formfield. I just need to send the form name, form field name and value. It would be great if you can share your knowledge if you had done this before

Hi again!
I guess this should work. But don't forget to call tracker.trackPageView() after settings its properties (it's missing in your snippet at the moment).
As for feedback - I unfortunately have no idea. Best check the documentation or open an issue if you can't find anything on it there.
Oh and also: you should probably call trackPageImpression() in viewDidAppear, not in viewWillAppear. Otherwise it might get called too often (on an incomplete edge-swipe for example). But I guess that depends on what exactly you want to track.

Oh yes, I was cleaning the code and missed the tracker.trackPageView()while sending to you. Ok, now i'm calling the function in viewDidAppear. I'll update you if it works. Thanks again.

@mobru It works. Thanks! Now I left with sending the Feedback.


Refactor the profile requirement in TransformationRulePass

Consider separating the functionality to annotate resource usage from the profile class to create a cleaner internal implementation.

This is addressed in PR #137.


Recent viewed section

I want to have a section in HomeScreen that shows recently played movies or shows and I will be able to resume them.

Before that, we need to have a source for streaming. Do you want to mock the streaming feature (as it is now) and implement this feature?
And, How do you want to store recently played movies and shows?
I guess we have 3 options:
1- Sync with Trakt
2- Sync with a stream provider (Using their API)
3- Sync locally in SP or DB

I think the mock stream is enough for now, and I think about saving it locally, a table of the combination of movie ID and the elapsed time of the movie.

Do you want to add this feature as part of hacktoberfest challenge or you are willing to contribute to this project?
if it is hacktoberfest, we can discuss on some issues toward hacktoberfest goals, otherwise I should explain what I am thinking for the feature of this project and then we pick some issues.

Actually both.
But my goal is to contribute.
I can work on what you think is more important right now.

Alright, I'll add some short-term and long-term user stories by tomorrow.

Dear @hadi-norouzi, I added a few user stories to pick from.
#12 #13 #14 #15 #16, you can spilt each story to relevant PRs and please let others know if you started to work on any story.
And one more thing. Do not hesitate to suggest any other changes or features.


Permissions for Elements

It would be really nice to have permissions for elements. My current case is, that I wanted a few elements editable for a user in the admin section but a few elements set to readonly for them.
Is there currently a way to do this?

I think this would make for a really nice feature. There could be a "Permisisons" tab on the element editor dialog screen.
You could probably implement this today yourself using a custom module. Adding a "Permissions" tab would be the first step (definitely possible), but I am not sure if there's an elegant way to render elements in "design" mode in a disabled state. However, they are shapes in the end, so you could probably wrap them in a "disabled" shape template.

Thank you for the answer!
I will give it a try. Furthermore it would be really nice to have elements able to be edited from the frontend like tinymce and maybe written like the InlineEditing Feature.
I really love Orchard but for my endcustomers it is often a bit difficult in terms of usability. I think frontend inline editing would be a real blast.
Any thoughts on this?


Template tag starting with builtin tag or function highlighted incorrectly

As you can see the parses sees a custom template tag form_input as a function (for) and highlights only that part. Also happens with other "reserved" keywords. Happy to provide any more info if needed. Thanks!

Good catch! I will take a look and see if there is an obvious solution.

Should be fixed in 8873e3d.

Fixed, thanks!


⚠ Bofrost.at has degraded performance

In 13a88bf, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1844 ms

Resolved: Bofrost.at performance has improved in e0fe4c4 after 6 minutes.


Day 7, Part 1, Part 2

I need to come up with a better way to write those 2 sort_with_compare functions. I was definitely fighting V today with capture groups (which I agree with, just getting used to the strict rules). I would like to just be able to pass in a different map to allow the sorting function to have 2 different behaviors, that would reduce a lot of duplicate code.

This seems to pass the checks:
    comparator := fn (m map[rune]int) fn (mut a []string, mut b []string) int {
        return fn [m](mut a []string, mut b []string) int {
            if a[2] < b[2] {
                return -1
            } else if a[2] > b[2] {
                return 1
            }
            for i := 0; i < 5; i++ {
                if m[a[0][i]] == m[b[0][i]] {
                    continue
                } else if m[a[0][i]] < m[b[0][i]] {
                    return -1
                } else {
                    return 1
                }
            }
            return 0
        }
    }
    if part_2 {
        lines.sort_with_compare(comparator(card_to_val_2))
    } else {
        lines.sort_with_compare(comparator(card_to_val))
    }

Would a closure help? lines.sort_with_compare(fn [mut some_map](mut a []string, mut b []string) int {

Perfect! That is exactly what I was trying to do.


New version: DMRJtensor v0.9.6

Registering package: DMRJtensor
Repository: https://github.com/bakerte/DMRJtensor.jl
Created by: @bakerte
Version: v0.9.6
Commit: 7544804bdeda04bc1a2afda02a74640369affd6e
Git reference: v0.9.6
Description: A general purpose tensor network library in the Julia programming language
Release notes:

FIxes and improvements for autoMPO and general

This looks like a Julia issue. Please reply if a human sees this. Says "Dirty Registry" on the package merge/update. I don't see any issues with my package in this error.


Decoding fail

command:
xin26x_test.exe -i BasketballDrive_1920x1080_50.yuv -w 1920 -h 1080 -f 50 -a 2 -p 1 -b 2000000 -o test.bin
xinConfig:
InputFileName = BasketballDrive_1920x1080_50.yuv
OutputFileName = test.bin
ReconFileName =
inputWidth = 1920
inputHeight = 1080
STATUS: Xin26x lib build date: Aug 18 2020 21:17:24.
Start coding...
Complete coding.
501 frames encoded, coding speed fps:53.9057 bitrate: 2029.17 kbps.
./DecoderApp -b test.bin -o test.yuv
VVCSoftware: VTM Decoder Version 10.0 [Linux][GCC 7.5.0][64 bit] [SIMD=AVX2]
ERROR: In function "decompressSlice" in /home/ldu/VVCSoftware_VTM-VTM-10.0/source/Lib/DecoderLib/DecSlice.cpp:266: Expecting a terminating bit
Total Time:        0.011 sec.

i will look into it.

Thanks for reporting. it is fixed now.  please try following command line:
xin26x_test.exe -i BasketballDrive_1920x1080_50.yuv -w 1920 -h 1080 -f 50 -a 2 -p 1 -r 1 -b 2000000 -o test.bin


python3Packages.python-memcached: 1.51 -> 1.59

Description of changes
Package python-memcached instead of python3-memcached.

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 171754 run on x86_64-linux 1

4 packages failed to build and already failed to build on hydra master:

python310Packages.graphite-web: log was empty
python310Packages.influxgraph: log was empty
python39Packages.graphite-web: log was empty
python39Packages.influxgraph: log was empty

91 packages built:

awslimitchecker
cloudflare-dyndns (python39Packages.cloudflare-dyndns)
cmake-language-server
commitizen
home-assistant-component-tests.airnow
home-assistant-component-tests.eafm
home-assistant-component-tests.github
home-assistant-component-tests.iqvia
home-assistant-component-tests.meteo_france
home-assistant-component-tests.modern_forms
home-assistant-component-tests.onboarding
home-assistant-component-tests.openuv
home-assistant-component-tests.overkiz
home-assistant-component-tests.prosegur
home-assistant-component-tests.radio_browser
home-assistant-component-tests.roku
home-assistant-component-tests.simplisafe
home-assistant-component-tests.tesla_wall_connector
home-assistant-component-tests.toon
home-assistant-component-tests.velbus
home-assistant-component-tests.wled
home-assistant-component-tests.yale_smart_alarm
ioccheck
poetry2conda (python39Packages.poetry2conda)
python310Packages.aioeafm
python310Packages.aiogithubapi
python310Packages.aiomodernforms
python310Packages.aria2p
python310Packages.backoff
python310Packages.beaker
python310Packages.cachy
python310Packages.censys
python310Packages.cloudflare-dyndns
python310Packages.geocachingapi
python310Packages.hypothesis-auto
python310Packages.jedi-language-server
python310Packages.meteofrance-api
python310Packages.pipenv-poetry-migrate
python310Packages.poetry
python310Packages.poetry2conda
python310Packages.pyairnow
python310Packages.pyiqvia
python310Packages.pyopenuv
python310Packages.pyoverkiz
python310Packages.pyprosegur
python310Packages.pyramid_beaker
python310Packages.python-memcached
python310Packages.radios
python310Packages.rokuecp
python310Packages.simplisafe-python
python310Packages.tesla-wall-connector
python310Packages.teslajsonpy
python310Packages.toonapi
python310Packages.velbus-aio
python310Packages.versionfinder
python310Packages.wled
python310Packages.yalesmartalarmclient
python39Packages.aioeafm
python39Packages.aiogithubapi
python39Packages.aiomodernforms
python39Packages.aria2p
python39Packages.backoff
python39Packages.beaker
python39Packages.cachy
python39Packages.censys
python39Packages.elegy
python39Packages.geocachingapi
python39Packages.hypothesis-auto
python39Packages.jedi-language-server
python39Packages.meteofrance-api
python39Packages.pipenv-poetry-migrate
python39Packages.poetry
python39Packages.pyairnow
python39Packages.pyiqvia
python39Packages.pyopenuv
python39Packages.pyoverkiz
python39Packages.pyprosegur
python39Packages.pyramid_beaker
python39Packages.python-memcached
python39Packages.radios
python39Packages.rokuecp
python39Packages.simplisafe-python
python39Packages.tesla-wall-connector
python39Packages.teslajsonpy
python39Packages.toonapi
python39Packages.velbus-aio
python39Packages.versionfinder
python39Packages.wled
python39Packages.yalesmartalarmclient
theharvester
zerobin


My command is now showing dispatch_failed

My command just started showing dispatch_failed error
/onboard failed with the error "dispatch_failed"
It shows across all the bot I have  and the API is not getting called (no logs from my end)
Please what could be the cause ?

I tried using the url to test  but I got 'There is a glitch error'  but I am getting an error across all my slack apps  that has commands
https://api.slack.com/apps/A04T4F7M77Z/onboard
https://api.slack.com/apps/A059VGUMQLD/onboard

Hi @suavelad! :wave: The dispatch_failed usually occurs when your app doesn't respond to a slash command and might be caused by a misconfigured URL. This also might be why no logs are being received by your bot.
Visiting the https://api.slack.com/apps/.../onboard URLs directly will expectedly error with 'There is a glitch' – our 404 page – since these pages are for app configuration itself. I don't think there's a way to test these commands using URLs like so, but these can instead be checked by calling a slash command in a workspace and watching the logs.
If you're using request URLs, could you check that each slash command has the correct request URL configured by going to Features > Slash Commands > Edit icon? Alternatively, Socket Mode should handle this configuration automatically.
Please let me know if the dispatch_failed error isn't solved by either case! It seems like your app has configured these correctly, so I am thinking this error is caused by an unexpected request URL.

Glad to hear Socket Mode is working for you!
The .start() on your SocketModeHandler is a blocking call and might be preventing the rest of your API from handling other requests. Replacing this with .connect() might allow other your Django app to handle requests while your Slack app is still running.
Mixing Socket Mode with HTTP requests might be strange though, so if this doesn't seem to work I would check out the Django integration example for a way to run a Django server with Slack app listeners.
Please feel free to follow up if neither of these examples are suitable for your use case though!

Hi @zimeg
It works but however I noticed the following:
==> I have 3 bot apps : one for dev, staging and prod
when I ran the app.command on prod using socket mode, it was the dev bot that responded. Please what could be the cause?
==> Secondly, my prod app is under review by your team, I will lik to generate an app token to aid my socket mode in production but it not available due to the on going app submission review. Please how can I generate the app token in production while it is still in review?
==> On the http request mode, after I deleted the slash command and recreated it severally, it worked  for the dev bot app.
but staging and production is not working . Just showing the dispatch error

@suavelad Perhaps all the dev/staging/prod apps have the same name slash command, right? If that's the case, only the most recently installed one works in a workspace. Refer to the document for details: https://api.slack.com/interactivity/slash-commands#naming_your_command
As for the review-related question, going with Socket Mode is not allowed for publicly listed apps on the App Directory. Thus, as long as you plan to publish it there, Socket Mode is not available for it. That being said, you can still use Socket Mode for dev and staging apps without any issues. If my understanding of this is outdated, please ask the question directly to the review team. You can reply to the email you've received from them.
I hope this helps.

Hi @seratch ,
Thanks for the clearification.
How can I fix  the dispatch error I am getting with the HTTP request mode  when I use the command.
It suddenly started working in my dev bot app but it just showing dispatch error for the other app.
No error on my backend console

In this case, your "dev" app overwrites other slash commands (check the above link to learn the reason). That's why other apps' commands do not reach to your app servers. I'd suggest naming those commands with a suffix, such as /my-command-dev for dev and /my-command for prod. I hope this clarifies.

Hi @seratch ,
Thank you for the clarification
I really appreciate it.
Lastly, I would like to paint a scenario and get guidance on how to implement it.
I sent dm  block messages to User A, User B and User C to confirm an item and once one of them confirms (User B), I will like to update the  block messages for User A and User C.
How can I achieve it .

To achieve your goal, your app needs to have a database to manage the "state" of confirmation. You can design it as you like, but one possible example would be to save one row in a confirmation table along with multiple rows in a sent_message table (which includes the DM's channel ID, ts, and the ID from the confirmation table). Once any of them is confirmed, your app can query the database and perform a chat.update API call for the remaining sent_message ones. I hope this helps you.

chat.update works for block too ?.
I will try it.
Thank you

For the chat.update, can I pass user_id as channel for slack dm conversations ?

Blocks can be included in calls to chat.update and will overwrite existing any blocks. There's some nuance if this isn't included but blocks already exists, so going to link to the docs here – check out the blocks argument.
A user_id won't work for this method, so to update a DM conversation the conversation ID of the DM will have to be used. This starts with a D and can be gathered from the response of a chat.postMessage that uses the user_id for a channel.


RDKTV-7404: No Dolby Indicator

Reason for change:1) Added support for audio format
update event
2) Added dsGetAudioFormat API
Test Procedure: Verify audio format method & event
notification
Risks: None
Signed-off-by: Deekshit Devadas<EMAIL_ADDRESS>

This change set is cherry-picked from stable2.


I have added some features in my forks, but I formatted code so it's inconvenient to make a pull request

Ignore my hack style in the code, some features are:

configure to exclude folder from option list
cache rencent used folders and put them top of the list
remove text 'Bookmarks Bar' from option as it's the only root of all my bookmarks

Thanks for your wonderful extension.

It's already in my fork


feat: add windows dev compat. with cross-env

Hi @kvnang can you check this out and if it works on Mac merge this? Thanks!
https://www.loom.com/share/e98b899fd58949c69b0a441467454ef2

Works great on Mac, thanks @pwil30!


fix spotify by using older libgcrypt

regarding #8156. Does this look ok, Or should I override the default derivation in place in pkgs.spotify only?

Built locally, thanks.


Improved example by showing a full sample app

Fixes #3 by making the example app show all kinds of commands - from getting the latest app link, listening to new app links, parsing dynamic parameters and navigating to such a page.

Thanks for your support!


Update references to Go 1.21 in docs

What does this PR do?:

Updates references to the Go runtime in the documentation to refer to Go 1.21, added in #212.
Which issue(s) this PR fixes:

PR acceptance criteria:
Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened and linked to this PR, if they are not in the PR scope due to various constraints.

[ ] Unit/Functional tests

[ ] QE Integration test

[X] Documentation (READMEs, Product Docs, Blogs, Education Modules, etc.)

[ ] Client Impact

[ ] Gosec scans

How to test changes / Special notes to the reviewer:

Client Impact

N/A


Uncaught TypeError: (0 , _jupyterJsServices.getKernelSpecs) is not a function

[Enter steps to reproduce below:]

...
...

Atom Version: 1.10.2
Electron Version: 0.37.8
System: Mac OS X 10.11.3
Thrown From: jupyter-notebook package, v0.0.9
Stack Trace
Uncaught TypeError: (0 , _jupyterJsServices.getKernelSpecs) is not a function
At /Users/danielpedraza/.atom/packages/jupyter-notebook/lib/notebook-editor.js:260

TypeError: (0 , _jupyterJsServices.getKernelSpecs) is not a function
    at Socket.<anonymous> (/Users/danielpedraza/.atom/packages/jupyter-notebook/lib/notebook-editor.js:260:13)
    at emitOne (events.js:90:13)
    at Socket.emit (events.js:182:7)
    at readableAddChunk (_stream_readable.js:153:18)
    at Socket.Readable.push (_stream_readable.js:111:10)
    at Pipe.onread (net.js:531:20)

Commands
  3x -9:26.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -7:23.9.0 editor:newline (atom-text-editor.editor.is-focused)
     -7:23 editor:newline-below (atom-text-editor.editor.is-focused)

Config
{}

Installed Packages
# User
file-icons, v1.7.19 (active)
highlight-selected, v0.11.2 (active)
jupyter-notebook, v0.0.9 (active)
minimap, v4.25.0 (active)
minimap-find-and-replace, v4.5.1 (active)
minimap-highlight-selected, v4.4.0 (active)
pretty-json, v1.6.0 (active)
python-tools, v0.6.8 (active)
tablr, v1.5.3 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.1.0 (inactive)
base16-tomorrow-light-theme, v1.1.1 (inactive)
one-dark-ui, v1.5.0 (active)
one-light-ui, v1.5.0 (inactive)
one-dark-syntax, v1.3.0 (active)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.5.3 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.41.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.39.0 (active)
find-and-replace, v0.201.0 (inactive)
fuzzy-finder, v1.3.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.1 (active)
image-view, v0.58.2 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v0.53.1 (active)
notifications, v0.65.0 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2 (active)
snippets, v1.0.2 (active)
spell-check, v0.67.1 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.0 (inactive)
tabs, v0.100.2 (active)
timecop, v0.33.2 (active)
tree-view, v0.208.2 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.34.0 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.1 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

I have been struggling with this issue for a while when trying to open any notebook... but I could not figure out go to get it solved... :(
Atom Version: 1.11.1
Electron Version: 0.37.8
System: Ubuntu 16.04.1
Thrown From: jupyter-notebook package, v0.0.9

I have the same thing, but I can't solve it. Any ideas?

Atom Version: 1.11.2
System: Mac OS El Captian
Thrown From: jupyter-notebook package, v0.0.9
same error.

I also have the same issue.
[Enter steps to reproduce below:]

...
...

Oh the banes of namespace changes...

@glopesRobot Good catch! Feel free to submit a PR for this fix 👍

This repo is not being actively maintained 🙁 In the meantime, I suggest that you look at nteract, which is a Jupyter notebook client built using Electron (the same native app shell that is used by Atom), React, Redux, RxJS, etc. and it has a lot of momentum. It goes without saying that you also have Jupyter Notebook and its WIP successor JupyterLab.
Having said that, nteract is currently extracting its many components into separate packages which will allow them to be reused and assembled to create new apps. When I have the time, I would like to use them to completely refactor this project.


JavaScript

JavaScript
User Story
As a boot camp student,
I want the pre-work notes to be structured on a webpage,
So that I can easily find and read the information.
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I scan see the four topics I learned listed along with a suggestion on what I should study first

JavaScript was applied to this Prework Study Guide.


Remove deprecated calls in web security

Linked issue
Resolves: #xxxxx
Removes deprecated calls in web security config
What kind of change does this PR introduce?

[ ] Bug fix
[ ] New feature
[ X] Refactor
[ ] Docs update
[ ] CI update

What is the current behavior?
Describe the state of the application before this PR. Illustrations appreciated (videos, gifs, screenshots).
Certain calls like csrf, oauth2Login, login, formLogin are deprecated
What is the new behavior?
Describe the state of the application after this PR. Illustrations appreciated (videos, gifs, screenshots).
Update code
Other information
Additional changes, explanations of the approach taken, unresolved issues, necessary follow ups, etc.
Requirements (all must be checked before review)

[ ] The pull request title follows our guidelines
[ ] Tests for the changes have been added (if relevant)
[ ] The latest changes from the main branch have been pulled
[ ] pnpm lint has been run successfully

@muralibasani are we ok with these security bot compains?


installer: support using a GitHub token to download assets

This does not work with the current naive file_get_contents(); at least some way of "manually" following redirects and altering the headers on different requests would be necessary, which may be more code than it's worth. GitHub accepts the Authorization header on the initial request, but then complains after the redirect:
Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified


More complete native collection support

We have some support for primitive type collection via https://github.com/netty/netty/tree/master/common/src/main/java/io/netty/util/collection.  However it would be nice to have more complete support for the primitive collections.  This would allow a reduction in memory requirements and provide the opportunity to avoid boxing/unboxing.

@nmittler - I assigned you to this and put it at 4.1.0.Beta5 for now.  Feel free to change.

Just a reminder that we should fix the types being exposed by HTTP/2 settings object to be inline with the specification after this is resolved. See https://github.com/netty/netty/pull/3563#issuecomment-88664968.

@Scottmitch @nmittler if this is only for http2 and not the core of netty we may also could just depend on something and so not need to maintain it. Just saying....

@normanmaurer - I think HTTP/2 will take advantage of it...but it is generic enough that other codecs (and users of netty potentially) should be able to take advantage.

@normanmaurer it's in the common module.  See #3576

Fixed by #3576


How to implement custom maps

I wonder if there is an example on how to implement custom maps in the constructor for Highmaps for example somethig like this:
export class AppChartPrivateDwellings {
    constructor() {
      this.options = {

        series: [
  {
    "type": "map",
    "data": [
      {
        "name": "g3776",
        "path": "M343,-165,342,-150,359,-130,356,-115,381,-91,397,-92,422,-113,428,-162,395,-157,372,-158,343,-165zM419,-192,425,-175,434,-169,440,-182,419,-192z"
      },
      {
        "name": "Western Australia",
        "path": "M10,-547,84,-595,145,-602,195,-616,238,-694,302,-742,343,-769,391,-737,391,-302,317,-282,264,-263,253,-245,166,-240,112,-213L67,-214,41,-245,60,-266,55,-314,45,-332,0,-442,24,-452,2,-501z"
      },
      {
        "name": "Northern Territory",
        "path": "M486,-823,467,-809,431,-802,412,-768,391,-737,391,-447,616,-449,616,-697,553,-742,586,-809z"
      },
      {
        "name": "Queensland",
        "path": "M616,-695,662,-666,693,-687,707,-735,710,-814,728,-849,759,-751,779,-756,802,-726,821,-637,884,-599,909,-540,936,-537,950,-504,981,-468,1000,-387,967,-385,953,-368,936,-380,903,-383,895,-373,693,-373,693,-447,616,-451z"
      },
      {
        "name": "New South Wales",
        "path": "M917,-147,929,-209,960,-261,991,-304,1000,-387,964,-380,955,-370,936,-380,907,-383,895,-373,693,-373,690,-240,729,-228,750,-223,788,-182,800,-194,871,-183,876,-161z"
      },
      {
        "name": "path3788",
        "path": "M883,-204,903,-183,910,-199,893,-211z"
      },
      {
        "name": "Victoria",
        "path": "M391,-304,455,-302,519,-271,557,-218,616,-269,605,-235,583,-201,612,-202,622,-223,628,-197,648,-192,688,-130,690,-240,693,-447,614,-449,391,-451z"
      },
      {
        "name": "Victoria",
        "path": "M817,-113,855,-125,917,-147,876,-161,869,-183,800,-194,788,-182,748,-223,690,-249,688,-130,752,-116,786,-132z"
      }
    ]
  },
  {
    "type": "mapline",
    "data": [
      {
        "name": "path3790",
        "path": "M243,-168,316,-240,457,-238,540,-152,540,-152"
      }
    ]
  }
]

      };
    }
    options: Object;
}

thanks in advance!!

Is there any angular2-highcharts specific in this question ? I think it is more about highcharts


Heating state

First of all great plugin, but I have a few things I would like to have included :)
Homekit seems to have the option to indicate if the heating is actually running based on the targetTemperature and temperature. I have this information and can also supply it to homebridge-thermostat. It would be great if this was added.

My bad, this is actually already possible, I implemented it and homekit now correctly shows if the heating is running or not.

Yeah :) From my side I'd like Apple to clarify between targetState and currentState fro GUI perspective. If you set to Target Auto, the heating will be either Heating or Cooling depending of the temperature. This will display the Heating to Heat of Cool/Off instead of Auto Heating, Auto Cooling.... If you have an insight it will be welcomed.
Best,
PJ


kconfig-frontends rendered badly, barely usable in integrated-terminal.

When running ESP-IDF menuconfig command from the integrated terminal, the rendering is bad and the arrow keys are not working.
Steps to reproduce
Follow esp-idf getting started guide:
https://docs.espressif.com/projects/esp-idf/en/latest/get-started/
Execute commands in integrated-terminal
Check output.
Expected results
When running in the installed ESP-IDF command Prompt (note arrow keys are working):

When running in Powershell:

Actual results
Same for cmd and powershell terminal (arrow keys also not working)

Bonus: in the new windows-terminal (note arrow keys are NOT working, but rendering is good):

VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (4 x 2592)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.90GB (1.14GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (14)

Extension
Author (truncated)
Version

idf-vcode-plugin
Dev
0.1.0

live-p5
fil
1.3.0

vscode-docker
ms-
0.9.0

remote-containers
ms-
0.94.0

remote-ssh
ms-
0.48.0

remote-ssh-edit
ms-
0.48.0

remote-wsl
ms-
0.41.6

vscode-remote-extensionpack
ms-
0.19.0

cpptools
ms-
0.26.2

powershell
ms-
2019.12.0

vscode-typescript-tslint-plugin
ms-
1.2.3

vscode-yaml
red
0.6.1

vscode-icons
vsc
9.7.0

material-theme
zhu
3.2.1

Moving upstream https://github.com/xtermjs/xterm.js/issues/2657


renamed EH recv_with_checkpoint_by_batch sample to by_event_count

Addressing: #15114

checks not passing because of funky things happening with the branch, so creating new branch for new commit/PR

checks not passing because of funky things happening with the branch, so creating new branch for new commit/PR


Control the image size being showed in kitty?

Hi, I was wondering if there is a way to control the size of the plot being shown on the terminal, since it always takes the whole terminal window no matter the figsize

Plot size isn't configurable at the moment.
The plot's backing figure is actually resized on draw to match the
terminal's current size. This is so that making your terminal larger
takes advantage of the additional space and making your terminal smaller
doesn't cut off parts of any subsequently rendered figure.
Could you describe your usecase for wanting differently-sized plots?

By getting different sized plots you could have a similar experience as in a jupyter notebook / lab., which was something I'm familiar with.
Also, sometimes I'll have two terminals, one with nvim and the other one with ipython. I'll iterate over my code by writing something on nvim and the executing it on ipython with something like vim-slime. In case of working with plots, being able to see how the actual image would look like when saved can help in this loop.
The last thing I can think of is when I have only ipython open, plotting it in the terminal doesn't allow me to see the previous code blocks I've written which is a little bit of an annoyance .

You can now set the environment variable MPLBACKEND_KITTY_SIZING to manual to disable the automatic resizing.


Gluster performance tuning

My first cluster of 3 nodes with 50gb SSD's landed me 30MB's in the cluster. I thought I would expand the cluster to 6 nodes and get double the performance.
/ # dd if=/dev/zero of=/tmp/test1.img bs=1G count=1
1+0 records in
1+0 records out
1073741824 bytes (1.0GB) copied, 4.994342 seconds, 205.0MB/s
/ # dd if=/dev/zero of=/test/test1.img bs=1G count=1
1+0 records in
1+0 records out
1073741824 bytes (1.0GB) copied, 26.378093 seconds, 38.8MB/s

I picked up about 8 or 9 MB's per second. My SSD's are capable of 250MB's. Is my performance bad? Can I increase it somehow?I don't think its the network, but I can run some tests from node to node and pod to node.
Thanks,
Levi

Read is a bit more acceptable but not great.
/ # dd if=/dev/zero of=/test/test.img bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.0GB) copied, 24.519925 seconds, 41.8MB/s
/ # dd if=/test/test.img of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.0GB) copied, 15.752262 seconds, 65.0MB/s

I'd definitely take a look at the network... If you're on a 1Gb network and using a replica 3 volume, you're pretty much at the limit: 1Gb/s ~ 120 MB/s ==> 120/(3 replicas) = 40 MB/s throughput.
If you're using 10G, then I'd expect better.

@JohnStrunk It's my network, only 1Gb. Remember when 1Gb was all you thought you would ever need.... Closing this.