Slotting mode idea

How hard would it be to add a slotting mode? For example, for broaching an internal keyway using tiny infeeds of the cross slide, and moving the carriage left and right.
Example:
https://youtu.be/vk6msRj_tcQ?si=Dp1TDIgzHQsS9AoH&t=264
The way I do it on my 10x32" lathe is by barely touching, then move the carriage left to scrape one cut, then go to the start, feed in another .0005" (inch lathe) or .001" depending on how wide the slot is, and move it again. It would be nice to automate this with the H4, so I can say cut the slot to my X limit, and define the depth of each pass., and with a configurable left and right speed. The right speed can be much faster than the left speed due to the smaller torque requirement.
The difference with the turning mode is that the spindle obviously must not be turning, otherwise the automatic turning mode would do the job.
There is one complication for a blind slot (a slot that does not extend through the part entirely), the chips will pile up in the hole and prevent the tool from cutting the full depth. So I manually stop short as I'm progressing. For example, if my depth of cut is 0.0005, then the next pass must stop 0.0005" short of the left stop. If it's a through hole, that's not required though.
Just an idea. I was going to do a PR and implement it myself, but finding the time to dedicate to that is difficult for me at the moment. And I'm able to slot manually using the left and right moves anyway.

SPEED_MANUAL_MOVE works for my case, because I use a large closed loop servo so the torque doesn't decrease as rpm increases, but the closed loop stepper I replaced did suffer from torque drop as rpm increases (as do all steppers). So for my use case, SPEED_MANUAL_MOVE would be fine. Later on though if people have trouble with it, we may want to consider a configurable slotting cut speed and then slotting retract speed can equal SPEED_MANUAL_MOVE.
#define SPEED_SLOTTING_CUT = SPEED_MANUAL_MOVE /2
#define SPEED_SLOTTING_RETRACT = SPEED_MANUAL_MOVE
or something. No big deal though, starting with SPEED_MANUAL_MOVE for everything and seeing how that works might be good enough.


Bump to v3.2.0 for dropping build flavors

What

Why

Test Plan

✅ | ❌ I've added unit tests for this change.
✅ | ❌ The reviewer should manually test the changes in this PR.

Demo

How

Current dependencies on/for this PR:

main

PR #113

PR #114

PR #115

PR #116

PR #117   👈

This comment was auto-generated by Graphite.


Vento frontmatter is mangled

When formatting Vento templates that have frontmatter with markup_fmt, the frontmatter is squashed into one line and made invalid.
demo in dprint playground

Thank you!


Android: improved default mappings for controller axis input

While this isn't a complete replacement to the 'prompt the user to map their controller manually' advice, I've made some adjustments to axis logic that should allow for Android controllers to work with the default mapping in a bunch more cases. These changes are based on Android's guide for handling controller actions: https://developer.android.com/training/game-controllers/controller-input.html#button

now tries to ensure that AXIS_X, AXIS_Y, AXIS_R, and AXIS_RZ are mapped to ids 0,1,2, and 3 regardless of where they appear in the motion range list. This ensures consistency with iOS and Desktop in most cases.
identifies if the L2 and R2 buttons are using an axis, and automatically maps them to button inputs just like it already does with the POV axis. If they do have an axis then the buttons themselves are ignored

On my Android 11 device this totally fixed default mapping issues for a PS4 and Xbox One controller. A Switch pro controller already worked before and after. Lastly there were improvements with a PS5 controller and a 3rd party Switch controller, but button mappings were still wrong. The button mappings apparently are an Android 11 issue which is fixed in 12 though: https://stackoverflow.com/questions/68190869/dualshock-5-and-android
This should probably be considered a breaking change, as existing customized mappings might be incorrect with these axis changes.

Can you add a configuration flag for the new behaviour? This way we won't have a problem with existing persisted mappings.
 I might call it useNewAxisLogic. Perhaps have it default to true as well,

That are good suggestions!

There we go, I've added the flag and switched to using arraylist while setting up AndroidController before its converted to an array.
Sorry for the extra commit (forgot about int vs Integer), maybe squash the commits before merging if you want.

Done, let me know when your test players confirm everything's working well.

Based on comments at https://github.com/00-Evan/shattered-pixel-dungeon/issues/1034 , this PR does resolve axis input errors, but there are still button mapping issues. I might look into that and see if there's anything that can be done to automatically improve that too.


fix: replace node buffers with uint8arrays

All uses of node Buffers have been replaced with Uint8Arrays
Depends on:

[ ] https://github.com/libp2p/js-libp2p-pubsub/pull/70

BREAKING CHANGES:

The .data and .seq properties of messages used to be node Buffers, now they are Uint8Arrays
All deps of this module now use Uint8Arrays instead of Buffers

Codecov Report

Merging #118 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #118   +/-   ##
=======================================
  Coverage   80.00%   80.00%
=======================================
  Files           1        1
  Lines          10       10
=======================================
  Hits            8        8
  Misses          2        2

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 a590997...f56db61. Read the comment docs.


Use scarb metadata config inside the crates config

As for now, we are using the default crates config for Global config here, but we should put the scarb config here (using compilation_unit_metadata probably)

Note: Ask @piotmag769 if it's even necessary to change that

Doesn't seem needed since the global settings are only used if the settings for package are not there. We do set it for every package though.
https://github.com/software-mansion/scarb/blob/a3c269df994b5b27b5f79210dad34cd82a25480a/extensions/scarb-doc/src/metadata/compilation.rs#L92
You can add a comment about it if you want


Support Oculus CV1 sensor in USB 2.0 / JPEG mode

Hello,
when testing the latest additions on the rift-kalman-filter branch last night and spending quite a bit of time scratching my head, I discovered upon running the simple example that the sensor I was trying to use wasn't being detected. The sensor I used is mounted in the corner of my room and connected via a USB2.0 active extension cable - https://www.amazon.co.uk/dp/B00B2HP3A2/ref=pe_3187911_185740111_TE_item upon changing to a none extended cable, all worked as expected.
I was wondering if this might be due to the extension being USB 2.0 rather than 3.0. I should also stress that this is completely none urgent, just something to be aware of if feature parity is the end goal as this setup works fine on the proprietary software.

Yes, probably. If you could paste some syslog output when connecting the camera via the extension, I suspect we'll find it enumerates as a USB 2.0 device. When connected to USB 2.0, the camera doesn't support raw video frame transport - only JPEG encoded frames. Conversely, when connected to USB 3.0, the camera only offers raw video format and doesn't support JPEG.
It's a bit silly.
The upshot is that I have not at all looked at incorporating a JPEG decoder to support the USB 2.0 mode and have been testing exclusively with USB 3.0 and raw video frames.

Yes, probably. If you could paste some syslog output when connecting the camera via the extension, I suspect we'll find it enumerates as a USB 2.0 device. When connected to USB 2.0, the camera doesn't support raw video frame transport - only JPEG encoded frames. Conversely, when connected to USB 3.0, the camera only offers raw video format and doesn't support JPEG.
It's a bit silly.
The upshot is that I have not at all looked at incorporating a JPEG decoder to support the USB 2.0 mode and have been testing exclusively with USB 3.0 and raw video frames.

Looking at my lsusb that seems to indeed be the case. That might explain why my previous CPU struggled so hard when running the rift under Windows. Is it bad that I'm not even surprised the sensors do that?
Here's an output from lsusb
`Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 004: ID 2833:0211 Oculus VR, Inc. Rift CV1 Sensor
Bus 005 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 005 Device 002: ID b58e:9e84 Blue Microphones Yeti Stereo Microphone
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 2833:3031 Oculus VR, Inc. Rift CV1
Bus 004 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 28de:1142 Valve Software Wireless Steam Controller
Bus 003 Device 074: ID 2833:0330 Oculus VR, Inc. Rift CV1 Audio
Bus 003 Device 073: ID 2833:0031 Oculus VR, Inc. Rift CV1
Bus 003 Device 072: ID 2833:2031 Oculus VR, Inc. Rift CV1
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 2833:0211 Oculus VR, Inc. Rift CV1 Sensor
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 007: ID 1462:7c91 Micro Star International MYSTIC LIGHT
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 1b1c:1b13 Corsair Vengeance K70RGB keyboard
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub'
I'll grab dmesg/systemd logs later when I'm back at the PC if you need it.

Looking at my lsusb that seems to indeed be the case. That might explain why my previous CPU struggled so hard when running the rift under Windows. Is it bad that I'm not even surprised the sensors do that?
Here's an output from lsusb
`Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 004: ID 2833:0211 Oculus VR, Inc. Rift CV1 Sensor
Bus 005 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 005 Device 002: ID b58e:9e84 Blue Microphones Yeti Stereo Microphone
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 2833:3031 Oculus VR, Inc. Rift CV1
Bus 004 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 28de:1142 Valve Software Wireless Steam Controller
Bus 003 Device 074: ID 2833:0330 Oculus VR, Inc. Rift CV1 Audio
Bus 003 Device 073: ID 2833:0031 Oculus VR, Inc. Rift CV1
Bus 003 Device 072: ID 2833:2031 Oculus VR, Inc. Rift CV1
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 2833:0211 Oculus VR, Inc. Rift CV1 Sensor
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 8087:0029 Intel Corp. AX200 Bluetooth
Bus 001 Device 007: ID 1462:7c91 Micro Star International MYSTIC LIGHT
Bus 001 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 1b1c:1b13 Corsair Vengeance K70RGB keyboard
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub'
I'll grab dmesg/systemd logs later when I'm back at the PC if you need it.

I think the best way to check the sensor is using v4l2-ctl --list-formats-ext  -d /dev/video2 and specifying the right v4l2 device node. It will print out the formats the camera is announcing. If it includes JPEG, it's in USB 2.0 mode

Merry Christmas! I got you JPEG decoding as a present. :christmas_tree:

Don't forget if you're testing this, you need libjpeg development packages installed to get the JPEG support.
meson build should output a line like:
Run-time dependency libjpeg found: YES 2.0.90

