:robot: Triggering CI on branch 'release-next' after synching to upstream/main

{Failed  === RUN   TestContainerSourceSendsEventsWithOIDC/SendsEventsWithSinkRefOIDC/Assert/containersource_as_event_source_uses_containersources_identity_for_OIDC
=== PAUSE TestContainerSourceSendsEventsWithOIDC/SendsEventsWithSinkRefOIDC/Assert/containersource_as_event_source_uses_containersources_identity_for_OIDC
=== CONT  TestContainerSourceSendsEventsWithOIDC/SendsEventsWithSinkRefOIDC/Assert/containersource_as_event_source_uses_containersources_identity_for_OIDC
    event_info_store.go:181: Assert in range failed: expected <= 1 events, saw 7
        knative.dev/reconciler-test/pkg/eventshub.(*Store).AssertInRange
        	/go/src/github.com/openshift-knative/eventing/vendor/knative.dev/reconciler-test/pkg/eventshub/event_info_store.go:181
        knative.dev/reconciler-test/pkg/eventshub.(*Store).AssertExact
        	/go/src/github.com/openshift-knative/eventing/vendor/knative.dev/reconciler-test/pkg/eventshub/event_info_store.go:205
        knative.dev/eventing/test/rekt/features/containersource.SendsEventsWithSinkRefOIDC.MatchAssertionBuilder.Exact.func10
        	/go/src/github.com/openshift-knative/eventing/vendor/knative.dev/reconciler-test/pkg/eventshub/assert/step.go:110
        knative.dev/reconciler-test/pkg/environment.(*MagicEnvironment).executeStep.func1
        	/go/src/github.com/openshift-knative/eventing/vendor/knative.dev/reconciler-test/pkg/environment/execution.go:67
        testing.tRunner
        	/usr/lib/golang/src/testing/testing.go:1595
        runtime.goexit
        	/usr/lib/golang/src/runtime/asm_amd64.s:1650
--- FAIL: TestContainerSourceSendsEventsWithOIDC/SendsEventsWithSinkRefOIDC/Assert/containersource_as_event_source_uses_containersources_identity_for_OIDC (25.11s)
}

:thinking:
Proposed https://github.com/knative/eventing/pull/7903

{Failed  === RUN   TestApiServerSourceNewFiltersFeature/Knative_ApiServerSource_-_Features_-_New_Filter/Filters_properly_the_messages/Setup/install_ApiServerSource
=== PAUSE TestApiServerSourceNewFiltersFeature/Knative_ApiServerSource_-_Features_-_New_Filter/Filters_properly_the_messages/Setup/install_ApiServerSource
=== CONT  TestApiServerSourceNewFiltersFeature/Knative_ApiServerSource_-_Features_-_New_Filter/Filters_properly_the_messages/Setup/install_ApiServerSource
    apiserversource.go:62: failed to create resource admission webhook "validation.webhook.eventing.knative.dev" denied the request: validation failed: Filters is not empty but the NewAPIServerFilters feature is disabled.:  - Resource:
        apiVersion: sources.knative.dev/v1
        kind: ApiServerSource
        metadata:
          name: apiserversource-djwxqblq
          namespace: test-npwodfzx
        spec:
          filters:
            - exact:
                type: dev.knative.apiserver.resource.update
          mode: Resource
          resources:
            - apiVersion: v1
              kind: Pod
          serviceAccountName: apiserversource-hslgaznx
          sink:
            ref:
              apiVersion: v1
              kind: Service
              name: sink-evkltput
              namespace: null

--- FAIL: TestApiServerSourceNewFiltersFeature/Knative_ApiServerSource_-_Features_-_New_Filter/Filters_properly_the_messages/Setup/install_ApiServerSource (6.09s)
}

Related to https://github.com/knative/eventing/pull/7799/files, as we don't have the new-apiserversource-filters enabled and they run as part of the main suite. So either enable the FF in our tests too, or wait for https://github.com/knative/eventing/pull/7914/files, which moves the test to the experimental suite

Error from server (InternalError): error when creating "./hack/lib/certmanager_resources/selfsigned-issuer.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "[https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s](https://cert-manager-webhook.cert-manager.svc/mutate?timeout=10s)": tls: failed to verify certificate: x509: certificate signed by unknown authority

/test 415-test-conformance-aws-415

OCF Webhook is merging this PR


proj:transform and other proj requirements?

Looking at the readme I was expecting to see mention of proj:transform, but it didn't seem to be mentioned at all. Seems like it'd be good to include it?
I was also wondering about making it so the planet extension requires sufficient proj fields so that clients like gdal vrt, open data cube and others can get the full location information to make virtual catalogs without opening cogs. I think for that we'd need transform, shape and epsg - making them all required.

A recommendation would be good, although I assume it's the same best practice/requirement as defined at https://github.com/stac-extensions/projection#best-practices , right? So maybe a link is enough? It's not Planet specific anyway...


Support for nodejs

I want to debug my local nodejs application, but on the DevTools Server Website I get following error:
Error: Cannot read property 'match' of undefined
My node index.js file:
const server = new DevToolsServer({
	containerHost: "<IP_ADDRESS>:9229",
	devToolsServerPort: 9229,
	insecureConnection: true,
});
await server.start();

and start it with:
node --inspect=<IP_ADDRESS>:9222 index.js

We never tested this library with Node inspector, as it was made for connecting to browsers. It could probably work, but I can't promise any time frame, because we're quite busy with other stuff at the moment.
I'm curious, what is the use case for debugging with this package locally, instead of connecting directly from Chrome?

I wanted to remote debug my production program, on another server and eventually got it to work with a ssh port forward:
ssh -L 9222:localhost:9229<EMAIL_ADDRESS>
But it would be convenient to remote debug it from my phone/browser without the connection process.


[Feature Request] Option to show File Paths under the File Name

For longer File Names paired with longer Folder Names the entries get very squeezed and aren't very nice to read anymore. I would actually prefer a display of the File path beneath the name of the File. Making it an option between the way it is now, would be great.
Great plugin btw :)

Hi, @Glint-Eye. Thank you for your FR :)
I'll add an option about layout 👍

@Glint-Eye
Released in v5.2.0 🚀


chore(Package name): Renamed package to ngx-flash-messages

Removed organization prefix and re publishing under just ngx-flash-messages

Codecov Report

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

@@          Coverage Diff          @@
##           master    #10   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           6      6
  Lines          60     60
  Branches        3      3
=====================================
  Hits           60     60

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 e7d252e...d693c75. Read the comment docs.


Fixed error: "can not use import statement outside a module"

@king-Alex-d-great I have deleted the test folder. Do let me know if there's any other change I need to make.

@king-Alex-d-great all good yes?


WIP: initial commit for tutorial dotNet

What will the user learn in your tutorial?
What should the user already know when starting the tutorial?

What is the state of this PR?

What is the state of this PR?

Hi, we are working on uploading the steps for the katakoda tutorial this week


Added test id for menu

Fixes #1015

Description
Checklist

[ ] I have made corresponding changes to the documentation.
[ ] I have updated the types definition of modified exports.
[ ] I have verified the functionality in some of the neeto web-apps.
[ ] I have added the necessary label (patch/minor/major - If package publish
is required).

I have added data cy labels for all the menu buttons
Reviewers

@sreehari2003 A few questions,
Questions

Why are we going through all these steps for adding a data-cy label? Button has option for other props. So just add the "data-cy" label in the buttonProps?
Why are we adding a data-test-id label when we use data-cy labels in our tests?
Even if you're adding a test-id, it should data-testid and not data-test-id
Why are we not using the hyphenize utlity from neetoCist?

hyphenate is not available to import

@sreehari2003 A few questions,
Questions

Why are we going through all these steps for adding a data-cy label? Button has option for other props. So just add the "data-cy" label in the buttonProps?
Why are we adding a data-test-id label when we use data-cy labels in our tests?
Even if you're adding a test-id, it should data-testid and not data-test-id
Why are we not using the hyphenize utlity from neetoCist?

hyphenate is not available to import

@sreehari2003 its hyphenate. Please go through all the neeto-cist and Playwright commons utilities carefully to make sure we're not repeating the logic.

This Issue needs to be fixed first  #1027


Tab name too long

Environment
Windows build number:
powershell version
$psversiontable
PSVersion 5.1.18362.145
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.18362.145
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion <IP_ADDRESS>
Windows Terminal version (if applicable): Windows Terminal (Preview) 0.4.2382.0
Any other software?
No
Steps to reproduce

Open two tabs in the terminal.
In the first terminal, type "ubuntu" to go into WSL.
cd it into a path with a long name.

Expected behavior
Every tab name should be limited in a certain length or set adaptively.
It should be easy to switch among tabs and easy to close.
Actual behavior
The tab name is too long but the terminal doesn't give it a length limit, and it strongly affects the function of following tabs.
There is no close button for the second tab.

You do have the ability to set the tab text for each profile, which will prevent the really long text appearing.  But I think you may be asking for either a MaxWidth for the Tabs (perhaps as a global setting) - or you would like to set a character count, which when met, would cut the text with an ellipses … (the full text of the Tab text, could appear in the tooltip)

You do have the ability to set the tab text for each profile, which will prevent the really long text appearing.  But I think you may be asking for either a MaxWidth for the Tabs (perhaps as a global setting) - or you would like to set a character count, which when met, would cut the text with an ellipses … (the full text of the Tab text, could appear in the tooltip)

Yes. It behaves well on normal tabs (But it just shows "Powershell" rather than the file path). When I use WSL in the terminal, there is no MaxWidth property I guess.
The MaxWidth property works I think. But I hope there could be a more beautiful way to show the information adaptively according to the width of the terminal window.

If you need a quick fix, change your shell settings to not set your title to something so long. :smile:

/dup #2645


Modify the automated welcome email to mention the Slack community

Modify the automated welcome email to mention the Slack community


New Sniffnet logo!

Following the principles mentioned in #274, I think that the upcoming release of Sniffnet 1.3 is a perfect moment to slightly simplify and improve the logo of the application.

Having a simpler logo has many advantages.

First, the logo is recognizable even at small sizes, like the favicon in browser tabs (16x16 pixels on typical screens), the icon in OS windows, etc.

Second, simple logos appear modern, while more detailed logos may feel outdated.

Third, simpler icons are easier to memorize and recognize.

