[image-picker] Wrong file format if choosing video from Google Photos

If using ImagePicker.pickVideo(ImageSource.gallery) to pick a video from gallery, a path with .jpg is returned if Google Photos is used (even though the file is .mp4)
The issue can easily be reproduced with the image-picker example project - the video can be played, but the returned path has a wrong extension.
There was a fix for invalid paths from Goolge Photos (https://github.com/flutter/plugins/commit/9023ff2845aa43e0568b4a00d7c242506eae57e3) - but what is the purpose of returning always null?
If the complete check for isGooglePhotosUri(uri) is removed and the path is returned with getDataColumn(context, uri, null, null); everything seems to work as expected.

My be related to https://github.com/flutter/flutter/issues/47719

Is there a workaround for this? I need the path to upload to my video hosting site (Publitio, using flutter_publitio package).

Same problem here. Even if I pick a local image, it just changes the format to mp4. I am trying to upload the video with the firebase storage

@candyd8 Was able to fix this by downgrading the library version to 0.6.2

@candyd8 Was able to fix this by downgrading the library version to 0.6.2

Thank you ! This worked for me.

i have changed to 0.6.2 but still not working

i have changed to 0.6.2 but still not working, do you guys have any ideal?

Make sure you don't have a ^ character before the version number.
image_picker: 0.6.2

Same problem here. Even if I pick a local video file, it just changes the format to jpg. I am trying to upload the video to firebase storage

I've got exactly the same issue.

Same here with  the latest version.

Solved the same issue on 0.6.6 by downgrading to 0.6.2

i have changed to 0.6.2 but still not working, do you guys have any ideal?

Make sure you don't have a ^ character before the version number. It should look like this:
image_picker: 0.6.2

I have downgraded my package, yet it still doesn't work :(

v0.6.6 of this plugin is nearly useless. Didn't expect something horrible like this happening in a library maintained by Google. Do they even have tests for this plugin? Because I don't think it's possible to miss something as severe as this and completely breaking the library and even releasing a new version with that bug

i have changed to 0.6.2 but still not working, do you guys have any ideal?

Make sure you don't have a ^ character before the version number. It should look like this:
image_picker: 0.6.2

thank you sir its working for me.

i have changed to 0.6.2 but still not working, do you guys have any ideal?

Make sure you don't have a ^ character before the version number. It should look like this:
image_picker: 0.6.2

thank you sir its working for me.

after this delete .package file, clean the project and then get packages and then run.
its work

This seems to be a duplicate of https://github.com/flutter/flutter/issues/52419. I~m closing this one since https://github.com/flutter/flutter/issues/52419 has more activity and has some linked PRs. For anyone interested in this, please follow up on https://github.com/flutter/flutter/issues/52419.
Thank you


chore: Upgrade to clap v4.2

Tests in master are currently failing because its building with clap v4.2 but the tests have snapshots from v4.1

@bors r+

:pushpin: Commit 6feea34f8a089762abcd2ae7c39de285cd3f3a97 has been approved by Muscraft
It is now in the queue for this repository.

:hourglass: Testing commit 6feea34f8a089762abcd2ae7c39de285cd3f3a97 with merge a6e1e26bde26ddbc83664bcba58b6d336d0428ed...

:sunny: Test successful - checks-actions
Approved by: Muscraft
Pushing a6e1e26bde26ddbc83664bcba58b6d336d0428ed to master...

:sunny: Test successful - checks-actions
Approved by: Muscraft
Pushing a6e1e26bde26ddbc83664bcba58b6d336d0428ed to master...

:eyes: Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request.


Link Broken

The link in the about section shows 404 error

The link in the about section shows 404 error

It means that the page was nit found. Try cheking the link for proper linkage

@carlagesa yeah link was not found but i was hoping that it should point to something rather than having that link

Check if you have linked it to the correct index.html page


Add extra logger to track modelmesh

Motivation
Modifications
Result

@vaibhavjainwiz hi, do you mind rebasing your Pull Request?


[Live] Derive Top Bidder status by using sellingToBidder

Previously we would say you were the top bidder if you had the top bid, now we check if you're being sold to. The difference is subtle, but important when reserves haven't been set yet.

        1 Warning

  </th>
 </tr>

:warning:
Detected some Swift building time outliers

Time | Class | Function |
| --- | ----- | ----- |224.4ms | AuctionViewController.swift | @objc dynamic func showRefineTappedAnimated(animated: Bool)
176.1ms | SwiftyJSON.swift | get {}
164.7ms | WebSocket.swift | private func processRawMessage(buffer: UnsafePointer, bufferLen: Int)
68.7ms | Observable.swift | private final func nextTokenHash() -> Int
66.2ms | LiveAuctionsAdminViewController.swift | @objc override func viewDidLoad()
63.4ms | AuctionLotMetadataStackScrollView.swift | required init(viewModel: LiveAuctionLotViewModelType, sideMargin: String)
61.0ms | UIViewController+BlurredStatusView.swift | func ar_presentBlurredOverlayWithTitle(title: String, subtitle: String, buttonState: BlurredStatusOverlayViewCloseButtonState = default)
59.1ms | UIViewController+BlurredStatusView.swift | (closure)
55.7ms | RefinementOptionsViewController+Private.swift | func stackView() -> ORStackView

  Generated by :no_entry_sign: danger

💯


Fixing missing import namespace

This change ensures the import type prefix is respected for a few uses of the Maybe type where it currently is not.
Related: #5101
I added test coverage for the instances that I could.

Great, thank you @GreenGremlin . Can you please add a changeset? (run yarn changeset)

Great, thank you @GreenGremlin . Can you please add a changeset? (run yarn changeset)

@dotansimha done! Let me know if I did that right.

@dotansimha is there anything I can to to help get this merged?

@dotansimha don't mean to be a bother, but I thought I'd follow up on this. I'm not 100% sure I did the changeset right.

Thank you @GreenGremlin , sorry for the late reply, I'm working on merging it right now :)


UseId hook for maskIDs

Fixes https://github.com/boringdesigners/boring-avatars/issues/64
Fixes https://github.com/boringdesigners/boring-avatars/issues/47
Fixes https://github.com/boringdesigners/boring-avatars/issues/51
Fixes https://github.com/boringdesigners/boring-avatars/issues/38

This is a breaking change, I would appreciate if this could be made a major version bump


Conditional group label rendering

fixes excess 5px margin on primary list

Thanks, this was bothering me.

Coverage increased (+0.01%) to 83.017% when pulling f701be6c6f62b4208bcefd7c40a41b4c6f41b681 on mparke:group-margin into e39bd2bc623f4d14af77695c18c9d7fb3d00f472 on linode:master.


feat: add capability to add replicas

Feature description:
I add capability to add replicas. The replicas would depend on whether user has specified or not.
Implementation:

[x] have capability to add replicas

Testing:

[x] Unit test for add replicas()
[x] I built and deployed the CDK app in ./test/cdk-test-integration

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Description:
The latest update(commit name as "add capability to add replicas" and id: 190eff4) updates:

add capability to add replicas as optional props, include unit tests and integration test
add unit tests for tableName
add new lambda function to test if the grantReadData will work on getItem actions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license


Add hex decimal to long scalar functions

Add hex decimal to long scalar functions

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (59551e4) to head (767e6dd).
Report is 1313 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (767e6dd). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (767e6dd)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
0

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14435       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
0.00% <ø> (-27.73%)
:arrow_down:

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

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

Remember to add this to the pinot doc


Markdown in notebooks includes extra line between last two items in a bulleted list

Environment data

VS Code version: 1.51.1
Jupyter Extension version (available under the Extensions sidebar): v2020.11.372831992
Python Extension version (available under the Extensions sidebar): v2020.11.371526539
OS (Windows | Mac | Linux distro) and version: Windows 10 Home build 19041.630
Python and/or Anaconda version: 3.7.9 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local

Expected behaviour
Markdown list items should have the same spacing between them when rendered.
Actual behaviour
There is an extra line (extra spacing) between the second to last and last item in the list.
Steps to reproduce:

Open a jupyter notebook in VSCode

Copy-paste the following in a Markdown cell:

In this homework we will cover:
 - loading large data using streaming/chunks, learn about json
 - working with dates in pandas
 - analyzing randomly assigned treatment
 - constructing a comparable control group
 - analyzing at the level of randomization

some useful links:
 - [tutorial on dates in pandas](https://pbpython.com/pandas-grouper-agg.html)
 - [pandas documentation on reshaping](https://pandas.pydata.org/pandas-docs/stable/user_guide/reshaping.html)
 - [yelp data documentation](https://www.yelp.com/dataset/documentation/main)

We start with a simple list of imports, as well as defining the path to the file we will be using. Please update the paths to point to the correct location on your computer.

Note that there is an extra blank line in the rendered block between "constructing a comparable control group" and "analyzing at the level of randomization." But such a line does not appear between the link "pandas documentation on reshaping" and "yelp data documentation."
Markdown code:

Rendered:

The same bug also appears to occur for numbered lists. Try copy pasting the following (unfortunately I can't add any more screenshots):
 1. create a function that will take a dataframe containing the columns `post` and `treat` and returns the OLS estimate of `post` on `treat` together with the estimate of the variance of that estimate (Remember that in this simple case $\hat{\beta} = cov(y,x)/var(x)$ and that the variance is $\sigma^2_\epsilon/(n \cdot var(x))$. Return the results as a new dataframe with one row and 2 columns.
 2. apply your function to your data from question 4 within each `year` (you can do that using `pd.Grouper(freq='Y',key='date')` within a `groupby` and use the `apply` method.
 3. use your grouped results to plot the mean together with their 95% asymptotic conf interval
 4. comment on the results, in particular on date before the start of the experiment.

Thanks for creating this great open-source tool!

Hi @ijyliu I am able to repro at this time. Will discuss this during our triage meeting.

@ijyliu, Thanks for the feedback, however, we're not going to address this right now. We are transitioning to a different notebook UI, provided by VS Code itself. That effort will handle this situation. Please see https://github.com/microsoft/vscode/issues/91987. You can experiment by using VS Code insiders, which defaults to the new notebook experience.


Error after long loading in XrmToolBox

Hello,
I'm getting an issue when I'm using DRB on XrmToolBox and trying "Retrieve Multiple" Request Type.
When I select "Account" Table, I get a long loading then an error message: https://i.imgur.com/S452qi7.png
Console error: https://i.imgur.com/ZNr9Vid.png
After that, if I select another entity and get back to account, it seems I can make Requests without issue without any loading.
Regards,

Thanks for the console log. Is an error you get always when fetching accounts inside this instance or it happens once a while? Because it's hard for me to debug if doesn't happen always inside that instance.
The requests to retrieve the metadata are batched (there are 5/6 requests for each table) so one of them is failing but that error is too generic for me.
Let me know.

It depends of the first entity I want to use. If I use "AAD User" table, I have no issue, but with "Account", "Opportunity" or "Contact" the error will always be displayed.
It seems to break when the entity has too many fields.

I was about to create a new issue, but I think it might be linked: when I use DRB directly in the CRM (same environment), I get an endless loading on 'big' tables like "Account", "Opportunity" or "Contact".

can you send me an email? my address is firstname.lastname[at]gmail.com or you can contact me on LinkedIn or Twitter. After we can check how to tackle this issue. Thanks


x/website

What did you do?
Tried to search with https://golang.org/search?q=mkdir
What did you see instead?
open REDACTED: file does not exist
Also, I can't find the Search text input anywhere in the doc pages.

It was removed, see  #44357 for details.

So... how do I search?


Unzipping drops all the files in the current directory

Suggestion: it would be ideal if the files were unzipped into their own directory instead of being dropped in the current directory among other files.

Please assign this issue to me @championshuttler


Streak counter with chat integration

Issue Description
Not sure if this should be a feature request of camperbot
The "streak" on profile page should show thanks received in chats as well as challenges

@smileytechguy I like that feature idea! So you're saying that brownie points from gitter chats should be saved and kept track of on user's profiles?

@smileytechguy the streak does include the camperbot "thanks". So to clarify, are you requesting that when you hover over a square on the streak, it show how many points are from each type: challenges vs. thanks? Or would this be displayed in some other way?

Yes, that is what i mean.
What would also be cool is to maybe show the amount from challenges and amount from gitter on profile

BROWNIE POINTS! Did we forget about them?
This is an interesting idea, and maybe something for the Open API project.
@smileytechguy thanks for bringing this up.


Update mobile-dev-with-ci.md

broken links

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65f0ab3760dc4833a4f585ac--harness-developer.netlify.app


Bump STS to <IP_ADDRESS> in release/1.42

Bump STS to pick-up several bug fixes.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 41.953%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
28811

Relevant Lines:
63772

💛  - Coveralls


don't work with sketch 3.8

Hi
It did not work with me !!

When you press 'create'
The window does not appear

I'm having the same issue!

I'm investigating this issue.

Should be fixed now.

it works without proplems
thsnk you :dancers:


Allow multiple instances

Address mistake as mentioned in https://github.com/tyler36/ddev-xhgui/issues/20#issuecomment-1813639381
Fixes #20

Thanks for confirming.


Add Standard document for version policy regarding k8s updates

Here is my first draft regarding the version policy.

Nice!
Right now, the record primarily concerns the speed of picking up new Kubernetes releases.
There are also a few other relevant topics, which may end up (a) not standardized, (b) in this record or (c) as a series of records:
Support of non-current Kubernetes versions / pace of EOL-ing
What older releases is the provider required to support? All non-current "Minor" releases that are still supported upstream? Maybe more or less? Are patch releases treated differently?
Responsibilities provider vs. customer
Does the provider prepare version upgrades, but the customer triggers the upgrade on their schedule? Perhaps use another model for patch releases?

We discussed that we want to create different ADR for the following topics:

How long do scs compliant providers need to support versions
Who does the upgrade of the cluster (user of that cluster or the provider or some mixed mode?)


Refine Makefile

add support for cross compilation
remove *.so file when make clean

/assign @cofyc

/lgtm
/approve
Thanks!


IPS4 Compatibility

Will probably need to make output narrower. Also don't forget mobile version.

HTML tables


Expose Integration Flow Endpoint as API and Test the Flow

Tutorials: https://developers.sap.com/tutorials/cp-starter-isuite-api-management.html
Step 4: Assign policy template
Here the sentence should be rephrased to "you need the content of the service key copied in Step 1: Copy credentials from service key." Since we no longer create the service key manually, Step1: Create service instance and key step is not there.

Best Regards,
Priyanka

hi @PriyankaShivakumar - thanks for all your feedback. all the comments are fixed now. thank you so much for the detailed review.


Failed to load nodelet

Hello. I wanted to try the program so I tried with this command "roslaunch usb_cam_hardware example_h264.launch". However, there is an error.
[ERROR] [1665849456.978268509]: Failed to load nodelet [/usb_cam/hardware] of type [usb_cam_hardware/USBCamHardware] even after refreshing the cache: Could not find library corresponding to plugin usb_cam_hardware/USBCamHardware. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
[ERROR] [1665849456.979934963]: The error before refreshing the cache was: Could not find library corresponding to plugin usb_cam_hardware/USBCamHardware. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
[usb_cam/hardware-1] process has died [pid 8905, exit code 255, cmd /opt/ros/noetic/lib/nodelet/nodelet standalone usb_cam_hardware/USBCamHardware camera_info_controller/camera_info:=camera_info h264_controller/image:=image compressed_packet_controller/packet:=packet/h264 __name:=hardware __log:=/home/chanun3571/.ros/log/911fe4ba-4ca1-11ed-8657-5b44d1af69e6/usb_cam-hardware-1.log].
log file: /home/chanun3571/.ros/log/911fe4ba-4ca1-11ed-8657-5b44d1af69e6/usb_cam-hardware-1*.log
Anyone know how to solve this?

Did you run catkin_make before roslaunch? Which OS and ROS version are you using? Why don't you use released version via apt get? Please post all commands you run to reproduce the problem.

Hello, thank you for your reply. My OS is Ubutu20.04 with ROS Noetic.  I "git clone" the whole package into ~/opt/ros/noetic/share/. Then I used "roslaunch usb_cam_hardware example_h264.launch" in terminal.

I tried the "sudo apt install ros-noetic-usb-cam-hardware". With this command only the usb_cam_hardware_interface folder are installed.

" roslaunch usb_cam_hardware example_h264.launch"
... logging to /home/ubuntu/.ros/log/e0c0371a-4ddf-11ed-a4f7-a3814d83286d/roslaunch-ubuntu-12460.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ubuntu:46041/
SUMMARY
PARAMETERS

/rosdistro: noetic
/rosversion: 1.15.14
/usb_cam/camera_info_controller/camera_frame_id: insta360
/usb_cam/camera_info_controller/type: usb_cam_controlle...
/usb_cam/compressed_packet_controller/format: h264
/usb_cam/compressed_packet_controller/type: usb_cam_controlle...
/usb_cam/h264_controller/type: usb_cam_controlle...
/usb_cam/hardware/framerate: 30
/usb_cam/hardware/image_height: 960
/usb_cam/hardware/image_width: 1920
/usb_cam/hardware/pixel_format: h264
/usb_cam/hardware/video_device: /dev/video1

NODES
/usb_cam/
controller_starter (controller_manager/controller_manager)
hardware (nodelet/nodelet)
auto-starting new master
process[master]: started with pid [12468]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to e0c0371a-4ddf-11ed-a4f7-a3814d83286d
process[rosout-1]: started with pid [12478]
started core service [/rosout]
process[usb_cam/hardware-2]: started with pid [12485]
process[usb_cam/controller_starter-3]: started with pid [12486]
type is usb_cam_hardware/USBCamHardware
[ERROR] [1665985948.401790221]: Cannot set format
[ERROR] [1665985948.405647296]: Cannot init usb cam hardware
[ERROR] [1665985948.406126905]: Cannot stop streaming
[usb_cam/hardware-2] process has died [pid 12485, exit code 255, cmd /opt/ros/noetic/lib/nodelet/nodelet standalone usb_cam_hardware/USBCamHardware camera_info_controller/camera_info:=camera_info h264_controller/image:=image compressed_packet_controller/packet:=packet/h264 __name:=hardware __log:=/home/ubuntu/.ros/log/e0c0371a-4ddf-11ed-a4f7-a3814d83286d/usb_cam-hardware-2.log].
log file: /home/ubuntu/.ros/log/e0c0371a-4ddf-11ed-a4f7-a3814d83286d/usb_cam-hardware-2*.log

Your log says the USBCamHardware is successfully loaded. It looks not an issue with the package but your environment. Perhaps, no camera is physically connected, the path to the camera is wrong, or the camera does not support h264 streaming. Unfortunately, I cannot support you anymore as the problem is with your environment. Good luck!

Does this package "usb_cam_hardware" requires any dependencies? Do I need to have"usb_cam" or "ros_control"?

Because when I solve the above error. I got a new error.
"roslaunch usb_cam_hardware example_mjpeg.launch"
... logging to /home/ubuntu/.ros/log/5b834a2a-4ded-11ed-83c1-f7200f64fcde/roslaunch-ubuntu-2390.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://ubuntu:43809/
SUMMARY
PARAMETERS

/rosdistro: noetic
/rosversion: 1.15.14
/usb_cam/camera_info_controller/camera_frame_id: insta360
/usb_cam/camera_info_controller/type: usb_cam_controlle...
/usb_cam/compressed_packet_controller/format: jpeg
/usb_cam/compressed_packet_controller/skip: 2
/usb_cam/compressed_packet_controller/type: usb_cam_controlle...
/usb_cam/hardware/framerate: 30
/usb_cam/hardware/image_height: 736
/usb_cam/hardware/image_width: 1472
/usb_cam/hardware/pixel_format: mjpeg
/usb_cam/hardware/video_device: /dev/video0
/usb_cam/mjpeg_controller/type: usb_cam_controlle...

NODES
/usb_cam/
controller_starter (controller_manager/controller_manager)
hardware (nodelet/nodelet)
auto-starting new master
process[master]: started with pid [2398]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 5b834a2a-4ded-11ed-83c1-f7200f64fcde
process[rosout-1]: started with pid [2408]
started core service [/rosout]
process[usb_cam/hardware-2]: started with pid [2415]
process[usb_cam/controller_starter-3]: started with pid [2416]
type is usb_cam_hardware/USBCamHardware
[ERROR] [1665991746.366360975]: Could not load class 'usb_cam_controllers/CameraInfoController': Could not find library corresponding to plugin usb_cam_controllers/CameraInfoController. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
[ERROR] [1665991746.369844116]: Could not load controller 'camera_info_controller' because controller type 'usb_cam_controllers/CameraInfoController' does not exist.
[ERROR] [1665991746.369975951]: Use 'rosservice call controller_manager/list_controller_types' to get the available types
Error when loading 'camera_info_controller'
[ERROR] [1665991746.389974900]: Could not load class 'usb_cam_controllers/CompressedPacketController': Could not find library corresponding to plugin usb_cam_controllers/CompressedPacketController. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
[ERROR] [1665991746.390116605]: Could not load controller 'compressed_packet_controller' because controller type 'usb_cam_controllers/CompressedPacketController' does not exist.
[ERROR] [1665991746.390175013]: Use 'rosservice call controller_manager/list_controller_types' to get the available types
Error when loading 'compressed_packet_controller'
[ERROR] [1665991746.408310890]: Could not load class 'usb_cam_controllers/MjpegController': Could not find library corresponding to plugin usb_cam_controllers/MjpegController. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.
[ERROR] [1665991746.408433891]: Could not load controller 'mjpeg_controller' because controller type 'usb_cam_controllers/MjpegController' does not exist.
[ERROR] [1665991746.408491540]: Use 'rosservice call controller_manager/list_controller_types' to get the available types
Error when loading 'mjpeg_controller'
[ERROR] [1665991746.430931658]: Could not start controller with name 'camera_info_controller' because no controller with this name exists
Error when starting ['camera_info_controller'] and stopping []
[ERROR] [1665991746.449771042]: Could not start controller with name 'compressed_packet_controller' because no controller with this name exists
Error when starting ['compressed_packet_controller'] and stopping []
[ERROR] [1665991746.477018813]: Could not start controller with name 'mjpeg_controller' because no controller with this name exists
Error when starting ['mjpeg_controller'] and stopping []
[usb_cam/controller_starter-3] process has finished cleanly
log file: /home/ubuntu/.ros/log/5b834a2a-4ded-11ed-83c1-f7200f64fcde/usb_cam-controller_starter-3*.log

You might better use usb_cam package instead of this package. Both functionalities are basically the same, although usb_cam_hardware is much lighter in some conditions. As you guessed, the usb_cam_hardware package is based on ros_control, which requires a steep learning curve. If you are a beginner, usb_cam is easier to use.

Thank you for your recommendation. However, I need to use a lighter package for my camera application. Would you mind helping me out to fix the above error? Thank you for your help.

I strongly recommend trying the usb_cam first. Once you read out images from a camera using the usb_cam and it is too heavy for your requierment, then try this package again. The configuration parameters of both packages are similar. Successful parameters of the usb_cam must be useful to the usb_cam_hardware and make debugging of your environment with the usb_cam_hardware easier.

I have tried usb_cam and it works very well. However, it is too heavy so I planned to change to usb_cam_hardware.

Installing usb_cam_controller package may help.

Did you mean "usb_cam_controllers"? I already git clone the whole usb_cam_hardware package.

Then I have no idea.


Correct types for registerNotificationOpened

I tried to address the same issue in https://github.com/wix/react-native-notifications/pull/499 while preserving the NotificationActionResponse.

Still valid.


Custom title is applied to all buttons in subfolder

Sorry if this has been brought up already (couldn't find anything). After upgrading to Stream Deck <IP_ADDRESS>48 (plugin version 2.3.1) it seems like the one custom title I'm using to show a state on one button is applied to all buttons without a title in any sub-folder on the same page.
Main page:

The value here is a custom title displaying {{state}}
Subfolder:

Every button here without a title is showing the same {{state}}, despite having custom title disabled. The up arrow simply has an empty space, i.e. " ", for testing. If I move any of these icons to the main folder they behave normally.

I'm seeing the same issue with v3.5.2 on macOS. After updating to 3.5.2, I noticed that the state labels for buttons appeared, when they were previously disabled. However, unlike @fragande, I'm seeing this issue on regular main profile pages, and not just inside subfolders.
In the following screenshot, in the outlined buttons, notice the tiny state labels appearing underneath the custom Title text:


reducer: Persist only user_id in user obj of reaction in msg.

When messages are fetched from server via GET /messages, then it
contains id as key in user of the reaction object. While reaction
add event has user_id in it.
Also in future we will only be interested in user id (will get user
detials from all users), so persist user_id as first class attribute
and remove other details of the user (email, full_name).
As we weren't using it anywhere, so there was no problem and fortunately
app never crashed.
https://chat.zulip.org/#narrow/stream/3-backend/topic/key.20mismatch.20in.20msg.20reaction
part of #2252

Thanks @jainkuniya ! Merged, with some changes.
Take a look at the commits I added on top. Here's also the portion I squashed into the main commit:
 src/api/messages/getMessages.js | 22 +++++++++++++---------
 src/api/modelTypes.js           | 22 +++++++---------------
 src/events/eventToAction.js     |  7 +++++++
 3 files changed, 27 insertions(+), 24 deletions(-)

diff --git src/api/messages/getMessages.js src/api/messages/getMessages.js
index 423037848..5b49f8e0c 100644
--- src/api/messages/getMessages.js
+++ src/api/messages/getMessages.js
@@ -1,20 +1,27 @@
 /* @flow strict-local */
 import type { Auth, ApiResponseSuccess } from '../transportTypes';
 import type { Message, Narrow } from '../apiTypes';
-import type { ReactionCommon } from '../modelTypes';
+import type { Reaction } from '../modelTypes';
 import { apiGet } from '../apiFetch';
 import migrateMessages from './migrateMessages';

-type CommonResponse = {|
+type ApiResponseMessages = {|
   ...ApiResponseSuccess,
   anchor: number,
   found_anchor?: boolean,
   found_newest?: boolean,
   found_oldest?: boolean,
+  messages: Message[],
 |};

+/**
+ * The variant of `Reaction` found in the actual server response.
+ *
+ * Note that reaction events have a *different* variation; see their
+ * handling in `eventToAction`.
+ */
 export type ApiMessageReaction = $ReadOnly<{|
-  ...$Exact<ReactionCommon>,
+  ...$Diff<Reaction, {| user_id: mixed |}>,
   user: $ReadOnly<{|
     email: string,
     full_name: string,
@@ -27,16 +34,13 @@ export type ApiMessage = $ReadOnly<{|
   reactions: $ReadOnlyArray<ApiMessageReaction>,
 |}>;

+// The actual response from the server.  We convert the data from this to
+// `ApiResponseMessages` before returning it to application code.
 type OriginalApiResponseMessages = {|
-  ...$Exact<CommonResponse>,
+  ...$Exact<ApiResponseMessages>,
   messages: ApiMessage[],
 |};

-type ApiResponseMessages = {|
-  ...$Exact<CommonResponse>,
-  messages: Message[],
-|};
-
 const migrateResponse = (response: OriginalApiResponseMessages): ApiResponseMessages => {
   const { messages, ...restResponse } = response;
   return {
diff --git src/api/modelTypes.js src/api/modelTypes.js
index 3db22f467..5e3e97eba 100644
--- src/api/modelTypes.js
+++ src/api/modelTypes.js
@@ -277,12 +277,14 @@ export type Narrow = $ReadOnlyArray<NarrowElement>;
 export type ReactionType = 'unicode_emoji' | 'realm_emoji' | 'zulip_extra_emoji';

 /**
- *  An emoji reaction to a message.
- *  There is a mismatch in key when we get reactions from getMessages API and reaction add event
- *  So pull out common stuff here
- *  https://chat.zulip.org/#narrow/stream/3-backend/topic/key.20mismatch.20in.20msg.20reaction
+ * An emoji reaction to a message.
+ *
+ * The raw JSON from the server may have a different structure, but we
+ * normalize it to this form.
  */
-export type ReactionCommon = $ReadOnly<{|
+export type Reaction = $ReadOnly<{|
+  user_id: number,
+
   emoji_name: string,
   reaction_type: ReactionType,

@@ -296,16 +298,6 @@ export type ReactionCommon = $ReadOnly<{|
   emoji_code: string,
 |}>;

-/**
- * An emoji reaction to a message.
- * This has different structure compared to what we gets from server (See `ApiMessageReaction` and `ApiReaction`)
- * We are persisting it in this structure, because we don't care about other details of the user
- */
-export type Reaction = $ReadOnly<{|
-  ...$Exact<ReactionCommon>,
-  user_id: number,
-|}>;
-
 /**
  * "Snapshot" objects from https://zulipchat.com/api/get-message-history .
  *
diff --git src/events/eventToAction.js src/events/eventToAction.js
index dc6566b4a..c36dfe6bb 100644
--- src/events/eventToAction.js
+++ src/events/eventToAction.js
@@ -127,7 +127,14 @@ export default (state: GlobalState, event: $FlowFixMe): EventAction => {
     case 'reaction':
       return {
         ...event,
+
+        // Raw reaction events from the server have a variation on the
+        // properties of `Reaction`: instead of `user_id: number`, they have
+        // `user: {| email: string, full_name: string, user_id: number |}`.
+        // NB this is different from the reactions in a `/messages` response;
+        // see `getMessages` to compare.
         user_id: event.user.user_id,
+
         type: opToActionReaction[event.op],
       };


Another app is currently holding the xtables lock. perhaps you want to use the -w option?

While struggling to find a solution for the well-known Docker Swarm ingress problem, I came across this project. Thank you for releasing it to the public!
I have a simple cluster consisting of 3 nodes (1 manager and 2 workers, Ubuntu 20.04.5 LTS). We have around 5 ingress services, and the VIP/Cluster IP is configured using 'keepalived'. All the ingress services are accessed from the 3 node IPs plus the VIP. If I'm not mistaken, all the nodes are considered 'load balancer' nodes.
After installing 'DIRD' on all the nodes, I attempted to access all services from the aforementioned IP addresses. However, the results were inconsistent. Sometimes a service was only accessible from a single IP, sometimes two, and sometimes all.
Upon inspecting the journal logs, I noticed multiple instances of the error message 'Another app is currently holding the xtables lock'. This error prevented 'DIRD' from modifying the iptables.
To resolve this issue, I replaced 'iptables -t' with 'iptables -w -t' using the command 'sed -i 's/iptables -t/iptables -w -t/g' /usr/local/bin/docker-ingress-routing-daemon'. It appears that adding the '-w' flag resolved the problem in my case, although I am unsure if it may cause issues elsewhere.

Hi @caltuntas. Many thanks for trying DIRD and for raising this issue and proposing this solution.
We'll look at this.

@caltuntas Finally I have got round to adding support for iptables --wait and --wait-seconds <n> options:
https://github.com/newsnowlabs/docker-ingress-routing-daemon/tree/iptables-wait

This branch is now merged into main. Thanks @caltuntas for raising this issue, which I will now close.


Document PEA as an experimental option

Summary
Document that PEA is an available experimental option.
Details and comments
Fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6009

Relevant Lines:
7304

💛  - Coveralls


Build failing

There seems to be an issue with the PO import? http://build.berkeleybop.org/job/release-go/218/console
2017-01-29 02:21:20,557 ERROR (CommandRunner:691) Will not proceed until dangling axioms removed, or -n or -f options are set
Exception in thread "main" java.lang.Exception: Dangling axioms will be lost
at owltools.cli.CommandRunner.runSingleIteration(CommandRunner.java:692)
at owltools.cli.CommandRunnerBase.run(CommandRunnerBase.java:76)
at owltools.cli.CommandRunnerBase.run(CommandRunnerBase.java:68)
at owltools.cli.CommandLineInterface.main(CommandLineInterface.java:12)
Makefile:171: recipe for target 'po_import.owl' failed
make: *** [po_import.owl] Error 1
Build step 'Execute shell' marked build as failure

r38482, adds -f flag
(this obscurity will vanish when we switch to github and a conventional robot pipeline)

I'm taking this as a "fixed" and am starting to rebuild.

Fixed: release-go - Build # 220 - Fixed: Check console output at http://build.berkeleybop.org/job/release-go/220/ to view the results.


Docker | OpenGL Error

We had the SDK running with Docker and version 9.4.0 but since updating to the latest version (10.1.1) we get the following output:
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI2: failed to authenticate
error: Failed to glGenVertexArrays, OpenGL error: 0X502
qt.core.plugin.factoryloader: ignoring "org.qt-project.Qt.QImageIOHandlerFactoryInterface" since plugins are disabled in static builds

This happens on both 20.04 and 22.04 with various NVIDIA drivers (470, 510, 520, 525) and a NVIDIA GeForce RTX 3090 Ti.
Could you please provide an official Docker image to run this SDK - we are happy to provide what we had running so far if this helps - or indicate how this error can be fixed?
Thank you

Seems that the GPU drivers may be the culprit if you can check out this case and see if it will help.

Can confirm that this only works when using Ubuntu 20.04. with nvidia-driver-470 in Docker, after reinstalling everything from scratch. Locally, we got it running under 22.04. with nvidia-driver-515, but this fails when trying to containerize as mentioned above.

We have a new version out 10.2.2 which we recommend upgrading to - we have not fixed the opengl issue, however this version will allow you to connect to a probe without having to keep the Clarius App at the same version
If you're interested in testing the non working config again - we would like to provide the next alpha library to test potential fixes. I can put this in the releases section under pre-release. To minimize uploads, please provide the python version and Ubuntu version you're using.


[wip] Investigate the cause of timeout on macOS

What does this PR do?
Trying to fix #11216 where cpu (macOS-10.15, 3.7, latest, stable) job hangs after finishing the actual testing part.
Does your PR introduce any breaking changes? If yes, please list them.
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[n/a] Did you make sure to update the documentation with your changes? (if necessary)
[n/a] Did you write any new necessary tests? (not for typos and docs)
[n/a] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

I did a bit of bisection and found the culprits, this command reproduces the hang
python -m pytest tests/core/test_lightning_module.py::{test_toggle_untoggle_2_optimizers_no_shared_parameters,test_sharded_tensor_state_dict} tests/models/test_horovod.py::test_horovod_multi_optimizer -v

There is an undesired interaction between these.
And tests/core/test_lightning_module.py::test_sharded_tensor_state_dict fails if another test was not run before.

Seems like the issue is resolved somehow in master.


FFT block (forward/reverse)

Create new "fft" directory for this block and window functions
embed kissfft http://kissfft.sourceforge.net/
Drop down for window selection (window IP being moved from pothos-util to pothos-comms)
Relevant user issue: https://groups.google.com/forum/#!topic/pothos-users/e-UqQ_vUhMc

did this a while ago, see fft/ directory


Stuck in "created challenge resource" after ACME DNS provider misconfiguration

Describe the bug:
While trying to create a certificate for a wildcard domain I forgot to push my DNS provider (clouddns) as a secret in the cluster configuration:
e.g.,
kubectl create secret generic clouddns-service-account --from-file=clouddns-service-account.json --namespace cert-manager
Instead of seeing an error I got stuck with the following:
$ kubectl describe order
Name:         wildcard.olinda.app-2883435331
Namespace:    default
Labels:       acme.cert-manager.io/certificate-name=wildcard.olinda.app
Annotations:  <none>
API Version:  certmanager.k8s.io/v1alpha1
Kind:         Order
Metadata:
  Cluster Name:
  Creation Timestamp:  2019-02-01T09:53:58Z
  Generation:          1
  Owner References:
    API Version:           certmanager.k8s.io/v1alpha1
    Block Owner Deletion:  true
    Controller:            true
    Kind:                  Certificate
    Name:                  wildcard.olinda.app
    UID:                   432c378d-2607-11e9-9e78-42010a8002eb
  Resource Version:        421339
  Self Link:               /apis/certmanager.k8s.io/v1alpha1/namespaces/default/orders/wildcard.olinda.app-2883435331
  UID:                     4b5a3be3-2607-11e9-9e78-42010a8002eb
Spec:
  Config:
    Dns 01:
      Provider:  staging-dns
    Domains:
      *.olinda.app
  Csr:  -
  Dns Names:
    *.olinda.app
  Issuer Ref:
    Kind:  ClusterIssuer
    Name:  letsencrypt-staging
Status:
  Certificate:  <nil>
  Challenges:
    Authz URL:  https://acme-staging-v02.api.letsencrypt.org/acme/authz/ocfP9e2NOheggc5ais-XOWaGIE9AoAuPCTFB3cCAXSo
    Config:
      Dns 01:
        Provider:  staging-dns
    Dns Name:      olinda.app
    Issuer Ref:
      Kind:      ClusterIssuer
      Name:      letsencrypt-staging
    Key:         mtr9206qrCJorA3cr-eGWhV67xAm0BNkyLAxkHXNJ2s
    Token:       3sBqhDpgVn9V1n-koCEVWcU92bJVEhlgybnz_1AA8G4
    Type:        dns-01
    URL:         https://acme-staging-v02.api.letsencrypt.org/acme/challenge/ocfP9e2NOheggc5ais-XOWaGIE9AoAuPCTFB3cCAXSo/236279718
    Wildcard:    true
  Finalize URL:  https://acme-staging-v02.api.letsencrypt.org/acme/finalize/8090469/22262093
  Reason:
  State:         pending
  URL:           https://acme-staging-v02.api.letsencrypt.org/acme/order/8090469/22262093
Events:
  Type    Reason   Age   From          Message
  ----    ------   ----  ----          -------
  Normal  Created  52s   cert-manager  Created Challenge resource "wildcard.olinda.app-2883435331-0" for domain "olinda.app"

Until I realized my mistake by watching the logs for the cert-manager.
Expected behaviour:
I would like to know that the DNS provider configuration secret was not found when I describe my challenge.
Steps to reproduce the bug:
Do everything to set up a wildcard certificate for a given domain. However, skip adding your DNS service account credentials.
Environment details::

Kubernetes version (e.g. v1.10.2):

Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.7", GitCommit:"0c38c362511b20a098d7cd855f1314dad92c2780", GitTreeState:"clean", BuildDate:"2018-08-20T10:09:03Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.11-gke.1", GitCommit:"5c4fddf874319c9825581cc9ab1d0f0cf51e1dc9", GitTreeState:"clean", BuildDate:"2018-11-30T16:18:58Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}

Cloud-provider/provisioner (e.g. GKE, kops AWS, etc):
GKE

cert-manager version (e.g. v0.4.0):
Image:      quay.io/jetstack/cert-manager-controller:v0.6.0

Install method (e.g. helm or static manifests):
helm

/kind bug

So once 'presented', we don't re-try presenting challenge resources.
In order to manually trigger the challenge to be re-presented after fixing your Issuer's DNS01 configuration, you need to delete the challenge resource.
We should improve the Order/Challenge controller to automatically handle this case and delete the challenge resource.
This could be done by embedding the Issuer's DNS provider configuration into the Challenge resource's spec field (causing the hash invalidation the Order controller performs to mismatch and triggering a new challenge).
Marking as help wanted as we don't have anyone to work on this right now!
/kind feature
/remove-kind bug
/help
/milestone Next

Closing in favour of the umbrella issue #1331 😄


text animation added

close issue: #1494
Fixes Issue
simple text animations can enhance the visual appeal of a website more effectively than overloading the entire page with complex animations.
add animation on the text of the first page.
Video
https://github.com/codervivek5/VigyBag/assets/95361125/cd214266-2b07-4c2d-ad86-893fd7ca86d6
close #1494

Summary by CodeRabbit

New Features

Enhanced the welcome message on the home page with animated text effects.
Introduced new animations for paragraphs and buttons to improve user engagement.

Styling Changes

Updated the layout and animation of the welcome message, paragraphs, and buttons for a more dynamic and visually appealing home page.

Chores

Added import of animations.css to the home page for new animation effects.

@codervivek5 please review PR and merge it!

Kindly solve merge conflict

@codervivek5 conflict resolved
review and merge it

@codervivek5
review and close it

@codervivek5 conflict resolved
review and merge it!

no need of this feature


Fix route-specific strategies

This commit fixes issue #190, where setting a strategy on a route had no effect.
I'm not that excited about the tests, since they're long and the assertions are hidden in the mock expectations. However, they will fail if there's a regression and I couldn't figure out a better way to test for the bug. Suggestions for improvement would be most welcome.

Thanks 👍


Custom firebase instance not working

At line 6063 of the current latest.js this line would replace the default firebase instance with the custom one:
connection.resources.firebaseio = connection.resources.firebaseio.replace('//chat.', '//' + connection.firebase + '.');
Unfortunately, at thos point, connection.resources.firebaseio seems to be https://webrtc-experiment.firebaseIO.com/, so no replacement takes place and no custom firebase is possible.
That said, why do you use a regexp to do this task? Wouldn't it be easier to have a function to generate the Firebase URL and use it in the whole library, instead of setting a string somewhwere and replace it via regexp?

Try this:
connection.resources.firebaseio = "https://webrtc.firebaseio.com/";

Now, invoke connect or join/open methods:
connection.connect();

BTW.
This line seems invalid in older implementations:
connection.resources.firebaseio = connection.resources.firebaseio.replace('//chat.', '//' + connection.firebase + '.');

It is invalid because v2.2.5 is using webrtc-experiment.firebaseio.com instead of chat.firebaseio.com.
The valid version could be:
connection.resources.firebaseio = connection.resources.firebaseio.replace('//webrtc-experiment.', '//' + connection.firebase + '.');

Now you can use like this:
connection.firebase = 'webrtc';
connection.connect();

v3.0
v3.0 is no more supporting Firebase. (yet)


fix(deps): update module github.com/tubenhirn/dagger-ci-modules/v4 to v4.4.2

This PR contains the following updates:

Package
Type
Update
Change

github.com/tubenhirn/dagger-ci-modules/v4
require
patch
v4.4.1 -> v4.4.2

Release Notes

tubenhirn/dagger-ci-modules
v4.4.2
Compare Source
Bug Fixes

deps: update module dagger.io/dagger to v0.5.1 (687808d)
deps: update module github.com/tubenhirn/dagger-ci-modules/v4 to v4.4.1 (b00209d)

Miscellaneous Chores

deps: update renovate/renovate docker tag to v35.10.0 (16bb6b2)
deps: update renovate/renovate docker tag to v35.6.0 (2060e54)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 4.4.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add repeat function

Via @henrahmagix
@function repeat($str, $times: 3, $join: '')
    $longStr: ''
    @for $i from 1 through $times
        @if $i > 1
            $longStr: $longStr + $join + $str
        @else
            $longStr: $longStr + $str
    @return #{$longStr}

body
    content: repeat(foo bar baz)
    content: repeat('gum foo', 5, ', ')

body {
  content: foo bar bazfoo bar bazfoo bar baz;
  content: gum foo, gum foo, gum foo, gum foo, gum foo;
}

Probably not gonna happen now, is it?

lol I can't even remember the origins of this issue! Was probably specific only to a single project and isn't really needed.


ci(*): 👷 run test pipeline on a matrix

Codecov Report

Merging #107 (28f880f) into master (e8e22c1) will increase coverage by 11.23%.
The diff coverage is 94.73%.

@@             Coverage Diff             @@
##           master     #107       +/-   ##
===========================================
+ Coverage   84.83%   96.07%   +11.23%
===========================================
  Files          29       31        +2
  Lines         310      382       +72
  Branches       49       62       +13
===========================================
+ Hits          263      367      +104
+ Misses         47       10       -37
- Partials        0        5        +5

Impacted Files
Coverage Δ

src/lang.ts
100.00% <ø> (ø)

src/cli/cli.ts
72.09% <50.00%> (+72.09%)
:arrow_up:

src/utils/store/utils.ts
96.96% <96.96%> (ø)

src/config/helpers/getCommitlintConfig.ts
100.00% <100.00%> (+37.50%)
:arrow_up:

src/utils/store/store.ts
100.00% <100.00%> (ø)

src/prompts/body.ts
100.00% <0.00%> (+25.00%)
:arrow_up:

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 f65d8ef...28f880f. Read the comment docs.


Relax Constraints on Reshape to Reduce Fallback

When reshape is row major (no padding) and last dims are multiples of each other then it should be no op
https://github.com/tenstorrent/tt-metal/blob/main/ttnn/cpp/ttnn/operations/data_movement/reshape_view/reshape.cpp#L119
This if statement should be expanded.
Furthermore this boolean tracks if there is padding. for reshaping I think we would only care about padding on last dim. This constraint can be further relaxed to only look at last dim.
https://github.com/tenstorrent/tt-metal/blob/main/ttnn/cpp/ttnn/operations/data_movement/reshape_view/reshape.cpp#L113

@ayerofieiev-tt this is the issue that highlights exactly what should be changed.
@jvegaTT is currently fixing reshape , and will need this change. He can add this change himself as part of his PR or pull the change in from the skymizer people if they want to do this.

Problem is more complicated as we discussed and have the other issue tracking it. closing this one.


fix vertical alignment in algo

https://github.com/ui-libraries/principia/commit/5e4229cc5b9a4d478a5937b8a403ce3e7cb9bd67


import routes is wrong

my config:
// sentinel
new ModuleFederationPlugin({
      name: "ahas_sentinel",
      filename: "remoteEntry.js",
      remotes: {
        ahas_switch: `ahas_switch@http://<IP_ADDRESS>:3004/remoteEntry.js`,
      },
      exposes: {
        "./routes": "./routes",
      },
      shared: {
        ...deps,
      },
})

// sentinel routes.tsx
import { lazy } from 'react';
const FlowProtection = lazy(() => import('pages/FlowProtection'));

const routes = [
  {
    path: '/flowProtection',
    component: FlowProtection,
    exact: false,
  },
];

export default routes;

// switch
new ModuleFederationPlugin({
      name: "ahas_switch",
      filename: "remoteEntry.js",
      remotes: {
        ahas_sentinel: `ahas_sentinel@http://1/remoteEntry.js`,<IP_ADDRESS>:3003
      },
      exposes: {
        "./menu": "./config/menu",
        "./routes": "./routes",
      },
      shared: {
        ...deps,
      },
 })

// switch routes.tsx
import { lazy } from 'react';

const SwitchIndex = lazy(() => import('pages/Switch'));

const routes = [
  {
    path: '/switch',
    component: SwitchIndex,
    exact: false,
  },
];

export default routes;

[ ] webpack-4
[x] webpack-5
[ ] bug
[ ]  critical-bug
[ ]  enhancement
[ ]  documentation
[ ] performance
[ ] dependencies
[x] question

Thank you for creating this issue. However, issues need to follow one of our templates so that we can clearly understand your particular circumstances.
Please help us help you by recreating the issue using one of our templates.


mime type to text/x-raku

I was trying to get https://github.com/bscan/RakuNavigator to work with JupyterLab, but I had to change the mime types to make the language server work. See here link
I do not know why oroginally you choose text/plain, but maybe for future development of e.g. a codemirrow plug-in for Raku it would be anyway a good move to be more specific.
Maybe I am getting it totaly wrong, in that case, we just forget about this PR ;-)
The other two PR I recently opened are just "side effects", perhaps this is usefull to you?

Thanks, this looks correct -- looking at some other resources, it seems that x-language is often used for this.


NEW Feature - Show time like rejseplan-card instead of due_in

Just delete it if you dont want this feature in your card :)

Thanks, it's not something I need myself, but might as well have a bit more feature parity between this and the other card. :)

I'll merge this later today when I get home from work. I don't have access to my dev tools at work. :)

👍😊


Combine Altium multi-part components

Replaces #124 and closes #146.
Uses the new IR changes in Tools to more accurately and correctly combine multi-part components. This PR will remain in draft until these Tools changes are deployed to production first.
Stacked on #145 to benefit from those changes.

Outdated
Todo:

[x] Tools IR changes are in prod
[x] Tests:

[x] Update existing test data
[x] New test for multi-part component repeated in pages
[x] New test for multi-part component removed in variants

@kdumontnu Should I tag Alex in for the second review?


included the previous PR changes and verified black

This change resolves #228 I added the changes from the previous pull request and also rectified the black usage error. Please let me know if you have any further feedback or concerns.
Signed-off-by: Yousuf<EMAIL_ADDRESS>

Ok i will resolve them

Please let me know if you have any further feedback or concerns.


Remove ItemGroup from sqlproj if node being removed is the last one

This PR fixes  #12189 and a little refactoring to remove a few for loops

Pull Request Test Coverage Report for Build 259863634

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

Totals

Change from base Build 259850181:
0.0%

Covered Lines:
19108

Relevant Lines:
45682

💛  - Coveralls

@SakshiS-harma yup there are already tests for excluding and deleting files and folders :)


Added Groovy Support

I'm not sure if this is an elegant solution.  It does work; I use it locally.  There may be a better way.  I'll leave that decision up to you all.

Thank you for the contribution!
There are some things to change before I can merge the pull request:

[main.ts line 31] Remove the hard coded default option in the groovy path. This way it only works on your local machine. Change it to "groovy" and it will work on every OS (if groovy added to the path variable)
[main.ts 122] Remove the outcommented /* || language.contains("language-javascript")*/.
[main.ts line 198-212]

.then(() => {
        console.log(`Execute ${this.settings.nodePath} ${tempFileName}`);
        const args = cmdArgs ? cmdArgs.split(" ") : [];

        args.push(tempFileName);

        if (ext === "groovy") {
	        exec('groovy '+tempFileName, (error :any, stdout:string, stderr:string) => {
		        this.handleExecOutput(outputter, button, tempFileName, stdout, stderr);
	        });
        } else {
	        var child = child_process.spawn(cmd, args);
	        this.handleChildOutput(child, outputter, button, tempFileName);
        }
})

Revert that code snippet to the way it previously was and try if it works. There is no need to change this because it uses the path to the groovy installation that is given via the function parameter

[main.ts 299] Remove the function handleExecOutput as it is obsolete after following the previous remark.
[SettingsTab.ts] Add the options you created as html elements. Otherwise the options can't be changed by users. You can copy the JavaScript elements and change the names and variables. Also: Does groovy has the option to use different file extensions? There is no need to add an option to the settings tab if all groovy files have the same file extension. (I can impement this if you don't now what to do, just tell me)

Again, thank you for your Contribution, I really appreciate it.

Thank you for your notes.  I appreciate the guidance.  I went ahead and removed the exec function and call I created.  Locally, for me, running spawn does not work that's why I added the new function.  If you have any insight on this, I'd appreciate it.

I released your changes (and some other). If it still doesn't work we can look for a fix.

Thank you.  Locally, it does not work for me.
I'm using Node v18.4.0 on Windows 10

Thank you.  Locally, it does not work for me.
I'm using Node v18.4.0 on Windows 10

Okay, if you know how to fix it you can create a new pull request and I will merge it

But please create the pull request on the develop branch instead of master


#76 Implementation for commit refs

[x] Implementation of the API
[x] Unit Tests for Query builder

@casz Am I doing something wrong, that the builds fail?

No, nothing wrong. I'll report the error to gitversion :)


blobpacked recovery mode lacks progress indicators

$ ~/src/camlistore.org/bin/camlistored -configfile ~/.config/camlistore/server-config-leveldb.json -recovery
2017/09/16 11:58:52 Starting camlistored version 2017-09-14-4a8e6f03b5; Go go1.9 (linux/amd64)
2017/09/16 11:58:52 TLS enabled, with SHA-256 certificate fingerprint: 0bd85703c391985ce80a
2017/09/16 11:58:52 Starting to listen on https://<IP_ADDRESS>:4430
2017/09/16 11:58:52 Starting recovery of blobpacked index

... but now it's just hanging.
Is it doing something?
It needs a progress bar.
/cc @mpl

Workaround in the meantime:
# watch -n 1 'lsof -p $(pidof camlistored) -n | grep packed/sha1'
Every 1.0s: lsof -p $(pidof camlistored) -n | grep packed/sha1                                                                                bard: Sat Sep 16 12:03:56 2017

camlistor 1067 bradfitz   15r      REG  254,1  4557513 21629704 /home/bradfitz/var/bradcamlihv/packed/sha1/64/4c/sha1-644cc719b7afd1ccaf5c3dd19b675987805138fe.dat
camlistor 1067 bradfitz   43r      DIR  254,1     4096 22153951 /home/bradfitz/var/bradcamlihv/packed/sha1/64/59

Cannot check atm but I think we already have a bug + CL for that
(on phone)
On Sep 16, 2017 21:04, "Brad Fitzpatrick"<EMAIL_ADDRESS>wrote:

Workaround in the meantime:
watch -n 1 'lsof -p $(pidof camlistored) -n | grep packed/sha1'
Every 1.0s: lsof -p $(pidof camlistored) -n | grep packed/sha1                                                                                bard: Sat Sep 16 12:03:56 2017
camlistor 1067 bradfitz   15r      REG  254,1  4557513 21629704 /home/bradfitz/var/bradcamlihv/packed/sha1/64/4c/sha1-644cc719b7afd1ccaf5c3dd19b675987805138fe.dat
camlistor 1067 bradfitz   43r      DIR  254,1     4096 22153951 /home/bradfitz/var/bradcamlihv/packed/sha1/64/59
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/camlistore/camlistore/issues/953#issuecomment-329988499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmNlywHBjE56g9s_Q2ZWiPWhHaFWxP9ks5sjBu7gaJpZM4PZ6fj
.

It finished eventually:
2017/09/16 11:58:52 Starting recovery of blobpacked index

2017/09/16 12:31:08 Starting index integrity check.
2017/09/16 12:31:13 WARNING: sanity checking of the index found 1105 non-indexed blobs out of 1105 tested blobs. Reindexing is advised.
2017/09/16 12:31:13 Index integrity check done.
2017/09/16 12:31:15 [SyncHandler /bs/ -> /index/] Added 0 pending blobs from sync queue to pending list
2017/09/16 12:31:17 [SyncHandler /bs/ -> /sto-s3/] Added 0 pending blobs from sync queue to pending list
2017/09/16 12:31:17 ui: serving Closure from embedded resources
2017/09/16 12:31:17 Slurping corpus to memory from index...
2017/09/16 12:31:17 Slurping corpus to memory from index... (1/9: meta rows)
2017/09/16 12:31:17 Scanned prefix "meta": 0 rows, 28.634µs
2017/09/16 12:31:17 Slurping corpus to memory from index... (2/9: prefix "signerkeyid")
2017/09/16 12:31:17 Slurping corpus to memory from index... (3/9: prefix "claim")
2017/09/16 12:31:17 Slurping corpus to memory from index... (4/9: prefix "fileinfo")
2017/09/16 12:31:17 Slurping corpus to memory from index... (5/9: prefix "filetimes")
2017/09/16 12:31:17 Slurping corpus to memory from index... (6/9: prefix "imagesize")
2017/09/16 12:31:17 Slurping corpus to memory from index... (7/9: prefix "wholetofile")
2017/09/16 12:31:17 Slurping corpus to memory from index... (8/9: prefix "exifgps")
2017/09/16 12:31:17 Slurping corpus to memory from index... (9/9: prefix "mediatag")
2017/09/16 12:31:17 Scanned prefix "mediatag": 0 rows, 29.942µs
2017/09/16 12:31:17 Scanned prefix "signerkeyid": 0 rows, 21.775µs
2017/09/16 12:31:17 Scanned prefix "claim": 0 rows, 13.548µs
2017/09/16 12:31:17 Scanned prefix "fileinfo": 0 rows, 12.41µs
2017/09/16 12:31:17 Scanned prefix "filetimes": 0 rows, 11.693µs
2017/09/16 12:31:17 Scanned prefix "imagesize": 0 rows, 11.8µs
2017/09/16 12:31:17 Scanned prefix "wholetofile": 0 rows, 12.093µs
2017/09/16 12:31:17 Scanned prefix "exifgps": 0 rows, 12.498µs
2017/09/16 12:31:17 Corpus stats: 0.006 MiB mem: 0 blobs (0.000 GiB) (0 schema (0 permanode, 0 file (0 image), ...)
2017/09/16 12:31:17 Corpus scanning CPU usage: 0s
2017/09/16 12:31:17 Describe of 0 blobs = 15.408µs
2017/09/16 12:31:19 Available on https://xxx/

Yay for the "WARNING: sanity checking of the index found 1105 non-indexed blobs out of 1105 tested blobs. Reindexing is advised" warning.

At least the -reindex mode (confusing: #952) has progress:
bard:camlistore $ ~/src/camlistore.org/bin/camlistored -configfile ~/.config/camlistore/server-config-leveldb.json -reindex
2017/09/16 12:32:42 Starting camlistored version 2017-09-14-4a8e6f03b5; Go go1.9 (linux/amd64)
2017/09/16 12:32:42 TLS enabled, with SHA-256 certificate fingerprint: 0bd85703c391985ce80a
2017/09/16 12:32:42 Starting to listen on https://<IP_ADDRESS>:4430
2017/09/16 12:32:47 Index wiped.
2017/09/16 12:32:47 Reindexing /index/ ...
2017/09/16 12:32:47 Rebuilding index...
2017/09/16 12:32:47 Reindexing at sha1-0000000a84aa1c10c44f0ca9365303d1b329d066
2017/09/16 12:32:48 Non critical TIFF decoding error: loading EXIF sub-IFD: exif: sub-IFD ExifIFDPointer decode failed: zero length tag value
2017/09/16 12:32:48 Invalid EXIF GPS data: loading EXIF sub-IFD: exif: sub-IFD ExifIFDPointer decode failed: zero length tag value
2017/09/16 12:32:48 Reindexing at sha1-0001288a1fd6d546dcf7c8e62d6d93d730c89ed7
2017/09/16 12:32:49 Reindexing at sha1-000160b7656f5a55a6f7db674aa69bce7049eadb
2017/09/16 12:32:51 Reindexing at sha1-0001ddb511af532ce796714875279d859777d27a
2017/09/16 12:32:52 Reindexing at sha1-000225a9f5e6e19565e30eb35a74367697d386f2
2017/09/16 12:32:53 Reindexing at sha1-00022a0b932655b226c7db46349bf418bd7281cd
2017/09/16 12:32:54 Reindexing at sha1-000262a180a6ed57692a96bb4a0994b91800f8ae
2017/09/16 12:32:56 Reindexing at sha1-00029744e879ad332145545c0e5f86cd251b1c11
2017/09/16 12:32:58 Reindexing at sha1-0002a54a18ca09c4b99d3adf39a25c5836b25cd7
2017/09/16 12:33:00 Reindexing at sha1-0002c1192b8325ffc7622768d1e51417f11fc3cc
2017/09/16 12:33:02 Reindexing at sha1-0002ea2cada410de8bd3cd958194349a3aca35ea
2017/09/16 12:33:05 Reindexing at sha1-0002fc0541307ed49bd2bd294c96675b85231f80
2017/09/16 12:33:07 Reindexing at sha1-00032a34aeb5c267c79e3835d78e4266d12365a8
2017/09/16 12:33:08 Reindexing at sha1-0003583c2e316d99989db9ee05e781f51cd858b5

duplicate of #879 ?


Django 2 support

Codecov Report

Merging #2278 into master will increase coverage by 0.01%.
The diff coverage is 90.9%.

@@            Coverage Diff             @@
##           master    #2278      +/-   ##
==========================================
+ Coverage   79.61%   79.62%   +0.01%
==========================================
  Files          85       85
  Lines        8840     8846       +6
  Branches     1891     1892       +1
==========================================
+ Hits         7038     7044       +6
  Misses       1543     1543
  Partials      259      259

Impacted Files
Coverage Δ

webapp/graphite/dashboard/views.py
99.25% <100%> (ø)
:arrow_up:

webapp/graphite/app_settings.py
90.9% <100%> (ø)
:arrow_up:

webapp/graphite/user_util.py
96.15% <100%> (+0.91%)
:arrow_up:

webapp/graphite/account/views.py
30.76% <50%> (ø)
:arrow_up:

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 c0b4ea9...88f4de0. Read the comment docs.

Cool, very nice, thanks a lot, @piotr1212 !


SX1278 won't work with HCLK > 16 MHz (Cortex-M0+)

Hi,
I have stumbled upon the problem that your library works fine unless I increase the HCLK value above 16 MHz. I'm currently working with a STM32G031F8.
I should mention that I'm not very experienced in working with MCUs, even more so for STM32 chips, so this might be a newbie thing on my end.
I'll gladly offer help with debugging.

I was forced to look into this again and found that the critical value seems to be the APB peripheral clock (PCLK). Everything seems to work fine as long as this value is below 32 MHz, which for power of 2 clocks means a maximum of 16 MHz. If one chooses to use odd  multipliers or divisors I'd venture to guess that even 31.9 MHz might do the trick. Haven't any way to test it, though.
I've attached this screenshot in case it's helpful to anyone.


Store: Add flag ignore-deletion-marks-errors to be able to ignore errors while retrieving deletion marks

Store: Add flag ignore-deletion-marks-errors to be able to ignore errors while retrieving deletion marks.
Our S3 implementation (Netapp) have intermittent faults that creates time-outs when querying some non-existent objects.
The IgnoreDeletionMarkFilter queries all metrics blocks for the file deletion-mark.json and when store receives an timeout or other error, it crashes. This flag ignores all fetching errors, and makes store not crash.

[ ] Change is not relevant to the end user.

Changes

Add flag ignore-deletion-marks-errors to be able to ignore errors while retrieving deletion marks.
Log other errors while processing deletion-marks.

Verification

Tested against against our s3 implementation. Store do not crash.

The IgnoreDeletionMarkFilter queries all metrics blocks for the file deletion-mark.json and when store receives an timeout or other error, it crashes.

This doesn't sound right. IO timeout shouldn't crash store

I Agree that IO timeout should not crash thanos store. For me it seems that the error-handling does not handle timeout properly. I was thinking about redefining timeout as an
Here is a complete log from thanos-store, that is currently crashlooping. We are running two replicas and both are crashlooping running v0.32.5.


Pyleecan is throwing lot of errors

Hi All,
Can anyone let me know what is wrong with the attached file.
Off lately any model we are building is throwing lot of errors.[
ex_poc.json
ex_poc.json
](url)

ex_poc.json

I tried to generate a FEMM file and opened it in FEMM. It is throwing error too.

Does Pyleecan recognise 10P/12S machine ?

Dear Pierre,
We tried to run via GUI and Script ( as explanied in your tutorial)but it throws an error. Let me share the error pic for your reference.
I have shared the entire machine file for your reference. You can just import into your installation and run. I believe it will throw error...
May be something wrong with the stator-slot type we have chosen?.
please note we tried to build a few other models and they are working 100% as expected.

Hello,
I didn't had time to study your json file as my schedule is rather constraint right now. With few explanation/screenshot from your side it would be less time consuming on my side and I may be able to answer quickly your issue. I will see if I find some time to check your json.
Best regards,
Pierre


Notifier not accessible with Promise API?

By following this line I conclude that there is no public way to subscribe to disconnect or error events when using Promise API (please correct me if I'm wrong).
Example:
CDP(/*...*/).then(client => {
  client.on('disconnect', onDisconnect); // does not fire
  client._notifier.on('disconnect', onDisconnect); // fires, but _private
});

You're right. Both disconnect and error events basically mean: your connection has been closed. If you really want to distinguish (and use the promises API) you can simply check the error message.
In your example the first one does not fire since the client does not represent the notifier, which, as you say, it's not accessible via the promises API.

@cyrus-and Thanks you for very quick response! I was going to implement something like reconnect after the connection is lost (e.g. due to DevTools open), so I initially assumed that Promise/callback API are mirrors of each other, but apparently this isn't true. Now, since accessing private _notifier doesn't sound good, I guess I need to stick with callback-based API.
Thanks for clarifying!

They are not 100% equivalent because promises only have two states. I certainly could have exposed the notifier upon fulfillment, but it would have been too cumbersome to use.
FWIW I have no plan to drop/change the _notifier attribute anytime soon, if you really need to use that...


[Event Request] Service Line table procedure CopyFromCost

Existing code:
local procedure CopyFromCost()
var
ServCost: Record "Service Cost";
GLAcc: Record "G/L Account";
ConfirmManagement: Codeunit "Confirm Management";
begin
ServCost.Get("No.");
if ServCost."Cost Type" = ServCost."Cost Type"::Travel then
if ServHeader."Service Zone Code" <> ServCost."Service Zone Code" then
if not HideCostWarning then
if not ConfirmManagement.GetResponseOrDefault(
StrSubstNo(
Text004, ServCost.TableCaption, "No.",
ServCost.FieldCaption("Service Zone Code"),
ServHeader.FieldCaption("Service Zone Code"),
ServHeader.TableCaption, ServHeader."No."), true)
then
Error(Text005);
Description := ServCost.Description;
Validate("Unit Cost (LCY)", ServCost."Default Unit Cost");
...
...
...
Please add an event
local procedure CopyFromCost()
var
ServCost: Record "Service Cost";
GLAcc: Record "G/L Account";
ConfirmManagement: Codeunit "Confirm Management";
begin
ServCost.Get("No.");
****  OnBeforeAssignServCostValues(Rec,ServCost,HideCostWarning,IsHandled);
if (Not IsHandled) and (ServCost."Cost Type" = ServCost."Cost Type"::Travel) then
if ServHeader."Service Zone Code" <> ServCost."Service Zone Code" then
if not HideCostWarning then
if not ConfirmManagement.GetResponseOrDefault(
StrSubstNo(
Text004, ServCost.TableCaption, "No.",
ServCost.FieldCaption("Service Zone Code"),
ServHeader.FieldCaption("Service Zone Code"),
ServHeader.TableCaption, ServHeader."No."), true)
then
Error(Text005);
Description := ServCost.Description;
Validate("Unit Cost (LCY)", ServCost."Default Unit Cost");
where
[IntegrationEvent(true, false)]
local procedure OnBeforeAssignServCostValues(var ServiceLine: Record "Service Line"; ServiceCost : Record "Service Cost"; HideCostWarning: Boolean; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Develop

Create new list view option to lastest movies and latest episodes in dashboard

Thanks! Can you also squash the commits?

done!

Thanks!

Thanks for your contribution! :) I did some small changes to your pr as i wanted to showname to be on the left like it is with the other "dash modules" and fixed a copy paste error.


W1D1 needs slides setting up

I added the slides in in a different pull request. Closing this one as they are up to date now.


Create an item template creation tutorial

My past couple of conference talks have demonstrated creation of item templates and installing them with the .NET Core CLI. The feedback has clearly indicated that customers aren't aware this can be done. We should create a tutorial that walks through creating an item template, installing it with dotnet new, and using it. The creation instructions should show examples of if statements, loops, and token replacement.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d9cb6bd4-1194-91fa-014c-2e72d809e772
Version Independent ID: c3fddda9-24c1-f20c-a1b6-6aeea61d6e53
Content: Create an item template for dotnet new - .NET Core CLI - .NET Core
Content Source: docs/core/tutorials/cli-templates-create-item-template.md
Product: dotnet-core
GitHub Login: @Thraka
Microsoft Alias: adegeo

@scottaddie should we update this topic for this?

@mairaw I propose we add a new section, called "Create a template from a file", to that doc.

I think that a part 4 could be created that gets into advanced templates such as token replacement and input parameters.

I created this issue so long ago that I no longer remember. I do, however, think that your proposed part 4 would be a useful addition.


FRONTEND WITH FRAMEWORK: VueJS-7.5 => History Mode in routes

Description
Contributors are required to explain about History Mode in routes in VueJs with the "vue-router" plugin, which should cover questions like:-
What are History Mode in routes in Vue.js?
How does this work?
Why there is a need for this?
What are the advantages to use it and when to use it?
How to implement this with code (also give theory explanation of code)?
You can take 2-3 examples with codes of different types to explain this.
etc....
Note:
Plagiarism is strictly prohibited.
Changes should be made inside the Frontend_Web_Development_React_Angular_Vue/ dir inside Frontend_Web_Development_React_Angular_Vue branch.
Files need to be added into the Week7 folder only.
Domain
Frontend Dev React/Angular/Vue
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

May I work on this issue ?
Name - Hasti Sutaria
Method would be satisfy the conditions given above and precise practical and theoritical description.

sure

Thank you @anandhu720.

@anandhu720 Please review my PR. https://github.com/girlscript/winter-of-contributing/pull/7786

Thank you @anandhu720 !!


METRON-433: Documentation update

It has been a while since we had a holistic documentation review. I reviewed the README.md and

Rearranged content to better reflect the current segmentation of the model, moving a lot of content from metron-common
Added documentation and examples for MaaS
Added topology diagrams for the parser/enrichment topologies.
Added relevant examples of using stellar to do enrichments.
Made the stellar user defined functions provided up-to-date.

+1

Would the Storm topology visualization diagram work for the parser, enrichment and indexing illustration?
Attached is a sample image for the parser topology. I can work on getting rid of the numbers beneath the names.

@anandsubbu What I was leaning towards was something that would match up with the Storm documents - more like this or, even better (IMO), this.  The hope is to spark a "I've seen that before!" kind of moment for the reader.

Hi @JonZeolla, please see if the attached sample for Enrichment is better.

@anandsubbu That's exactly what I had in mind.  @cestella, thoughts?

@anandsubbu I love it!  Thank you so much!
My only concern is in adopting it in this PR, I won't get to credit you with the commit.  You have two choices:

Attach the images here and I'll update this PR
I'll merge this PR and you can submit a follow-on PR with updated doc images

The benefit of the second one is that we'll give you credit for the PR and commit.  What do you think?

Hi @cestella and @JonZeolla, great. I will go ahead and create similar ones for the remaining diagrams as well.
Either way works fine by me, though I would be super excited to get a chance at my very first commit :).

You got it; I'll merge this guy later on today and you can submit a new PR that replaces the images. :)  Thanks for the contribution!

@anandsubbu @JonZeolla Thank you both for the feedback and contributions!


bot is dead on #virtkick

17:45:07 -!- Not-7e7f<EMAIL_ADDRESS>has quit [Ping timeout: 265 seconds]

New commits to virtkick-webapp didn't revive the bot.
My profile: http://n.tkte.ch/Nowaker/virtkick-webapp

#112


FR: Profile changer header

Could you please add a capability to this extension so it can apply different credential profile based on a header such as x-sigv4-profile in the request?
It will also be good to have a reserved value for the profile such as none to ignore profile application by default.
The  x-sigv4-profile  header can be removed when the request is sent to the server.
At the moment, it is not possible to test for access control checks when a scan/intruder task is being executed as change of profile can make the scan results invalid.

I just looked at the code to see how hard it is to implement it myself and it has already been implemented 👍
Wow thanks :)
It is already in the readme too but I hadn't noticed this. Going to close it!


Resume Training

If I want to resume training, do I need to run the code under the folder like 2024-03-08/21-57-13, and run python ../../train_network.py +dataset=cars ?

When I resume training, it got an error:  ValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group


ID as name issue on example

Describe the Bug
I'm trying to run the examples/complete scripts but facing the following error:
Terraform planned the following actions, but then encountered a problem:

  # module.waf.aws_wafv2_ip_set.default["rule-110-ip-set"] will be created
  + resource "aws_wafv2_ip_set" "default" {
      + addresses          = [
          + "<IP_ADDRESS>/8",
        ]
      + arn                = (known after apply)
      + id                 = (known after apply)
      + ip_address_version = "IPV4"
      + lock_token         = (known after apply)
      + name               = "rule-110-ip-set"
      + scope              = "REGIONAL"
      + tags_all           = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.
╷
│ Error: expected length of name to be in the range (1 - 128), got
│
│   with module.waf.aws_wafv2_web_acl.default[0],
│   on ../../rules.tf line 96, in resource "aws_wafv2_web_acl" "default":
│   96:   name          = module.this.id
│
╵
╷
│ Error: invalid value for name (must contain only alphanumeric hyphen and underscore characters)
│
│   with module.waf.aws_wafv2_web_acl.default[0],
│   on ../../rules.tf line 96, in resource "aws_wafv2_web_acl" "default":
│   96:   name          = module.this.id
│
╵

Adding the name variable no issues occur:
module "waf" {
  source = "../.."

  name = "test-waf"

Expected Behavior
The example should run without issues.
Steps to Reproduce
git clone git@github.com:terraform-aws-modules/terraform-aws-alb.git
cd terraform-aws-waf/examples/complete
terraform init
terraform apply

Screenshots
No response
Environment
No response
Additional Context
No response

same here

same in 1.8.0:
│ Error: expected length of name to be in the range (1 - 128), got
│
│   with module.waf.aws_wafv2_web_acl.default[0],
│   on .terraform/modules/waf/rules.tf line 98, in resource "aws_wafv2_web_acl" "default":
│   98:   name          = module.this.id


minio cannot restart if all the shards are not reachable

I was testing the monitoring action of the minio template and I notice the process was not coming back as it should. After inspection turns out minio doesn't start if it can't reach all the shards specified in the configuration.
We'll have to decide how we handle this, cause I think that in production some shards would be down, but we still have enough available shards to fulfill the storage policy, so minio should still be able to start.

moved to https://github.com/threefoldtech/minio/issues/12


Fix root owned files post test runs

Some tests leave files owned by root that are therefore undeletable. I suspect this is similar to a symptom I've seen where kb-sdk test results in the same thing. Known tests that do this:
package us.kbase.mobu.tester.test.ModuleTesterTest:

testPythonModuleExample
testPythonModuleError

I believe this is based on your .kb-sdk cache file. That user needs to map into the container and then have permissions within the container as well as the docker socket. We've ran into this here as well

Interestingly the java tests in the same module do not appear to have this problem, just python


[QUESTION] Properties of response in capital letters?

Description
In some places in our project we read data using a transaction with the read function. With cds-typer all properties in the response come back in capital letters. In the entity definition we use camel case and also in the generated index file camel case is used, which then leads to problems when processing the response.
Originally we had cds2types in use, here the properties of the response were - as in the definition - camel case. Is this behavior intended, that all properties of the response are in capital letters and we have to adapt the processing of the response or is there an error or can we influence the "format" of the response somehow?

Details
Versions of CDS tools:

Version of cds-typer: 0.5.0
Sample CDS

Generated index.ts

Hi Evan,
thanks for reporting this quirk. This is definitely not intended behaviour.
Could you please add a sample of the read-call that  is producing this output?
Best,
Daniel

Hi Daniel,
Which read call should I send you? Does this screenshot help?

Kind regards,
Johannes

Hi Johannes,
this is also helpful, yes. I assume you have something like await SELECT... somewhere in your code. Can you disclose that snippet? Feel free to obfuscate sensitive parts, of course!
Best,
Daniel

Hi Daniel,
here's the code snippet - no magic at all. We are doing something like this:
const entries = await tx.run(SELECT.from("MYENTITY").where({ Id: myId }));

Kind regards,
Johannes

Hi Johannes,
thanks for the snippet! I am actually a bit surprised that the name of your entity seems to be capitalised as well. Is that actually how it is in your code, or did you just add it for the example?
Best,
Daniel

Hi Daniel,
It's just for the example. I just tried it with lowercase - the result stays the same.
Kind regards,
Johannes

If you are using a string inside the SELECT(...) (as opposed to using the generated types SELECT(MyEntity), then it is extra weird. The generated types have no influence on the runtime then whatsoever. Especially since the screenshot of the generated types actually shows the properties to be properly set in camel case.
Can you please double-check that switching between cds2types and cds-typer really is the culprit that causes this behaviour?
Alternatively, you can of course provide a minimal sample in which I can observe this behaviour so I can check for myself.

Hi Daniel,
I cannot reproduce the issue in the bookshop example and i think my application is too complex to post a MWE here.
Nevertheless i debugged through my node modules and had the following finding in the hdb-module (version 0.19.3): There is a difference in the "columnDisplayName" which is extracted from the buffer read from the db (when I get the coding right there).

Do you have any idea how this property is affected by the used type generator?

Hi Johannes,
thanks for taking the time to debug into the modules. This is all very peculiar. Since your app is apparently to large to reduce and presumably not sharable, we need to somehow narrow down the possible root cause, as this seems to be a highly situational issue. Can you provide an (informal) diff between what you are doing when using cds-typer vs cds2types?
Best,
Daniel

Hi Johannes,
did you have time to look into the diff or did you maybe even find a solution for this issue?
Best,
Daniel

Hi Daniel,
we don't have a solution yet, but we haven't had a chance to try a few things. If there are any new findings, I'll share them here.
Regarding your question: We didn't change much, only the dependency in the package.json and of course the imports of the type definitions.
Kind regards,
Johannes

Hi Johannes,
I have approached one of our runtime experts about this problem and they suggested that the identifier you are passing into your SELECT might not be matching your actual model name.
Usually, you'd pass in a fully qualified model name, i.e. SELECT.from('sap.cap.bookshop.Books')[^1]. If that parameter can not be resolved against the model, then the runtime can not perform a mapping of the database columns, which are in all upper case, to how the names are written in the model.
Please double check that you pass in a fully qualified name of an entity or use SELECT.from(Books) without quotes, given that Books is an import from your model.
Best,
Daniel

Hi Daniel,
thank you for your efforts.  We were able to do some tests now. When we pass the entity  to the select (like SELECT.from(Books)) we get the error: Could not find table/view BOOKS in schema <SCHEMA_ID>. The issue here is that the table on the database is named "MYMODEL_BOOKS".
When we call SELECT.from('sap.cap.bookshop.Books') it works. The elements in the response are not capitalized.
We have several service definitions in our service.cds.
using mymodel as mymodel from '../../db/data-model';
using {sap} from '@sap/cds/common';

service MyService @(requires: 'authenticated-user') {
     entity Customers as projection on mymodel.Customer;
     entity Cars as projection on mymodel.Car  {
          *,
         Customers: redirected to Customers
    };
}

Note that this example is really simplified, we want to serve denormalized views with our service.cds file like described here.
The data-model.cds looks like this:
using {managed} from '@sap/cds/common';

namespace mymodel;

entity Customer: managed {
    key Id : UUID;
        Name : String(256);
        Cars: Association to many Car on Cars.Customer= $self;
}

entity Car: managed {
    key Id  : UUID;
        Brand : String(256);
        Customer : Association to one Customer;
}

After running cds-typer the MyService index.ts file looks like this
import * as _mymodel from './../mymodel';
import * as __ from './../_';
import * as _ from './..';

// other entites

export function _CarAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
  return class Car extends Base {
        Id?: string;
        Brand?: string;
        Customer?: __.Association.to<_mymodel.Customer>;
  };
}
export class Car extends _._managedAspect(_CarAspect(__.Entity)) {}
export class Cars extends Array<Car> {}

The index.ts file for my model looks like this:
import * as __ from './../_';
import * as _ from './..';

// other entities

export function _CustomerAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
  return class Customer extends Base {
        Id?: string;
        Name?: string;
        Cars?: __.Association.to.many<Cars_>;
  };
}
export class Customer extends _._managedAspect(_CustomerAspect(__.Entity)) {}
export class Customer_ extends Array<Customer> {}

export function _CarAspect<TBase extends new (...args: any[]) => object>(Base: TBase) {
  return class Car extends Base {
        Id?: string;
		Brand?: string;
        ColorCustomizingSet?: __.Association.to<Customer>;
  };
}
export class Car extends _._managedAspect(_CarAspect(__.Entity)) {}
export class Car_ extends Array<Car> {}

As we want to read our denormalized views like described above, we are doing something like this in our coding as opposed to reading directly from the datamodel:
// select from entity from the datamodel
SELECT.from("mymodel.Car"); // no capital letters in response
// select from view defined in service.cds
SELECT.from("MYSERVICE.Cars"); // capital letters in response

We think that there is something wrong when generating the types for entities/views which are only defined in the service.cds file. Additional information: When reading like described, we are not inside an OData handler but in a RESTful endpoint.
I'm out of office for the next few days, so maybe my colleague @dnzxy will deal with this topic, if you can find time to fiddle around with this topic. No pressure at all.
Thank you & Kind regards,
Johannes

Hi Johannes, hi Deniz,
I tried reproducing the behaviour from the listings you provided, but I fail to run into the issues you are describing.
class MyService extends cds.ApplicationService { async init() {
    this.on('READ', '*', async () => {
        const { Customer } = require('#cds-models/mymodel')
        console.log(await SELECT.from(Customer))
    })
}}

prints:
[
  {
    createdAt: null,
    createdBy: '2023-08-22T05:40:46.812Z',
    modifiedAt: null,
    modifiedBy: '2023-08-22T05:40:46.812Z',
    Id: '0',
    Name: 'Foo'
  }
]

Which is the sole entry I provided as data set. Note that the column names are not in all-caps.
I think as of now we are merely poking in the dark until the issue becomes reproducible. Could you please provide a fully self-contained sample repository where I can observe the behaviour?
Best,
Daniel


Add ZhiPu AI model client

Hi, this PR is add ZhiPuAI model client and has passed unit testing.
I can provide my api_key if needed for testing
the  PR content:

ZhiPu AI chat client and function calls
ZhiPu AI embedding client
ZhiPu AI image client
spring starter
unit test
chat client documents
embedding client documents
image client documents

ZhiPuAI is a popular LLM in China Mainland recently, the link: ZhiPuAI
For some reasons, OpenAI and others product can't be directly used in Chinese Mainland.
while ZhiPuAI, Moonshot, MiniMax, BaiChuanAI call China's LLM four dragons.
If they can supported, it will help spring-ai to further promote in Chinese Mainland.
The Moonshot PR is #596
I'll also provide PR for MiniMax and BaiChuan later.

Thank you very much! :heart:   Merged in 99c385778829c00141d066c6d8d5b2ed5b858bb2


side bar has changed, reservation transactions no longer present (and no cost on the 'hybrid benefit' tab)

side bar has changed, reservation transactions no longer present (and no cost on the 'hybrid benefit' tab)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: d923a067-3218-78f4-2549-be5f27f66e96
Version Independent ID: b559798f-a9aa-09b9-9e98-3aea87baa2c0
Content: View Azure Reservation purchase and refund transactions - Microsoft Cost Management
Content Source: articles/cost-management-billing/reservations/view-purchase-refunds.md
Service: cost-management-billing
Sub-service: reservations
GitHub Login: @bandersmsft
Microsoft Alias: banders

@aafishman
Thanks for your feedback! We will investigate and update as appropriate.

@aafishman Apologies for the delayed response. Could you please elaborate your question and provide more details?

No worries
It appears the docs are out of date. The sidebar doesn’t look like that and the options have changed. I found this article when trying to determine the original cost of some reservations. The tab has since changed to hybrid reservations or something similar. Try the guide and you will see

From: SadiqhAhmed-MSFT @.>
Sent: Thursday, August 10, 2023 12:46:13 AM
To: MicrosoftDocs/azure-docs @.>
Cc: aafishman @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] side bar has changed, reservation transactions no longer present (and no cost on the 'hybrid benefit' tab) (Issue #113269)
@aafishmanhttps://github.com/aafishman Apologies for the delayed response. Could you please elaborate your question and provide more details?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/113269#issuecomment-1672590675, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOE2WRQQJOVBL6NLMFRQR43XURYSLANCNFSM6AAAAAA3HI7X3A.
You are receiving this because you were mentioned.Message ID: @.***>

@aafishman Hi there. I've updated the article for clarity with the following updates:
I clarified the required roles in the article:
For EA enrollments, EA Admins, Indirect Admins, and Partner Admins can view reservation transactions in Cost Management and Billing.
And a little lower in the procedure:

Sign in to the Azure portal.
Search for Cost Management + Billing and select it.
Select a billing scope.
Select Reservation transactions.
The Reservation transactions left menu item only appears if you have a billing scope selected.
To filter the results, select Timespan, Type, or Description.
Select Apply.

FYI: The Reservation transactions page shows the reservation cost details.
The Reservations + Hybrid Benefit page doesn't show cost information (AFIK it never has). Instead, it shows the scope, type, product name, region, auto-renewal state, quantity, and usage percentage.
If you don't see the Reservations transactions left menu item, you don't have the required role you must select a billing scope, or both. If you continue to have problems, you can open a support request in the Azure portal.
#please-close
https://github.com/MicrosoftDocs/azure-docs/issues/113269


fix: nuxt-icon and add tree shaking to icons

resolves #96
this breaks the last feature added, hence the major version bump
I hope you like it

what is this error: error TS2345: Argument of type '{ name: string; enforce: string; load(id: any): Promise<string>; }' is not assignable to parameter of type 'Plugin_2 | Plugin_2[]'.
I been seeing it locally as well, but couldn't figure why it happens, I thought it's just a bug with ts or volar

fixed the error, interesting to solve

@cpsoinos I did not know what note to add exactly for migration, is this enough ?

lgtm, thanks!

@cpsoinos should we remove global: true from addComponentsDir function ?
I'm not sure but  it seems components#dynamic-components  mentions that registering components globally is not recommended.
can you take a look that if the global mentioned there is the global we are using ?


Feature support fold constant on delete stmt

Proposed changes
support fold constant on delete stmt
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 51.82 seconds
stream load tsv:          500 seconds loaded<PHONE_NUMBER>9 Bytes, about 142 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.7 seconds inserted 10000000 Rows, about 348K ops/s
storage size:<PHONE_NUMBER>4 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 50.36 seconds
stream load tsv:          502 seconds loaded<PHONE_NUMBER>9 Bytes, about 142 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>1 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 51.18 seconds
stream load tsv:          503 seconds loaded<PHONE_NUMBER>9 Bytes, about 141 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          75 seconds loaded<PHONE_NUMBER> Bytes, about 14 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>6 Bytes


Add new file/folder buttons in right-click context menu

Adds "New folder", "New Text Document" and "New Bitmap Image" to the right click menu. Once clicked, they trigger the same RenameDialog as when creating the items from the "Add Item" button in the ribbon.
Screenshots

Before
After

Related to:

#49
#220

I'm going to also apply this change to the PhotoAlbum view