create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226'

Description
create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226'
the topic is not advertised
Version:ROS2 humble bridge with WebSocket++/0.8.2
Platform: ubuntu22

Steps To Reproduce
Qos set to rclcpp::QoS qos(rclcpp::KeepLast{7});
Expected Behavior
topic advertised
        [rcutils|error_handling.c:108] rcutils_set_error_state()
        This error state is being overwritten:

'Unknown QoS history policy, at ./src/qos.cpp:61'
with this new error message:
'create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226'
rcutils_reset_error() should be called after error handling to avoid this.
<<<
[ERROR] [1678937020.102152168] [foxglove_bridge]: Failed to create publisher: could not create publisher: create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226, at ./src/rcl/publisher.c:116
[WARN] [1678937020.102373126] [foxglove_bridge]: Ignoring client unadvertisement from <IP_ADDRESS>:52050 for unknown channel 3, client has 0 advertised topic(s)
[INFO] [1678937020.104918817] [foxglove_bridge]: Client <IP_ADDRESS>:52050 is advertising "/move_base_simple/goal" (geometry_msgs/PoseStamped) on channel 4
[INFO] [1678937020.105093695] [foxglove_bridge]: Client <IP_ADDRESS>:52050 is no longer advertising /move_base_simple/goal (0 subscribers) on channel 4
[INFO] [1678937020.109083689] [foxglove_bridge]: Client <IP_ADDRESS>:52050 is advertising "/move_base_simple/goal" (geometry_msgs/PoseStamped) on channel 5
[INFO] [1678937020.110877709] [foxglove_bridge]: Client <IP_ADDRESS>:52050 is advertising "/clicked_point" (geometry_msgs/PointStamped) on channel 6
[INFO] [1678937020.111063987] [foxglove_bridge]: Client <IP_ADDRESS>:52050 is no longer advertising /move_base_simple/goal (0 subscribers) on channel 5
[INFO] [1678937020.111169025] [foxglove_bridge]: Client <IP_ADDRESS>:52050 is no longer advertising /clicked_point (0 subscribers) on channel 6
        [rcutils|error_handling.c:108] rcutils_set_error_state()
        This error state is being overwritten:

'Unknown QoS history policy, at ./src/qos.cpp:61'
with this new error message:
'create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226'
rcutils_reset_error() should be called after error handling to avoid this.
<<<
[ERROR] [1678937020.114041753] [foxglove_bridge]: Failed to create publisher: could not create publisher: create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226, at ./src/rcl/publisher.c:116
        [rcutils|error_handling.c:108] rcutils_set_error_state()
        This error state is being overwritten:

'Unknown QoS history policy, at ./src/qos.cpp:61'
with this new error message:
'create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226'
rcutils_reset_error() should be called after error handling to avoid this.
<<<
[ERROR] [1678937020.116081249] [foxglove_bridge]: Failed to create publisher: could not create publisher: create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226, at ./src/rcl/publisher.c:116
[INFO] [1678937020.118165425] [foxglove_bridge]: Client <IP_ADDRESS>:52050 is advertising "/initialpose" (geometry_msgs/PoseWithCovarianceStamped) on channel 9
I compiled the newest code  and test  result is
[foxglove_bridge-1] [INFO] [1679019306.793229602] [foxglove_bridge]: Client <IP_ADDRESS>:54530 is no longer advertising /move_base_simple/goal (0 subscribers) on channel 5
[foxglove_bridge-1] [INFO] [1679019306.793318962] [foxglove_bridge]: Client <IP_ADDRESS>:54530 is no longer advertising /clicked_point (0 subscribers) on channel 6
[foxglove_bridge-1]
[foxglove_bridge-1] >>> [rcutils|error_handling.c:108] rcutils_set_error_state()
[foxglove_bridge-1] This error state is being overwritten:
[foxglove_bridge-1]
[foxglove_bridge-1]   'Unknown QoS history policy, at ./src/qos.cpp:61'
[foxglove_bridge-1]
[foxglove_bridge-1] with this new error message:
[foxglove_bridge-1]
[foxglove_bridge-1]   'create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226'
[foxglove_bridge-1]
[foxglove_bridge-1] rcutils_reset_error() should be called after error handling to avoid this.
[foxglove_bridge-1] <<<
[foxglove_bridge-1] [ERROR] [1679019306.796146855] [foxglove_bridge]: Failed to create publisher: could not create publisher: create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226, at ./src/rcl/publisher.c:116
[foxglove_bridge-1]
[foxglove_bridge-1] >>> [rcutils|error_handling.c:108] rcutils_set_error_state()
[foxglove_bridge-1] This error state is being overwritten:
[foxglove_bridge-1]
[foxglove_bridge-1]   'Unknown QoS history policy, at ./src/qos.cpp:61'
[foxglove_bridge-1]
[foxglove_bridge-1] with this new error message:
[foxglove_bridge-1]
[foxglove_bridge-1]   'create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226'
[foxglove_bridge-1]
[foxglove_bridge-1] rcutils_reset_error() should be called after error handling to avoid this.
[foxglove_bridge-1] <<<
[foxglove_bridge-1] [ERROR] [1679019306.798299344] [foxglove_bridge]: Failed to create publisher: could not create publisher: create_publisher() failed setting topic QoS, at ./src/publisher.cpp:226, at ./src/rcl/publisher.c:116
[foxglove_bridge-1] [INFO] [1679019306.800405554] [foxglove_bridge]: Client <IP_ADDRESS>:54530 is advertising "/initialpose" (geometry_msgs/PoseWithCovarianceStamped) on channel 9
[foxglove_bridge-1] [INFO] [1679019307.282059606] [foxglove_bridge]: Removed channel 3 for topic "/clicked_point" (geometry_msgs/msg/PointStamped)

Steps To Reproduce
Qos set to rclcpp::QoS qos(rclcpp::KeepLast{7});

I don't understand what you mean with that. Could you provide more detailed instructions on how to reproduce this issue?

@achim-k It looks to me like https://github.com/foxglove/ros-foxglove-bridge/pull/205 fixes this issue?

Yes, I forgot close this issue.

@achim-k can we re-open, despite whatever was done in #205 I'm still seeing the exact same create_publisher() failed setting topic QoS messageon v0.6.2 (0.6.2-1jammy.20230512.142701) which I believe #205 was merged into.
The problem can be reproduced with something as simple as running the talker and listener demos together with foxglove web and bridge and publishing to /chatter from the Foxglove publisher panel. The problem doesn't happen when you don't spin up the talker, and have Foxglove be the first publisher for that topic.
I'm using the  osrf/ros:humble-desktop:latest , ghcr.io/foxglove/studio:latest and bridge installed in another container based on humble-desktop.


Compilation fails on windows due to assimp-sys

cargo install urdf-viz fails on windows while compiling assimp-sys:
error: could not find native static library `zlibstatic`, perhaps an -L flag is missing?
error: aborting due to previous error
error: Could not compile `assimp-sys`.

I tried installing zlib for windows using this installer:
http://gnuwin32.sourceforge.net/packages/zlib.htm
but that does not fix the issue.
I found one of your comments about this issue where you found a solution, but I don't think its working any more:
https://github.com/Eljay/assimp-sys/issues/16
Thanks

Hi, thank you for trying urdf-viz!
I know that it is difficult to build urdf-viz (assimp-sys) on windows.
At least, on appveyor (windows CI environment), it succeeds.
bellow is the setting for appveyor (I think there are nothing special).
https://github.com/OTL/urdf-viz/blob/master/appveyor.yml
And the log
https://ci.appveyor.com/project/OTL/urdf-viz/builds/19688606
It seems it depends on the environments, and it is difficult to support you for me.
If you solve the problem, please let me know.


Hearses Not Working

Am I going crazy or are hearses not dispatching from cemeteries at all?
After making this they started to come out, but it seems to be intermittent (at random).