Old logo

New logo (A)

see details

Version 0

The icon has not been simplified excessively (to keep it easily recognisable as a Sniffnet brand)
The hat is now filled except for an horizontal bar, which recalls the data bars present in the overview page of the app
Glasses are now completely filled: the details in the old glasses were in practice indistinguishable at smaller resolutions and were adding too much complexity in general
The nose is slightly smaller and simpler
The background keeps the same colors but evolves to have smoother curves, according to the new traffic chart interpolation (see #461); there is a slight shadow and a brushed line separating the two colors, which now outline an "S" (recalling the initial letter of the app's name)

Version 1

The background has now an harmonious gradient that makes it lighter, increasing the contrast with the logo
Glasses are now filled with a color gradient to make the overall look less heavy and to resemble a transparency effect
The nose is filled as well to be consistent with the other parts of the logo, and is more prominent to allow Mr. Sniffnet do his job better
The hat sides have been simplified

Version 2

Hat and nose are now filled with a soft color gradient as well — this makes such elements have an effect consistent to that of the glasses, which is meant to represent a feeble light coming from the bottom (probably generated by the computer used by Mr. Sniffnet)

New logo (B)

see details

Version 0

Colors resides in the object itself, not in the background
Many details have been removed, outlining a much simpler logo
A letter "S" hides in the hat, recalling the name of the application (this shape is ideally generated by a pipe smoke)
Sketch kindly made by Reddit user u/Wiernock_Onotaiket

Version 1

Polished up the whole thing

Version 2

Added feeble gradients
Improved nose

Version 3

Light background
Shadow effects

Version 4

Improvements to shadows
Slightly changed background color

Feel free to contribute

It's the first time I realise a logo in a semi-professional way.
I had a lot of fun an I'm pretty satisfied with the outcome, but feel free to leave feedbacks.

So... there we go!
Now that the two candidate logos have mostly been completed, I'd like to gather some feedback.
The one with more votes will be used as new logo for the application.

Hi there. Nice to see that you're still going with this cool project. I like original logo, but I understand that it's okay to change over time. I would say A, my personal taste of course, but probably 2 is what most people would expect to see.
Cheers

Prefer B.
Good luck with update. Very useful piece of software. Thanks.

Hey, I also prefer B in this case. I was also curious how the inverted version of B will look like and I also like this one as well!

Details

I prefer B as well.

Why
The face, as the primary subject of focus, looks nicer with dual colors. In the other version, the backdrop shows "the duality" aspect that takes away from the primary focus. I also like the nose design on the second one. The second design with two colors is simple and clean. I also like the fact that the hat is tipped forward, which kind of makes the logo more mysterious.

👋 we chatted over at GitHub, and we like logo B for its visual clarity & legibility at a variety of sizes

Thanks so much guys for your opinions.
Logo B seems to have definitely obtained more preferences, so I decided to also produce another variant of it.
Let me know which of the two you prefer!

I also prefer B, especially B dark

I'd like to add my vote for the Dark version of logo B.
(just as an aside. the light and dark are similar enough that it would make sense to use both variants. For example, the light one for browsers' favicon.ico and printed materials, the dark one in the Windows start menu, ...)

B, more B dark )

B dark is the best :o

It's official: the variant B Dark will be the new logo of the application 🎉
In the latest survey, B Dark (27 votes) completely outclassed B Light (2 votes).
As someone mentioned, the two variant are similar enough to be both used depending on the context, but the dark one will be used as main symbol of the new Sniffnet version (e.g. application icon, README banner, etc).

I don't like. Sniff means to smell or sniff. The nose is in charge of that action, of smelling. So what I propose is a nose above the wi-fi icon, like this:
👃 → Sniff
🛜 → net
I don't see any relationship to the current logo with what the app does, the current logo looks like an app for private investigation or detectives. Instead, with a logo of a nose above the wifi icon, It is already understandable what Sniffnet can do.

B with a dark bg, might be cool...

since I like experimenting, I made some potential minimal/ less complex logos variants if you are still open to some proposals, the current one reminds me too much about breaking bad

I like 5. I suggest a reversal of colour - see attached - so that 'white hat' is more obvious.

4 is pretty minimal, I like it.

At the moment I'm not considering a further rebranding and I'm pretty satisfied with the current logo.
Anyway, thanks for your feedback! Still appreciated!


get_pyarrow_schema fails when a Field is an Enum

class MyEnum(str, Enum):
    A = "A"
    B = "B"

class MyModel(BaseModel):
    event_type: MyEnum

pa_schema = get_pyarrow_schema(MyModel)

this fails with pydantic_to_pyarrow.schema.SchemaCreationError: Unknown type: <enum 'MyEnum'>

Thank you for the comment! The latest version (v0.1.2) should now work with the example above, converting the enum to a pa.dictionary type.


[Windows] Build Failure with learning_tf2_cpp on Windows 10

Environment:

Operating System: Windows 10
ROS 2 Version: Iron

Issue Description:
For the debugging tutorial - Debugging tf2, I encountered a build failure when trying to build the learning_tf2_cpp package. Here's the error message I received:
D:\ros2_ws>colcon build --merge-install --packages-select learning_tf2_cpp
Starting >>> learning_tf2_cpp
Failed <<< learning_tf2_cpp [9.11s, exited with code 1]

Summary: 0 packages finished [9.41s]
1 package failed: learning_tf2_cpp
WNDPROC return value cannot be converted to LRESULT
TypeError: WPARAM is simple, so must be an int object (got NoneType)

D:\ros2_ws>

I have verified the configurations in CMakeLists.txt and package.xml files and followed the instructions from the official documentation, but the issue persists. I searched in the community forums and existing issues on GitHub for similar problems but found no solutions. Can anyone help me resolve this issue?
Attached is the content of CMakeLists.txt:
cmake_minimum_required(VERSION 3.8)
project(learning_tf2_cpp)

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  add_compile_options(-Wall -Wextra -Wpedantic)
endif()

# find dependencies
find_package(ament_cmake REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(rclcpp REQUIRED)
find_package(tf2 REQUIRED)
find_package(tf2_ros REQUIRED)
find_package(turtlesim REQUIRED)

if(BUILD_TESTING)
  find_package(ament_lint_auto REQUIRED)
  # the following line skips the linter which checks for copyrights
  # comment the line when a copyright and license is added to all source files
  set(ament_cmake_copyright_FOUND TRUE)
  # the following line skips cpplint (only works in a git repo)
  # comment the line when this package is in a git repo and when
  # a copyright and license is added to all source files
  set(ament_cmake_cpplint_FOUND TRUE)
  ament_lint_auto_find_test_dependencies()
endif()

ament_package()

add_executable(static_turtle_tf2_broadcaster src/static_turtle_tf2_broadcaster.cpp)
ament_target_dependencies(
   static_turtle_tf2_broadcaster
   geometry_msgs
   rclcpp
   tf2
   tf2_ros
)

add_executable(turtle_tf2_broadcaster src/turtle_tf2_broadcaster.cpp)
ament_target_dependencies(
    turtle_tf2_broadcaster
    geometry_msgs
    rclcpp
    tf2
    tf2_ros
    turtlesim
)

add_executable(turtle_tf2_listener src/turtle_tf2_listener.cpp)
ament_target_dependencies(
    turtle_tf2_listener
    geometry_msgs
    rclcpp
    tf2
    tf2_ros
    turtlesim
)

add_executable(fixed_frame_tf2_broadcaster src/fixed_frame_tf2_broadcaster.cpp)
ament_target_dependencies(
    fixed_frame_tf2_broadcaster
    geometry_msgs
    rclcpp
    tf2_ros
)

add_executable(dynamic_frame_tf2_broadcaster src/dynamic_frame_tf2_broadcaster.cpp)
ament_target_dependencies(
    dynamic_frame_tf2_broadcaster
    geometry_msgs
    rclcpp
    tf2_ros
)

add_executable(turtle_tf2_listener_debug src/turtle_tf2_listener_debug.cpp)
ament_target_dependencies(
    turtle_tf2_listener_debug
    geometry_msgs
    rclcpp
    tf2_ros
)

install(TARGETS
    turtle_tf2_listener_debug
    DESTINATION lib/${PROJECT_NAME})

install(TARGETS
    dynamic_frame_tf2_broadcaster
    DESTINATION lib/${PROJECT_NAME})

install(TARGETS
    fixed_frame_tf2_broadcaster
    DESTINATION lib/${PROJECT_NAME})

install(TARGETS
    turtle_tf2_listener
    DESTINATION lib/${PROJECT_NAME})

install(TARGETS
    turtle_tf2_broadcaster
    DESTINATION lib/${PROJECT_NAME})

install(TARGETS
   static_turtle_tf2_broadcaster
   DESTINATION lib/${PROJECT_NAME})

install(DIRECTORY launch
  DESTINATION share/${PROJECT_NAME})

Please open questions like this on https://robotics.stackexchange.com/questions/tagged/ros, which is our central Question and Answer site.  You'll get a better answer there, and it will be searchable for the future.
Make sure to include a lot of information on what platform you are using, which ROS distribution you are using, and the exact steps you took.


[BUG] ReferenceError: defineNitroPlugin is not defined

Version
1.7.0
Describe the problem
I've got ReferenceError: defineNitroPlugin is not defined error on server side. Not sure it is a problem on some nuxt-cron updates or some nuxt updates, but previously it was working fine on server side
Additional info

same, please fix it

Hello everyone, I didn’t have time for this before, but now the issue should be resolved in the new release.
@jbjorge thanks!


Running same simulation twice in a row fails

Describe the bug
Running the same simulation and writing the state file, fails on the second run. This seems to be related to the fact, that the stage file exists already.
This seems to be a strange behaviour.
asreview simulate -s 1.json  1.csv
asreview simulate -s 1.json  1.csv

fails with generic error message:
Traceback (most recent call last):
  File "/usr/local/bin/asreview", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/asreview/__main__.py", line 40, in main
    entry.load()().execute(sys.argv[2:])
  File "/usr/local/lib/python3.6/site-packages/asreview/entry_points/simulate.py", line 29, in execute
    review_simulate(path, **args_dict)
  File "/usr/local/lib/python3.6/site-packages/asreview/review/factory.py", line 239, in review_simulate
    review(dataset, *args, mode='simulate', **kwargs)
  File "/usr/local/lib/python3.6/site-packages/asreview/review/factory.py", line 222, in review
    reviewer = get_reviewer(*args, mode=mode, model=model, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/asreview/review/factory.py", line 197, in get_reviewer
    **kwargs)
  File "/usr/local/lib/python3.6/site-packages/asreview/review/simulate.py", line 49, in __init__
    if len(start_idx) == 0 and n_prior_included + n_prior_excluded > 0:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'

Thanks for figuring out. An informative error message would be better. Are you interested in doing a PR?

@J535D165 I don't want to be rude, but I should probably fix it...

With the above pull request it should not fail anymore. (It will try to continue the simulation, and if it is already done it will immediately quit.)

Thanks for fix and thansk for reporting @behrica

With the above pull request it should not fail anymore. (It will try to continue the simulation, and if it is already done it will immediately quit.)

Is the "concept" of "continuing the simulation" documented somewhere ?
It is not obvoius to me, why and how I should start a simulation and later "continue with it".
Probbaly it comes from the fact that the for the "oracle" mode, this makes sense, and somehow the "simulation" is similar to the "oracle", correct ?


[fix](jdbc catalog) Fixed FE memory leak by enabling weak references in HikariCP

pick  (#40773)
When FE collects statistics, its ThreadLocal will hold the ThreadLocal of HikariCP in JdbcClient, making it difficult for HikariCP to be gc, so this problem can be alleviated by enabling weak references of HikariCP.

run buildall


slave node not getting responses back

Hi there! First let me congratulate for the amazing job. It's a very interesting architecture and it has a lot of potential to become a very interesting project. keep up the good work!
I'm having a small issue. I have 2 components in my setup:

rpi4 running mycroft and a HiveMind master instance as pi@raspberrypi:~/HiveMind-core $ python3 examples/mycroft_master.py
rpi0 with an audio module (respeaker mic array v2.0) running voice satellite as
pi@raspberrypi:~/HiveMind-voice-sat $ PYTHONPATH=$("pwd") python3 voice_satellite/__main__.py

I can talk to mycroft through the slave but I'm not getting any response back.
Reading the code is not really even clear how that should happen since HiveMind master doesn't seems to even establish a connection to the mycroft websocket.
If I open a websocket connection against the mycroft ws I can clearly see "speak" events being fired and I can see some handlers to play it in HiveMind-voice-sat.
Also I see on the main picture in the HiveMind-voice-sat readme that it should play back audio messages from mycroft.
It seems I'm missing a tiny bit but I can't figure out what

Hi there, the voice_satellite uses https://github.com/OpenJarbas/py_responsivevoice for TTS, but responsive voice changed its internal api and that package is currently broken, that is the reason you do not get an answer, the speak message should be received in the voice satellite, but there is no playback
I will change TTS to use google in the meantime and you should be able to hear your responses again!
If you think you are having a different issue please try connecting the remote_cli slave and verify that you are receiving the answers

master connects to mycroft websocket here

my suspect about being a problem with master's websocket listener is derived by the fact that I don't see this entry log if I uncomment this line https://github.com/OpenJarbas/HiveMind-core/blob/2a2dcafe56ff46ad620de431e61deccbd9dd3be2/jarbas_hive_mind/master/init.py#L73 by modifying the file /home/pi/.local/lib/python3.7/site-packages/jarbas_hive_mind/master/__init__.py
I don't see log entries running either in HiveMind master and HiveMind-voice-satellite when mycroft is emitting "speak" events
regarding HiveMind-cli this is what I get:
pi@raspberrypi:~/HiveMind-cli $ python3 ./cli_satellite
22:44:55.809 - jarbas_hive_mind:secure_connect:60 - INFO - Connecting securely to wss://<IP_ADDRESS>:5678
22:44:56.081 - jarbas_hive_mind.slave.terminal:onConnect:18 - INFO - HiveMind connected: tcp4:<IP_ADDRESS>:5678
22:44:56.120 - jarbas_hive_mind.slave.terminal:onOpen:23 - INFO - HiveMind websocket connection open.
 INPUT: what time is it
 YOU: what time is it

and these are the master logs
22:44:55.956 - jarbas_hive_mind.master:onConnect:20 - INFO - Client connecting: tcp4:<IP_ADDRESS>:51856
22:44:55.957 - JsonDatabase - DEBUG - Json /home/pi/jarbasHiveMind/database/clients.db loaded
22:44:55.958 - JsonDatabase - DEBUG - Json /home/pi/jarbasHiveMind/database/clients.db loaded
22:44:55.962 - JsonDatabase - DEBUG - Json /home/pi/jarbasHiveMind/database/clients.db loaded
22:44:55.963 - JsonDatabase - DEBUG - Json /home/pi/jarbasHiveMind/database/clients.db loaded
22:44:55.971 - jarbas_hive_mind.master:register_client:172 - INFO - registering client: tcp4:<IP_ADDRESS>:51856
22:44:55.986 - jarbas_hive_mind.master:onOpen:65 - INFO - WebSocket connection open.
22:45:02.927 - jarbas_hive_mind.master:onMessage:74 - DEBUG - Text message received: {"msg_type": "bus", "payload": {"data": {"utterances": ["what time is it"], "lang": "en-us"}, "type": "recognizer_loop:utterance", "context": {"source": "tcp4:<IP_ADDRESS>:5678", "destination": "hive_mind", "platform": "JarbasCliTerminalV0.2"}}, "node": "tcp4:<IP_ADDRESS>:5678:SLAVE", "source_peer": "tcp4:<IP_ADDRESS>:5678"}
22:45:02.932 - jarbas_hive_mind.master:handle_incoming_mycroft:298 - INFO - Forwarding message to mycroft bus from client: tcp4:<IP_ADDRESS>:51856

that's basically it. nothing more. that's why I suspect master is not relaying messages to slaves
also, thanks for taking care of the TTS. that would have been the next issue I would have had :)

can you confirm you are on latest mycroft-core? hive mind requires https://github.com/MycroftAI/mycroft-core/pull/2461 to work, this has only been merged recently

Success! I read already about this pr being merged onto the mycroft forum. I wrongly assumed it was already on master. Switching my mycroft branch to dev caused log entries onto the slave node related to TTS to be showed!
As you stated it failed to actually play back something because of responsivevoice APIs changes.
Let me know if there’s a simple way to switch to google TTS so I can do it myself or else I’ll just wait for the update :)
Thanks for the support!

voice_sat now supports multiple TTS engines


Update to_s and inspect to have similar signatures accross the stdlib

I noticed some differences the signatures of some to_s methods that take IO.  This just adds some types explicitly and changes some of the methods to use the same signature.

@Sija and @r00ster91 I have updated the PR what do you think?

👍 from me

@j8r I updated everything with your suggestions.  Can you take another look?

@j8r can you rerun CI for this it looks like the build was canceled?

I cancelled it because there way too many builds in the queue. I've just triggered a rerun.

@bcardiff I just wanted to check in and see if this could get merged?

Now that there were two reviews yes. Thanks @wontruefree!


"Product Hunt as a protocol". Discuss.

Everything is here: https://lobsters.substack.com/p/product-hunt-as-a-protocol-or-grassroots
Discuss!

It’s a community of very well-connected and experienced DeFi degens & researchers.
"Who're all those ppl?!", a project might ask.
How lobs can prove their statement -- and should they prove it at all?

Here is the pitch letter / FAQ, essentially a TL;DR version of the post aimed at projects. Would love the hear any feedback.

Hello! My name is Elder Smith and I would like to  share with you the Book of Jesus Christ!
Imo, it should be stressed that airdrops are not bribes or payments for services, they're pure incentives. Pro-active airdrops, so to say.
And that "there isn't any warranty, expressed or implied, etc."

I would draft it simply (l'm not good at English and typing on mobile, so the final wording must be crafted by native speakers anyway).

This is a list of Lobsters, who they are and what they're good at. (Here goes a list of names/nicks with achievements, skills and all bragging. In due time I can present more detailed ideas, but now I'd only say that the info must be verified, at least partially.)
The Lobsters luv new original projects. Such projects can be shilled for free in the community chat. If the lobsters get interested into a project, they can dig, dyor, help or ape pretty big.
The DAO as an entity has its own funds and can be helpful too -- if enough members get interested.
Incentives can make the lobsters interested a bit more deeper than usual. No guarantee, though.
 Quality and reputation is above all.

I love this idea and it's in line with how I think LobsterDAO should proceed.  The strength of LobsterDAO is its knowledge and experience within the industry so new projects would be foolish to not leverage that for their product.

Some ideas:

incentivize "airdrop facilitation" (with unminted NFTs?)
sweeten the deal for projects by giving them some kind or screen time (e.g. presentation stream advertised on the channel + recorded?)


Fix missing data chunk metric

Summary
We have a missing data chunk error count metric to record the number of get blob operations that encountered a missing data chunk error. However, this metric is incremented in the wrong place, we increment it every time we see a NOT_FOUND response from any replica, this is not very useful.
This PR fixes that and only increments this counter metric at the end of get chunk operation when it fails with Blob_Not_Found error.
##Test
Unit test

Codecov Report
Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 18.60%. Comparing base (52ba813) to head (f8cdeac).
Report is 78 commits behind head on master.

Files
Patch %
Lines

...java/com/github/ambry/router/GetBlobOperation.java
0.00%
4 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (52ba813) and HEAD (f8cdeac). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (52ba813)
HEAD (f8cdeac)

3
1

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2867       +/-   ##
=============================================
- Coverage     64.24%   18.60%   -45.64%
+ Complexity    10398     2918     -7480
=============================================
  Files           840      851       +11
  Lines         71755    72539      +784
  Branches       8611     8729      +118
=============================================
- Hits          46099    13496    -32603
- Misses        23004    57799    +34795
+ Partials       2652     1244     -1408

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


Mingw-clang

Just a query, is Windows mingw-clang actually compilable (which would be awesome by the way) or is this still experimental?
Because I tried it but I couldn't get it to compile.
Here's a sample output:
c:\My Projects\Research\bgfx\.build\projects\gmake-mingw-clang>c:\LLVM/bin/clang++    -MMD -MP -MP -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -DWIN32 -DMINGW_HAS_SECURE_API=1 -I../../../../bx/include/compat/mingw -I../../../../bx/include   -Wall -Wextra -fomit-frame-pointer -g -m32 -fno-rtti -fno-exceptions -Wunused-value -fdata-sections -ffunction-sections -msse2 -Wundef -isystemc:\TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++ -isystemc:\TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/4.8.1/include/c++/x86_64-w64-mingw32 -isystemc:\TDM-GCC-64/x86_64-w64-mingw32/include -m32 -std=c++11  -o "../../win32_mingw-clang/obj/x32/Debug/bx/bx/src/bx.o" -c "../../../../bx/src/bx.cpp
In file included from ../../../../bx/src/bx.cpp:6:
In file included from ../../../../bx/include\bx/debug.h:9:
In file included from ../../../../bx/include\bx/bx.h:9:
In file included from ../../../../bx/include/compat/mingw\alloca.h:4:
c:\TDM-GCC-64/x86_64-w64-mingw32/include\malloc.h:147:28: error: use of undeclared identifier '_ALLOCA_S_MARKER_SIZE'
      _Ptr = (char*)_Ptr + _ALLOCA_S_MARKER_SIZE;
                           ^
c:\TDM-GCC-64/x86_64-w64-mingw32/include\malloc.h:166:34: error: use of undeclared identifier '_ALLOCA_S_MARKER_SIZE'
      _Memory = (char*)_Memory - _ALLOCA_S_MARKER_SIZE;
                                 ^
In file included from ../../../../bx/src/bx.cpp:6:
In file included from ../../../../bx/include\bx/debug.h:9:
In file included from ../../../../bx/include\bx/bx.h:12:
c:\TDM-GCC-64/x86_64-w64-mingw32/include\stdlib.h:306:47: error: expected ';' after top level declarator
  void __cdecl __MINGW_NOTHROW exit(int _Code) __MINGW_ATTRIB_NORETURN;

Thanks!

It compiled at some point, but I didn't test it in long time.

Alright, which mingw repo did yo use? http://tdm-gcc.tdragon.net?

Yes TDM. But this is probably more important, this clang: http://llvm.org/builds/ (it can work with both MSVC or MinGW runtime)

Wait, is this any different to http://releases.llvm.org/4.0.0/LLVM-4.0.0-win64.exe which I installed?

@bkaradzic do you remember mayve exactly which LLVM version you used to test this?

One that's in VS plugin: https://github.com/bkaradzic/bx/blob/master/scripts/toolchain.lua#L89
If you can genie --vs=vs2015-clang you should use the same LLVM to do mingw-clang

Alright, did a test with llvm 3.9 and vs2015-clang does indeed work but mingw still doesn't compile.

Can you post some of errors?

They are the same ones posted above basically.

I'll post full error dump tomorrow.

Freshly cloned bx, bgfx, bimg
Installed http://releases.llvm.org/3.9.0/LLVM-3.9.0-win64.exe
Run:

set PATH=%PATH%;..\gnumake
set MINGW=c:\TDM-GCC-64
set CLANG=c:\LLVM
..\bx\tools\bin\windows\genie --with-examples --gcc=mingw-clang gmake
make mingw-clang-debug64

Here's the full output:
clang_mingw_error_output.txt

This part:
In file included from ../../../../bx/include\bx/bx.h:15:
../../../../bx/include\bx/platform.h:158:51: warning: '_USING_V110_SDK71_' is not defined, evaluates to 0 [-Wundef]
#       if defined(_MSC_VER) && (_MSC_VER >= 1700) && (!_USING_V110_SDK71_)
                                                        ^

suggests that _MSC_VER is defined and that clang might think it's compiling for MSVC... This definitely wasn't case when I built with it.

Ok, finally figured out how to get mingw & clang work together with LLVM 4.0.

I have compiled bgfx with mingw clang toolchain. It needs some tiny fixes. Would you like to accept those patches? If possible I can try to add some GitHub Actions so that you don't have to test the build manually.

It needs some tiny fixes. Would you like to accept those patches?

Sure.

If possible I can try to add some GitHub Actions so that you don't have to test the build manually.

I would like to have GH actions for other targets too. You should come to Discord chat to discuss this further.

I think this issue can be closed. mingw-clang target can be built successfully.


[BACKLOG-29201] Add the ability to set Spark Parameters on a step

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'ui,plugins/engine-configuration/impl' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'ui,plugins/engine-configuration/impl' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  plugins/engine-configuration/impl/src/main/java/org/pentaho/di/engine/configuration/impl/spark/SparkTuningPopupMenu.java
  plugins/engine-configuration/impl/src/main/java/org/pentaho/di/engine/configuration/impl/spark/SparkTuningStepHandler.java
  plugins/engine-configuration/impl/src/main/resources/OSGI-INF/blueprint/beans.xml
  plugins/engine-configuration/impl/src/main/resources/org/pentaho/di/engine/configuration/impl/spark/messages/messages_en_US.properties
  plugins/engine-configuration/impl/src/main/resources/org/pentaho/di/engine/configuration/impl/spark/spark-properties-menu.xul
  ui/src/main/java/org/pentaho/di/ui/core/dialog/PropertiesDialog.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
:new: org.pentaho.di.engine.configuration.impl.spark.SparkTuningPopupMenu

Coverage: 0% :exclamation:

:new: org.pentaho.di.engine.configuration.impl.spark.SparkTuningStepHandler

Coverage: 0% :exclamation:

:new: org.pentaho.di.ui.core.dialog.PropertiesDialog

Coverage: 0% :exclamation:

@pentaho/bb-8

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'ui,plugins/engine-configuration/impl' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'ui,plugins/engine-configuration/impl' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  plugins/engine-configuration/impl/src/main/java/org/pentaho/di/engine/configuration/impl/spark/SparkTuningPopupMenu.java
  plugins/engine-configuration/impl/src/main/java/org/pentaho/di/engine/configuration/impl/spark/SparkTuningStepHandler.java
  plugins/engine-configuration/impl/src/main/resources/OSGI-INF/blueprint/beans.xml
  plugins/engine-configuration/impl/src/main/resources/org/pentaho/di/engine/configuration/impl/spark/messages/messages_en_US.properties
  plugins/engine-configuration/impl/src/main/resources/org/pentaho/di/engine/configuration/impl/spark/spark-tuning-menu.xul
  ui/src/main/java/org/pentaho/di/ui/core/dialog/PropertiesDialog.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
:new: org.pentaho.di.engine.configuration.impl.spark.SparkTuningPopupMenu

Coverage: 0% :exclamation:

:new: org.pentaho.di.engine.configuration.impl.spark.SparkTuningStepHandler

Coverage: 0% :exclamation:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

:new: org.pentaho.di.ui.core.dialog.PropertiesDialog

Coverage: 0% :exclamation:

<IP_ADDRESS> backport #6607
8.3 backport #6607


fix committed stat

_mi_os_free reduces the stat by the full size without taking uncommitted sections into account.
For this reason we have to add the uncommitted sections to the stat before calling it.

This should fix https://github.com/microsoft/mimalloc/issues/929

As an alternative fix we could call _mi_os_free_ex and decrease the stat here.

Ha, interesting -- looks like I decreased the commit while it should have been increased since _mi_os_free decreases by the full amount. Let me think a bit more on this but I think you are right.

Hello!
Is there a reason why this PR can't be merged? We also want to use mi_process_info, but the reported commit size is incorrect.

Ah, yes it is already in the latest dev/dev-slice but was added manually. I'll close this PR. There will be a fresh release v2.1.8 soon I hope.


ask for fuse consent on macOS

[x] add a checkbox for user consent about "FUSE for macOS" being closed-source
[x] add the same checkbox for finder integration popup when user clicks the icon when integration is not enabled
[x] persist "dismiss" action across app restart so banner won't show up in Files tab after app restarts, if user has dismissed it
[x] hide the finder integration icon on rows and in header if user has dismissed the banner - user can still enable it in Settings if they want
[x] a few design tweaks for the Files settings tab, including getting rid of the banner there and replace the checkbox with texts and a button
[x] automatic uninstall the kext with helper upgrade cc @mmaxim

I have FUSE (latest 3.10.4) installed, but Keybase asks for consent and password and then seems to process for a bit… Why not just let me know that I already have (closed-source) FUSE installed, do I want to enable Finder integration?


Add translations for the Kazakh language

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
no

Merged. Thank you!


toctree under section title wont render on sidebar

Hey there!
First, let me thank you for this very fine theme.  I love it!
I have an issue with the sidebar.  It was empty and I did not understand why and couldn't even reproduce the problem in a minimal project, but I finally found it.
toctree under a section title won't show in the side bar.
Here is a sample index.rst that reproduce the problem
#############
Chapter title
#############

Section title
=============

.. toctree::

    some-file
    some-other-file

If I omit the section title, the sidebar is properly filled:
#############
Chapter title
#############

.. toctree::

    some-file
    some-other-file

Maybe that's normal and intended.  In that case, I'd suggest documenting the sidebar behavior somewhat.
Cheers!

Yep - definitely a bug IMO :-)
This would be fixed by https://github.com/pandas-dev/pydata-sphinx-theme/pull/219 although that PR has gone a bit stale. I definitely think we should just utilize the Sphinx TOC functions so that we know we have the same behavior as whatever Sphinx does (currently the theme uses its own custom sidebar creation, which misses somethings like this)