I've been testing with 1 sensor in JPEG mode for weeks. Decoding adds a few ms to frame processing, but I can't tell the difference. The processing latency is compensated by prediction / lagged state updates.


Checkbox, Radio: avoid toggling on 'enter'

From https://github.com/aragon/aragon-ui/pull/620#discussion_r335479434:

the behavior of Checkbox is wrong: the enter key should be used to submit forms (if any) when a checkbox is focused, not to toggle the checkbox itself (reference).

I can work on this.


YAML parsing fails with global installation

Description
When referencing @ibm-cloud/openapi-ruleset in a .spectral.yaml file, parsing fails and the following message appears:
[Info] Problem reading Spectral config file, using default IBM Spectral ruleset. Cause for error:
ENOENT: no such file or directory, open '/Users/me/my-project/@ibm-cloud/openapi-ruleset'

Steps to Reproduce
Local Machine
With the following .spectral.yaml:
# Or `extends: '@ibm-cloud/openapi-ruleset'`
extends: [['@ibm-cloud/openapi-ruleset', 'all']]
rules:
  # The actual rules here don't affect anything
  string-boundary: false

Install any version of ibm-openapi-validator >= 0.52.1, and the ruleset globally:
npm -g install ibm-openapi-validator @ibm-cloud/openapi-ruleset

Run the command with the --debug flag on any file:
$ lint-openapi --debug --verbose -r .spectral.yaml openapi.yaml

[Info] Problem reading Spectral config file, using default IBM Spectral ruleset. Cause for error:
ENOENT: no such file or directory, open '/Users/me/my-project/@ibm-cloud/openapi-ruleset'

Docker
This is reproducible with the same .spectral.yaml as above and a one-liner running docker:
$ docker run --rm -tiv $PWD:/data:ro jamescooke/openapi-validator:0.58.1 --debug --verbose openapi.yaml

[Info] Problem reading Spectral config file, using default IBM Spectral ruleset. Cause for error:
ENOENT: no such file or directory, open '/data/@ibm-cloud/openapi-ruleset'

Additional information
This problem does not occur on 0.52.0, but does occur on 0.52.1 and later.
It also does not occur if the same configuration is ported to Javascript:
const ibmRuleset = require("@ibm-cloud/openapi-ruleset");

module.exports = {
  extends: [[ibmRuleset, 'all']],
  rules: {
    "string-boundary": false,
  },
};

The ruleset needs to be in the local filesystem for Spectral to find it, like any NPM dependency. If you haven't already, you need to install the ruleset package as a local dependency. Spectral will automatically find it in node_modules/.
We were a bit late getting documentation out on this but you can find more info in our customization docs. If you're still having trouble, let me know and we can debug

Thanks for the quick response. I can replicate the behavior using the spectral CLI directly, so I'll follow up on their end. I appreciate your time here.


Add Widget block and improve backend UI

Summary of changes
Add a custom block type capable of using existing widgets which in turn permits the creation of more complex reusable content. Improve the Content Hub backend to make filtering, finding, and tagging content faster and easier.
Frontend

Refactor blockWidget.js to add new Widget block custom block type
Add necessary widget block schema to gatsby-node.js
Add Block component import to widget.js (previously it only worked in sectionWidget.js)

Incidental changes

Upgrade npm packages to latest versions
Enable Fastbuilds
Fix keys and null checks in various component files

Backend

Add new custom block type Widget block
Make Widget block available to field_widgets and field_section_widgets
Add bulk_edit_terms module
Add safedelete module
Enable file_delete_ui
Enable views_bulk_operations
Give required Fastbuilds permission to Gatsby Drupal users
Default Content view: add search filters (tags, author) and URL alias field
Default Files view: add search filters and delete option
Default Media view: add search filters, enable bulk operations

Test Plan
Gatsby Cloud side: https://tqtest62584.gatsbyjs.io/
Drupal multidev: https://widgetblock-chug.pantheonsite.io/