Which other mods are you using?
(Note: This could be caused by #19)

Uh, a lot... xD
I have two collections that contain all of my mods for easy sorting.
https://steamcommunity.com/sharedfiles/filedetails/?id=1480563964
https://steamcommunity.com/sharedfiles/filedetails/?id=1643383063
I'm subscribed to everything in each of these lists. However, issue 19 seems to be somewhat unrelated as it's not that they're trying to get across the road, but they didn't exit the cemetery at all. What would happen is that when I clicked on the building, it would say "0/10" dispersed. Then, it'd shortly show to "1/10" before quickly jumping back to "0/10", and then a bell rings. (I have no idea what is up with the bell).

If this happens again, check if it's related to #85
(apologies for necro old thread)


Remove compress option, inject version number, and other miscellaney

Build script:

Remove COMPRESS option - We no longer want to compress the extension binary because we found it causes a significant performance penalty on cold starts. The old option also removed the symbol tables from the binary with the -ldflags="-s -w" option. We do still want to do this for our production builds, so this behavior is now enabled with an option called PRODUCTION.
Inject the current extension version number into the binary - This is achieved using another ldflags option. I will open another PR in the datadog-agent repository that adds this version number to all telemetry from the Lambda extension.

Integration tests:

Mask extension version numbers in the snapshots so that they will be consistent from execution to execution. The new snapshots with the version numbers are not present in this pull request, as the corresponding datadog-agent pull request has not been merged yet.
Add a BUILD_EXTENSION option that lets us build a new version of the extension as part of running the integration tests.
Add usage instructions as a comment.
Check for AWS credentials before running the integration tests.
A few other minor changes, such as clarifying some comments.

LGTM ! 💯
left a small comment


layers/meta-opentrons: add OT user environment

There are a couple environment variables that need to be defined for our software to work. They're defined in systemd units for things that are run automatically, but it's helpful to also have them present in user shells for running scripts. Let's make them present there.

Looks good to me

root@016976:~# env
SHELL=/bin/sh
SYSTEMD_COLORS=0
EDITOR=vi
PWD=/home/root
LOGNAME=root
RUNNING_ON_VERDIN=1
XDG_SESSION_TYPE=unspecified
OT_API_FF_enableOT3HardwareController=true
HOME=/home/root
SSH_CONNECTION=::ffff:<IP_ADDRESS> 52486 ::ffff:<IP_ADDRESS> 22
XDG_SESSION_CLASS=background
PYTHONPATH=:/opt/opentrons-robot-server
TERM=xterm-256color
USER=root
DISPLAY=:0.0
SHLVL=1
XDG_RUNTIME_DIR=/run/user/0
PS1=\u@\h:\w\$
SSH_CLIENT=::ffff:<IP_ADDRESS> 52486 22
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
SSH_TTY=/dev/pts/0
_=/usr/bin/env
root@016976:~# python3 -m opentrons_hardware.scripts.can_mon

yay


missing proofs about extrication commuting with substitution

the following properties are currently postulated:

forall t, u. extricate (t [ u ]) == extricate t [ extricate u ]
forall t, A. extricate (t [ A ]*) == extricate t [ extricate* A ]*

These properties are not true.  Types appear in terms. The intrinsic substitution (which is for the algorithmic version of the syntax) keeps types in normal form whereas the extrinsic substitution does not. So, they do not produce identical terms.

The solution would be weaken the overall proposition that the extrinsic and intrinsic evaluator agree on well typed terms. Instead they will give the a term which is identical except any types contained in it will only be beta-equal to each other.

Another option would be to show that they produce the same untyped term.

closing this as it the missing properties do not hold.


[ClangImporter] Handle newly-introduced Clang sugar types

And delete SwiftTypeConverter::VisitType, so that we find out about these at compile time in the future.
rdar://50999584

This alone doesn't get master-next all the way to building because there's an LLVM bug with type-based IR attributes, but let's see how far it gets.
@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - baa5aeff039f655ffa6e0aeeb5696b85b747994c

Build failed
Swift Test OS X Platform
Git Sha - baa5aeff039f655ffa6e0aeeb5696b85b747994c

Well, it didn't even get to CoreGraphics in this particular run, but the fix is probably still worth merging.


Adjust commandScript function to use --https option

If you type
npx mix watch -h

There is an https option documented as available. However, running the commandScript function throws the https option away.
With the work released in v6.0.13, hmrOptions supports an https flag while the hot file generation still relies on --https being present as a command line argument. To take advantage of the changes in v6.0.13, and get a correct hot file, one would have to type
npx webpack serve --hot --config="node_modules/laravel-mix/setup/webpack.config.js" --https

This patch adjusts the commandScript function to keep --https as a command line argument, which is what the hot file depends upon.

Just merged a previous PR that fixed this. Thanks anyway!


eosiosystem::authority cannot be serialized to eosio::chain::authority

I'm trying to create new account in my contract.
If I define the same authority structure as eosio::chain::authority, there's no problem for newaccount.
(which has vector<wait_weight> waits rather than delay_sec)
struct wait_weight {
    uint32_t wait_sec;
    weight_type weight;
};
struct authority {
    uint32_t threshold;
    vector<eosiosystem::key_weight> keys;
    vector<eosiosystem::permission_level_weight> accounts;
    vector<wait_weight> waits;
};

eosiosystem::key_weight keyweight = { .key = pubkey,  .weight = 1 };
authority               ownerkey  = { .threshold = 1, .keys = { keyweight }, .accounts = {}, .waits = {} };
authority               activekey = { .threshold = 1, .keys = { keyweight }, .accounts = {}, .waits = {} };

action(
    permission_level{ _self, N(active) },
    N(eosio), N(newaccount),
    make_tuple(_self, new_account_name, ownerkey, activekey)
).send();

But if I try to use eosiosystm::authority like following, I get errors.
(which has delay_sec rather than waits)
eosiosystem::key_weight keyweight = { .key = pubkey,  .weight = 1 };
eosiosystem::authority  ownerkey  = eosiosystem::authority { .threshold = 1, .delay_sec = 0, .keys = { keyweight }, .accounts = {} };
eosiosystem::authority  activekey = eosiosystem::authority { .threshold = 1, .delay_sec = 0, .keys = { keyweight }, .accounts = {} };

action(
    permission_level{ _self, N(active) },
    N(eosio), N(newaccount),
    make_tuple(_self, new_account_name, ownerkey, activekey)
).send();

console error

2419603ms thread-0   http_plugin.cpp:468           handle_exception     ] FC Exception encountered while processing chain.push_transaction
2419603ms thread-0   http_plugin.cpp:469           handle_exception     ] Exception Details: 10 assert_exception: Assert Exception
w < count():
{}
thread-0  static_variant.hpp:339 set_which
Error unpacking field _storage
{"field":"_storage"}
thread-0  raw.hpp:368 operator()
error unpacking fc::crypto::public_key
{"type":"fc::crypto::public_key"}
thread-0  raw.hpp:616 unpack
Error unpacking field key
{"field":"key"}
thread-0  raw.hpp:368 operator()
error unpacking eosio::chain::key_weight
{"type":"eosio::chain::key_weight"}
thread-0  raw.hpp:616 unpack
Error unpacking field keys
{"field":"keys"}
thread-0  raw.hpp:368 operator()
error unpacking eosio::chain::authority
{"type":"eosio::chain::authority"}
thread-0  raw.hpp:616 unpack
Error unpacking field active
{"field":"active"}
thread-0  raw.hpp:368 operator()
error unpacking eosio::chain::newaccount
{"type":"eosio::chain::newaccount"}
thread-0  raw.hpp:616 unpack
error unpacking eosio::chain::newaccount
{"type":"eosio::chain::newaccount"}
thread-0  raw.hpp:660 unpack
{"_pending_console_output.str()":""}
thread-0  apply_context.cpp:62 exec_one

I referred to #4438 so I'm trying to use latest authority structure.
Is there any good way to use eosiosystem::authority ?

Which eos version are you using? Is it v1.0.10?

yes. i'm using eos v1.0.10

It's a bug. Concise description is now in #4684.

@tbfleming Thanks.

Hello,  how to defined keyweight by eosio.cdt?
I use the public_key from crypto.hpp replace  eosiosystem::key_weight,
But, I got a error public_key.
    struct permission_level_weight {
        permission_level permission;
        uint16_t weight;
    };

    struct wait_weight {
        uint32_t wait_sec;
        uint16_t weight;
    };

    struct key_weight {
        public_key key;
        uint16_t weight;
    };

    struct authority {
        uint32_t threshold = 0;
        vector<key_weight> keys;
        vector<permission_level_weight> accounts;
        vector<wait_weight> waits;
    };

    std::array<char, 33> data;
    std::copy(pubkey.begin(), pubkey.end(), data.data());
    print(data.data());

    key_weight keyweight = {.key = public_key{.type = 0, .data = data}, .weight = 1};
    authority owner = {.threshold = 1, .keys = {keyweight}, .accounts = {}, .waits = {}};
    authority active = {.threshold = 1, .keys = {keyweight}, .accounts = {}, .waits = {}};

My public_key is EOS7WGdLRwPeR7AgEwp5AfcEMhxCz8tXtsD1iLgbYpPzqehkaUusW
but it be set to EOS3KjJRdcon8KoinC8oaeewKC7Dw7xrRpPvNtj49EhJABq4m5dNoi


various intermediate debug; update likes_from_model initial

I am not sure why Travis is failing:

NoPackagesFoundError: Package missing in current linux-64 channels:

curl 7.45.0 1

It looks as though it might have to do with the version of conda that Travis is using..? e.g. @tomkinsc, can you please help me understand how I should troubleshoot this?

I'll take a look, Joe.

looks like that fixes the problem -- thanks, @tomkinsc !


[AutoDiff] NFC: @differentiable attribute gardening.

Move DifferentiableAttr definition above DeclAttributes in
include/swift/AST/Attr.h, like other attributes.
Remove unnecessary arguments from DifferentiableAttr::DifferentiableAttr
and DifferentiableAttr::setDerivativeGenericSignature.
Add libSyntax test for @differentiable attributes.

Makes DifferentiableAttr more in sync with tensorflow branch version.

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 29782127cd3c0a21c77de883434ea6c5425ea8b1

Build failed
Swift Test Linux Platform
Git Sha - 29782127cd3c0a21c77de883434ea6c5425ea8b1

I forgot to check in test/AutoDiff/Syntax/Outputs/round_trip_parse_gen.swift.withkinds, sorry.

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 29782127cd3c0a21c77de883434ea6c5425ea8b1

Build failed
Swift Test Linux Platform
Git Sha - 29782127cd3c0a21c77de883434ea6c5425ea8b1


WRR-13724: Converted DebounceDecorator to functional component

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[x] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Converted DebounceDecorator to functional component
Resolution
Additional Considerations
Links
WRR-13724
Comments
Enact-DCO-1.0-Signed-off-by: Ion Andrusciac<EMAIL_ADDRESS>

Note:

In this PR, we tries to convert a stateful HoC to a stateless HoC based on hooks so that the PR is resolving an issue of closure that occurs while we handle a state. Still, there is a small concern that the existing job is canceled when props is updated but we can handle it also if we really use this PR.
For a reference purpose, I suggested to keep this PR even we don't merge this into our stable branch.


The last example seems incomplete, has un-matching curly braces

The last example seems incomplete, has un-matching curly braces

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

ID: 73fb7e76-fb80-c420-2efe-e3ca3a27b749
Version Independent ID: 07a42557-deb3-e4b3-3f14-f26a27be49c2
Content: How to use batch transcription - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/batch-transcription.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @wolfma61
Microsoft Alias: wolfma

@sfilipi Thanks for the feedback! We will review and update accordingly.

@sfilipi the complete code is in provided here  as mentioned in the document.

@GiftA-MSFT I don't think that should mean that the example in the documentation should not be corrected to at least have matching closing braces. Most of the examples in doc.microsoft.com, and all of the ones in mature products, are selected to be able to copy/paste/use. I don't think this issue should be closed .

@sfilipi thanks for your feedback. Document will be updated soon to show matching closing braces.


Throw on missing env vars

Why?
For the sake of reliability and predictability, instead of just logging missing environment variables, it now throws an error with the list.
Closes #38
cc @swinton
How?
I've updated it to throw an error with the same message. This let me cleanup the test a lot which is a nice bonus.

[x] Tests have been added/updated (if necessary)
[x] Documentation has been updated (if necessary)