OHHH... I met the same problem. It takes me lots of time to find what happened.
So is that suggested to put the toctree at the top of xxx/index.rst file such as:
=======
Title Here
=======

.. toctree::
   :hidden:

    xxx-a
    xxx-b
    xxx-c

Context

I want to know why it works in pandas doc Getting started:
https://raw.githubusercontent.com/pandas-dev/pandas/master/doc/source/getting_started/index.rst
Tutorials
---------

For a quick overview of pandas functionality, see :ref:`10 Minutes to pandas<10min>`.

You can also reference the pandas `cheat sheet <https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf>`_
for a succinct guide for manipulating data with pandas.

The community produces a wide variety of tutorials available online. Some of the
material is enlisted in the community contributed :ref:`communitytutorials`.

.. If you update this toctree, also update the manual toctree in the
   main index.rst.template

.. toctree::
    :maxdepth: 2
    :hidden:

    install
    overview
    intro_tutorials/index
    comparison/index
    tutorials

OHHH... I met the same problem. It takes me lots of time to find what happened.
So is that suggested to put the toctree at the top of xxx/index.rst file such as:
=======
Title Here
=======

.. toctree::
   :hidden:

    xxx-a
    xxx-b
    xxx-c

Context

I want to know why it works in pandas doc Getting started:
https://raw.githubusercontent.com/pandas-dev/pandas/master/doc/source/getting_started/index.rst
Tutorials
---------