Verify all widgets work as expected on https://tqtest62584.gatsbyjs.io/block-test
Verify the widget block Admission Requirements BA works on https://tqtest62584.gatsbyjs.io/programs/studio-art and https://tqtest62584.gatsbyjs.io/programs/bachelor-of-arts
Review the widget block Admission Requirements BA on https://widgetblock-chug.pantheonsite.io/block/27
Review the widget block Widget block demo on https://widgetblock-chug.pantheonsite.io/block/28
Experiment with creating new widget blocks
Go to https://widgetblock-chug.pantheonsite.io/admin/content and use the Update terms option from the Actions dropdown to add tags to selected pieces of content (note: the tag has to already exist)
Go to https://widgetblock-chug.pantheonsite.io/admin/content/files and click the Delete button for an image file. You should see a message telling you the file is being used in a Media node with a link to that Media node.
Use the new Use count search filter to display files with a use count of NULL
Click Delete and verify that you get a "none were found" message with respect to other nodes using the file
In the Files list, find Giannina Descalzi 250.jpg (you can search by Filename or use the new File URL field, which will search for words in the file's URL like "jpg" or "inline" or another folder name)
Click Delete and verify you get a message telling you which node is using this file (which isn't connected to a Media item). You should also see a link to the node in question (node: the use count includes node revisions)

Known issues

The SafeDelete module's List of orphaned nodes feature keeps timing out on our site so it's been disabled (the option still displays but no node types have been selected for it to check)
At this time, SafeDelete can only check the body field for node links, not paragraph types. It does, however, let you know exactly where a file is being used
It is not possible to filter by URL alias in the content view at this time

Looks good - my only concern would be in the way the block is selected in the widget field. Once we get a lot of blocks that list is going to get unwieldy.


Provide Bundled Version

The package should come with a single dependency to yargs, which would only be used for the CLI usage. All the remaining dependencies should be bundled in (yes, that also includes TypeScript).
Reason: Using a different version of TypeScript may break the declaration generation. When bundling we ensure that the declaration bundling works as tested.

Since 0.4.0 integrated.


Add RL Control service / meta

Add in the RL control node service / metapackage, as some special stuff needs to be cloned (gymchrono), and installed (gymnasium)

nvm this is not needed, just adding gymchrono as a submodule


fix caseload query

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.739%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

compass/clients/person_client.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
729

Relevant Lines:
1409

💛  - Coveralls


Change LangVersion to be 11

Downlevel "latest" maps to pre-11. In the future, we'll want to either keep this up-to-date (e.g. update it to 12 when .NET 8 ships) or change it to preview, which will always be up-to-date.

fixes #2165


Support non-https registries

Currently, diffoci only seems to support https registries, which prevents usage staging local registries to perform diffing against a remote image.

As a workaround you may use ctr or nerdctl to pull the image, and use diffoci --backend=containerd --containerd-socket=SOCKET --containerd-namespace=NAMESPACE
https://github.com/reproducible-containers/diffoci?tab=readme-ov-file#accessing-containerd-images

Could be nice to allow self-signed certificate as well.


[FR] Zoom Out on Drag

Love the project; had an idea wanted to get your feedback.
So essentially when you have a lot of items on your grid, it gets difficult to drag/reorganize. This is a interesting concept:

When you start dragging, it zooms out so you can re-organize them better.

+1

:+1:

Closed as of 0238a2b4a48f1429450aff7007c8a56705cddf5f

Thats awesome @BTMorton! Thanks!


Corrupting data when converting integers after DataFrame.to_map()

While I was using some functions I saw a weird behaviour when converting a DataFrame to a map.
In the fossil_fuels dataset, the bunker_fuels column value that originally was the integer 9 became a '\t'.
iex(1)> df = Explorer.Datasets.fossil_fuels()
iex(2)> df  |> Explorer.DataFrame.slice(0, 1) |> Explorer.DataFrame.to_map()
%{
  bunker_fuels: '\t',
  cement: [5],
  country: ["AFGHANISTAN"],
  gas_flaring: [0],
  gas_fuel: 'J',
  liquid_fuel: [1601],
  per_capita: [0.08],
  solid_fuel: [627],
  total: [2308],
  year: [2010]
}

And it gets worse, because it is not just a printing problem, if I try to parse the map to a list using Map.to_list(), IEx returns a list with the same '\t' character
iex(3)> df  |> Explorer.DataFrame.slice(0, 1) |> Explorer.DataFrame.to_map() |> Map.to_list()
[
  bunker_fuels: '\t',
  cement: [5],
  country: ["AFGHANISTAN"],
  gas_flaring: [0],
  gas_fuel: 'J',
  liquid_fuel: [1601],
  per_capita: [0.08],
  solid_fuel: [627],
  total: [2308],
  year: [2010]
]

gas_fuel appears to also be corrupted, returning 'J'. Looking into this with urgency.

@kimjoaoun @cigrainger hey guys, I think this is just a matter of how Elixir is printing the lists. If you try this:
df = Explorer.Datasets.fossil_fuels()
df  |> Explorer.DataFrame.slice(0, 1) |> Explorer.DataFrame.to_map() |> IO.inspect(charlists: :as_lists)

You can see that the inspected value is returned correctly. This is because by default IEx will try to infer the type of a list. Sometimes it is detected as charlist. See https://hexdocs.pm/elixir/Inspect.Opts.html for details.
To disable this behavior in IEx, you can run IEx.configure(inspect: [charlists: :as_lists]).
For more details, please check this Stackoverflow question: https://stackoverflow.com/questions/30037914/elixir-lists-interpreted-as-char-lists

Well that's a big relief @philss, thank you. I was very confused over here. Closing, as I've confirmed it:
iex(1)> IEx.configure(inspect: [charlists: :as_lists])
:ok
iex(2)> df = Explorer.Datasets.fossil_fuels()
#Explorer.DataFrame<
  [rows: 1094, columns: 10]
  year integer [2010, 2010, 2010, 2010, 2010, "..."]
  country string ["AFGHANISTAN", "ALBANIA", "ALGERIA", "ANDORRA", "ANGOLA",
   "..."]
  total integer [2308, 1254, 32500, 141, 7924, "..."]
  solid_fuel integer [627, 117, 332, 0, 0, "..."]
  liquid_fuel integer [1601, 953, 12381, 141, 3649, "..."]
  gas_fuel integer [74, 7, 14565, 0, 374, "..."]
  cement integer [5, 177, 2598, 0, 204, "..."]
  gas_flaring integer [0, 0, 2623, 0, 3697, "..."]
  per_capita float [0.08, 0.43, 0.9, 1.68, 0.37, "..."]
  bunker_fuels integer [9, 7, 663, 0, 321, "..."]
>
iex(3)> df |> Explorer.DataFrame.slice(0, 1) |> Explorer.DataFrame.to_map()
%{
  bunker_fuels: [9],
  cement: [5],
  country: ["AFGHANISTAN"],
  gas_flaring: [0],
  gas_fuel: [74],
  liquid_fuel: [1601],
  per_capita: [0.08],
  solid_fuel: [627],
  total: [2308],
  year: [2010]
}

Thank you @philss and @cigrainger. Sorry for opening the useless issue. D:

@kimjoaoun no problem :)


It's not possible to merge conflicts in the same branch.

When there is a conflict in the one branch only (pulling conflicting commits), this plugin does not work. I will get Conflict markers miss common base revision. Ensure you're using 'merge.conflictStyle=diff3' in your gitconfig in my footer.
I've already created a Git conflict simulation for my students which simulates a conflict. It can be used to further improve this plugin.
Here is the screenshot of my vim after trying the mergetool.

Are you using merge.conflictStyle=diff3? I don't see diff3 anywhere in the repo you linked.
See here: https://github.com/samoshkin/vim-mergetool#conflict-markers-format


Clean up types and async error handling, add mockable mutation helper, display error message on AddProviderModal

When mutations are triggered in mock mode, it'll wait 1 second and then throw an error to be handled just like real API errors.

oops, meant to open this against @ibolton336 's branch.


separate GithubIssue and ManualIssue #269

Current dependencies on/for this PR:

#271  👈
main

This stack of pull requests is managed by Graphite.


Strict Comparison Operator Doesn't Infer Singleton Types Correctly

Having a singleton type type A = "a" | "b", a variable const a: A = "a", and an expression a === "c", the compiler should infer the type of "c" as A and make the expression unsound.
Currently (1.8.0 and 1.9.0-dev.20160206) it compiles, which makes usage of singleton types instead of enums less type safe.

This is a good idea

#6196 should fix this.

Yes, @weswigham. Closing this issue.


Support 160x128 indexed display mode

Extended the screen recorder to support the 160x128 indexed display mode, where each pixel is stored using a 4-bit index. Before transferring, the data in the buffer must therefore be converted.
The conversion code is based on that in Display_ST7735::drawImage(int16_t x, int16_t y, Image& img) in the original Gamebuino library, but optimized and simplified a bit.

Thank you very much Erwin for this contribution. I had indeed not taken into account the DISPLAY_MODE_INDEX display mode (because I had simply never used it).
Before merging your index-mode branch, I would like you to add your name as a contributor in the ScreenRecorder class, if you agree of course.
Regards,
Steph

Adding my name as contributor is fine. I have just updated the files accordingly. Please let me know if you have other comments.


Update requirements and use single source for such list

/cc @harnash @jcellary

sparrow_unitTest somehow cannot find django 1.8.5 (can see versions up to 1.8.4)


chore: added test to scripted agents

/workflows/benchmarks

I am running tests and will look for patterns in the reasons for failing

Regarding the selects-agent-correctly test, with a temperature of 0.5 I found reasonable responses in 19/20 attempts.
This is the only failure:
{
  "role": "assistant",
  "content": "The user has asked for the total amount spent on utilities. However, there is no information provided regarding where this data can be found. It could be in a spreadsheet, a database, a text file, etc. Therefore, the first step is to find where this data is stored. I will delegate this task to the Researcher agent, who is an expert at parsing text and finding information. \n\nThen, once the data source is identified, the task of calculating the total can be delegated to the DataAnalyst agent, who is an expert at processing data and performing calculations. \n\nFinally, the task of writing the result to an output.txt file can be delegated to the Scripter agent, who is an expert at executing and creating scripts.\n\nLet's start with the first step.",
  "function_call": {
    "name": "delegateResearcher",
    "arguments": "{\n  \"task\": \"Find the source of data for utility expenses\"\n}"
  }
}

Maybe we should give the researcher the ability to search for files on the file system?


Responsiveness of Covid Section

In response to issue: #56
Changes made:

fixed the responsiveness of covid page

Live preview:
https://tess-vanta.github.io/HealhUb/

Sorry for so many commit. It was a bit tough for me to debug the code and resolve. I have tried my best to make it responsive. Do check and let me know about any changes to be made.

It is looking like desktop view collapsed in mobile.

The Navbar should look like this.

Okay ill fix that..

Could you check now ?

It's still not properly. Responsive.
Do one thing - I am creating another issue. You make this covid section from scratch with proper responsiveness and also include the covid tracking api. @Tess-Vanta

Okay sure !


Why adding channels here with input size?

https://github.com/eriklindernoren/PyTorch-GAN/blob/3a009005f1a45f9f1547b89005933cd6d5ca865c/implementations/ccgan/models.py#L47

I add a low resolution version of the image to be generated as input to the generator. Similarly to what they suggest doing in the paper. This image has three channels and these channels will therefore have to be added to the 128 output filters from the layer before it.  This image how this image is added to the generator in the paper.


Some initial text to kick-start the reference architecture doc

This PR intends to create a starting point for work on the reference architecture to build upon - for now probably a bunch of section headers and bullet points
TODO:

[ ] Deploy Sphinx to GH pages (see here)
[ ] Add issue creation/discussion process to contributing.md
[ ] Open an issue on section headers to build the document structure
[ ] Once all the above done, share with WP1 project team for awareness of where the doc is and how to edit

Take inspiration for features from TRE comparison paper lead by Turing, the agreed TRE features from the TRE builders survey and tech spec hackmd from in-person workshop.

Hi @edwardchalstrey1 looks great

-[ ] Add issue creation/discussion process to contributing.md

@harisood has just written a draft for the contributing.md in #5 so we will probably create a separate PR for that.

Once all the above done, share with WP1 project team for awareness of where the doc is and how to edit

Just to say that when the new contributing.md file is approved we will be switching to approving changes to the docs through Issues (as the draft is currently recommending), with PRs being more of a formality. It might be worth mentioning this when you go over how to edit when you share with WP1 team.

Just to say that when the new contributing.md file is approved we will be switching to approving changes to the docs through Issues (as the draft is currently recommending), with PRs being more of a formality.

Thanks @arronlacey - I think I'll probably merge this now as an empty doc and create issues for other changes as per the contribution process (see revised todos above)


[material-ui-icons] add making index.js

material-ui-icons module suppports default member imports only.
this PR contains supporting member name imports.
for example,

now

import AddIcon from 'material-ui-icons/Add';
import AllOutIcon from 'material-ui-icons/AllOut';

this PR supports

import { Add, AllOut } from 'material-ui-icons';

Well, we had https://github.com/callemall/material-ui/blob/master/scripts/icon-index-generator.js, but I left it out on next because adding one icon that way adds them all (without tree shaking).

without tree shaking

I think that we should let people taking advantage of the tree shaking.

Actually, I think that we should update the documentation on that matter.

@taichi Please could you update https://github.com/callemall/material-ui/blob/next/packages/material-ui-icons/src/README.md which is included in the NPM package?


CAMEL-11374: Export JMX route details via Actuator endpoint

Expose JMX route details with the Camel route MVC endpoint that is exposed via /camelroutes/{route-id}.

Merged into master, closing PR.


I think there might be a bug in market_chart

either i am not when passing the params for vs_currency all params fail with error:
Response {
    is_success: true,
    status: 400,
    json: Some(
        Object {
            "error": String("invalid vs_currency"),
        },
    ),
    error: None,
}

I just saw that bug contains in some other places too.
Thanks 😄


add required package 'with-editor'

I think with-editor is bundled with Magit, at least of version 2.90.0.


Implemented Testing for ButtonStep, CardStep, ConfidenceScoreCalculat…

amended ConfidenceScoreOptimizer to return the ranked talksteps by their confidence score in decreasing order as an ArrayList of Maps. Made the corresponding changes to WozWozTranscriptAnalysisInteractor to be compatible with these changes so that the same functionality remains.
-A capping feature was implemented on ConfidenceScoreCalculator so no percentages exceeding greater than 100 was returned
-ConfidenceScoreCalculator also now rounds the confidence score to 2 decimal places.
Notes for the Testing:
-full coverage testing for every line for the entities ButtonStep, CardStep, ConfidenceScoreOptimizer, ConfidenceScoreCalculator
This was done with a variety of dialogues suitable for specific TalkSteps to demonstrate suitability.
-max scores for ButtonStep and CardStep were amended to provide more accurate results

Good work, but next time there is a merge, make sure to merge all the changes properly and push especially if there is an error

Also- you don't need to make a new PR since if you commit and push to your old branch it will auto-update that PR. Make sure to delete your old one since that one is now obsolete.

Great job, I like the fixes and especially how the rounding error is gone now. Great work on the tests they're very thorough

Also- you don't need to make a new PR since if you commit and push to your old branch it will auto-update that PR. Make sure to delete your old one since that one is now obsolete.

ok Edward thanks for dropping the knowledge! I do try to keep pushing on the same branch but I had troubles merging the pulls so I just created a new branch. In the future I will make sure to delete my old PRs once I make new ones.


Improve "Save permission" Button in EditPermission component

Is your feature request related to a problem? Please describe.
Depending on the design of the roles, there should be a global button to save changes at a permission level
Describe the solution you'd like
Add a global button to save changes to a permission level

@novakzaballa, can you  pls tell me more about this issue

Hey @jatingodnani , this is a feature we recently introduced for our Enterprise customers, roles management. A role
I will update the description for clarity, however, this would be hard to develop for an external contributor since enterprise/paid subscription would be required for testing it.

It was closed because this button no longer exists in the UI.


objectQualifier not set in SqlDataProvider

Describe the bug
If using a DNN database with an object qualifier Eg. DNN_{TableName}, the object qualifier is lost when KeyMaster is applied.
To Reproduce
Steps to reproduce the behavior:

Setup a DNN database with an object qualifer to prefix all the database objects.
Install and run Dnn.KeyMaster.

Expected Behavior
App should reload with values in Azure Key Vault
Actual Behavior
App tries to redirect to /InstallWizard as it cannot connect to the database.
To fix issue objectQualifier="DNN" needs to be set in the web.config in the SqlDataProvider.
Version:

DNN: [e.g. 9.3.0]
Dnn.KeyMaster: [eg. 1.0.0]

Thanks for reporting this and providing feedback. I will try and get this fixed for you.


use try-catch to touch localStorage

see also:
https://github.com/yoshuawuyts/choo-persist/pull/38
This is just a logger so we probably don't find any error in "Production" environment, but I have trouble debugging with Private mode Browser on my local.:\

v1.0.2 :sparkles:


bytes.Replace only first

What did you do?
https://play.golang.org/p/N0NCbVF4Q4
What did you expect to see?
Each line should be replaced. When i use only string (by converting bytes) all works https://play.golang.org/p/Zut2O5Waqk. I don't know if it's related to #21149 ?
What did you see instead?
Only first line is replaced
System details
go version go1.9 linux/amd64
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/projects/go_workspace"
GORACE=""
GOROOT="/applications/go1.9"
GOTOOLDIR="/applications/go1.9/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build032382008=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOROOT/bin/go version: go version go1.9 linux/amd64
GOROOT/bin/go tool compile -V: compile version go1.9
uname -sr: Linux 4.4.0-93-generic
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.3 LTS
Release:	16.04
Codename:	xenial
/lib/x86_64-linux-gnu/libc.so.6: GNU C Library (Ubuntu GLIBC 2.23-0ubuntu9) stable release version 2.23, by Roland McGrath et al.
gdb --version: GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1

regexp.FindAllMatches returns slices of the original byte slice that you pass to it. When you later append to result[1], this modifies the underlying slice, which is shared with result[0], partially overwriting it.
https://play.golang.org/p/89QS0NGK3R

Closing because there does not seem to be a bug here.  Please comment if you disagree.


Accept to set "num_class_images" for each concept and fix class image retrieval

This PR aims to accept to set num_class_images for each concept.
It also fixes a bug where combinations of class_prompt and instance_prompt can be what we do not expect.
class_path, class_prompt = self.class_images_path[index % self.num_class_images]

can not get expected class_path and class_prompt  for the given instance_path and instance_prompt in general.

It also fixes a bug where combinations of class_prompt and instance_prompt can be what we do not expect.

What do we expect ? They can be any in a batch. They don't need to be of same concept.

Do you mean that instance_prompt and class_prompt in the same dict don't necessarily have to be paired?
If so, I was confused
Do we essentially need not to put instance_prompt and class_prompt together in the same dict of concepts_list.json?
I would like to know if such a list makes sense or not. (with code modification)
[
    {
        "instance_prompt":      "X",
        "instance_data_dir":    "/path/to/X"
    },
    {
        "class_prompt":         "Y",
        "class_data_dir":       "/path/to/Y"
    },
    {
        "class_prompt":         "Z",
        "class_data_dir":       "/path/to/Z"
    }
]

(one instance_prompt and two class_prompt)

I this going to be merged ?


Better S3 object index

Current implementation stores (key, modifiedAt) pair in a set for every plugin.
Need to

Replace modifiedAt of a new key with new value. Assuming that modifiedAt increases with each object upload, it makes no sense to store old index pairs. If there is a situation where plugin handled a file but later on there is an update with older modifiedAt I guess we can safely skip the older object (isNew==false)
Store the index in postgres. Need to be careful with connections tho -- since there is a lot of objects, we can overwhelm psql if we run a query for each key in S3 monitoring loop iteration.

Closed, since index is now temporary, and reports take care of seen-unseen logic


Deprecated twig_without() function has been removed.

https://www.drupal.org/node/3096454
The deprecated twig_without() procedural function in core/themes/engines/twig/twig.engine has been removed.

Ok, so this was kinda a drupal 8 deprecation then. Guessing this can be closed?


frontmatter twig variable substitution not working in file field destination attribute

Given the scenario of user JohnCitizen logged into Grav and to uploading a file the destination: field attribute of file does not do twig variable substitution correctly.
Example:
---
title: Home

access:
  site.login: true
  admin.login: true

process:
  twig: true
  twig_first: true

form:
    name: upload

    fields:
        upload:
          label: upload Label
          type: file
          destination: 'user/{{ grav.user.username }}'
          multiple: true
          accept:
           - image/*
    buttons:
        upload:
          type: upload
          value: Upload
    process:
        userinfo: true
---

# Testing File Upload
## Storing file uniquely in logged in user. Making life a little easier...

With twig processing enabled in system.yaml
   frontmatter:
    process_twig: true
    ignore_fields:
      - form
      - forms

placing frontmatter.yaml in the same folder with configuration
frontmatter:
    process_twig: true

If JohnCitizen uploads a file called logo.png
{{grav.user.username}} is not substituted correctly for the current logged in user with the file and folder created
/user/JohnCitizen/logo.png ie. Expected correct behaviour
Event though using {{dump(grav.user.username)}} the debugger bar outputs the correct result of logged in user..
The incorrect behaviour that occurs is the following:
/user/{{grav.user.username}}/logo.png

i wouldnt recommend putting random folders directly into user/ folder
you probably want /user/data/

@rhukster  you are correct, the issue is around folder creation and variable substitution. As per @ricardo118 suggestion, I have moved the path to user/data but the behaviour is still the same. ie. twig variable substitution does not occur with
/user/data/{{grav.user.username}}/filename.ext

I had the same problem (twig not processed in frontmatter) with a common page (no form). In that case, I could resolve the issue with these settings in sytem.yaml:
pages:
  frontmatter:
    process_twig: true


#BOR REPAIR CAFE TEAM Setup Documentation

@yarmanyang @wunbaai For your repair cafe activities (documentation).
Community Repair Café | Team Checklists
This is a collection of checkpoints to help you for a successful community repair cafe
Do not forget to keep the "Café" Scenario in mind, have fun, connect and sever some tea etc. to create a peaceful and good mood environment
Reception Check-List
How to handle participants and devices (record)

[ ] Prepare a front desk as reception for the participants with their devices
[ ] Define the responsibility for the desk to welcome the community members
[ ] Define the areas, scetch a plan for team and participants where to wait and what to do
[ ] Use masking tape and a list to record, label and list the devices to be repaired
[ ] Prepare a team member to precheck all Items and record the things that need fixing, sort out the ones not easy to fix (where no export/material is available)
[ ] Prepare a waiting list to keep record of devices and participants/owners (check-in, check-out):

Example

Nr
Name
Contact
Device(s)
to fix
could fix?
Comment

yes/no

yes/no

yes/no

yes/no

Toolkeeping Check-List
How to handle the tools and materials

[ ] Clear structure and List of Items/picture of Setup
[ ] Responsibility defined - Toolkeeper to give out tools and materials to the experts and collect them back
[ ] Prepare a list to check-out and check-in the given Items
[ ] secure the tool and material area and always keep it clean (else you will lose tools)

Example toolkeeper List:

Nr
Item-name
Expert
returned?
Comment

yes/no

yes/no

yes/no

yes/no

Expert Check-List
How to handle the repairs

[ ] Prepare all the experts that it is not only about the repair but also about the teaching to fix
[ ] Prepare the experts on how to get tools and how to bring them back to the toolkeeper when not in use anymore (sharing is ok, but you are responsible to bring back)
[ ] invite the owners of a successful repair to take a picture with the expert
[ ] Have a list to document the repairs (also the failures) to have some stats

Example

Nr
Item-name
to fix
could fix?
Comment

yes/no

yes/no

yes/no

yes/no

Collaboration Check-List
How to handle the online reporting etc

[ ] have some Team members ready to be there to help with whatever is needed, talk to your Community members, keep the mood up
[ ] Online Collaboration will need some equipment (Webcam, Laptop, Smartphone)
[ ] Take pictures for documentation to improve and inform your Community
[ ] Have someone take the responsibility of reporting in both directions
[ ] Invite collaborators before-hand to join your channels
[ ] Prepare your online channels (for synchronous or asynchronous collaboration)

Example Channels

Telegram Chat Group
GitHub Repository for Ticket management and documentation
BBB Online Session to stream the Webcams and get help (needs data/Airtime)

@wunbaai @yarmanyang @Biorology don't forget your documentation here :)

@acii4u feel free to help with the Bor team documentation for Setup (mark the checklist boxes on top)

Need for proper pic of the toolkit ,need to see it open,showing tools inside,and closed to see how portable it is.@Ayom

Oh, that is the first picture, but not in best shape/is it possible to have a wide spread view on all the parts/tools ?

Just think of it as inspiration for other repair people out there who might want to learn what works best in Bor


Cannot read property 'abort' of undefined onTimeout

May be related to some other issues?  Making a new one just to be sure.
Happens most recently after a connection has no activity.

good one!

Any update? I'm also experiencing the same issue. I'm not sure why the undefined check is passing only to have an undefined value later.


Validation of scientificMetadata

Summary
Enable validation of scientificMetadata against a schema. The schema should be configurable for each site and default to no validation. In some cases multiple schema might be desirable, with different features available depending on the schema.
Motivation

Boundary conditions (eg matching a proposal system format, interoperability with OpenEM databases, etc)
Frontend visualization (tabular or more advanced)
Semantic tagging (eg comment by @bpedersen2)
Advanced search (eg ranges, searches with units)

Current Behaviour
Validation must be performed out-of-band by the ingestor tools/libraries
Expected Behaviour

Configure a json schema for scientificMetadata
isValid endpoints check this schema
Creating and updating datasets fails if it doesn't match the schema
Enable enhanced functionality if scientificMetadata matches a schema (eg matching a schema for quantities enables value+unit parsing by the frontend)

Questions

Should users be able to specify (optionally) a more restrictive schema? For instance, a schema for EM data. Should this be another top-level property, or something like scientificMetadata.@context (JSON-LD style).
What schemas are implicitly supported by SciCat currently (eg with specific frontend behavior)?

Before implementing this we would have to agree on the schema technology and the spellings for the terms. I think that the schema language is not a major barrier to adoption, as there are very good tools for converting both schemas and data between different serializations (eg with LinkML).
JSON Schema
One option would be to add a json schema to the dataset model. Most people I've discussed this with seem to expect the schema to apply only to the scientificMetadata, not to the whole json.
{
    "pid": "123...",
    "schema": "https://osc-em.github.com/oscem_schema.json",
    "scientificMetadata": {
        [validate this]
    }
}

If "schema" is omited we would default to no validation for backwards compatibility.
JSON-LD
JSON-LD also has good support and is used in many metadata containers (eg RO-Crate). One nice feature is that the context (aka schema) can be either a shared schema included by URI or can be inlined into the data itself. We could adapt the dataset model so that it's valid JSON-LD by including a @context key linking a published minimal schema for scicat. This could even be overridden within scientificMetadata to specify a more restrictive schema.
LinkML
Would it make sense to validate LinkML directly?

Notes from SciCatCon day 2 discussion:

Agreement: scicat should have a field for the schema in datasets (defaulting to very permissive) and should validate this if set
Agreement: validation should apply to the full dataset, with a base schema specifying scicat fields and derivative schemas adding additional constraints on scientificMetadata (this is supported by LinkML)
Need to explore schema technologies more before deciding (JSON Schema, JSON-LD, LinkML)
schemas can be used for validating features needed by search or frontend, for example enforcing (unit, value) tuples

Notes from the discussion on 4/7/2023
Next steps (independent):

investigate how Swagger/OpenAPI schema can be ingested into LinkML and converted to Json Schema/ Json-LD
Proposal: add (in first step static) @context to the response of  'Dataset - GET` endpoint (one option: add to DatasetClass so that it is stored in Mongo and part of the response)
(in first step) add @context as one attribute to ScientificMetadata for now to specify the schema of ScientificMetadata
try to build valid example Json-LD datasets (just files) e.g. for pizza to agree on what needs to be done SciCat before staring to code

Releated discussion: https://github.com/SciCatProject/scicat-backend-next/discussions/1308


⚠ GitLab Server has degraded performance

In 5c48fb5, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11528 ms

Resolved: GitLab Server performance has improved in 597602f.


Add "padAudio" method

I just needed this method, so I decided add it to this repository)
Also added line breaks in readme.

Looks good, merging to master. Will do an npm release containing this and other PR at some point.


expect: Return false from asymmetric matchers if received value isn’t string

Summary
Fixes #7055
Problem: Although it seemed to make sense at the time to throw an error if received value isn’t string when asymmetric matcher is value of property in .toEqual assertion, it contradicts reasonable expectation in other scenarios:

.toBeCalledWith assertion for polymorphic function can throw even if at least one call has an argument that matches
ordinary matcher and inverse matcher can both throw instead of returning opposite boolean values

The constructors still throw if the expected value has incorrect type.
Solution:

Move isA('String', other) into conditional expression of .stringContaining
Delete type check from .stringMatching because regular expression test method returns false if argument isn’t string

Test plan
Rewrite 2 tests 'StringContaining throws for non-strings' as:

'StringContaining throws if expected value is not string'
'StringContaining returns false if received value is not string' (failed before code change)

Rewrite 2 tests 'StringNotContaining throws for non-strings' as:

'StringNotContaining throws if expected value is not string'
'StringNotContaining returns true if received value is not string' (failed before code change)

Rewrite 1 test StringMatching throws for non-strings and non-regexps as:

StringMatching throws if expected value is neither string nor regexp

Rewrite 1 test 'StringMatching throws for non-string actual values' as:

'StringMatching returns false if received value is not string' (failed before code change)

Rewrite 1 test StringNotMatching throws for non-strings and non-regexps as:

StringNotMatching throws if expected value is neither string nor regexp

Rewrite 1 test 'StringNotMatching throws for non-string actual values' as:

'StringNotMatching returns true if received value is not string' (failed before code change)

Codecov Report

Merging #7107 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #7107      +/-   ##
==========================================
- Coverage   66.67%   66.66%   -0.02%
==========================================
  Files         253      253
  Lines       10597    10593       -4
  Branches        3        4       +1
==========================================
- Hits         7066     7062       -4
  Misses       3530     3530
  Partials        1        1

Impacted Files
Coverage Δ

packages/expect/src/asymmetric_matchers.js
92.55% <100%> (-0.31%)
:arrow_down:

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 d59a4d3...17b67af. Read the comment docs.

Uh oh, the asymmetry of one matcher with && and the other without (pardon pun :) is a mistake.
Added failing test 'StringMatching returns false even if coerced non-string received value matches pattern' and then corrected the code so that the test passes.


Language Support: Planner Framework

Current State
Adding language support in both Shell and Docker Builds can only be done by the Devbox core team. This limits the speed at which we can add support for new languages to Jetpack, and makes it harder to respond to language requests that we are less familiar with.
Desired State
In Devbox, Planners define how we will detect which language a user is using to build their project, and the defaults settings we should use automatically create a shell and Docker image for their project.
We should have a published Framework and contribution guide for adding new Planners. This would help community members add autodetection support for new languages and provide feedback on our existing autodetection support. A defined framework would also make it faster for the core team to add support for new languages

This is currently supported via the PlanSDK in Devbox, and we've built ~12 new languages. Remaining task is to document it for other users.

This is currently supported via the PlanSDK in Devbox, and we've built ~12 new languages. Remaining task is to document it for other users.


add employee from another LE to contract

it should be forbidden to add employees from another LE to contract
check if $employee.legal_entity_id = tokens.client_id
in case error return 422 (Employee should be active Doctor within current legal_entity_id )

I added employee (id='67043283-586f-4ffd-8f3e-3b439db8419f') with legal_entity_id = 'c8aadb87-ecb9-41ca-9ad4-ffdfe1dd89c9' to contract with contractor_legal_entity_id='41ebae5e-c269-491f-9f78-05bfdae5e397'.
contract_request_id='de906505-0d90-469c-be7a-71b033354d18'

error with contract_request moved to #2765


Deprecate legacy kube-burner workload

Type of change

[ ] Refactor
[ ] New feature
[ ] Bug fix
[x] Deprecation
[ ] Documentation Update

Description
The workload's on this directory shouldn't be used anymore, people should use https://github.com/cloud-bulldozer/e2e-benchmarking/tree/master/workloads/kube-burner-ocp-wrapper going forward.
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Please, feel free to tag more affected users.

@rsevilla87 Can we add an estimated removal date or something as well when the directory will be removed?

Since this change only removes the CI runs I am good with it... I do think there are teams (ACS in particular) using non-ocp-wrapper kube-burner.

Agree with Joe! Think it's ok to remove ci references. Not sure if we are fully ready (qe) side for a full removal of kube burner folder

Agree with Joe! Think it's ok to remove ci references. Not sure if we are fully ready (qe) side for a full removal of kube burner folder

Thanks for the feedback!, as @dry923 also suggested, we should maybe add an EOL date so we can definitively remove the kube-burner directory


[infrastructure] Implemented IDialogService

Added IDialogService for showing dialogs.

Existing API:
var viewModel = new DialogViewModel();
var dialog = new SomeDialog(viewModel);
dialog.ShowAsync();

New API surface:
var viewModel = new DialogViewModel();
var dialog = DialogService.GetDialog(viewModel)
dialog.ShowAsync();

Closes #5195
Closes #8458

/azp run

Additional note: I've also removed unused Bitlocked dialog and DynamicDialog still hasn't been converted. We'll have to split it into separate dialogs and for generic ones, new, less complex DynamicDialog would have to be created

@d2dyno1 what are we doing for BitLocker?

Additional note: I've also removed unused Bitlocked dialog and DynamicDialog still hasn't been converted. We'll have to split it into separate dialogs and for generic ones, new, less complex DynamicDialog would have to be created

@d2dyno1 what are we doing for BitLocker?

Nothing. That's why the dialog was removed

Are we at least using the system dialog?

Are we at least using the system dialog?

I can't test

@yaichenbaum yeah we've been using the system dialog since a while.

@gave92 @yaichenbaum Could you check? 😁


[Feature][Docs][Discussion] Provider consistent guidance on resource Request and Limits

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Documentation on resource request and limits should be made clearer and more prominent, perhaps repeated in several places in the docs.
Best practices are laid out here:
https://discuss.ray.io/t/questions-for-configurations-using-helm-chart/7762?u=dmitri
https://docs.ray.io/en/latest/cluster/kubernetes/user-guides/config.html#resources
Subtleties:
We currently make the following recommendations:

KubeRay takes CPU/memory resource info from limits and advertises that info to Ray. For that reason, we recommend setting requests=limits for KubeRay configs. (Otherwise, the Ray pod may be scheduled with less resource availability than is advertised to Ray.)
Because a Ray cluster does not benefit from running multiple pods per node, we recommend sizing pods to be as large as possible. When possible within a user's constraints it is best to run one Ray pod per Kubernetes node.
Because Ray round up the CPU limit to the nearest whole CPU, we recommend setting an integer CPU limit.

Some issues with these recommendations.

The documentation is not fully consistent with this recommendation.
If you take points 1. and 2. literally, it requires determining the exact allocatable resources of a node and then subtracting some safety amount to make sure your Ray pods can get scheduled. Another valid approach is to set limits equal to the node's total capacity and requests to something just under the allocatable capacity.
Taking points 1. and 3. literally requires setting CPU requests and limits both to at least 1 in all configs. This is difficult for example configs and CI test configs meant to run in CPU-constrained Minikube/Kind environments.

Use case
Less user confusion when figuring out resources for Ray on K8s.
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Because Ray does not benefit from running multiple pods per node, we recommend sizing pods to take up entire nodes.

I think we can not assume we only run one Ray cluster in K8s cluster. So different size clusters will fill the k8s clusters.

I've amended that bullet slightly. It's of course subject to the constraints of the user's Kubernetes environment, but generally speaking, it does not make sense to pack many tiny Ray pods into a single K8s node.

A common setup (and one we've used at Anyscale in the past) is to set up cluster autoscaling such that you get a new K8s node of the appropriate type each time you request a Ray pod. The Ray pod and supporting machinery then fill up the entire K8s node.

Hey @DmitriGekhtman for number 2:
Because a Ray cluster does not benefit from running multiple pods per node, we recommend sizing pods to be as large as possible. When possible within a user's constraints it is best to run one Ray pod per Kubernetes node

Is there a way to configure the autoscaler to use STRICT_SPREAD? https://docs.ray.io/en/latest/ray-core/scheduling/placement-group.html?highlight=placement
Seems that is is only possible from the SDK and not when configuring the cluster? https://github.com/ray-project/kuberay/blob/3aebd8c9f5ae5d9d9d12489d5636d3cf1b97548e/ray-operator/config/samples/ray-cluster.autoscaler.large.yaml

STRICT_SPREAD helps to spread Ray tasks across different Ray pods.
To spread Ray pods across different Kubernetes nodes, I think the thing to look into would be pod anti-affinity.


WIP: Add support for Arturo language

This PR adds Arturo Language highlight support. 🙂

Simple, expressive & portable programming language for efficient scripting

Arturo's Github
Arturo's Website

Sorry, I tried to use this function. (It was running on my local machine. Generating the files correctly).
But, I replaced for manual configuration, since it's breaking in CI tests.

Note: I'll test the file. Some of this changes may break something.

@birkenfeld. Can You help me with something?
So, in these lines I have string interpolation string-interpol and string templates string-templates. But, templates are working and interpol doesn't.
They are almost the same, except for the notation. Templates start with <|| and end with ||>, while interpolation starts and ends with a | only.

Templates (working well):

String Interpolation (broken):

What should I do in this case?

In the string rules, you're matching [^"]+ in the final rule, which slurps up the "|" that would
The catchall rule must exclude all special characters, i.e. start of escape, start of interpolation and start of template.

In the string rules, you're matching [^"]+ in the final rule, which slurps up the "|" that would
The catchall rule must exclude all special characters, i.e. start of escape, start of interpolation and start of template.

[x] forget | when match String type

Issue: W117: Overlap in character class: ['>']

[ ] I don't know how to fix it.

Issue: W119: Instead of negating character class, flip case of builtin class | step 5:12 and step 5:15

[x] fixed at fix W119

Issue: Fail if mapfiles changed

[x] fixed at update mapfiles

Re. W117: this usually happens when you have doubled entries in words(). And indeed, you have '<:', ':>', ':<', ':>', where I guess the last entry should be >:.

Thanks @RickBarretto for sticking with all the changes required and thanks Georg (@birkenfeld) for all the reviews and the assistance given. Good work! 👍

Thank you, @celtic-coder!!! 🚀

My bad, I forgot to update goldens. But I think it'll run now.
Error on my local machine gives me:
+ ' '           Text
- ' 2'          Literal.Number.Integer
?  -
+ '2'           Literal.Number.Integer
?    +...

So, It's right considering that a Integer must not have a spaces.

The \w metacharacter matches word characters. A word character is a character a-z, A-Z, 0-9, including _ (underscore).

source

My bad! I think it'll run now!

Added changelog and fixed up code style a bit in a followup commit.

Thanks Georg (@birkenfeld) for adding https://github.com/pygments/pygments/commit/8cb16e2bb67f28a84a703876ffdab335f53368f6.

Also, thank you @birkenfeld for your help, reviews, comprehension and patient. 🙂
🎉 🚀

It was a pleasure :)


problem with annotation and inference scripts

I have a problem when trying to annotate data using the script structured3Dplanes_simple.py, the following modules are not found:

structured3D_geometry
Structured3D2wireframe

Where are these modules?
Also I tried running the inference script on my own images using these commands:
cd scripts python3 test.py \ --config-file ../config-files/Pred-simple-plane-S3D-GNN.yaml \ --img-folder <my-image-folder> \ CHECKPOINT ../data/model_polygon_hgt_joint.pth
But it does not work because in yaml configuration file some path are not found.
Thanks for your help

Sorry about that!
I've uploaded the missing files. Please reopen the issue if it doesn't work.


Suggestion: a time-based instead of word-based caption buffer

Currently, when setting up live captioning (Audiovisual > Captioning), the dialog box asks you to enter a buffer size, which is counted in words.

I would like to be able to choose a different unit: a (real) number of seconds. This means that when this unit is selected, and I chose x seconds, any prefix of my buffer that has not changed for more than x seconds is output.
I request this functionality because some strokes in my steno theory have a lot of words. I obviously want to be able to undo any single stroke without anyone noticing, so I have to use a large buffer. As a consequence, though, the delay between me stroking a stroke and it being displayed is often long. And manually flushing the buffer after every sentence to shorten this delay is not fun.

I can definitely see the usefulness of this feature. The places that have to be changed are the display_captions in the window editor and send_cap in captionWorker. It probably will take me a bit of time to work on this, because the buffer mechanism right now is based solely on the text, and using the time is something different.
I have an idea of an approach and this is more a comment to myself: to start, in display_captions, subset paragraph element collection by last pos to word before cursor, do time diff, use length of elements that pass to move cursor to new position.


Add a section to heir.dev explaining the merge procedure

Also: what we get for having to put up with it.

I wrote some pre-existing "PR flow here" but it would greatly benefit from a flowchart and the rationale (and maybe mention of what copybara is)
https://heir.dev/docs/contributing/#pull-request-review-flow


DataType Page: View Page:  Sources and Sinks sections

Should include:

Distirubtors,
Consumers
Originators should be flagged,
Modifiers should be flagged
Authoritativeness should be flagged (incl. for what OU)

Bonus points for showing authoriativeness of upstream downstreams for each app/OU combo

Suggested queries for retrieving data for sources & sinks:
-- Applications that have an auth rating and the sink counts
select df.source_entity_id, sa.name, df.data_type, au.rating, au.parent_id, o.name, count(df.target_entity_id) as '#consuming apps'
--select *
from data_flow df
inner join application a
on a.id = df.target_entity_id
inner join application sa
on sa.id = df.source_entity_id
inner join authoritative_source au
on df.source_entity_id = au.application_id
and df.data_type = au.data_type
and au.parent_kind = 'ORG_UNIT'
inner join entity_hierarchy eh
on eh.ancestor_id = au.parent_id
and eh.kind = 'ORG_UNIT'
and eh.id = a.organisational_unit_id
inner join organisational_unit o
on o.id = au.parent_id
where df.source_entity_kind = 'APPLICATION'
and df.target_entity_kind = 'APPLICATION'
--and df.source_entity_id = 16185
and df.data_type = 'TRANSACTION'
group by df.source_entity_id, sa.name, df.data_type, au.rating, au.parent_id, o.name
union
-- All Authoritative sources that don't have any consuming applications
select DISTINCT au.application_id, sa.name, au.data_type, au.rating, au.parent_id, o.name, 0 as '#consuming apps'
from authoritative_source au
inner join application sa
on sa.id = au.application_id
inner join organisational_unit o
on o.id = au.parent_id
where not exists(select *
from data_flow df
inner join entity_hierarchy eh
on eh.ancestor_id = au.parent_id
and eh.kind = 'ORG_UNIT'
inner join application a
on a.organisational_unit_id = eh.id
and df.target_entity_id = a.id
where  df.source_entity_id = au.application_id
and df.data_type = au.data_type)
--and au.data_type = 'RISK'
union
-- All flows that source from an application that is not an authoritative source
select df.source_entity_id, a.name, df.data_type, 'UNKNOWN' as rating, a.organisational_unit_id, o.name, count(*) as '#consuming apps'
from data_flow df
inner join application a
on a.id = df.target_entity_id
inner join entity_hierarchy eh
on eh.id = a.organisational_unit_id
and eh.kind = 'ORG_UNIT'
inner join organisational_unit o
on o.id = a.organisational_unit_id
where not exists(
select *
from authoritative_source
where application_id = df.source_entity_id
and parent_id = eh.ancestor_id
and data_type = df.data_type
)
and df.data_type = 'RISK'
group by df.source_entity_id, a.name, df.data_type, a.organisational_unit_id, o.name


Not sure if all old downloads are able to use if they use npm install after removing old node modules

We have an angular 9 x (9.0.7) application which using "@angular/router": "^9.0.0","@coreui/angular": "^2.9.0","@coreui/coreui": "^2.1.16", I tried to install my app with node v 12.x but app started showing me TS error like below, though it was working fine few weeks ago.
node_modules/@coreui/angular/lib/sidebar/app-sidebar.module.d.ts:24:21 - error TS2694: Namespace '"/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'.
My observation is when I am installing with 12.x ,your package were showing angular peerDependencies 14 inside @coreui/angular which suppose to not work with node 12.x.
"peerDependencies": {
"@angular/common": "^14.0.0",
"@angular/core": "^14.0.0",
"@angular/router": "^14.0.0"
}
please suggest how we can run old apps with node 12.x, your quick support will be appreciated.

@brijeshpant83

Statement here says: Angular versions v2 to v12 are no longer under support.
Also node.js v12 reached end-of-life https://github.com/nodejs/release#release-schedule
Angular versions v9 to v13 support node 12.2
If you have to stay with node 12.2, it is highly recommended to update your app to Angular 13 see: https://update.angular.io/
If you have to stay with Angular 9, lock your @coreui/angular dependency on version 2.9.x
@coreui/angular  : @angular/* compatibility chart:

CoreUI v2
Angular

2.9.x
Angular 9

2.10.x
Angular 10

2.11.x
Angular 11

2.12.x
Angular 12

2.13.x
Angular 13

2.14.x
Angular 14

@xidedix thanks for your prompt help, for now I can run the app by freezing coureui 2.9.1 with node v12.22.
Thanks again.


Feature/107 improve navigation tree

Q
A

Branch
6.3.x

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Fixed issues
chameleon-system/chameleon-system#107

License
MIT

Update of Plugin JSTREE

Closing the PR. Moved to https://github.com/chameleon-system/chameleon-base/pull/415


ignore all useless windows by default in CLI / app args

we record all windows and apps and for some apps/windows are not very useful to record:

like control centre, window manager etc
same equiv on windows
definition of done:

add list of ignored windows by default in CLI/app settings for each OS that are not providing useful information (Control Centre, Window Manager, etc. on Macos)
make the input field in the app to select ignored or included window properly autocomplete from possible values and multiple add/remove (like in the search UI the autocomplete for app/window)

/bounty 100

@louis030195, i'll take a look
/attempt #454

make the input field in the app to select ignored or included window properly autocomplete from possible values and multiple add/remove (like in the search UI the autocomplete for app/window)

@louis030195  there are already input fields for including and excluding windows in the app settings. is it necessary to have extra input fields for the same purpose in app's home page ?

ignored windows list on every os

settings
keepass
vpn
private
incognito
wallpaper
backup
recorder
vaults
obs studio

especially on linux (kde, gnome)

info center
discover
parted

on windows 11

system properties
control panel
nvidia

i'll add more useless windows in this list for each os specifically. I need suggestions for mac os :)

@tribhuwan-kumar cool!
do you mind sending a PR?
check how i did on macos: https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-app-tauri/lib/hooks/use-settings.tsx

do you mind sending a PR?

sure, i'll send a pr soon!

check how i did on macos: https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-app-tauri/lib/hooks/use-settings.tsx

thank you, but what about ignoring windows by default in cli ?

do you mind sending a PR?

sure, i'll send a pr soon!

check how i did on macos: https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-app-tauri/lib/hooks/use-settings.tsx

thank you, but what about ignoring windows by default in cli ?

hmm if you can yeah, you can set defaults in cli.rs i guess that and maybe need to check sidecar.rs defaults

there is an issue with ignoring windows and including windows in app. a same window can be in ignored list & included list at the same time. which is conflicting

at frontend

store.bin
{
 "dataDir": "",
 "installedPipes": [],
 "usePiiRemoval": false,
 "aiUrl": "https://api.openai.com/v1",
 "port": 3030,
 "ignoredWindows": [
   "Incognito",
   "Wallpaper",
   "Settings",
   "Keepass",
   "Recorder",
   "Vaults",
   "OBS Studio",
   "Info center",
   "Discover"
 ],
 "userId": "7c8ca368-722b-4057-aa9f-219299c3e2df",
 "restartInterval": 0,
 "includedWindows": ["Incognito"],
 "ocrEngine": "tesseract",
 "openaiApiKey": "",
 "vadSensitivity": "high",
 "deepgramApiKey": "7ed2a159a094337b01fd8178b914b7ae0e77822d",
 "languages": [],
 "useChineseMirror": false,
 "audioChunkDuration": 30,
 "monitorIds": ["default"],
 "enableBeta": false,
 "embeddedLLM": {
   "enabled": false,
   "model": "llama3.2:1b-instruct-q4_K_M",
   "port": 11438
 },

i fix that conflict! & where should i add those input fields for ignoring and including windows ? @louis030195
i added it in "advance search" dialog (maybe change later)

i dont get it
this is for recording
we dont have feature to exclude window in api (except if you implemented it)

i'm talking about recording, these flags --ignored-windows and --included-windows
 screenpipe  main  ./target/release/screenpipe -h | grep ignore
      --ignored-windows <IGNORED_WINDOWS>
          List of windows to ignore (by title) for screen recording - we use contains to match, example: --ignored-windows "Spotify" --ignored-windows "Bit" will ignore both "Bitwarden"
and "Bittorrent" --ignored-windows "porn" will ignore "pornhub" and "youporn"
 screenpipe  main  ./target/release/screenpipe -h | grep include
      --included-windows <INCLUDED_WINDOWS>
          List of windows to include (by title) for screen recording - we use contains to match, example: --included-windows "Chrome" will include "Google Chrome" --included-windows "Wha
tsApp" will include "WhatsApp"

as you said in "definition of done", "make input field with autocomplete"
then, where should i make it ?

@tribhuwan-kumar here

but it should suggest items like this:


[bug] Multiple queries run on one single left join

Noticed something weird watching query log. I have following code
$players = PlayerQuery::create()
                                  ->filterByIdx($idxs)
                                  ->leftJoinWithPresence()
                                  ->find();

$idxs is an array of 5 players, 2 of them are present in Presence table. Since it's a left join I would expect 1 query to be performed, but instead Propel runs 1 join query (compacted for easier reading)
SELECT `player`.*, `presence`.* FROM `player` LEFT JOIN `presence` ON (`player`.`idx`=`presence`.`idx`) WHERE `player`.`idx` IN (211767919,217988118,1195880,214231395,222200929) [] []

and then 1 query for every row in left joined table
SELECT `player`.* FROM `player` WHERE `player`.`idx`=xxx LIMIT 1

Which can be a disaster if we have a lot of rows
Is this a bug or a feature?

This should not happen. A find() does always create only one query. Maybe you iterate over a different result set? It'd not make any sense to load player again if it's already loaded. Have you have instancePooling disabled? Would be cool if you could replicate it at http://sandbox.propelorm.org/

Yeah, that's what I'd expect as well. Instance pooling is not disabled, and I don't iterate it. In debugger 2 (or more) queries are generated right after step over that find function.
I will try to replicate it on sandbox.

Unfortunately I was unable to replicate it in sandbox but I found the issue which is caused by my legacy database.
So, right now my xml structure is something like that:
<database name="default">

    <column name="idx" phpName="Idx" type="INTEGER" required="true"/>
    <column name="userID" phpName="userID" type="VARCHAR" size="40" primaryKey="true" required="true" defaultValue=""/>
    <index name="idx">
      <index-column name="idx"/>
    </index>

    <column name="idx" phpName="Idx" type="INTEGER" primaryKey="true" required="true"/>
    <column name="socket_server_id" phpName="SocketServerId" type="INTEGER" size="10" sqlType="int(10) unsigned"/>
    <column name="connection_id" phpName="ConnectionId" type="INTEGER" required="true"/>
    <foreign-key foreignTable="player" name="fk_presence_player1" onDelete="CASCADE" onUpdate="CASCADE">
      <reference local="idx" foreign="idx"/>
    </foreign-key>
    <vendor type="mysql">
      <parameter name="Engine" value="InnoDB"/>
    </vendor>

</database>

As you can see player has a primary varchar key and also a column idx (int) which is being used as primary id in half of my tables (in past they had just a varchar primary key, then they added int having in mind to migrate everything to that column, 5 years later we are still here -_-).
So what happens is that when that query runs, in object formatter we have following code
call_user_func([$startObject, $modelWith->getRelationMethod()], $endObject);

which can be translated as
$player->setPresence($presence);

Function code
    public function setPresence(ChildPresence $v = null)
    {
        $this->singlePresence = $v;

        // Make sure that that the passed-in ChildPresence isn't already associated with this object
        if ($v !== null && $v->getPlayer(null, false) === null) {
            $v->setPlayer($this);
        }

        return $this;
    }

Since child object is not related by "real" primary key, $v->getPlayer provoke additional interrogation to db even if in fact we already have all the data.


PicoStill missing from UI

My PicoStill used to be displayed in the UI (before the addition of the images). I'm not sure when it disappeared (haven't looked for it in a while). Is it just me? I converted to the new config format, and it looks correct to me (6 other devices show).

This is fine. I cleaned up the interface as there isn't a graph for the PicoStill.
In another PR / branch there are a few of us looking at adding realtime metrics for the PicoStill when that is added the mention of the still will come back in the UI.


Dataview Calendar not rendering in Vercel app, Unable to render dataview query

On the Obsidian app, the calendar renders normally:

However, when publishing the note, I get "Unable to render dataview query" and the page is redirected to "Nothing here"

I had the same issue. I wrote dataview query like calendar file.ctime in my main page, and after that main page didn't work.
The page returned 404 code.
After deleted the query, it worked fine


Update README.md

Pull Request (PR) description

Add RemoteDesktopAdmin to the list of resources.

There are already a change log entry cover this change,
This Pull Request (PR) fixes the following issues

Task list

[ ] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md in the resource folder.
[ ] Resource parameter descriptions added/updated in schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[ ] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

@PlagueHO We could just link to Wiki instead of having the resource here? Then the list will be accurate to whats in master (the latest release)?

Codecov Report

Merging #246 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            dev   #246   +/-   ##
===================================
  Coverage    87%    87%
===================================
  Files        12     12
  Lines      1342   1342
===================================
  Hits       1171   1171
  Misses      171    171


Setup example app buddybuild for qa testing

@zacharylo I found there is no build in the hockey app. As the build is for testing purpose, so I think we should trigger the build when merged PR to master. Would you mind help updating the script? Thanks! :)

I updated :)


Fix incorrect version="0" in Python metadata

In order to fix the incorrect version = "0" in pyproject.toml, unfortunately sqlmodel relies on a custom plugin called "poetry-version-plugin" which relies on the development version of poetry, which is annoying to install on conda-forge. But why install some weird plugin when we can just use a simple Bash hack? ;)

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Entirely coincidentally, v0.0.7 is about to drop...


Improve error message when plugins are version conflicted

Current Behavior
When applying a Gradle plugin from an included build to multiple subprojects of the same Gradle build with a different version number than advertised by the included build, then the build fails with the following error message:

The request for this plugin could not be satisfied because the plugin is already on the classpath with a different version (1.1).

There is no error if:

The version applied to the subprojects matches what is advertised by the included build.
The plugin is only applied to a single subproject.

Expected Behavior
No build failure is expected, and the version must be ignored by Gradle. Just like it does for normal dependencies, and when the plugin is only applied to a single subproject.
Context (optional)
No response
Steps to Reproduce

Clone kelemen/gradle-issue-duplicate-plugin-version
Run ./gradlew otherBuildPluginTask

Expected behavior is to see this on the output:
Hello from :otherBuildPluginTask
Hello from :child-project:otherBuildPluginTask

Instead, we can see the build failure as described in the current behavior.
The issue can be reproduced with any Gradle version I have tried with, but this reproducer is for Gradle 8.8.
Gradle version
8.8
Build scan URL (optional)
No response
Your Environment (optional)
No response

The issue is in the backlog of the relevant team, but the existence of a workaround means it might take a while before a fix is made.

The issue here is that you applied the plugin twice with two different versions.
The issue is explained here:

https://github.com/gradle/gradle/issues/20084#issuecomment-1060822638

In your case, the fix would be removing the version in the version catalog.

That being said, we should improve the error message when this case happens.
The error message should be actionable and guide the developer on what went wrong.
Probably a good candidate for Problems API adoption.

@hegyibalint I don't see how this is an "error message bug". Also, this is definitely not the same issue as #20084.
Gradle is wrong, and I did not apply the plugin with multiple versions. Please have a look at the reproducer. Where does it apply the plugin with multiple version number? Obviously nowhere, because the plugin is applied from the same version catalog in both places.
There are no multiple versions of the plugin, because it is all in the included build. And when there is an included build, then Gradle should ignore the version within the included build. Just like in every other case. And notice that if the same plugin is applied only to a single subproject, then Gradle doesn't care about the version difference.

In fact, the original story of the issue is the following:

I'm using a normal plugin from a repository, and there is no problem.
I have checked out the sources of said plugin, and made some modifications to it.
I passed --include-build /path/to/my/plugin/repo, and then the project fails to build.

This is very annoying, because this means that I cannot use the [plugins] block to declare plugins, because if I do, then I won't be able to test the plugins I'm using without modifying the project using it.

Also, there is an additional proof that your assessment is incorrect. If the problem was that it simply fails because the plugin is on the classpath and Gradle doesn't know the version, then how come that if I apply the plugin with the same version number as advertised by the included build, then it works fine? It is evident from the reproducer that Gradle knows the version number.


[stable/fluent-bit] tail input docker mode

Signed-off-by: Or Sela<EMAIL_ADDRESS>What this PR does / why we need it:
Adds docker_mode support for tail input plugin (https://docs.fluentbit.io/manual/v/1.3/input/tail#docker_mode)
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @hectorj2f

/lgtm


[REEF-872] Add Dhruv to the REEF committer list on website

This addressed the issue by

adding dhruv to the website

JIRA:
REEF-872

@jwang98052 @tcNickolas
Can one of you merge this one?

Hi, @dkm2110 . If you don't mind, I will merge this for you.

Sure
On Sun, Oct 25, 2015 at 3:23 PM, Dongjoon Hyun<EMAIL_ADDRESS>wrote:

Hi, @dkm2110 https://github.com/dkm2110 . If you don't mind, I will
merge this for you.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-reef/pull/588#issuecomment-150980107
.

Yep. It's done now, @dkm2110 .


Added important Graph Algos.

This pull request adds the implementation of some frequently used Graph Algos.
Please consider merging.

Added the implementations of Depth_First_Search, Breadth_First_Search , BellmanFord_Algo , Floyyd_Warshall_Algo , KruskalAlgo , MergeSort , Prims_Algo ,TopologicalSort ,DSU_Template among others.
Please merge PR #45 .

Added the implementation of the Matrix-Chain-Multiplication technique widely used in Dynamic Programming , along with popular problems based on the technique.
@Einsteinia11 Please merge #45 .


Add sitemap and query-index

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #1
Test URLs:

Before: https://main--sazerac-wheatleyvodka--hlxsites.hlx.page/
After: https://1-sitemap-and-index--sazerac-wheatleyvodka--hlxsites.hlx.page/

93c433b28545e7da

hjkrx1ruamk


Backup/restore database (local)

Like .zip

Do you mind elaborating a little more? Configuring an automated back-up / sync to Google Drive or Dropbox is in the roadmap backlog already, is your suggestion along those lines, or do you see it functioning in some other way?

I think that sounds doable; I'll look into it.

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in a week.

Hey,
I've been working two jobs for the past few months, so I haven't had any free time to work on Hot Stuff, unfortunately.
Any of the issue labeling / closing are automatic processes that I set up a while ago.
I intend to continue to support Hot Stuff when I actually have time, but that's probably dependent on me finding a development job, and I don't have a timeliness on when that may happen.
You may be better off finding a different app if you need those changes soon. Sorry for any inconvenience.

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in a week.


[FLINK-25238][table-runtime] Allow customized types for ArrayDataSerializer#copy

What is the purpose of the change
Allow customized types for ArrayDataSerializer#copy, instead of throwing a cast exception.
Brief change log
Verifying this change
This change added tests and can be verified as follows:

Added a test case for customized ArrayData types.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks, @gyfora


feat: introduce TableOperator to encasulate operation of tables

Which issue does this PR close?
Closes #
Rationale for this change
Now, we directly call the method in Schema for table operations, that led to tons of dulicated codes(e.g. create and drop in meta event service and interpreter, open in meta event servie and local recovery).
In this pr, TableOperator is introduced to escasulate such operations for eliminating the duplicateds.

What changes are included in this PR?

Introduce the TableOperator.
Make use of in above modules.

Are there any user-facing changes?
None.

How does this change test
Test by ut.

Codecov Report

Merging #808 (bd2178c) into main (9976a6f) will decrease coverage by 0.63%.
 Consider uploading reports for the commit 0fae55a to get more accurate results

@@            Coverage Diff             @@
##             main     #808      +/-   ##
==========================================
- Coverage   68.20%   67.58%   -0.63%
==========================================
  Files         295      296       +1
  Lines       46823    46863      +40
==========================================
- Hits        31937    31673     -264
- Misses      14886    15190     +304

Impacted Files
Coverage Δ

catalog_impls/src/system_tables.rs
0.00% <0.00%> (ø)

catalog_impls/src/volatile.rs
0.00% <0.00%> (ø)

interpreters/src/show.rs
28.67% <0.00%> (ø)

interpreters/src/table_manipulator/mod.rs
0.00% <ø> (ø)

.../df_planner_extension/table_scan_by_primary_key.rs
20.61% <0.00%> (-2.92%)
:arrow_down:

server/src/context.rs
0.00% <0.00%> (ø)

server/src/grpc/meta_event_service/error.rs
0.00% <ø> (ø)

server/src/grpc/meta_event_service/mod.rs
0.00% <0.00%> (ø)

server/src/handlers/error.rs
0.00% <ø> (ø)

server/src/handlers/query.rs
0.00% <0.00%> (ø)

... and 27 more

... and 16 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Bootstrap5

Update react-gears to be bootstrap5 compatible with reactstrap.

 Update react-gears to Bootstrap 5


Building dependency graph... never finishes

Sandworm version
Can't get, running sandworm-audit -v starts building dependency graph again. Just installed it today.
Describe the bug
Building dependency graph... never finishes, even after 10-15 minutes. No excessive CPU/RAM usage. Tried running with --from disk same.
I'm running it in an environment with proxy and we use a custom npm registry mirror to not get blacklisted by npm for excessive amount of requests. All the settings are in the npm config.
To Reproduce
Just installed it and ran sandworm-audit
Expected behavior
A message of why it's taking so long would be nice, or a check for a race condition if it's a network call that is never resolved or something like that.
System (please complete the following information):

Node Version v18.13.0
Package Manager npm
Package Manager Version 9.2.0
OS: Windows 10

Additional context
Add any other context about the problem here.

Hey, @n1kk. Thanks for submitting this issue! Overall, the building dependency graph can take a lot of time, depending on the state of the NPM registry load.
Would you mind testing with the latest version released today, specifically 1.3.0? We've added a progress indicator that should clarify if the job is indeed stuck. We've also added a few performance improvements that could also help.
One final note: running sandworm-audit -v is only supported starting with 1.3.0.

As an update here, custom registries are now supported starting with v1.36.0.


PR_SET_PDEATHSIG support

Hi,
are there any plans to support PR_SET_PDEATHSIG?
This code gives EINVAL:
#include <sys/prctl.h>
#include <signal.h>
#include <errno.h>

int main()
{
    if (prctl(PR_SET_PDEATHSIG, SIGTERM) == -1)
    {
        return errno;
    }

    return 0;

}

Same scenario is supported on Windows using JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.

@RobertFromBerlin same result on 14925 & Xenial

Thanks for reporting the issue.   PR_SET_PDEATHSIG is not currently supported but we are tracking the work.  If this is blocking a particular scenario, can you please give us feedback on the user voice page  so we can prioritize?

This parameter for the system call is required for running OpenEmbedded's / Yocto's bitbake command.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/bitbake/lib/bb/utils.py?h=krogoth#n1397
https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/16556056-support-pr-set-pdeathsig-in-the-prctl-system-call

PR_SET_PDEATHSIG support should be in insider builds soon, please let us know if you hit any other issues.

Great, I will give it a try :-)

@stehufntdev are those builds out yet?

Yes, PR_SET_PDEATHSIG support should be in the most recent insider build.  Please let us know if you hit any issues.

Indeed, in 15007 I can successfully run a Yocto build. Marvelous!
The WSL release notes only mention PR_GET_PDEATHSIG, though.