Trying to decide what kind of Semver change this'd be 🤔 It wouldn't affect actions being used on GitHub, but might throw an error in users' tests. My inclination is to bump the patch version, but I'm worried that might cause consumers of the library's tests to fail, despite those actions working in practice. That said, I don't want to bump major versions for such a small change.
Any thoughts @swinton?

Yeah. Good question. I think it’s a breaking change but I understand you not wanting to bump the major version for such a small change.
How about releasing behind a flag and bumping the minor version then removing that flag for the next major release? Just an idea.

The flag idea makes sense @swinton. Maybe something like:
new Toolkit({
  throwOnWarning: Boolean
})

Frankly, I'm more inclined to just hold on to this PR until shipping a new major version and just bundle them together. I'm not sure how long that'll be though 🤔 but I don't think this change needs any rush.

I don't think this change needs any rush.

Agreed :100: (FWIW) :+1:

@swinton just for you information - I've been waiting for at least one more breaking change to get this in, and #61 has come! So I'm merging this into a v2 branch with #61, and intend to publish the two PRs as a @beta tag for a little bit as I try it out with some actions.


Improve lens theming

We need to simlyify theme structure in order to remove unnecessary steps for developing new themes and style extensions.

Consider of using pure theme css files instead of json ones. Related comments are https://github.com/lensapp/lens/pull/1267#pullrequestreview-526299930 and https://github.com/lensapp/lens/pull/1267#issuecomment-724122016
Getting rid from intermediary scss vars in src/renderer/components/vars.scss
Remove unused theme colors (chartLiveBarBackgound and drawerTogglerBackground)

I also think the styling docs themselves could be further improved/clarified, see my other comment on #1267.


Enforce using R.swift

How can we enforce everyone in the team so that we can not use hardcoded strings anymore?

The teams I work on use Pull Request for this, we just check each other code and if we spot a missing R.swift reference we comment on it.
If you want to automate it I think your best bet is to create a SwiftLint rule for things like NSLocalizedString and UIImage(named:) etc that warns you.
There is also an (very old) issue with a discusion about this: https://github.com/mac-cain13/R.swift/issues/30


Bumping Scala version to 2.10.6.

/review @Duhemm, @dwijnand, @jsuereth

:+1: what about in project/p.sbt?

@dwijnand Good call. Fixed it.


support stylus, jade

Please add support stylus and jade

:+1: This would be awesome. Would be happy to help test an implementation.

+1

+1

+1


Revert and Restyled Tour Button

Linked Issue
Closes #24
Description

reverted previous commit
added consistent styles to button

Demo video
button-styles.webm

@aishwarya-mali can you attach some screenshots to show the changes made in the site.

@Neel-07 This PR is just to revert the changes. Once this is merged I will create a PR for Restyled Button.

@aishwarya-mali push the changes for the restyling part, then i will merge it and do add a ss.

@Neel-07 Please check.

@Neel-07 Can you please add hacktoberfest tag?


Add the euqal, linspace, matmul the apis for chinese doc

Add the Chinese doc for the api of equal, linspace, matmul


OLED anti-burn-in mode

📝 Provide a description of the new feature
What is the expected behavior of the proposed feature?  What is the scenario this would be used?
Hi!
Given the recent release of cheaper and smaller OLED TVs, some specifically targeted for gamers or professional users, it's clear that more and more people will start using Windows with an OLED screen.
Since there are no features in Windows 10 to mitigate OLED burn-in, it would be nice to see some features in PowerToys/FancyZones that help in accomplishing this.
A great example is detailed here:

we already have good solutions (...) so we can position windows in the comfort zones of the screen - having a big area doesn't mean it has to be used from end to end in all cases. Not using the full area would also bring an additional advantage: The unused borders would allow to move the windows around slowly (following a pattern that the same virtual pixel is mapped to different real pixels as much as possible).

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Just took a quick look at the other issue. Several of those suggestions/solutions (added later) can already be done. Manually, that is. Not as quick as a one-click settings, but also not impossible.

Perhaps there could be an "OLED precaution mode" that can be enabled with one check-box that
a) disables all wallpapers (black)
b) sets task bars to auto-hide
c) hides all desktop icons
d) does the window-move thing
e) sets screen saver (black) to 5 min activation time
No guarantees, but this could be quite helpful already! (All but the window move stuff can essentially also be achieved without a dedicated program like DisplayFusion - but it wouldn't hurt to have such a one-click option.

Just took a quick look at the other issue. Several of those suggestions/solutions (added later) can already be done. Manually, that is. Not as quick as a one-click settings, but also not impossible.

Perhaps there could be an "OLED precaution mode" that can be enabled with one check-box that
a) disables all wallpapers (black)
b) sets task bars to auto-hide
c) hides all desktop icons
d) does the window-move thing
e) sets screen saver (black) to 5 min activation time
No guarantees, but this could be quite helpful already! (All but the window move stuff can essentially also be achieved without a dedicated program like DisplayFusion - but it wouldn't hurt to have such a one-click option.

A, B, C and E from that list are less relevant, I think. Anyone can set them once and then forget about them. But manually moving around the windows, i.e. modifying the FancyZones layout is something the user would have to do repetitively.
In this case, a randomized offset value would be very handy.

A, B, C and E from that list are less relevant, I think. Anyone can set them once and then forget about them. But manually moving around the windows, i.e. modifying the FancyZones layout is something the user would have to do repetitively.
In this case, a randomized offset value would be very handy.

Maybe we could indeed script fancy zones to change the layout every once in a while. I don't know. I personally don't need it 🙂

Maybe we could indeed script fancy zones to change the layout every once in a while. I don't know. I personally don't need it 🙂

I believe this is beyond PowerToys to handle properly.  I'd imagine is that this already being handled at the OS or physical monitor level.
Even the items listed here, if you just play a video on loop, you run the risk of a logo getting burned in.  Imagine the Windows logo, even if we shifted everything 1 px or 2 px, there still would be far large amounts of static pixels.
There are already laptops with OLEDs as well.  https://www.pcmag.com/picks/the-best-oled-laptops as well.  I can only imagine those companies verified this scenario

I believe this is beyond PowerToys to handle properly.  I'd imagine is that this already being handled at the OS or physical monitor level.
Even the items listed here, if you just play a video on loop, you run the risk of a logo getting burned in.  Imagine the Windows logo, even if we shifted everything 1 px or 2 px, there still would be far large amounts of static pixels.
There are already laptops with OLEDs as well.  https://www.pcmag.com/picks/the-best-oled-laptops as well.  I can only imagine those companies verified this scenario

For protection you can try to use OledShiftPlus on github


Update location of sdkmanager in Android CI jobs in 2.6.x

The location of the sdkmanager tool was changed in the Github Actions runners, which caused the CI to fail. This PR updates the path to the sdkmanager program.
This is a backport to the 2.6.x branch, this was already fixed on the master branch in https://github.com/SFML/SFML/pull/2879
CI is currently failing on the MacOS XCode iOS job, but that is an unrelated issue. As long as the 4 Android jobs are passing then this PR works.

SFMLBuildMaster: Build this please.


Search mouse clicks does not work on setting the state of open to true

When I click on the Search bar, I would want the results to be displayed for which I am doing the following:
-onFocus={this.openmenu} where
-openmenu = () => {
this.setState({ open: true, results:this.props.source});
}
Here, MouseClicks are not working once the results show up.

We want to help, however, there is not enough information provided here. Please use the codepen.io link provided in the issue template to demonstrate the issue.

This is my code where mouse clicks don't work onFocus.
export default class SearchInput extends Component {
constructor(props) {
    super(props);
    this.state = {
        counter: 0,
        open: false
    }
}

componentWillMount() {
    this.resetComponent()
}

openmenu = () => {
    this.setState({ open: true, results:this.props.source});
}

closemenu = (event, data) => {
    this.setState({ open: false});
    this.props.onBlur(data.value, this.props.label);
}

resetComponent = () => this.setState({ isLoading: false, results: [], value: '' })

handleResultSelect = (e, result) => {
    this.setState({ value: result.title })
    this.props.onChange(result.title,this.props.label);
}

handleSearchChange = (e, value) => {
    this.setState({ isLoading: true, value })
    this.props.onChange(value, this.props.label);

    setTimeout(() => {
    if (this.state.value.length < 1) return this.resetComponent()

    const re = new RegExp(_.escapeRegExp(this.state.value), 'i')
    const isMatch = (result) => re.test(result.title)

    this.setState({
        isLoading: false,
        results: _.filter(this.props.source, isMatch),
        })
    }, 500)

}

render() {
    const { isLoading, value, results } = this.state
    return (
            <Search
            loading={isLoading}
            onResultSelect={this.handleResultSelect}
            onSearchChange={this.handleSearchChange}
            onFocus={this.openmenu}
            onBlur={this.closemenu}
            open={this.state.open}
            results={results}
            value={this.props.value}
            fluid
            className={this.props.className}
            />
    )
}

}

Please understand that we'd like to help but we, unfortunately, do not always have the time to setup working examples for each issue reported.  Here is the issue template that contains the information that we need to help.
Specifically, I do not know what it is meant by "mouse clicks don't work on focus".  This template is designed to get all the information we need to be able to assist.  Please complete these fields, including forking the codepen.io template and updating it to demonstrate your issue:

Steps

Boil water.

Expected Result
It should be hot.
Actual Result
It is cold.
Version
x.y.z
Testcase
Fork this to show the issue: http://codepen.io/levithomason/pen/ZpBaJX


feat(swc/plugin): implement proxy for Mark::fresh

Description:
Partial implementation for https://github.com/swc-project/swc/issues/3309, before applying same practices, would like to confirm this would bea feasiblee approach.
As similar to previous implementation with plugin_runtime, this PR implements proxy fn for the globals (Mark::fresh in here) which calls host fn when it's being called in plugin's context. Unlike other imported fn signature this doesn't do serialization or copy bytes across memories as Mark is wrapper to u32 value. Fn passes over values directly then each context construct Mark as needed.
BREAKING CHANGE:

DUMMY_SP moved into swc_plugin::syntax_pos namespace.

Related issue (if exists):

#3309

Two questions

is this acceptable approach?
What's recommended pattern to make test cases for this?


build: add Dockerfile for running pq within a container incl. whale brew support

Looks handy! Thanks for your contribution!


[BuildRef] Add SQL Server 2016 SP2 CU11

Adding SP2+CU11 for SQL Server 2016 released today: https://support.microsoft.com/en-us/help/4527378/cumulative-update-11-for-sql-server-2016-sp2

SQL Server 2017 RTM CU18 is also out:
https://support.microsoft.com/en-us/help/4527377/cumulative-update-18-for-sql-server-2017


Additional e2e tests

We should write some more e2e (KUTTL) tests:

one that does a basic setup using a flagsourceconfiguration (k8s-sync).
one that uses a file sync
one that uses a flagd-proxy sync

I would like to take this issue :)