For a quick overview of pandas functionality, see :ref:`10 Minutes to pandas<10min>`.

You can also reference the pandas `cheat sheet <https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf>`_
for a succinct guide for manipulating data with pandas.

The community produces a wide variety of tutorials available online. Some of the
material is enlisted in the community contributed :ref:`communitytutorials`.

.. If you update this toctree, also update the manual toctree in the
   main index.rst.template

.. toctree::
    :maxdepth: 2
    :hidden:

    install
    overview
    intro_tutorials/index
    comparison/index
    tutorials

@MegChai this should now work on master! Wanna give it a shot?

@MegChai this should now work on master! Wanna give it a shot?


Feature release 5.1.0

Goal Title
What will this work achieve?
Description
https://github.com/alan-turing-institute/data-safe-haven/milestone/28
Definition of Done
When will this be considered as succesfully completed?
Details

RACI

Accountable team or person: @JimMadge
Responsible team or person: REG
Informed and consulted people:

Estimated effort in total FTE:

Task and issue breakdown
https://github.com/alan-turing-institute/data-safe-haven/milestone/28
Checklist

[ ] This Story have been agreed with project members, it tackles prioritised work

[ ] If not: Label as ForPrioritisation so it discussed in the next monthly meeting, do not set a status

[ ] I have filled in the Team Accountabe field
[ ] I have included this Story in the agreed upon Milestone, set status as Planned

[ ] If not: set status as Backlog, to be Planned via weekly meetings or async discussions

[ ] The work to be done is likely to span over a month
[ ] I have broken down the work in monthly issues and added them above
[ ] I have labeled this issue according to its main project: SATRE, TRESA, CORE DSH (ELA) or other (please agree and create a new label if necessary)
[ ] If known: sum the total effort (points) of tracked issues and add it on the body
[ ] Select a Story level of effort in the project fields

The specific features included might change during this month but still time will be dedicated to new features

Release done! Now we need to pen test so it can be on production for DSG


InteractiveBox > PressableBox

Use case
A more intuitive name describing the expected capacities of the widget (on hover, pressed, long press etc) while also giving room for further development of the widget
Proposal
Suggestion to rename PressableBox to InteractiveBox

Thank you for your contribution!
We were discussing it because it was mentioned on another Issue that requested adding one more callback on PressableBox, the onHover. I agree that to continue with the name PressableBox is a bit weird.
@leoafarias what's your opinion?

Yes, this aligns well with our internal discussions, @jonathanfristedt. We might also create a different name for the Pressable, which is just a provider of the states and does not have the Box styling.

We now support the WidgetStateController and Interactable which handles these cases described
https://www.fluttermix.com/docs/tutorials/controlling-widget-state


Logging doesn't support glbinding's types

One can write e.g. gl::GLenums to a std::ostream thanks to the overloads in gl/types.h. globjects::LogMessageBuilder however can't output them, even though globjects and glbinding are pretty tightly coupled.

I added more types to the logging but are there any other missing?
GLbitfield is a special case since it is currently just a typedef to an unsigned int...I don't know whether we are fixing this so it can be printed using 0s and 1s.


[Snyk] Security upgrade ubuntu from 18.04 to 24.10

Snyk has created this PR to fix 2 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

Dockerfile

We recommend upgrading to ubuntu:24.10, as this image has only 7 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

CVE-2024-22365 SNYK-UBUNTU1804-PAM-6170210
  514

CVE-2024-22365 SNYK-UBUNTU1804-PAM-6170210
  514

CVE-2024-22365 SNYK-UBUNTU1804-PAM-6170210
  514

CVE-2024-22365 SNYK-UBUNTU1804-PAM-6170210
  514

CVE-2023-39804 SNYK-UBUNTU1804-TAR-6096091
  514

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)


[React Native] Observer not updating when observable changes

Hey all 👋 Trying out mobx on a project and hoping someone might have some ideas off the top of their head why my @observer class isn't updating when an @observable property changes.
I'm using the RootStore pattern and passing it via a <Provider> component. Here's some trimmed down code:
// RootStore.js
import UserStore from "./UserStore";
import CompanyStore from "./CompanyStore";
import { observable } from "mobx";

export class RootStore {
  companyStore = new CompanyStore(this);
  userStore = new UserStore(this);
}

const rootStore = new RootStore();

export default rootStore;

// UserStore.js
import { observable, action } from "mobx";

export default class UserStore {
  @observable currentCompany = null;

  @action setCurrentCompany(companyId) {
    this.currentCompany = companyId;
  }
}

// App.js
export default class App extends React.Component {
  render() {
    return (
      <Provider rootStore={rootStore}>
        <RootStack /> {/* this is created from react-navigation package */}
      </Provider>
    );
  }

import React from 'react';
import { View, AsyncStorage, StyleSheet, Text } from 'react-native';
import { observer, inject } from 'mobx-react/native';
import { Picker, Form, Item, Label } from 'native-base';

@inject('rootStore')
@observer
export default class SettingsScreen extends React.Component {
  static navigationOptions = {
    title: 'Settings',
    tabBarIcon: () => <Text>S</Text>,
  };