Do we please have a usage example of using the file or flagd-proxy sync ? Would be very helpful.
Thank you!

@odubajDT here is the doc on FlagSourceConfiguration.
Here is an example I've used locally. Notice how the workload is annotated with the FlagSourceConfiguration and the FlagSourceConfiguration has multiple different sources:
# A basic flag custom resource
apiVersion: core.openfeature.dev/v1alpha2
kind: FeatureFlagConfiguration
metadata:
  name: end-to-end
  labels:
    app: open-feature-demo
spec:
  featureFlagSpec:
    flags:
      new-welcome-message:
        state: ENABLED
        variants:
          'on': true
          'off': false
        defaultVariant: 'off'
      hex-color:
        variants:
          red: c05543
          green: 2f5230
          blue: 0d507b
        defaultVariant: red
        state: ENABLED
      fib-algo:
        variants:
          recursive: recursive
          memo: memo
          loop: loop
          binet: binet
        defaultVariant: recursive
        state: ENABLED
        targeting:
          if:
            - in:
              -<EMAIL_ADDRESS>              - var:
                - email
            - binet
            - null
      use-remote-fib-service:
        state: ENABLED
        variants:
          'on': true
          'off': false
        defaultVariant: 'off'
---
apiVersion: core.openfeature.dev/v1alpha2
kind: FeatureFlagConfiguration
metadata:
  name: end-to-end2
  labels:
    app: open-feature-demo
spec:
  featureFlagSpec:
    flags:
      some-flag:
        state: ENABLED
        variants:
          'one': one
          'two': two
        defaultVariant: 'one'
---
apiVersion: core.openfeature.dev/v1alpha3
kind: FlagSourceConfiguration
metadata:
    name: end-to-end-fsc
spec:
    sources:
    - source: default/end-to-end
      provider: filepath                     # this can be "filepath", "kubernetes" or "kube-proxy"
    - source: default/end-to-end2
      provider: kube-proxy
---
# Deployment of a demo-app using our custom resource
apiVersion: apps/v1
kind: Deployment
metadata:
  name: open-feature-demo-deployment
  labels:
    app: open-feature-demo
spec:
  replicas: 1
  selector:
    matchLabels:
      app: open-feature-demo
  template:
    metadata:
      labels:
        app: open-feature-demo
      annotations:
        openfeature.dev/enabled: "true"
        openfeature.dev/flagsourceconfiguration: "end-to-end-fsc"
    spec:
      containers:
        - name: open-feature-demo
          image: ghcr.io/open-feature/playground-app:v0.6.3 # x-release-please-version
          args:
            - flagd
          ports:
            - containerPort: 30000

---
# Service exposed using NodePort
apiVersion: v1
kind: Service
metadata:
  name: open-feature-demo-service
  labels:
    app: open-feature-demo
spec:
  type: NodePort
  selector:
    app: open-feature-demo
  ports:
    # By default and for convenience, the `targetPort` is set to the same value as the `port` field.
    - port: 30000
      targetPort: 30000
      nodePort: 30000

Thank you very much!


darwin.darling: fix build on case-insensitive filesystems

Motivation for this change
Use upstream darlinghq/darling@ea5f07d to fix build on case-insensitive filesystems.
Also update headers in Libsystem due to path modified.
Tested darling but not Libsystem.
cc @veprbl @thefloweringash
fix #91480 #107431
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build darwin.Libsystem

@GrahamcOfBorg build darwin.Libsystem

This breaks stdenv https://gist.github.com/veprbl/f94b093aeaaaf879506432add0422f62

It's because the new os/availability.h updated here conflicted with the old Availability.h in xnu. Now we have 3 options:

You directly review #110840, which contains both new daring and new xnu, it could build Libsystem from bootstrap. This PR wouldn't be needed anymore.
I cp the new Availability.h from daring temporarily (it contains anyway), get this PR merged, and replace it when #110840 merged.
I drop the new os/availability.h here, get this PR merged, and update it on #110840 's commit.

@veprbl which one do you prefer?

This breaks stdenv https://gist.github.com/veprbl/f94b093aeaaaf879506432add0422f62

It's because the new os/availability.h updated here conflicted with the old Availability.h in xnu. Now we have 3 options:

You directly review #110840, which contains both new daring and new xnu, it could build Libsystem from bootstrap. This PR wouldn't be needed anymore.
I cp the new Availability.h from daring temporarily (it contains anyway), get this PR merged, and replace it when #110840 merged.
I drop the new os/availability.h here, get this PR merged, and update it on #110840 's commit.

@veprbl which one do you prefer?

I would try to stick to first updating darling if that is possible without breaking anything.

I would try to stick to first updating darling if that is possible without breaking anything.


[Bug]: When creating a new character and selecting all objects, the error prompt will not disappear

ODC version
odc420
OB version
ob410
What happened?
Create a new role, click New, and an error message will prompt you to fill in the role name and select a manageable object. After selecting all objects, the error prompt does not disappear

What did you expect to happen?
Error prompt disappears
How can we reproduce it (as minimally and precisely as possible)?
Create a new role, click New, and an error message will prompt you to fill in the role name and select a manageable object. After selecting all objects, the error prompt does not disappear
Anything else we need to know?
No response
Cloud
No response

Fixed In Commit 5c0acb0a509bb4e4d2486e600a4cc374e6db0b0e
------
咏和
Sun Dec 10 18:02:52 2023 +0800

pass


refactor: simplify sortScripts function

Let's update now v1.1.3 of sort-object-keys is out and I'll merge!

done.

:tada: This PR is included in version 1.32.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Path validation error while trying to cache gradle

Description:
Path validation error while trying to cache gradle
Task version:
v3
Platform:

[x] Ubuntu
[ ] macOS
[ ] Windows

Runner type:

[x] Hosted
[ ] Self-hosted

Repro steps:
Setup java using actions/setup-java, with the following configuration

distribution: 'temurin'
java-version: '17'
cache: 'gradle'

Expected behavior:
Cache the gradle post setting up java
Actual behavior:
Gradle is not cached and throws a warning: "Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.".

Hello @biswanathTewari. Thank you for your report. We'll take a look at the issue.

@biswanathTewari Could you please provide a public repository to reproduce the issue? I've tried to reproduce the issue but for me it works as expected.

@dmitry-shibanov can you please have a look at the following:-

action report
Repo link

Hello @biswanathTewari. I think it is an expected behaviour because the action has nothing to restore that is why it tries to save. But the gradle tool is not called to install dependencies.

@dmitry-shibanov Yes, came to the same conclusion, if we create a build then gradle is being cached. Closing this issue. Thanks for the help.


python311Packages.dvc-ssh: 2.2.22 -> 3.0.0

Changelog: https://github.com/iterative/dvc-ssh/releases/tag/3.0.0
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 279701 run on aarch64-linux 1

6 packages built:

dvc-with-remotes
dvc-with-remotes.dist
python310Packages.dvc-ssh
python310Packages.dvc-ssh.dist
python311Packages.dvc-ssh
python311Packages.dvc-ssh.dist

Result of nixpkgs-review pr 279701 run on x86_64-linux 1

6 packages built:

dvc-with-remotes
dvc-with-remotes.dist
python310Packages.dvc-ssh
python310Packages.dvc-ssh.dist
python311Packages.dvc-ssh
python311Packages.dvc-ssh.dist


Change of node version at the time of building

Hey @rmariuzzo
Reviewing this, I could see that the build was not happening in travis and it is because of the version of the Node that you have in the .travs.yml, the library jasmine-node was having ES6 syntax problems at the time it was executed .

You can check line 481

That said then I proceeded to change the version to a more stable one for compilation and everything works correctly.

Thank you @JoelJaimeB ! ✌


brew services is not implemented

Installed linuxbrew on Centos 6.8 64-bit
things seem to work smoothly from installation perspective. brew doctor, brew update  are fine and clear
i installed nexus  ( brew install nexus )
facing issues starting the service though
[tibco@vmauto ~]$ brew config
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Linuxbrew/brew
HEAD: 33e792d0cb0f9ac53b67a62a7aefb75e8fa899bc
Last commit: 7 days ago
Core tap ORIGIN: https://github.com/Linuxbrew/homebrew-core
Core tap HEAD: af8d672c2b99c216e8746fa4b5e72cb9eccfc966
Core tap last commit: 4 days ago
HOMEBREW_PREFIX: /home/tibco/.linuxbrew
HOMEBREW_REPOSITORY: /home/tibco/.linuxbrew
HOMEBREW_CELLAR: /home/tibco/.linuxbrew/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://linuxbrew.bintray.com
CPU: dual-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648 => /home/tibco/.linuxbrew/Library/Homebrew/vendor/portable-ruby/2.0.0-p648/bin/ruby
Clang: N/A
Git: 2.9.3 => /home/tibco/.linuxbrew/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Java: 1.7.0_99
Kernel: Linux 2.6.32-642.el6.x86_64 x86_64 GNU/Linux
OS: CentOS release 6.8 (Final)
Codename: Final
OS glibc: 2.12
OS gcc: 4.4.7
Linuxbrew glibc: 2.19
Linuxbrew gcc: 5.3.0
Linuxbrew xorg: N/A
[tibco@vmauto ~]$ brew info nexus
nexus: stable 2.13.0-01
Repository manager for binary software components
http://www.sonatype.org/
/home/tibco/.linuxbrew/Cellar/nexus/2.13.0-01 (352 files, 79.5M) *
  Built from source on 2016-08-23 at 14:15:25