  render() {
    return (
      <View style={styles.container}>
        <Text>Settings Page</Text>
        <Form style={{ width: '80%' }}>
          <Item picker fixedLabel>
            <Label>Company</Label>
            <Picker
              mode="dropdown"
              onValueChange={this.props.rootStore.userStore.setCurrentCompany}
              selectedValue={this.props.rootStore.userStore.currentCompany}
            >
              {this.props.rootStore.companyStore.companies.map(c => (
                <Picker.Item label={c.name} value={c.id} key={c.id} />
              ))}
            </Picker>
          </Item>
        </Form>
      </View>
    );
  }
}

Essentially when I use that <Picker> component it fires the UserStore.setCurrentCompany action properly and the value does get set but it doesn't rerender the SettingsScreen component.
I'm wondering if it has something to do with the different navigators nested under <RootStack>?

Ah. Not sure why this fixed it but I changed the onValueChange of the <Picker> component to a local method on the SettingsScreen class that calls the this.props.rootStore.userStore.setCurrentCompany and it started working 🤷♂

Try @action.bound

@urugator  Could you perhaps elaborate a little more?

onValueChange={this.props.rootStore.userStore.setCurrentCompany}
My guess is that this context is wrong during the invocation of setCurrentCompany, so you have to use arrow function:
onValueChange={(...args) => this.props.rootStore.userStore.setCurrentCompany(...args)}
or bind the method to class instance:
this.setCurrentCompany = this.setCurrentCompany.bind(this) // inside UserStore constructor
or use @action.bound instead of @action, which binds the method automatically:
@action.bound setCurrentCompany


Slime is not collected from Slime Hutches

To collect slime from hutches the Slime Ball has to be interacted with and then the newly created debris picked up.
the interaction can be faked, but the way debris is spawned only works on the map the farmer is in.
picking debris up transforms it somehow to an Object (or Item), how exactly needs to be figured out.

maybe this could be solved by positioning the ghost farmer and giving him enough magnetism. alternatively, the ball could be deleted and slime could be added to the chest with the same algorithm to determine the slimes spawning from the ball (which would mean any change in the game would not get reflected, thus I highly dislike it)

resolved in v0.1.9


[BUG] Dependency on Mouse Cursor for dumping outputs

Current Status: While replacing the selected contents with the AI output, it looks for the mouse cursor's initial position to track where to paste the output, so you need to make sure your mouse is inside the text-editor when you press the Keyboard Shortcut.
This is a risky design because generally people opens multiple windows to work concurrently and mouse cursor position is not reliable. Also, developers likes using keyboard only, so we should find other reliable way to get the editor window.

One backup-safe design is to generate output in BAssist's own window and ask user to just press ctrl/cmd + v [paste] in their original editor


Updated Community Operator Install Document for 0.6.z

Update to Community Documentation Install instructions for issue https://github.com/sustainable-computing-io/kepler-operator/issues/154
Will require further update to add additional FAQ's

@AdrianHammond Thank you so much 🤗


Support Samsung's Always-On display

We get reports from our Samsung users that they expect track updates to appear on Samsung's Always-On display, like the way Spotify and others do it (see attached picture). I was expecting this to work out of the box once the track information is pushed to the OS via this plugin, but apparently it doesn't?
Can this be implemented in cordova-music-controls-plugin?

Need that too. Also if Bluetooth Info can also be implemented.


Specify Version For Templating Tools

What this PR does / why we need it:

Install both specify version Helm and Kustomize

Which issue(s) this PR fixes:
Fixes #4382
Does this PR introduce a user-facing change?:

Is this breaking change:
How to migrate (if breaking change):
How are users affected by this change:

I have updated my code, my test case is i have installed wrong version of helm and kustomize:
  helmVersion: 3.27.9
  kustomizeVersion: 5.88.7

The point is if i write code like this
l.helm, l.initErr = l.findHelm(ctx, l.input.HelmVersion)
l.kustomize, l.initErr = l.findKustomize(ctx, l.input.KustomizeVersion)

It may not have error for installing helm, and in web console like:

With my updated code, it display both :

What do you think ? 😃

The error is not really user friendly but it works for me, I think it's clear enough 👍


ambivalent

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.1
logical conflict every: 1000
sleep for: 600s
close stale after: 24 hours
[pullrequest]
requests per hour: 20
deps=[a]

/trunk merge


User experience for a multi-hub service for University of Toronto

Context
We need to move the University of Toronto onto a multi-hub offering so that we can reduce the complexity of each hub and make the whole thing more maintainable. To do so, we need to propose what it "looks like" to offer a university multiple hubs. For example:

How do you access a single hub?
How do you figure out which hubs you have access to?
Do administrators have some kind of visibility over all hubs and their activity?

Proposal
We should propose a general idea of what the admin and user workflow should look like for the University of Toronto.
Follow ups
This doesn't need to be perfect - we just need something that works for UoT and takes a step in the right direction. We can continue to refine this model as part of our broader efforts to improve our multi-hub services.

ref: https://github.com/2i2c-org/team-compass/issues/429

Updates and actions
No response

I think I already sent a fairly detailed proposal to them on an email thread. Let's lift what's there, and start from there?

I looked for the email thread and did not quickly find it. Can the "fairly detailed proposal" be pasted into a comment here?


Resource leak when using ConnectionPolicy.Default

Hi,
This might be a bit off base, but it looks like using DocumentClient with ConnectionPolicy.Default will result in a resource leak that is a bit unavoidable: DocumentClient constructs a GlobalEndpointManager that subscribes to the PreferenceChanged event handler in the ConnectionPolicy and also holds a reference to the DocumentClient and everything in it.
Unless I'm mistaken, this means that every DocumentClient that uses ConnectionPolicy.Default will hang around indefinitely, and the only way around this is to manage the Connection Policy and its lifetime manually.
Here's a WinDBG/SOS trace of the GC root of a DocumentClient.
<PHONE_NUMBER>e71700 (pinned handle)
    -><PHONE_NUMBER>172198 System.Object[]
    -><PHONE_NUMBER>ac2c08 Microsoft.Azure.Documents.Client.ConnectionPolicy
    -><PHONE_NUMBER>ac2db0 System.Collections.ObjectModel.ObservableCollection`1[[System.String, mscorlib]]
    -><PHONE_NUMBER>36f8b0 System.Collections.Specialized.NotifyCollectionChangedEventHandler
    -><PHONE_NUMBER>c37888 System.Object[]
    -> 000000005c4e7cc0 System.Collections.Specialized.NotifyCollectionChangedEventHandler
    -> 000000005c4e7bf0 Microsoft.Azure.Documents.Routing.GlobalEndpointManager
    -> 000000005c4e7a28 Microsoft.Azure.Documents.Client.DocumentClient

Am I missing something obvious?

Hi rytmis,
Thanks for reporting.  Yes, that is a bug.  We will fix it in next SDK release.

For anyone else running into the same issue: the recommendation is to cache and reuse instances of the client (per https://msdn.microsoft.com/library/azure/microsoft.azure.documents.client.documentclient.aspx#Anchor_6 ) -- we were not aware of this, so we ended up exacerbating the issue quite a bit

This has been fixed on our side and will be included in the next major update to the SDK. Note that as long as you are using a single instance of DocumentClient, you should be good. This becomes an issue if you use a new instance of DocumentClient for every request which will result in host of other issues(performance degradation, port exhaustion, etc.) which we anyways don't recommend. You should have a singleton instance of DocumentClient per app-domain of your application

@rytmis This is fixed in 1.12.1 release of the SDK. Thanks for reporting it!

This is still occurring in version 1.22.0
Here is an example after a while where there are 2015 registered event handlers. The resources/memory for each connection stays around even though most of them are now closed.

Can you deep copy the default ConnectionPolicy instead of just referencing the static instance? There may be more resources that are not getting cleaned up properly.
Valid use case example:
You are multi-tenant but allow each tenant to own their data. You establish a connection to each tenant's CosmosDb instance and allow each tenant to specify a preferred location. You still use the default policy but just add the preferred location for each connection. Is this going to set the preferred location for all connections to the same value?


 delimiter display

Is your feature request related to a problem? Please describe.
First of all Thank you for providing this awesome service.
but i got a small problem when i use  on set delimiter
I want to change delimiter display on select box
It seemed to be fully operational until the apply button was pressed.
I might be doing something wrong.
Here is my code and display
<Litepicker
      v-model="daterange"
      :options="{
        autoApply: false,
        format: 'YYYY-MM-DD',
        delimiter: ' ~ ',
        singleMode: false,
        numberOfColumns: 2,
        numberOfMonths: 2,
        showWeekNumbers: true,
        dropdowns: {
          minYear: 1990,
          maxYear: null,
          months: true,
          years: true,
        },
      }"
  class="form-control w-56 block mx-auto"
/>

As you can see, the delimiter is set ' ~ ' but the display's delimiter is still ' - ' after apply
Thank you.

Hello @mahns1201,
Have you solved the problem yet.
Everything is working fine if i check it on jsfiddle
Maybe your input is wrong?

Thanks for the reply. :)
Maybe the setting of my project is wrong.
It hasn't been solved yet, but I'll study more.


http_cache invalidation issue in production mode

PHP Version: 8.2.22   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Expected behaviour:
I expect that the http_cache invalidation rules ('logged-in', 'cart-filled') still apply when i set my environment to production. Logged in customers see custom information that is not visible for guests.
Actual behaviour:
Once production mode is enabled the invalidation rules do not work any more. In the standard configuration of Shopware the http_cache invalidation is set to logged-in and cart-filled in the shopware.yaml file. In dev mode this works great. But once i change this to prod in my .env file this suddenly does not work anymore.
This results in pages being cached with information other users should not see.
How to reproduce:
Add custom logic for logged in customers. In my case we have a personal discount displayed in the product listing. Then do the following:

login as customer
clear cache of shopware (e.g. from CLI)
refresh page as customer to see the custom information for logged in users
Visit same page in incognito

Guest users now see the same result as the last logged in user.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38329
[created from NEXT-38329, comment 495662]

I dove a little deeper into the Core's logic. In the vendor/shopware/core/Framework/Adapter/Cache/Http/CacheResponseSubscriber.php there is a function called hasInvalidationState. This checks against the configured invalidation rules. Here is see logged-in and cart-filled in the reference array. However the array in the $cache['states'] is alway empty. No matter my current user status. In my case it never invalidates. The hasInvalidationState function is called from the setResponseCache function in CacheResponseSubscriber.php. The hasInvalidationState function receives the variable $cache['states']. $cache is het in the setResponseCache function by the following line of code:
$cache = $request->attributes->get(PlatformRequest::ATTRIBUTE_HTTP_CACHE); line 134.
Could it be that this is part of the issue?

Hi @Gaitholabi ,
Thank you for your reply. Just updated my local environment. Unfortunately this doesn't solve the issue for me.  If I change the APP_ENV in my .env.local from prod to env I instantly see the correct information displaying. Once i change it back the wrong data is displayed. Somehow it seems that the invalidation rules aren't applied in production mode.
I'm looking into implementing my own cache invalidation but the docs on the following page are missing some steps I believe. Not sure where to register/enable the example class.  https://developer.shopware.com/docs/guides/hosting/performance/custom-cache-invalidation.html

@deanL-zuiderlicht
Thank you. Few more questions to help me better assist you in this.
For clarity, which version are you currently running locally after the upgrade?  What happens if you keep the env set to prod but also set: SHOPWARE_HTTP_CACHE_ENABLED=0? Do you have any other listeners or customizations on your setup?
Lastly, per the scenario you described, if you repeat the steps you described, does the issue happen 100% of the time? (even with the new version?)
In regards to your question, the subscription is registered in the XML file when you define the service with the tag"kernel.event_listener"

@Gaitholabi I'm currently running v<IP_ADDRESS>. Keeping the .env on prod but setting SHOPWARE_HTTP_CACHE_ENABLED=0 I see the same result. We do have custom subscribers in our setup. These subscribers update custom fields for example. There is also a subscriber that changes the stock info of the products.
It seems to happen both ways. In our shop customers have a personal discount percentage. This discount is shown on product listings and op the product detail page. When i clear the cache and visit a page logged out then there is no discount showing. If I login in a incognito window and visit the same product listing page or detail page i do not see any discount showing until i do a cache clear. The same is true when i clear the cache and visit the page logged in. Then i see the discount as a guest customer in my incognito window. Until i clear the cache.
Thank you, i will try to register it in my XML file and see if I can trigger the custom cache invalidator.

If the issue persists while SHOPWARE_HTTP_CACHE_ENABLED is also disabled, then the issue you're having is not with HTTP cache, rather, most probably with the Object cache that we have.
for example, when disabling the HTTP cache (when you can see the issue):
Is the data returned here, is the same for both logged-in and logged-out users?
https://github.com/shopware/shopware/blob/trunk/src/Core/Content/Product/SalesChannel/Detail/CachedProductDetailRoute.php#L67

@Gaitholabi I dropped both values in Beyond Compare and they are identical indeed.

@deanL-zuiderlicht
Could you also please try disabling the custom-event listeners that you have, and see if the problem persists? (you can do that by commenting them out with from the XML files, then clearing the cache).

@Gaitholabi this does not seem to change anything in the behaviour.

@deanL-zuiderlicht Thank you for your report. I’ll go ahead and close the issue, but please feel free to reopen it if the problem persists.


Get permalink of current line/selection

One of the most frequent workflows I have is that I browse code in vscode and quickly want to send a link of the current line or selection to someone else. Currently I manually go to the repo on github and search for the same file, but that's a lot of manual steps. Would be far easier if there is a command for that.

If you open the command palette, there's a command called "Copy GitHub permalink". isn't that exactly what you're asking for?

Ohh I totally missed that 🙈 That works!


Allow to not push the tag ?

For PKGBUILDs, we are not allowed to push tags, so maybe we need:

[git]
tag_template = "v{new_version}"
message = "..."

[git.push]
tag = false

Meh. It works, the branch is updated even if the tag is not pushed, so this is good enough.
Won't fix.


Angular Error

I'm getting the following error with the current master build:
http://docs.angularjs.org/error/$compile:multidir?p0=leaflet&p1=leaflet&p2=new%2Fisolated scope&p3=<div class%3D"angular-leaflet-map" ng-transclude%3D"" id%3D"leaflet-map" defaults%3D"defaults" center%3D"center" geojson%3D"geojson" event-broadcast%3D"events" bounds%3D"bounds" leaflet%3D"leaflet">
I've tracked it down to this commit:
https://github.com/tombatossals/angular-leaflet-directive/commit/080fa82b7fc339b18fd9ec6f70eaa0cc22f02960
If I change
restrict from "EA" to "E" the error disappears.
I'm not sure what the reason is for this change, so I didn't make a change and pull request.

Old issue, code has changed a lot since this, closing. Please reply if you think this should be reopened. Thanks.


dashboard to approve apps

Now we could sort the plugin by created at via Firestore
This task is not super important, btw if you could complete it quickly like 2 hours, so pls go ahead. otherwise, we just move back to the No status for the future consideration.
@mdmohsin7 / @sanjayamirthraj

@smian1 already created an MVP for it

@smian1 looking fwd.

Salman did it 🥳 +1 @smian1


Add full error reporting for the Dev env

My idea: show all error types in Dev stage.

Thank you. I think that makes sense. I have added some notes that need to be fixed.

Thanks


ms sql replica won't build

I've hit a wall trying to launch an RDS instance and a replica instance using SQL server 14.00xxx. I can launch the primary node without issue, but the replica fails with:
Error: Error creating DB Instance: InvalidParameterCombination: An option group can't be specified when creating or modifying a Read Replica for the sqlserver-ee engine.
I've set create_db_option_group to false, I've tried true. I've tried create_db_parameter_group to false and true. Currently I've hacked up the module to comment out any mention of an option group and it still fails. I'm not sure if I've stumbled upon a bug or have a serious layer 8 issue, but I cannot navigate past it. Any help available would be greatly appreciated.
My code for the RDSs (note, I've left commented out lines as is and added a few notes for clarity for this ticket):
module "db" {
  source = "terraform-aws-modules/rds/aws"

  identifier        = "${var.namespace}-${var.workload_name}-rds"
  engine            = var.rds_db_engine  ## sql-server-ee-14.0
  engine_version    = var.rds_db_engine_version  ## 14.00.3294.2.v1
  instance_class    = var.rds_config[var.operational_band].instance_type ## db.m5.xlarge
  allocated_storage = var.rds_config[var.operational_band].volume_size ## 100
  storage_type      = var.rds_storage_type ## io1
  iops              = var.rds_config[var.operational_band].iops ## 1000
  storage_encrypted = true

  //name     = "${var.namespace}-${var.workload_name}-rds"
  username = var.rds_username
  password = random_string.rds_password.result
  port     = var.rds_port

  maintenance_window = "Sat:23:00-Sun:03:00"
  backup_window      = "03:00-06:00"

  # set to 1 to allow replicas, 0 if not for faster db build
  backup_retention_period = 1

  multi_az = true

  subnet_ids             = data.aws_subnet_ids.private.ids
  vpc_security_group_ids = data.aws_security_groups.storage.ids
  tags = merge(
    local.rds_tags,
    { ops-instancename = "${var.namespace}.${var.workload_name}-rds"
      Name                  = "${var.namespace}.${var.workload_name}-rds"
  })

  timeouts = {    ## I have and have not tried without this option
    create = "80m"
    delete = "80m"
    update = "80m"
  }

  parameters = tolist(local.default_parameters[var.rds_db_family]) ## sets force_ssl = true ## I have and have not tried without this option

  # DB option group
  major_engine_version = "14.00"

  license_model = "license-included"

  final_snapshot_identifier = "${var.namespace}-${var.workload_name}-final-snapshot"
  create_db_parameter_group = false
  //create_db_option_group    = false  ## have tried every combination
  //option_group_name = "${var.workload_name}-${var.rds_db_engine}-option-group". ## same, have set and unset/removed this
  deletion_protection       = true
  skip_final_snapshot = true

  depends_on = [
    random_string.rds_password,
  ]
}

module "replica_db" {
  source = "terraform-aws-modules/rds/aws"

  identifier        = "${var.namespace}replica"
  engine            = var.rds_db_engine
  engine_version    = var.rds_db_engine_version
  instance_class    = var.rds_config[var.operational_band].instance_type
  allocated_storage = var.rds_config[var.operational_band].volume_size
  storage_type      = var.rds_storage_type
  iops              = var.rds_config[var.operational_band].iops
  storage_encrypted = true
  //option_group_name = module.db.this_db_option_group_id
  //option_group_name = "${var.workload_name}-${var.rds_db_engine}-option-group"

  multi_az            = false
  replicate_source_db = module.db.this_db_instance_id
  username            = ""
  password            = ""
  port                = var.rds_port

  maintenance_window = "Sat:23:00-Sun:03:00"
  backup_window      = "03:00-06:00"

  backup_retention_period = 0

  major_engine_version = "14.00"

  license_model = "license-included"

  vpc_security_group_ids = data.aws_security_groups.storage.ids

  tags = merge(
    local.rds_tags,
    { ops-instancename = "${var.namespace}.${var.workload_name}-replica-rds"
      Name                  = "${var.namespace}.${var.workload_name}-replica-rds"
  })

  deletion_protection       = false
  create_db_subnet_group    = false
  //create_db_option_group    = false
  create_db_parameter_group = false
  skip_final_snapshot = true

  depends_on = [
    module.db,
  ]
}

If I comment out the major_engine_version option, I get another error that leads me to believe it still is trying to build the option group:
Error: Error creating DB Option Group: InvalidParameterValue: The parameter MajorEngineVersion must be provided and must not be blank.

Reading through the issues, I think #188 and #230 are related. I tried to replicate the code commit changes from #188 but got the same results. I also attempted to put a dummy option group name as well as setting the create_db_option_group to false but instead it threw an error that the dummy group did not exist.

After a ton of trial and error, I was able to get a working code by setting:

In module.db - create_db_option_group    = false
In module.db - iops and storage_type are commented out
In module.replica_db - option_group_name = module.db.this_db_option_group_id had to be set
In module.replica_db - iops and storage_type were commented out, allocated_storage had to be set
In module.replica_db - I set the timeouts to 80m just to be safe, the first attempt the replica timed out at 40m.

Some oddities:
I'm running this in a testing environment so I'm intentionally destroying everything if everything isn't successfully built. But this results in a loop where because I had not created the db_option_group it would not allow me to play/apply/destroy because count was set to 0 in the replica_db module for option group. i.e. I ran apply, it created the other infrastructure and the primary db instance, but timed out during the replica. If I tried to then re-apply, destroy, or even just plan, it would error out.
I'm not sure if this is a corner case, or if I'm using something in a way unexpected, I'm very green on terraform.

hello @brantleyp1 can you try updating to the latest module version and let us know if this is still an issue for you

Unfortunately I'm no longer with the company I was working on that for and all my access to their aws is gone. I'll see if I can get someone to try the code I was working on. Thanks!


emitting jsonpatch based on diff and default values

Is your feature request related to a problem? Please describe.
Generating jsonpatch for things like Kubernetes admission webhooks is hard. In these situations, CUE could be used for mutating webhooks.
It could also be useful in any other place where the output from evaluation cannot be used directly but a jsonpatch is needed, which is the case with many http APIs.
So cue could be used to validate some data, potentially filling it with default values for a given schema and sending a jsonpatch to some upstream service to make the desired changes.
Describe the solution you'd like
The ability to generate jsonpatch based on diffs between two cue.Value's.
Describe alternatives you've considered
None.
Additional context
n/a

I've updated the description to follow the format of the "Feature Request" template.


bug report about cuda library

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\cuda_setup\main.py:136: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {WindowsPath('/Users/lmfre/.conda/envs/pytorch/lib'), WindowsPath('C')}
warn(msg)
C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\cuda_setup\main.py:136: UserWarning: C:\Users\lmfre.conda\envs\pytorch did not contain libcudart.so as expected! Searching further paths...
warn(msg)
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64...
C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\cuda_setup\main.py:136: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {WindowsPath('/usr/local/cuda/lib64')}
warn(msg)
CUDA SETUP: WARNING! libcuda.so not found! Do you have a CUDA driver installed?
C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\cuda_setup\main.py:136: UserWarning: WARNING: No libcudart.so found! Install CUDA or the cudatoolkit package (anaconda)!
warn(msg)
C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\cuda_setup\main.py:136: UserWarning: WARNING: No GPU detected! Check your CUDA paths. Proceeding to load CPU-only library...
warn(msg)
CUDA SETUP: Loading binary C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\libbitsandbytes_cpu.so...
argument of type 'WindowsPath' is not iterable
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64...
CUDA SETUP: WARNING! libcuda.so not found! Do you have a CUDA driver installed?
CUDA SETUP: Loading binary C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\libbitsandbytes_cpu.so...
argument of type 'WindowsPath' is not iterable
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64...
CUDA SETUP: WARNING! libcuda.so not found! Do you have a CUDA driver installed?
CUDA SETUP: Loading binary C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\libbitsandbytes_cpu.so...
argument of type 'WindowsPath' is not iterable
CUDA SETUP: Problem: The main issue seems to be that the main CUDA library was not detected.
CUDA SETUP: Solution 1): Your paths are probably not up-to-date. You can update them via: sudo ldconfig.
CUDA SETUP: Solution 2): If you do not have sudo rights, you can do the following:
CUDA SETUP: Solution 2a): Find the cuda library via: find / -name libcuda.so 2>/dev/null
CUDA SETUP: Solution 2b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_2a
CUDA SETUP: Solution 2c): For a permanent solution add the export from 2b into your .bashrc file, located at ~/.bashrc
Traceback (most recent call last):
File "D:\work\code\model\alpaca-lora\alpaca-lora\finetune.py", line 16, in
from peft import (
File "C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\peft_init_.py", line 22, in
from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING, PEFT_TYPE_TO_CONFIG_MAPPING, get_peft_config, get_peft_model
File "C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\peft\mapping.py", line 16, in
from .peft_model import (
File "C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\peft\peft_model.py", line 31, in
from .tuners import LoraModel, PrefixEncoder, PromptEmbedding, PromptEncoder
File "C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\peft\tuners_init_.py", line 20, in
from .lora import LoraConfig, LoraModel
File "C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\peft\tuners\lora.py", line 36, in
import bitsandbytes as bnb
File "C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes_init_.py", line 7, in
from .autograd.functions import (
File "C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\autograd_init.py", line 1, in
from ._functions import undo_layout, get_inverse_transform_indices
File "C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\autograd_functions.py", line 9, in
import bitsandbytes.functional as F
File "C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\functional.py", line 17, in
from .cextension import COMPILED_WITH_CUDA, lib
File "C:\Users\lmfre.conda\envs\pytorch\lib\site-packages\bitsandbytes\cextension.py", line 22, in
raise RuntimeError('''
RuntimeError:
CUDA Setup failed despite GPU being available. Inspect the CUDA SETUP outputs above to fix your environment!
If you cannot find any issues and suspect a bug, please open an issue with detals about your environment:
https://github.com/TimDettmers/bitsandbytes/issues

Bitsandbytes was not supported windows before, but my method can support windows.（yuhuang）
1  open folder J:\StableDiffusion\sdwebui，Click the address bar of the folder and enter CMD
or WIN+R, CMD  。enter，cd /d J:\StableDiffusion\sdwebui
2  J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes
3 J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes-windows
4 J:\StableDiffusion\sdwebui\py310\python.exe -m pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.1-py3-none-win_amd64.whl
Replace your SD venv directory file（python.exe Folder） here（J:\StableDiffusion\sdwebui\py310）


Migrate to draft 8

It seems that there is a new draft (8) for the SD-JWT specification.
In general I have the impression that there are no changes to the implementation except some minor updates to the examples and the removal of the prohibition on using HMAC.

[ ] Update readme to point to new spec
[ ] Update Flat SD-JWT example. The link changed, the content of the JSON document now includes only address
[ ] Update Structured SD-JWT example. Just the link updated. Example remains the same
[ ] Update SD-JWT with recursive disclosures example. Just the link
[ ] Update Appendix 1. Example 2. Just the link
[ ] Update Appendix 2. Example 3. Just the link. I think the that example remains the same
[ ] Update Appendix 3. Example 4a. Besides the new link the JSON document was updated
[ ] Add new example for W3C VC DM 2.0
[ ] Remove the explicit prohibition on HMAC

I think that migration to draft 8 can be delivered as a minor fix version, so no changes will be needed


Load LightGBM native model

Hello, team, I have a lightgbm model trained using python lightgbm pkg and would like to load the model and use it in spark for streaming purpose.
Do your guys know how to load the existing “txt” or “lgb” model using scala in mmlspark? I tried to read all the documents but cannot find a clue.
By the way, please also provide a scala example for us to learn about how to using lightgbm in scala？ Similar to the pyspark example.
Example might include:
(1) How to train the model in a classification and regression scenario？
(2) How to load a existing  model?
(3) How to use to model for model serving？
(4) How to validate the model's metrics？

closing with latest fix merged to master


[HACKATHON] Share your project Copy/Paste

If kids didn't come to Hour of Code via a Teams assignment, have a link in the Reward completion modal that they can click that would create a share link with text that says like "Look what I made with MakeCode Arcade for Hour of Code"! and a button you can click to Copy it
Students can paste this in their Teams assignment to submit

Done!


[SPARK-46827][CORE] Make RocksDBPersistenceEngine to support a symbolic link

What changes were proposed in this pull request?
This PR aims to make RocksDBPersistenceEngine to support a symbolic link location.
Why are the changes needed?
To be consistent with FileSystemPersistenceEngine which supports symbolic link locations.
https://github.com/apache/spark/blob/7004dd9edcad32d34d0448df9498d32c444ab082/core/src/main/scala/org/apache/spark/deploy/master/FileSystemPersistenceEngine.scala#L45-L50
Does this PR introduce any user-facing change?
No. This is a new feature at 4.0.0.
How was this patch tested?
Pass the CIs with a newly added test case.
Was this patch authored or co-authored using generative AI tooling?
No.

Thank you, @yaooqinn .

Thank you, @LuciferYang .

Merged to master.


fix bug in unstake command to manually enter wallet (bypassed)

Prompts correctly now for wallet and hotkey name upon calling.  Was just going to default without user input before.

This is already fixed in new_staging


How to add WHERE clause to schema?

Sorry if asked before but I couldn't find in examples, documentation or closed issues but how we can add where clause to schema? Say that I'd like to sync only the rows with column status is equal to 100.

This has come up before.
Its not easy to come up with a generic user friendly configuration
based query language to support this functionality.
Your use case is probably straightforward but to completely support
the WHERE clause is not.
The easiest way is to leverage the plugin functionality.
Here is an example and documentation

You are right this wasn't so easy.  I have made a  change to how the plugin works in the master branch. So you can do this
now. Here is an example
class MyFilterPlugin(plugin.Plugin):
    """Example Villain plugin."""

    name: str = "Filter"

    def transform(self, doc: dict, **kwargs) -> dict:
        """Demonstrates how to modify a document."""
        doc_id = kwargs["_id"]
        doc_index = kwargs["_index"]
        if doc["id"] == 1:
            return None

        return doc


Change the year from the calendar view

There doesn't seem to be a way to allow the user to manually change the year from the calendar view. Will this functionality be included in future builds?
Example:
My view is set up to display the current date on start up. If a user wants to select January 01, 1990, they would have to scroll through every month of every year from 2017 until 1990.

Any updates? @danielbogomazov

@dreamBegin
Nothing from @WenchaoD but I'm writing an iOS bootstrap for his code to include a year field. Not sure when I'll finish it.
All you have to do is create a UIView with a textfield (year) on top and the Calendar on the bottom and then create functions to deal with the textfield.
No other option until WenchaoD adds this functionality (if it's even in the works).

that's what i've done already, thanks for the time man @danielbogomazov and will work on that too.

If anyone needs a template or an out-of-the-box example of how to add this functionality check my github


[Addition]: Cluster of 8 self witnessing hotspots in troyes, aube , france

Hotspot b58 Addresses
112Rn5akDPw1Wiyb4j5yMNa6GyZBiCpFjZKcSzMNrXW4hUuXhXfh
112YN7VMsbpwL8xCok52E2SivxHscpFn21j937rm2wvj46MuhXUq
11veUvrXQt1LVgCu27i7StNzRtthXAeufoPZgYFPni5xd8PzFPG
11s1vKDuDNqdRLZkFhKR4SHYR37ztjTwQajDoXfPi9bpjHyf3d5
11fc9cf3WHLzVmLmXy9EHk2Dv1Nzidqxbo9F3HmNnFPUpH28mFe
11qGi7dSVygh5rSwttczgJkZWh1Jqax2VbnRAi2BLBHMMDRjtz3
11cTYnXRKQLnTStYdcnCdBYctzGLdKbadwNBsWGisD9WtVsNzzr
11YkHnfN4UfphcGX2cjQmJWzS4mY3bkV6cNRZnMo388hq7nT5pd
Discord Handle
824612732762062908
Reason(s)
This cluster of 8 hotspots (5 Dusun and 3 heltec) are only witnessing each other and are not providing legitimate coverage for the network. Spoofers are increasing their sophistication and creating new wallets for each hotspot in the spoofed cluster as well as trying to incorporate some different RSSI/SNR valued beacons to mimic a legitimate curve on the RSSI/SNR plot for its witnessed beacons.
I have attached an exemplary screen capture of the cluster that shows the 8 involved , only witness each other;
More than that one of the hotspots is localised in a zone where there are only crops . Even if , for security reasons , the location was slightly changed it is sure more than 100 meters . I also attached photos from google maps and hotspotty .

nice

Never found such a bad project. When you bought the equipment, the seller and the project party did not supervise whether the sales were legal or not, and did not inform you of the existing risks, just as the police acquiesced in allowing qualified arms dealers to sell arms, but did not inform you that they must sell and use arms legally.  I believe that Helium will definitely declare bankruptcy. As it is said on the Internet, he is a fraud. Because now everyone is reporting. Even though the new 5G hot spot equipment is excellent, it is impossible for new miners to be deceived again.I hope everyone who sees this will forward it. Let everyone know that the project party is a fraud gang.


Use Bootstrap 3, JQuery 3, and update template to use new Bootstrap classes

Hi William,
Take a look at this updated layout. Attached screen shot for reference.

Update bootstrap to latest
Update JQuery to latest
Update HTML / CSS to match latest version of bootstrap
Customized a bit the main page to look like the Marketing example
Added the logo

merged


Awesome-list integration

Several changes for awesome-list compatibility are applied

Reworded long and some informal phrases
Made main hyperlinks forward to GitHub repos, adding visual links for crates.
Removed whitespace formatting done by prettier as it creates conflicts against awesome-lint
Updated dead and wrong links. Removed duplicate ones.
Updated contribution.md with awesome-lint suggestion.

This PR is a follow-up for the file changes mentioned in issue #22. After this is merged, the repository settings mentioned in the issue can be applied.
@uint

You're right. I deleted the old linter file and added the .yml config file for the automatic PR check.

Re-requesting a review automatically removed @pyramation from reviewers and I don't have the authority to add him again. FYI.


Specifying a custom .env file to be loaded

Hi!
I'm evaluating possibility of moving from make to just in our team. After learning that we cannot do inheritance/importing ( 😢 ) of justfiles, I was looking for some other solution to help me with developing commands that have if/else depending on type of a project we want to run commands for (we have a polyglot monorepo).
Do you think that it would be possible to add a config value specifying which .env file to load? Or adding some more filetypes that would be attempted to be loaded, for example .justenv.
I could try to do a PR if you give me a green light and some indications, I always wanted to learn Rust :)

I think this is a dupe of #945, let me know if I'm wrong!
Would something like:
set dotenv-filename := ".justenv"

Work? Because that would definitely be reasonable, and hopefully fairly simple, to add.

Oh yes, that's a duplicate! Sorry for that!


Wait field detected Issue

Hi Team,
Incase if Mainframe application is down, the cursor is not detected.
Due to Wait field detected Keyword, it gets stuck at this point and does not close the window and go to next line of code, till we hit enter manually on this page.
Please suggest the solution for this issue.

Hi,
Any suggestion here, how can this be handled if app is down and this is triggered.
Flow gets stuck at this page, due to Wait field detected keyword and case status does not get updated as fail.

Hi @FWDQK Could you share the part of the code in RobotFramework where the problem occurs? from the beginning of the keyword until a little after the Wait field detected Keyword, just to understand the sequence of events. Thanks

Hi @FWDQK Could you share the part of the code in RobotFramework where the problem occurs? from the beginning of the keyword until a little after the Wait field detected Keyword, just to understand the sequence of events. Thanks

So, we are trying Open Connection with Mainframe and then calling Wait Field Detected keyword, so that login page gets populated.
But if application is down, it shows the page (image is shared above). So as not fields is loaded, code gets stuck here.

I understand, we have no control over Wait Field Detected, because it is a function that already comes from the x3270.
So why don't you change the test logic? After opening the connection, look for something on the Mainframe to make sure it is up.
Look for a string from the first screen or something like that. only after this step works then use Wait Field Detected