From: https://github.com/Linuxbrew/homebrew-core/blob/master/Formula/nexus.rb
[tibco@vmauto ~]$ brew services start nexus
sh: list: command not found
Error: Failure while executing:  load -w /home/tibco/Library/LaunchAgents/homebrew.mxcl.nexus.plist
[tibco@vmauto ~]$

brew services is not implemented for Linuxbrew. Sorry.

Any chance to implement something similar in the future?

I'm not planning to work on it. Someone could contribute the functionality in a PR if they were keen.


[BUGFIX] toggle class on elem when selecting multiple

not sure if this fixes, quick experiment...

Checked out locally and ran the tests 👍 thank you for doing this!
It shows that the multi-select tests are lacking 😳


Assigning values to the $rootScope

I generally think it's a bad practice to assign properties to the $rootScope. Mainly because I consider scope inheritance to be a bad practice.
It can be convenient though. I had in mind to use the following piece of code:
angular.module('myApp')

.decorator('$rootScope', function($delegate) {
  $delegate.url = function(url) {
    return 'url("' + url + '")';
  };
  return $delegate;
});

This would allow it to be used in ng-style:

Instead of:

Similarly it would often be convenient to add for example a boolean authenticated to the $rootScope.
Do you have any thoughts on using $rootScope or scope inheritance in general?

Do you have any thoughts on using $rootScope or scope inheritance in general?

Yes, don't use $rootScope, and don't use scope inheritance.
If you want to save a state or a property and share it to all your webapp, use a service and attach the data to the service instance.

I generally think it's a bad practice to assign properties to the $rootScope. Mainly because I consider scope inheritance to be a bad practice.

And because it makes unit tests harder to write properly.

True, but there are exceptions, like the name you want in the title in the header of your page, but these aren't functionalities of your program though.

@MarcLoupias:

If you want to save a state or a property and share it to all your webapp, use a service and attach the data to the service instance.

I totally agree. However, in my example the value is used in a template, so a service is not an option. I guess one should always use a filter for this purpose? E.g.:

@dietergeerts:

True, but there are exceptions, like the name you want in the title in the header of your page, but these aren't functionalities of your program though.

This can be accomplished using a directive or named views.

good conversation. the nothign is absolute ... and you bring up some good points. Im not convinced it should go in the guide (i like it here in the comments tho as it is searchable) because most of the time it is not something we want to recommend.


Added ScrollToTop button

Related Issue
Closes: #132
Description of Changes

I have added the respective component and its functionality in the codebase
It matches the UI and I have tested it.

Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[x] I have included comments in areas that may be difficult to understand.
[x] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

Screenshots

Revert the changes in pnpm.yaml as it was not suppose to make any changes into it.

Should I delete it and push it? @Alkaison

copy the current content from the repo for pnpm.yaml and paste it into the file and push.
Copy from here: https://github.com/ZeroOctave/resource-gallery/blob/main/pnpm-lock.yaml
Paste the whole content as it is.

Can you share a video of the working of it?

Here is the working video
https://github.com/ZeroOctave/resource-gallery/assets/98690105/a8eb2c4b-5252-4964-a0bd-ed179b2e1e15


:memo: Update required VS2013 version on Windows.

Currently, the minimal required version of VS2013 for building Chromium is Update 4. See https://www.chromium.org/developers/how-tos/build-instructions-windows
As far as I know, VS2013 Update 2 cannot build Chrome41.

Thanks!


README.md: add build steps for Visual Studio 2019 / MSVC

I just validated that the above steps indeed build material_sandbox successfully, and I was able to run it.

I noticed that the INSTALL project does not discriminate between the debug and release builds... always copy into the install directory. Would it be difficult to append the CMAKE_INSTALL_CONFIG_NAME at the end, so we would install to install-Debug or install-Release?

I'd rather avoid this as it would impact build.sh and various CI scripts. I don't know what Visual Studio does but our build script for other operating systems does it the CMake way:
-DCMAKE_INSTALL_PREFIX=../${lc_target}/filament \
i.e. we choose a different install prefix per build type.

@romainguy ok that's fine, this was just a convenience for people using the VS2019 environment.


Implement MVC Folder Structure and Schema for Carbonops Backend

Description:
I would like to propose the implementation of an MVC (Model-View-Controller) folder structure and the creation of a schema for the Carbonops project's backend. The current project lacks a standardized organization of files and folders, which hampers code maintainability and scalability. Additionally, there is a need for a well-defined schema to ensure efficient data management and retrieval.
Objective:
The objective of this issue is to establish an organized folder structure following the MVC architectural pattern and create a schema for the Carbonops backend. These enhancements will enhance code modularity, readability, and the overall maintainability of the project. Additionally, the schema will provide a structured framework for managing and querying
Benefits:
By implementing an MVC folder structure and creating a schema for the Carbonops backend, the project will gain the following benefits:

Improved Code Organization: The MVC folder structure will promote a modular and organized codebase, enhancing code readability and maintainability.

Separation of Concerns: Clear separation of models, views, and controllers will facilitate better code management and future enhancements.

Scalability: The organized structure will allow for easier integration of new features and components, enabling the project to scale effectively.

Efficient Data Management: The schema will provide a structured framework for storing and querying environmental data, ensuring optimal data management and retrieval.

Hey @Nishitbaria thank you for the issue.We are planning on changing the existing ER Diagram a bit.As soon as that is done,we will assign this issue to you :)

@Nishitbaria Assigned.Take reference from the ER Diagram in PR #76

Till tomorrow I will Create @shreya024

Till tomorrow I will Create @shreya024

@Nishitbaria Any updates?

@shreya024 All Most done I will Create in Few Min

I want to work on this issue

I want to work on this issue

Assigned! Go ahead

Reopening as not yet completed. @Nishitbaria Don't close issues

If nobody is working on it can I work on it?

Reopening as not yet completed. @Nishitbaria Don't close issues


[RHIF-209] Move Repositories and RHC from Settings to Insights - Stage

Ticket: RHIF-209
Repository, RHC and Activation keys have been moved to /insights
These items are no longer in /settings
Settings (Preview)

Before
After

RHC
Before:

After:

Sure!


error

I get error when I make placeholder..

How about some more information?
On 19 Sep 2017 4:17 p.m., "68uy78"<EMAIL_ADDRESS>wrote:

I get error when I make placeholder..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/13155, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFjlg0N8eDvTLoml9XDF04rrpHm0q5Meks5sj8yHgaJpZM4Pcdk4
.

This issue is automatically closed due to lack of activity. Please re-open if this is still an issue for you. Thanks!


Remove spaces from RCL asset link code examples

Per @yhscherber on https://github.com/dotnet/AspNetCore.Docs/pull/26333, let's get the spaces out of JS file (and any other RCL links) across the Blazor docs so that the docs' copy buttons grab code that can be pasted right into an app with a good outcome and not a giant ...
💥😢

Fixed by #26335 ... one found to update outside of the one found for the community member PR.


Differences between Progressive Prompt and LFPT5

Dear authors,
Congratulations for your great effort to release source code. I really enjoyed your paper when I read it. However, I realized that the idea of progressive prompt is quite similar to the idea in Sec. 3.2.1 in LFPT 5 paper in which authors proposed to add a new set of learnable prompt tokens when a new task come, learned tokens from previous task are frozen, and all prior prompt tokens is concatenate with new ones in training a new task. The main different between these two is the use of embedding re-parameterization indicated in Sec. 3 in your paper. Am I correct? Feel free to correct me if I misunderstood.
P/s: And one more question about the ablation studies of the paper: Did you compare LFPT5 with Progressive Prompt w/o MLP and Progressive Prompt w MLP in the continual setting?
Thanks.

Thanks a lot for you questions / comments :) the key differences between Progressive Prompts and LFPT5 are:

Progressive Prompt trains and freezes a separate prompt for each new task. In contrast, LFPT5 "tunes additional prompt embeddings to learn a new task type", so a new prompt is dedicated for a new task type (generation / classification / NER), but the prompt tokens are shared for all tasks that belong to that particular task domain. Because of that, LFPT5 suffers from catastrophic forgetting within task type: as shown in Table 6 from LFPT5 paper, the classification accuracy on DBpedia task drops from 98% to 49% when task order is changed. This doesn't happen to Progressive Prompts since we don't change prompt embeddings for the learned tasks.
Progressive Prompt concatenates newly learned prompt with previously learned frozen prompts, which helps to achieve forward transfer when learning new tasks. This is similar to in-context learning, with previously learned soft prompts acting as "knowledge base" for future tasks.
As you mentioned, we also apply MLP reparameterization to speed up training. We preserved the original LFPT5 setup (w/o MLP reparameterization) for fair comparison, but it might be a good future direction to try. However, the main issue with LFPT5 is that it suffers from forgetting, which reparameterization cannot alleviate.

Hope this is helpful! Please let me know if you have more questions!


📝 Improving documentation of StrictlyPositiveDouble

📝 Description
We would like to improve the overall documentation of the StrictlyPositiveDouble type.
🔗 Dependencies
This issue is blocked by the following ones:

[x] #66

✅ Checklist

[ ] Document the serialization processes of the type.
[ ] Add the final modifier to the compareTo function, and add Kotlin and Java code samples to its documentation.
[ ] Add the final modifier to the equals function, and add Kotlin and Java code samples to its documentation.
[ ] Add the final modifier to the hashCode function, and add Kotlin and Java code samples to its documentation.
[ ] Add Kotlin and Java code samples to the documentation of the toDouble function.
[ ] Add the final modifier to the toString function, and add Kotlin and Java code samples to its documentation.
[ ] Update the unreleased changelog.
[ ] Close this issue as completed and update tracking ones if present.

See #628 for more details on why we are not going to implement this issue for now.


[REVIEW] jayesh-srivastava

GitHub Profile Link:
https://github.com/jayesh-srivastava
You can also join the Discord community here
Feel free to check out other cool repositories of the EddieHub Community here

Nice profile! just one suggestion, that you may remove the visitor's count as it works incorrectly (it does not count the number of UNIQUE visitors to your page.).

Nice profile! just one suggestion, that you may remove the visitor's count as it works incorrectly (it does not count the number of UNIQUE visitors to your page.).

Agree with that

Thank you for sharing, we will review on a live stream soon 👍

Nice :heart:

Woah, awesome profile! I loved it! Great work, @jayesh-srivastava! 🚀
I have made a pull request in your repository for
some minor improvements in the README.md file. 🙂
Thank you for sharing your amazing profile with us! 😄

@Panquesito7 Thank you! Will review the changes!

Looks good @jayesh-srivastava . Really like the profile!

Looks great! Just 1 thought...

Maybe reduce from 6 pinned to 4 pinned repos


Occasional error message when starting kafka2influxdb

Sometimes when starting kafka2influxdb, the sarama client fails to coordinate with the kafka cluster: "Request was for a consumer group that is not coordinated by this broker" error massage.

error massage

Is this some kind of Thai massage ? :smile:

eeeek


External prs

#2347
#2353

The majority of contribution from this PR has morphed to #3111 , so closing this one. We thank Abhishek a lot though.


Update cli.py

Thank you for contributing to naz.
Every contribution to naz is important.
Contributor offers to license certain software (a “Contribution” or multiple
“Contributions”) to naz, and naz agrees to accept said Contributions,
under the terms of the MIT License.
Contributor understands and agrees that naz shall have the irrevocable and perpetual right to make
and distribute copies of any Contribution, as well as to create and distribute collective works and
derivative works of any Contribution, under the MIT License.
Now,
What(What have you changed?)
Why(Why did you change it?)

Codecov Report

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

@@           Coverage Diff           @@
##           master      #39   +/-   ##
=======================================
  Coverage   87.58%   87.58%
=======================================
  Files           8        8
  Lines         572      572
=======================================
  Hits          501      501
  Misses         71       71

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 866ab89...7180544. Read the comment docs.


features row links without buttons?

Description

I like to keep the layout as clean as possible and without buttons if I can avoid it. On my splash page I have feature rows to describe the content. I would like the entire area of each feature (picture+text) to be clickable and follow the link that is normally used with the button. How would I best go about editing the source to achieve this. I could probably get it to work with some ugly hack but thought others might also be interested and you likely know how to make this as slick as possible.
Environment

I am using github-pages with the ruby-gem method (does that limit my hackability?)

Expected behavior

Just want a feature row without buttons but still with links to new pages by clicking the area of image+text

Edit _includes/feature_row to behave you want.
Here's the line that applies the link to a text anchor styled as a button. You could use the same Liquid variable and wrap the entire feature if that's what you want as the link.
https://github.com/mmistakes/minimal-mistakes/blob/master/_includes/feature_row#L43

I got that to work by wrapping the link around the image. if I wrap it around the text also all text becomes styled as links. I assume I would have ot go into the css to define feature_row.a to behave like normal text?

That's correct. You'll likely need to add text-decoration: none to something to remove the underlines.

feel free to ignore this if its too detailed to bother you for, but this does not do the job (added to the _page.scss file) although I kinda thought it would... any ideas?
.feature__item {
  a {
      color: #fff;
      text-decoration: none;
  }
}

Best bit of advice I can give you when having CSS issues is open the page in your browser's web developer tools. And start poking around the elements to see which one you need to apply CSS to.
You likely have the wrong specificity or it's being overrided somewhere else in the cascade.

Will do. thanks again!


Tool usage in ChatGoogleGenerativeAI is totally broken and so are the tests for it

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain.js documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain.js rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
Any of the tutorials that use tools will do.
Error Message and Stack Trace (if applicable)
No response
Description
While doing the tutorial about the weather tool, I noticed that the AI would keep responding as if I was the one telling it the weather and not the other way around.
The code seems to early exit if there's a BaseMessage  with string contents, without checking if it's from a tool or not.
It can be seen here https://github.com/langchain-ai/langchainjs/blob/eb9ce8d05ab5bc5fc07b24c33e651943149c07fe/libs/langchain-google-genai/src/utils/common.ts#L86-L92
There are tool checks a few lines down, but it will never reach if the tool just responds with 'It's 60 degrees.'
More than that, looking at the message formatting, the tool responses must be objects and not strings like they are sent here.
https://github.com/langchain-ai/langchainjs/blob/eb9ce8d05ab5bc5fc07b24c33e651943149c07fe/libs/langchain-google-genai/src/utils/common.ts#L110-L114
I tried returning objects from the tool, but it stringified them somewhere.
The typedef for FunctionResponse

From: https://github.com/google-gemini/generative-ai-js/blob/cec7440c0d34d29298333d920d4f44f8478d27d5/types/content.ts#L160
The tests are also broken. They run as if the users tells the weather or whatever to the AI instead of properly using functionResponse.
https://github.com/langchain-ai/langchainjs/blob/eb9ce8d05ab5bc5fc07b24c33e651943149c07fe/libs/langchain-google-genai/src/tests/chat_models.test.ts#L184-L201
As a workaround I monkeypatched langchain by moving the above mentioned string check at the bottom of the if/else if block

and wrapped response in functionResponse in an object.

Probably not the best way to handle things, but it works.
System Info
Windows
Node 22.x.x
yarn 1.x.x

Hi there! We are a group of 3 students from the University of Toronto and we are very interested in fixing this issue and also adding some tests. We will submit a PR for this issue by end of November.


ft :: implement cartridge component

Codecov Report

Merging #2 (1b12b98) into main (206ef5d) will decrease coverage by 1.23%.
The diff coverage is 11.42%.

@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
- Coverage   99.54%   98.31%   -1.24%
==========================================
  Files          61       62       +1
  Lines        5684     5685       +1
==========================================
- Hits         5658     5589      -69
- Misses         26       96      +70

Impacted Files
Coverage Δ

src/bus/src/cartridge/mod.rs
0.00% <0.00%> (ø)

src/bus/src/mos6502/opcodes/alu/adc.rs
100.00% <ø> (ø)

src/bus/src/mos6502/opcodes/alu/and.rs
100.00% <ø> (ø)

src/bus/src/mos6502/opcodes/alu/cmp.rs
100.00% <ø> (ø)

src/bus/src/mos6502/opcodes/alu/eor.rs
100.00% <ø> (ø)

src/bus/src/mos6502/opcodes/alu/lda.rs
100.00% <ø> (ø)

src/bus/src/mos6502/opcodes/alu/ora.rs
100.00% <ø> (ø)

src/bus/src/mos6502/opcodes/alu/sbc.rs
100.00% <ø> (ø)

src/bus/src/mos6502/opcodes/alu/sta.rs
100.00% <ø> (ø)

src/bus/src/mos6502/opcodes/control/bcc.rs
100.00% <ø> (ø)

... and 53 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Support for Fabric & 1.21.1

Hello there!
I was wondering if you could add support for Fabric & Minecraft 1.21.1
Thank you!

okay i guess

should be up on modrinth now


chore(test): Add tests for with and without mdx

@m5p3nc3r do you happen to know if this is an easy fix?

I'm going to merge this and make a release for now. We can sort out how to make the version without mdx work equivalent to the one with mdx in the future.


Migrate integration tests to use the settlement Docker image instead of running from source

Right now we're checking out the project and attempting to create an artifact from source, which ends up adding a lot of steps and complexity to the build while also making it unreliable since building from source ends up being a moving target.
We should use a Docker image that is known to work instead to make this more reliable and similar to what would happen in the real world.

As part of this ticket, can you make the "hold" button in CircleCI go away? We should just run all 4 tests in parallel on every build.


[BUG] Clicking on Properties panel "forgets" selected element (Visualiser?)

Version of Archi, Operating System
Reproducable in 4.3.0, 4.3.3 and 4.4.0 - Windows
Expected Behaviour
When you click (selected) a concept/element and then click on the properties windows properties sub-tab (or other sub-tab), you should see the selected elements properties.
Actual Behaviour
If you have the properties and visualipanel in a separate (detached) window, you can click on the element, click on the property sub-tab and the properties window will change to show properties of the VIEW, not the element. You have to click on the element again and the intended property tab.
Steps to Reproduce the Behaviour
From start up:

open a model
open the "visualiser" window and drag it into a new separate window
open the "properties" window and drag it into the same window as the visualiser

Click on the visualiser (anywhere)
Click on the element you want to view properties for: (The property window DOES change)

Click on a sub tab (any). The "focus" of the properties window changes to the VIEW

I would expect the focus to remain on the "[Label] Service Criticality: Degrated" element.

@Phillipus
I will admit, sometimes it can be hard to reproduce...  Spent over an hour trying to create a fully 100% reproducible sequence - and didn't fully achieve it.  But - it does happen and it's bleeding annoying when it does it!
It seems particularly sensitive to the way you have the window layout.  I have two large screens and drag the "auxiliary" windows to the right with the model window on the left. YMMV

It may be:

An edge case relating to focus of windows
Related to having two screens
An Eclipse bug

I followed your steps and coudn't reproduce the issue. I use only one screen. If we could get 100% reprodicible sequence I'll be able to take a look at it.

I notice you are using Herve's Specialisation plug-in - please try without that installed, it might be doing something with the Properties tab.

re: specialisation plug-in - I've tried this in several configurations and versions - my newest Archi 4.4.0 does not have this enabled :)
I'll try to improve on the reproduction steps.

OK.
At stage 6, "Click on a sub tab (any). The "focus" of the properties window changes to the VIEW", what's selected on the diagram view? Is the object deselected?

Also, what is the selection in the Models Tree? Is it the View in question?
Something is putting the focus on the View, which may the diagram tab or the View node in the tree.

The element is still (looks) selected in the view.
The selection in the model tree goes BACK to the view.
Video - https://youtu.be/5TPgz367_RA

The video helps.
One piece of important information - "Link to View" is enabled in the toolbar of the Models Tree. If this is off the problem does not occur. Why this happens needs to be investigated. It may be a side-effect of "Link to View".

Excellent.   Not going mad!
It also happens with the scripts page too.

It seems to only do this when the Properties and Visualiser tabs in a detached window. At this point I'd put it down as an Eclipse quirk. Needs further investigation.

Sorry I closed this issue by mistake (the "Close and comment" button is too big!)

So, yes, I figured out what was going on - the editor part was being selected which then selected it in the tree which then selected that in the properties tab. Complicated. Anyway, I've patched it so as to not select the same editor. Tests seem to indicate that this will fix the issue.
Will be in the next release of Archi (not sure when that is, but not too long). So we'll keep this issue open until it's confirmed to be fixed.

The workaround in the meantime is to not do this sequence of events if the Properties Tab and Visualiser Tab are detached in the same window:

Put focus on Visualiser
Put focus on an object in a diagram View
Put focus on Properties tab

Switching between (2) and (3) or (1) and (3) is OK.

Fixed in 4.5


Feature/resubmit tx on recoverable error

https://p2pvalidator.atlassian.net/browse/NTRN-194

I have a question. Why won't we just create some Resubmittor object which will

Contain the map with {msg, attemptsLeft, retryTime} objects
Contain Retry method that receives the query as argument and

if a query is not present in the map — adds it there with maximum retries attempts and schedules retry
if a query is present and retries attempts is non-zero — schedules retry
if a query is present and retries attempts is zero — does nothing

Process the map every N seconds and put the queries that have to be retried right now to the Relayer's task queue decreasing the attemptsLeft

It will allow both Relayer and TxSubmitter to know nothing about retries. The only thing to be added is calling Retry method of Resubmittor if the query submission failed (this call can be done as well by Relayer or TxSubmitter, depending on who is responsible for understanding the types of errors that it makes sense to retry). The Retry method will decide if retry should be done (based on atteptsLeft) and when. And everything it will need is just to put the msg once again to the Relayer's task channel.

I have a question. Why won't we just create some Resubmittor object which will

Contain the map with {msg, attemptsLeft, retryTime} objects

Contain Retry method that receives the query as argument and

if a query is not present in the map — adds it there with maximum retries attempts and schedules retry
if a query is present and retries attempts is non-zero — schedules retry
if a query is present and retries attempts is zero — does nothing

Process the map every N seconds and put the queries that have to be retried right now to the Relayer's task queue decreasing the attemptsLeft

It will allow both Relayer and TxSubmitter to know nothing about retries. The only thing to be added is calling Retry method of Resubmittor if the query submission failed (this call can be done as well by Relayer or TxSubmitter, depending on who is responsible for understanding the types of errors that it makes sense to retry). The Retry method will decide if retry should be done (based on atteptsLeft) and when. And everything it will need is just to put the msg once again to the Relayer's task channel.

which entity will decide whether call is final or not (recoverable error or not)?

@oldremez @swelf19 please have a look

No need to proceed with this one


Copr: Vectorize LogicalXor

PCP #5751
Signed-off-by: koushiro<EMAIL_ADDRESS>What have you changed?
Vectorize LogicalXor
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?

Unit test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No
Does this PR affect tidb-ansible?
No

/run-all-tests

/run-all-tests

/run-all-tests

/merge

/merge

/merge

/test


Add all-contributors

@all-contributors please add @jsheunis for bug code content data doc design ideas infra maintenance test question

@all-contributors please add @aqw for data design ideas code userTesting

@all-contributors please add @jkosciessa for userTesting tutorials ideas doc bug

@all-contributors please add @adswa for doc

@all-contributors please add @aqw for bug

@all-contributors please add @bpoldrack for ideas

@all-contributors please add @christian-monch for ideas


Open ".dep" extension file (in Python)

Hi,
I have been given a point cloud file with ".dep" extension. I am a Python user and I have an issue understanding how to open the ".dep" file in whitebox-tools (in python) and possibly change it to one of the Point Cloud extensions (such as las).
Really appreciate your help

Hi @nikzadb This is not a user forum for question but rather it is strictly for reporting issues and bugs in the software. Please use the Google Groups forum for general questions about the software. Thanks.


[Fix #7397] Fix issue where Style/SafeNavigation adds extra comments

This fixes #7397
When moving comments around, the original implementation failed to limit the comments to the section of code being analyzed. It was pulling the comments for the entire file.

Thanks!


migrated repo to Vue for testing

"npm run start" for backend
"npm run dev" for frontend

looks fine with the footer :)


Switching between stacks

I have created and configured two stacks
 llama stack build --template local --name dev1
 llama stack configure dev1

 llama stack build --template local --name dev2
 llama stack configure dev2

And it is running in the port 8090.
llama stack run dev1 --port 8090 --disable-ipv6

How to swtich to dev2 to run on the same port? I am trying to automate switching between stacks in linux.

To switch between dev1 and dev2 stacks running on the same port (8090) using a script or automation in Linux, you can automate stopping the current stack and starting the new stack on the same port. Here’s how you can structure it:

Stop the Currently Running Stack:

Before switching to a new stack (dev2), stop the current stack (dev1).

Use llama stack stop command or kill the process running on port 8090.

Start the New Stack:

Once the dev1 stack is stopped, you can start dev2 on port 8090.

Automate the Process with a Shell Script: You can create a simple shell script to automate switching between the two stacks.


Fix for Gitea/Gogs

Gitea, an active fork of Gogs, was recently updated and now the Toggl button no longer shows next to the issue titles. With the previous version, the Gogs option worked for Gitea as well.
A public Gitea demo can be found here.

Just found the Adding new integrations page. This saves me so much time I'll do it myself when I have some time later this week. Stay tuned for a pull request.


August 13th - #TrendingTuesday

On this Trending Tuesday, we highlight the latest trends in renewable energy across Africa. Solar farms and wind turbines are becoming increasingly common, reflecting a shift towards sustainable energy solutions. These innovations are not only reducing our dependence on fossil fuels but also creating new economic opportunities. By staying informed about these trends, we can support and advocate for a greener future. What renewable energy trends are you most excited about?
#TrendingTuesday #RenewableTrends #CleanEnergy #AfricaTech #SustainableFuture #GreenLiving #RenewableEnergy #CleanPower #GreenEnergy #CLENTAfrica
@clentafrica/wg-design

@clentafrica/wg-design let's creat an asset for this

@clentafrica/wg-design is design ready for tomorrow post?

@SDauphin15

Thank you 👍

@Okpeelizabeth1989 please post on Instagram and FB. @erioc please post on twitter. I will post on Linkedin.

I just posted on Linkedin.

Done on twitter

Done on twitter


Differents Action by navigation/page

Is there an way to create different Action for each navigation/page. When I created an action on subpage, then goes back to the early page, the action persist on navigation.
Found this solution https://github.com/eclipsesource/tabris-js/issues/8

Currently, all Actions are global. If you want to show them selectively, you need to toggle their visibility as shown in #8.
Anyway, I'm not sure I understand your requirements correctly. If this is a feature request that is not covered by support for page actions, could you please describe the requested feature in more detail?


when i use Service Mode

Fatal error: Uncaught exception 'Google_Service_Exception' with message 'Error c
alling POST https://www.googleapis.com/upload/youtube/v3/videos?part=status%2Csn
ippet&uploadType=multipart: (401) Unauthorized' in C:\work\space\source\ws\vendo

Looks like you are not providing any authentication (hence the 401 Unauthorized status code)

Make sure the environment variable GOOGLE_APPLICATION_CREDENTIALS is set, and is a valid path to the service account credentials on your machine.
putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/my-project-credentials.json');


Add Firebase badge please!

Reference Icon(s): https://cdn4.iconfinder.com/data/icons/google-i-o-2016/512/google_firebase-2-512.png
Preferred Background: White
Label Text: Firebase

Yes, that would be great.


Remove missing learning resources

Link to http://decomplecting.org/blog/2014/10/23/welcome-to-the-dark-side-switching-to-emacs/ is inaccessible to me. This change is about to remove it from this document. But it is just changed or going to be available soon, let me know and I will update it.
/cc @yurrriq

It will not be available soon. I'm going to merge this now, but maybe we could add it back later via the Wayback Machine.


Clickable slide: don't allow clit during "sliding"

Hey, I have a slider made of a link. When I grab the slider to move it, it click on my slide when I release. It shouldn't

Hello @kiuKisas.  I got this exact same issue while using on:click on the carousel slides.
This svelte-carousel is a wrapper for a vanilla js library called Siema.  Sadly, Siema is no longer under development/maintenance by the author.  I came up with a simple solution which I hope works for you too.
Quick solution:
1. Create a preciseClick.js file with the following code:
export default (node, threshold = 8) => {
  // Set initial values
  let moved = false,
    initialPosition = { x: null, y: null };

  const handleMousedown = (e) => {
    console.log("mousedown");
    e.preventDefault();
    initialPosition.x = e.x;
    initialPosition.y = e.y;
    moved = false;
  };

  const handleMouseup = (e) => {
    console.log("mouseup");
    if (
      !(initialPosition.x + threshold >= e.x) ||
      !(initialPosition.x - threshold <= e.x)
    ) {
      moved = true;
    }

    if (
      !(initialPosition.y + threshold >= e.y) ||
      !(initialPosition.y - threshold <= e.y)
    ) {
      moved = true;
    }
  };

  const handleClick = (e) => {
    if (moved) {
      e.preventDefault();
    } else {
      const preciseClickEvent = new CustomEvent("preciseClick", {
        detail: { moved, initialPosition },
      });
      node.dispatchEvent(preciseClickEvent);
    }
  };

  node.addEventListener("click", handleClick);
  node.addEventListener("mousedown", handleMousedown);
  node.addEventListener("mouseup", handleMouseup);

  return {
    destroy() {
      node.removeEventListener("click", handleClick);
      node.removeEventListener("mousedown", handleMousedown);
      node.removeEventListener("mouseup", handleMouseup);
    },
  };
};

2. Then use on your carousel slides like this:

<Carousel dots={false}>

  Slide 1

  Slide 2

		Slide 4

{ alert('clicked') }}>
		Some content

</Carousel>

How it works
I created a Svelte action that listens to the mousedown and mouseup events over a certain element, i.e. a carousel slide.  On mousedown it will set a boolean 'moved' flag to false and will store the x and y position of the event.
On mouseup it will check if the cursor moved by a variable amount of pixels.  If it did, the 'moved' flag is set to true, else it will remain false.
This flag is then evaluated to decide whether an event should be emitted:

If the flag was set to true when the click event happens then the default click behavior will be prevented
If the flag was set to false, the click behavior will be as expected.  Also a custom 'preciseClick' event will fire in case you need to do something when the click is between the threshold.

REPL demo:
https://svelte.dev/repl/ac2a89e08f1d4600a88da743dcede207?version=3.38.3
I might submit a pull request with a built-in implementation of this solution later although I'm not sure if this is part of the intended scope or responsibility of this svelte-carousel component.  For the time being you could use this action.


What changes required to have roles in Multi Tenant application

Hi,
I like to know do i need to do any change to make this Role pacakge to work with multi tenant application? Or is there any tested multi tenant libraries with with this pakage works?
I like to chose roles based on the domain name.
Regards,
Clement

Sorry, we don't know.


FR: Contents of the folder including subfolders as assets

Something similar  to this: find $FOLDER -name "*" -type f

No question, a feature request. I would like to include the contents of the folder including the subfolders as assets (with.files). With this command: find $FOLDER -name "*" -type f I can find all files, where $FOLDER is the directory. Unfortunately I don`t know TS, otherwise I would have opened a pull request.

If it's not planned, feel free to close the issue.


Any plans to create installers for the latest versions of Python?

Are there any plans to create new installers for the latest versions of Python that were released 2022-03-17?
https://pythoninsider.blogspot.com/2022/03/python-3103-3911-3813-and-3713-are-now.html
Thanks!

I had the installers built a few hours ago, but GitHub had a partial outage that prevented me from pushing them. GitHub just fixed the outage, so Python 3.7.13 and 3.8.13 are now available.


How to create relationships between entities

I do have around 15 entities and want to create relationship between those.
I was able to create entity.cdm.json file using MS Documentation but entity.cdm.json in cdm's github repository have "foreignKeyAttribute" clause.
Tried to figure exactly how this clause came but was unable to do. As there are few blogs and videos on internet regarding cdm and none talks about creating relationship for entities.
Can you please guide me on this ??
Thank You !!

Hi @deepspraj, please take a look at this sample; however, please note Attribute Resolution Guidance is being deprecated in favor of Projections, learn more here.
more useful links:  https://learn.microsoft.com/en-us/common-data-model/sdk/projections/replaceasforeignkey
https://github.com/microsoft/CDM/tree/master/samples/8-logical-manipulation-using-projections
Hope this can help. Feel free to ask more questions.

Closing this issue as there has been no update. Please re-activate if there are additional queries / issues with creating relationships

@llawwaii Thank you for guiding us.
As stated by you the sample no 6 is supported by C# and Java. Can you please show me the path where I can get to know how to generate relationships between entities using Python?
When we create relationships in manifest file is it necessary to mention primary and foreign key attribute in entity.cdm.json file   ?
And when we try to generate relationship between entities using C# code in manifest file, this code  doesn't create entity.cdm.json file respectively for entities but updates the manifest file with partition status of each entity.


Icon Buttons shifted down when next to another div

In v2.0 any icon button gets shifted down by about 50% of its height when placed next to another element. Like this:

This happens when a single icon button or a group. See the html code below for the screenshot above.

Width

        <input type="text" style="" id="num_input" placeholder="">
        <button class="ui icon button" tabindex="-1" id="num_undo"></button>

        <button class="ui compact icon button" id="num_minus"></button>
        <button class="ui compact icon button" id="num_plus"></button>

Through some trial and error I found that adding the following css, overriding the same block in semantic.min.css, to my site fixes the problem:
.ui.icon.button>.icon, .ui.icon.buttons .button>.icon {
	vertical-align: inherit;
}

Since vertical align is "top" in the semantic css, I would think that's supposed to be the right thing, but clearly it's not doing what it should.
Any thoughts on why this is happening?

With just the part of the code you provided I am unable to replicate
http://jsfiddle.net/uhqas1st/
Setting to middle should make it look more exact as input is 2px taller due to its border.
http://jsfiddle.net/fmd6fxy4/

Closing until there's a test case.

without a testable testcase we cannot help unfortunately

Please, see index.html attached in previous post


Give users an option to specify their home server

Might be nice to give users the option to specify their home server. Then when clicking a profile from their StreetPass list they can be taken to that profile as viewed on their home server rather than the profile's server. This would make follows and interactions a bit easier.
Thanks for the extension!

this is a great idea. more UI/UX features after the safari launch!

This would be really helpful because we are developing ActivityPub-enabled sites and StreetPass is finding the profile but then it sends you to the homepage (since the homepage is the profile itself).  If it sends you to your own instance with a search on, it'll be really easy to follow!

This is in the roadmap! I needed to start saving usernames (not just profile urls) for this to be possible, which just handed in v2023.13! It would’ve been possible to infer usernames from a profile url, but that isn’t technically a part of the spec and I found enough edge cases to decide it needed to be done a little more formally. After that I can expose a settings screen to set the url scheme you want mastodon links to be.
Plan is for v2023.14 I’m gonna ship an update to start showing avatar images in StreetPass, and get to this in 2023.15

This feature is shipped! https://mastodon.social/@tvler/111177846049070128


Restore Azure SQL database from LTR

Hello Team,
I have a feedback on https://docs.microsoft.com/en-in/azure/sql-database/sql-database-long-term-retention#restore-database-from-ltr-backup
The database can be restored to any existing server under the same subscription as the original database.
Above is what document says, but I do not think any existing server is correct. LTR enables you to restore on the same server as original database only.  Please correct
[Enter feedback here]

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

ID: 2b388152-5d9d-bfb9-1dd3-168b4877ac5a
Version Independent ID: 901abe21-41fd-c208-6301-9cc45acf0e4f
Content: Store backups for up to 10 years - Azure SQL Database
Content Source: articles/sql-database/sql-database-long-term-retention.md
Service: sql-database
Sub-service: backup-restore
GitHub Login: @anosov1960
Microsoft Alias: sashan

@mailtogurvindersingh Thank you for your feedback! We will review and update as appropriate.

@mailtogurvindersingh You will be able to restore the backup to any server.
You can use the below and cmdlet specify the ServerName parameter

# restore a specific LTR backup
Restore-AzSqlDatabase -FromLongTermRetentionBackup -ResourceId $ltrBackup.ResourceId -ServerName $serverName -ResourceGroupName $resourceGroup `
    -TargetDatabaseName $dbName -ServiceObjectiveName P1

Do let us know if you have further questions.

Thanks for the clarification. Wondering, Why is this not supported thru azure portal?

@mailtogurvindersingh Yes, this functionality is not available from the Portal today.
This is a feature request in our UserVoice and the product team will prioritize it accordingly and make it available.
We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


fix to get extension if link has query params after extension

Previous Behavior
Previously getExt return the object with extension having any string after "."
Now
getExt will return ext in between '.' and '?' (so it trim the query params including question mark)
Blocking Cause
On Windows Special characters (which are found in query params '?' '&' ) are not allowed in file or folder naming convention which is not allowing file stream to write.
This PR is raise again this issue

@dr-dimitru Can you please review it

Could you please send this PR to dev branch?

@dr-dimitru Sure


reload data

When I fetched data from server, what I should do to reload datasource

It should automatically reload, as long as your datasource is a state variable

It should automatically reload, as long as your datasource is a state variable

Hi @ThasianX , I am using ElegantTimeline-SwiftUI, Where we need to create State variable for server data reload ? I mean in MonthlyCalendarDataSource, YearlyCalendarDataSource or ElegantCalendarDataSource ?
I tried but it is not working for me, Can you please help me out in this ?

Create an @State variable in the same component or a parent component that implements the calendar


Added custom key identifier

According to
https://msdn.microsoft.com/Library/Azure/Ad/Graph/api/entity-and-complex-type-reference#keycredential-type
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Did a commit to Azure/azure-sdk-for-go:
https://github.com/Azure/azure-sdk-for-go/commit/add8926a062d1fb9d1a627ef06203fb0dc2afef0

Did a commit to Azure/azure-sdk-for-python:
https://github.com/Azure/azure-sdk-for-python/commit/147d1d6bd2f92d45bc94979ccba5c851aeab3ada

The change looks good to me.  Once @darshanhs90 or somebody else from the service teams approves I will merge.

Ping @darshanhs90

Let me add one of the guys from the graph team to take a look at this,as they shall have more context about this

@jmprieur Could you add any dev on your team to look at this PR?

Ping @jmprieur

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go


Bot not working anymore - Authenticated media?

This bot has worked perfectly for me the last few months, making sure I can read voice messages while not having the time to actually read them.
Now it does not work anymore, the logs only says
2024-12-05 08:59:20,030 - INFO - download_mxc response: DownloadError: M_NOT_FOUND Not found
2024-12-05 08:59:20,030 - main_function - ERROR - Download of media file failed
2024-12-05 08:59:20,030 - ERROR - Download of media file failed
Task exception was never retrieved
future: <Task finished name='Task-1563' coro=<Bot.main_function() done, defined at /app/src/bot.py:185> exception=AttributeError("'NoneType' object has no attribute 'startswith'")>
Traceback (most recent call last):
  File "/app/src/bot.py", line 242, in main_function
    media_type.startswith("audio/") and evt_filename.startswith("recording")
    ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'startswith'

I am guessing that this is because of the enabled authenticated media update in synapse, where newly uploaded media cannot be fetched anymore without authentication.
If this is the correct assessment, the bot would need an update.
Alternative
One could temporarily set this option to false: https://element-hq.github.io/synapse/v1.120/usage/configuration/config_documentation.html#enable_authenticated_media
But as this option will be removed later this would still only be a short term solution
//Edit: I had a quick glance at the source code it seemed like only nio would need to be updated, and the requirements.txt didn't specify a version. So I exec-d into the bot and did a pip install --upgrade -r requirements.txt from the app folder, and now it works again.
So I guess the only thing needed is a docker image update. Could you execute one so us docker user can use the image again?

Thank you for sharing this.
https://github.com/hibobmaster/matrix-stt-bot/actions/runs/12178242872/job/33967787643

Thanks for the quick update :)


Skip dry run on missing resources for backup

Without it, the backup crds are failed to be synced.

The change isn't tested in the e2e suite, merging.