fastlane 1.84.0 breaks badge action

New Issue Checklist

[x] Updated fastlane to the latest version

Issue Description
There is a conflict in mini_magick. I don't have enough knowledge of ruby and gems to know if I could fix this by myself.
Complete output when running fastlane, including the stack trace and command used
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:2007:in `raise_if_conflicts': Unable to activate badge-0.3.0, because mini_magick-4.5.1 conflicts with mini_magick (~> 4.0.2) (Gem::LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/specification.rb:1176:in `activate'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems.rb:186:in `rescue in try_activate'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems.rb:183:in `try_activate'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/actions/badge.rb:6:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/runner.rb:129:in `block in execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/runner.rb:128:in `chdir'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/runner.rb:128:in `execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/fast_file.rb:149:in `method_missing'
	from Fastfile:80:in `block (2 levels) in parsing_binding'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/lane.rb:36:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/lane.rb:36:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/runner.rb:52:in `block in execute'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/runner.rb:46:in `chdir'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/runner.rb:46:in `execute'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/commands_generator.rb:41:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.43.1/lib/fastlane_core/ui/fastlane_runner.rb:26:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/commands_generator.rb:171:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/lib/fastlane/commands_generator.rb:12:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.84.0/bin/fastlane:6:in `<top (required)>'
	from /usr/local/bin/fastlane:23:in `load'
	from /usr/local/bin/fastlane:23:in `<main>'

Configuration Files
Fastfile:
  lane :beta do

	ensure_git_status_clean

	build_number = number_of_commits
	increment_build_number(build_number: build_number)

    match(type: "appstore", readonly: true)

    version = get_version_number(xcodeproj: "thanks.xcodeproj")
    build_number = number_of_commits
    badge(shield: version.to_s+"-"+build_number.to_s+"-orange", no_badge: true)

    gym(
    	scheme: 'thanksinhouse',
   		use_legacy_build_api: true,
   		include_symbols: true
    )

    pilot

    reset_git_repo

  end

Environment
fastlane version (run fastlane -v): 1.84.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? No

Hi @denbec thanks for the report!  This is a conflict between frameit's mini_magick dependency and badge's.  Badge merged a compatibility PR this morning  https://github.com/HazAT/badge/pull/22 it should be fixed in the next release.
If you're not using frameit you should be able to downgrade:
gem uninstall mini_magick -v 4.5.1
gem install mini_magick -v 4.0.2

In order to get unblocked.

badge 0.4.1 is released now, you should be able to get it with gem install badge

Perfect, is working again. Thank you guys.


⚠ SceneTime has degraded performance

In 319fd79, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1031 ms

Resolved: SceneTime performance has improved in 6a99d5d after 10 minutes.


Update to handsontable ^3.0.0

Piateczka panowie – zmergujcie lub nie, ale wiedzcie ze kobiety i dzieci placza nie majac handsontable 3.x jako dependancy w react-table

Cześć @jandom
myślę, że jak nie będzie jakiś większych glitchy to spokojnie możemy podnieść wersję. Mogłbyś podpisać nasze CLA? Niestety bez tego nie jesteśmy w stanie korzystać z kodu oferowanego przez contributorów.

@AMBudnik 💥 zrobione!

A widzisz Janku, jeszcze jedna sprawa. Merge'ujemy tylko z developa. Mógłbyś zmienić branch? Zmiany pewno pójdą razem z https://github.com/handsontable/react-handsontable/issues/65 w najnowszym releasie

Gentlemen, any updates on this?

@jansiegel @AMBudnik good point – what can we do to help push this puppy out the door?

We're having some issues with Numbro (our dependency) but the last update (around 40min ago) was positive. We should be able to push a new version (4.0.0 Handsontable PRO) to the wrapper as soon as the Handsontable PRO gets published. This is planned for this Wednesday.

Hey guys I was just wondering if there were updates on the merge?

Handsontable maintainers – the world needs you. As above, women and children, as well as numerous male devs, are crying waiting for a resolution to this problem happen. We need a hero (for the end of the dep-upgrade night)

We have successfully pushed the Handsontable CE and PRO 4.0.0 in the previous week. I hope that we will be able to update react wrapper as well. This task is on our to-do list for this and next week.

@jandom The cries may finally stop, as @handsontable/react and @handsontable-pro/react were just released, and they both list<EMAIL_ADDRESS>as a peerDependency!

Thank you! I just have a comment... is anyone else having issues with CSS? My tables are not displaying correctly most of the time. Maybe it is the way I am importing the stylesheet?

Never mind, I am using rails and webpacker. It seems that it was the order at which I was loading the stylesheets.
Thanks for all the work guys!


Add an option to disable the documentation popup

Editor: VSCodium
I wasn't able to find a way to stop the documentation popup from appearing while typing. It can be stopped from appearing on mouse hover by setting "editor.hover.enabled", optionally scoped to just "[rust]" files, but no matter what I've tried, I couldn't stop it from appearing while typing. The most annoying part of this is that when writing a macro invocation and dismissing the popup after writing the opening parenthesis, it re-appears after every typed comma (even within string literals!).
In my case, I'm writing lots of sqlx::query_as! invocations. query_as! has more than enough docs to expand the popup to its maximum size, which makes it overlay lots of surrounding things in the code that I often want to see.

Perhaps you are looking for callInfo?
https://github.com/matklad/config/blob/e34228fad6dacf51959ffb6fb6da63d75cb31759/home/.config/Code/User/settings.json#L118

Why did I not find this before ._.
Thanks so much for the extremely fast response! For some reason, a tiny empty popup remains after setting "rust-analyzer.callInfo.full": false, but this largely solves my issue, without fully removing the (otherwise very useful) popup!

For some reason, a tiny empty popup remains

That's strage, a minimal reproducing example would be helpful!

@matklad I can reproduce this by just opening a fresh cargo inited project with "rust-analyzer.callInfo.full": false by adding a comma before the closing parenthesis in println!("Hello, World!");, or by typing main( inside main.

Just noticed my version of RA is a bit outdated, will try to fix..

Okay, so I can still reproduce the empty popup with rust-analyzer 2020-07-06 (8b0983e). Will open a separate issue about publishing the extension on Open VSX.

I see there already was one.

Yeah... but it seems more popular than I've expected. I wonder if some form of automatic sync can be setup betwen the two repositories -- I am still not thrilled about managing two sets of access tokens...

I can't reproduce the issue locally (which is strange), but I think the fix would be to say if consice && has_zero_params { return None} somewhere around here: https://github.com/rust-analyzer/rust-analyzer/blob/41feb816c98894d48df97193eb085738e405a3c2/crates/rust-analyzer/src/handlers.rs#L560
The problem is that the data types for expressing call info are a bit of a mess right now, so it wont be trivial to fix.

I see there already was one.

Yeah... but it seems more popular than I've expected. I wonder if some form of automatic sync can be setup betwen the two repositories -- I am still not thrilled about managing two sets of access tokens...

AFAIK Open VSX has some form of automation for this – their Registry is pretty filled with packages "Packaged by Open VSX". AFAICT, the reason rust-analyzer isn't published on there by them is https://github.com/open-vsx/publish-extensions/issues/41. You may not have to manage publishing yourself at all if that can be fixed.

The problem is that the data types for expressing call info are a bit of a mess right now, so it wont be trivial to fix.

Should I open a separate issue about this then?


Server Crash Bug

In 1.16.1, Entering the final end portal crashes the whole server. Tested with 4.1.0
Log: https://pastebin.com/4f4J5unT

As far as I can tell from this error there isn't a mention of a plugin in the error so this might actually be a bug in your server software which you might want to report to them.

Currently, the server is hosted on Shockbyte, I have opened a ticket with them, I will download the server and try hosting on my personal rig to confirm this.

The issue persists, at first when going through the exit end portal, it spawns inside the nether portal in the world instead of spawn(e.g bed), after trying to change the spawn it no crashes the server. Log: https://pastebin.com/tmr1Z9LJ

I have solved the issue by resetting the plugin files, yet now it respawns me in the wrong location and not the world spawn.

I'm having a small issue, whenever I go to The End by going through the End portal, it creates an Nether portal once I arrive?


PSE Core Program Stage II: Number Guessing Game

Number Guessing Game

[x] Number guessing game: the game data is stored on-chain.
[x] zkp: range proof is performed when each player submit a number on-chain.
[x] zkp: proof is performed when each player reveal their number. The number will be stored in browser local storage first and later compute proof for revelation. It will be verified on-chain.
[x] Hardhat test cases for the zkp range proof and number proof verification on smart contract.
[x] Reveal only the winning submission, but not the actual mean.
[x] Have an advanced mode allowing ppl to submit commitment out of range and open commitment not the same as what it submitted, by URL param e.g. /game/X?advanced=true.
[x] Add instructions on how to play the game
[x] Able to deploy the game on OP Testnet
[x] Write a blogpost & record a video to document your dev progress, learning, and difficulty overcame.
[ ] Frontend subscribes to chain events, so you don't have to do a hard refresh.

This is resolved. The last one on chain subscription will be opened in a separate issue.


Implement parameter-dependent transition

Implemented, works like:
    <state id="indexpage">
        <transition event="login" cond="user === 'hacker'" target="isolated"/>
        <transition event="login" cond="user === 'valid'" target="authenticated"/>
    </state>

The parameters can be attached with additional JsonObject "conditions":
Json.createObjectBuilder().
                add("event", event).
                add("conditions", conditions).
                build();

Unfortunately: using JS as expression language introduces a bug and makes the state not-serializable (issues submitted to SXCML)


[Bug]

Context / Scenario
Scenario;
I have 3 different platforms;

A kernel memory service running in a  local docker
A Kernel memory service tane azure app container
A dotnet serverless app running with Azure Search Service

All settings are the same for all 3 platform
SearchAsync finds different results.
What happened?
When SearchAsync is called with minRelevance: 0.6 for all 3 platforms above,

The service running in local docker finds no results.
But the service running in Azure app container and dotnet serverless app find 10 results.

**When I decrease minRelevance: 0.01,

All find 10 results.

What can cause this result?
Importance
a fix would make my life easier
Platform, Language, Versions
Windows, C#, last version of KM
Relevant log output

The service has some defaults that you might not have in the serverless, so I would compare these configurations:

KernelMemory.DataIngestion.TextPartitioning
KernelMemory.Retrieval.SearchClient
KernelMemory.Services.AzureAzISearch

Do you have 3 different results or 2 different results? Could you provide more details about the differences, and about the configurations used? Are you using hybrid search in any of the 3?

Thanks for the prompt reply
The result only differs if I send the same query to the Kernel Memory Service running Locally (Item -1). The rest have the same result.
1. configurations for kernel memory service running in a local docker

Logs from  this service

configurations for the  kernel memory service running in the Azure app container, the same as the kernel memory service running in a local docker

Just in case some manual entry

3. The dotnet serverless app running with Azure Search Service


using sampled softmax is slow in 'double-tower' like model #49145

I'm trying to implement a 'double tower' like recommendation model, as something described in paper 'Sampling-Bias-Corrected Neural Modeling for Large Corpus Item Recommendations'. It mentioned to use 'in batch softmax' to learn the embedding. I think this 'in batch softmax' is very likely to the 'sampled softmax' used in word2vec. So I tried to use the tf.nn.nce_loss to implement this logic. I wrote some code try to train a simple model.
graph = tf.Graph()
vocabulary_size = 300000
embedding_size = 128
dense_size = 64
batch_size = 256

import math

with graph.as_default():
# Input data.

train_inputs = tf.placeholder(tf.int32, shape=[batch_size])
train_labels = tf.placeholder(tf.int32, shape=[batch_size, 1])

# Ops and variables pinned to the CPU because of missing GPU implementation
with tf.device('/cpu:0'):
    # Look up embeddings for inputs.
    embeddings = tf.Variable(
        tf.random_uniform([vocabulary_size, embedding_size], -1.0, 1.0))
    user = tf.nn.embedding_lookup(embeddings, train_inputs)
    user = tf.layers.dense(user, dense_size, activation='relu')
    user = tf.nn.l2_normalize(user, axis=-1)
    print(user)

    right_embedding = tf.Variable(
        tf.random_uniform([vocabulary_size, embedding_size], -1.0, 1.0))
    right_hidden = tf.layers.dense(right_embedding, dense_size, activation='relu')

    nce_biases = tf.Variable(tf.zeros([vocabulary_size]),dtype=tf.float32,trainable=False)

    loss = tf.reduce_mean(
        tf.nn.nce_loss(weights=right_hidden,biases=nce_biases, inputs=user, labels=train_labels,
             num_sampled=num_sampled, num_classes=vocabulary_size))

    optimizer = tf.train.GradientDescentOptimizer(1.0).minimize(loss)
    init = tf.global_variables_initializer()

and I found that the training is really slow. I doubt that it's because every time tensorflow need to calculate the right_hidden = tf.layers.dense(right_embedding, dense_size, activation='relu'), and the sampled softmax only applies to the last matrix "right_hidden", but we still need to calculate the entire right_hidden matrix beforehand. So am I right? or anyone can give a better solution to deal with the 'sampled softmax' or 'in batch softmax'. thanks
And here is the colab link to reproduce the result:
https://colab.research.google.com/drive/11prB0qNvxXAiE-zzD9TtBn4OS8ozVeY_?usp=sharing

And here is the colab link to reproduce the result:
https://colab.research.google.com/drive/11prB0qNvxXAiE-zzD9TtBn4OS8ozVeY_?usp=sharing

I found tensorflow recommenders have already implement in batch softmax. https://www.tensorflow.org/recommenders


Support for ABB Omnicore + Robotware 7.0

Greetings,
Congratulations on the latest release! The packages here will greatly benefit a lot of people including myself.
I apologize if this is a misplaced question and should be targeted at abb_libegm instead.
I'm curious about the effort needed to make this driver compatible with newer ABB robots that ship with Omnicore controllers running Robotware >= 7.0. I understand from the description that only IRC controllers with Robotware < 7.0 are presently supported.
It would be great if someone could highlight the exact set of items that need to be accomplished to achieve this goal. (what functionalities to add to which packages for example). I would be happy to contribute development effort on these items assuming I have the capability 😄

I have not tried yet but planning to soon. It seems from https://github.com/ros-industrial/abb_libegm/issues/118 that the underlying EGM protocol should function fine. The RWS interface may not work though. Have you tried it yet?

No, it will not work.
At least not with the default version of abb_librws.
The fork maintained by NoMagic tries to address this: ros-industrial/abb_librws#147.

Thanks a lot for the suggestions. Will explore those options and report my findings here.

I looked into this and have encountered compilation errors in the rws_service_provider_ros.cpp file:
/home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/src/rws_service_provider_ros.cpp:1098:31: error: ‘abb::rws::RWSStateMachineInterface’ has not been declared
 1098 |   rws_manager_.runService([&](abb::rws::RWSStateMachineInterface& interface) {
      |                               ^~~
/home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/src/rws_service_provider_ros.cpp: In lambda function:
/home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/src/rws_service_provider_ros.cpp:1102:19: error: request for member ‘setRAPIDSymbolData’ in ‘interface’, which is of non-class type ‘int’
 1102 |     if (interface.setRAPIDSymbolData(req->task, RAPIDSymbols::SG_COMMAND_INPUT, sg_command_input) &&
      |                   ^~~~~~~~~~~~~~~~~~
/home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/src/rws_service_provider_ros.cpp:1102:49: error: ‘RAPIDSymbols’ has not been declared
 1102 |     if (interface.setRAPIDSymbolData(req->task, RAPIDSymbols::SG_COMMAND_INPUT, sg_command_input) &&
      |                                                 ^~~~~~~~~~~~
/home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/src/rws_service_provider_ros.cpp:1103:19: error: request for member ‘setRAPIDSymbolData’ in ‘interface’, which is of non-class type ‘int’
 1103 |         interface.setRAPIDSymbolData(req->task, RAPIDSymbols::SG_TARGET_POSTION_INPUT, sg_target_position_input))
      |                   ^~~~~~~~~~~~~~~~~~
/home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/src/rws_service_provider_ros.cpp:1103:49: error: ‘RAPIDSymbols’ has not been declared
 1103 |         interface.setRAPIDSymbolData(req->task, RAPIDSymbols::SG_TARGET_POSTION_INPUT, sg_target_position_input))
      |                                                 ^~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
                 from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
                 from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
                 from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
                 from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
                 from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
                 from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
                 from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
                 from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
                 from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
                 from /home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/include/abb_rws_client/rws_service_provider_ros.hpp:46,
                 from /home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/src/rws_service_provider_ros.cpp:41:
/home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/src/rws_service_provider_ros.cpp:1111:58: error: request for member ‘getLogTextLatestEvent’ in ‘interface’, which is of non-class type ‘int’
 1111 |       RCLCPP_DEBUG_STREAM(node_->get_logger(), interface.getLogTextLatestEvent());
      |                                                          ^~~~~~~~~~~~~~~~~~~~~
/home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/src/rws_service_provider_ros.cpp: In member function ‘bool abb_rws_client::RWSServiceProviderROS::setSGCommand(abb_rapid_sm_addin_msgs::srv::SetSGCommand_Request_<std::allocator<void> >::SharedPtr, abb_rapid_sm_addin_msgs::srv::SetSGCommand_Response_<std::allocator<void> >::SharedPtr)’:
/home/nuc-haptics/ws_abb_ros2/src/abb_ros2/abb_rws_client/src/rws_service_provider_ros.cpp:1098:26: error: cannot convert ‘abb_rws_client::RWSServiceProviderROS::setSGCommand(abb_rapid_sm_addin_msgs::srv::SetSGCommand_Request_<std::allocator<void> >::SharedPtr, abb_rapid_sm_addin_msgs::srv::SetSGCommand_Response_<std::allocator<void> >::SharedPtr)::<lambda(int&)>’ to ‘const ServiceFunctor&’ {aka ‘const std::function<void(abb::rws::v2_0::RWSStateMachineInterface&)>&’}
 1098 |   rws_manager_.runService([&](abb::rws::RWSStateMachineInterface& interface) {
      |   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1099 |     abb::rws::RAPIDNum sg_command_input = static_cast<float>(req_command);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1100 |     abb::rws::RAPIDNum sg_target_position_input = req->target_position;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1101 |
      |
 1102 |     if (interface.setRAPIDSymbolData(req->task, RAPIDSymbols::SG_COMMAND_INPUT, sg_command_input) &&
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1103 |         interface.setRAPIDSymbolData(req->task, RAPIDSymbols::SG_TARGET_POSTION_INPUT, sg_target_position_input))
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1104 |     {
      |     ~
 1105 |       res->result_code = abb_robot_msgs::msg::ServiceResponses::RC_SUCCESS;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1106 |     }
      |     ~
 1107 |     else
      |     ~~~~
 1108 |     {
      |     ~
 1109 |       res->message = abb_robot_msgs::msg::ServiceResponses::FAILED;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1110 |       res->result_code = abb_robot_msgs::msg::ServiceResponses::RC_FAILED;
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1111 |       RCLCPP_DEBUG_STREAM(node_->get_logger(), interface.getLogTextLatestEvent());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1112 |     }
      |     ~
 1113 |   });

Will look into it further

I gave up on trying to interface via RWS 2.0- it's a beast. But I've been successfully commanding an Omnicore robot using this driver by modifying the hardware interface such that I do not get the initial join information via RWS but instead hardcode it https://github.com/Yadunund/abb_ros2/blob/fa9338c800f4a48cc1ed4bea74c05b3928ec16cd/abb_hardware_interface/src/abb_hardware_interface.cpp#L44-L93. RWS is only really used at the start to get the configuration of this robot.
I plan to open a PR which will allow users to get this infromation from the ros2_control.xacro instead if they do not want to rely on RWS. This way no hardcoding should be needed.

I've opened this PR that does not require any hardcoding. Would be great if someone else can give it a spin and share their findings.

Hi all,
I managed to make a porting of abb_librws to RWS 2.0. Here the repo.


Feature/checkboxes externally triggered

feature where checkboxes are hidden and instead button is added which in its onclick function can control behavior of these checkboxes.
e.g. simple hide/ show : http://jsfiddle.net/02cp4b5d/1/
or we can have checkboxes in a popover: http://jsfiddle.net/z7u3n01a/
... had request in my project to make more room  ;)  so i manage it this way(example 2 ), thought It might be useful

nice one! thanks


Strange behaviour of server with HTTP keep-alive connection

I used the provided send_file example with apache benchmark (ab). As ab is using HTTP 1.0 I modified example and  add Connection: keep-alive header as shown below:
fn simple_file_send(f: &str) -> ResponseFuture {
    // Serve a file by asynchronously reading it entirely into memory.
    // Uses tokio_fs to open file asynchronously, then tokio_io to read into
    // memory asynchronously.
    let filename = f.to_string(); // we need to copy for lifetime issues
    Box::new(tokio_fs::file::File::open(filename)
        .and_then(|file| {
            let buf: Vec<u8> = Vec::new();
            tokio_io::io::read_to_end(file, buf)
                .and_then(|item| {
                    let res = Response::builder()
                    .header(hyper::header::CONNECTION, "keep-alive")
                    .body(item.1.into())
                    .unwrap();
                    Ok(res)
                })
                .or_else(|_| {
                    Ok(Response::builder()
                        .status(StatusCode::INTERNAL_SERVER_ERROR)
                        .body(Body::empty())
                        .unwrap())
                })
        })
        .or_else(|_| {
            Ok(Response::builder()
                .status(StatusCode::NOT_FOUND)
                .body(NOTFOUND.into())
                .unwrap())
        }))
}

Then I use this command:
ab  -n 10 -c 1  -k  http://localhost:1337/

For default provided file everything went ok, however for bigger file - ~ 90K I got problems:
ab  -n 10 -c 1  -k  http://localhost:1337/
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)...apr_pollset_poll: The timeout specified has expired (70007)
Total of 5 requests completed

For more requests ab breaks after 10 failures
I was looking with wireshark into TCP packets, but I'm no expert, but noticed this:

for smaller file, where everything worked, both request and response fit into one package
for bigger file responses were split between several packets, also I've seen there several connection resets

I run example server as:
cargo run --release --example send_file

My platform is linux Ubuntu 16.04 64 bits.
Compiled with rustc 1.28.0-nightly (84804c387 2018-06-26)
hyper is current clone of master branch
I used ab previously in some tests, it looks like reliable tool to me.

Would you be able to capture the request and response headers? Bonus points if you could capture the logs from hyper (like using env_logger with RUST_LOG=hyper).
As for a benchmark tool, I have actually had problems with ab. I personally find wrk to be much better.

headers:
GET / HTTP/1.0
Connection: Keep-Alive
Host: localhost:1337
User-Agent: ApacheBench/2.3
Accept: */*

HTTP/1.0 200 OK
connection: keep-alive
content-length: 88652
date: Mon, 02 Jul 2018 08:52:48 GMT

Log:
 TRACE hyper::proto::h1::conn > Conn::read_head
 TRACE hyper::proto::h1::conn > flushed({role=server}): State { reading: Init, writing: Init, keep_alive: Busy, error: None }
 TRACE hyper::proto::h1::conn > Conn::read_head
 DEBUG hyper::proto::h1::io   > read 106 bytes
 TRACE hyper::proto::h1::role > Request.parse([Header; 100], [u8; 106])
 TRACE hyper::proto::h1::role > Request.parse Complete(106)
 DEBUG hyper::proto::h1::io   > parsed 4 headers
 DEBUG hyper::proto::h1::conn > incoming body is empty
 TRACE hyper::proto::h1::conn > read_keep_alive; is_mid_message=true
 TRACE hyper::proto::h1::role > Server::encode status=200, body=Some(Known(88652)), req_method=Some(GET)
 DEBUG hyper::proto::h1::io   > flushed 88755 bytes
 DEBUG hyper::proto::h1::io   > read 106 bytes
 TRACE hyper::proto::h1::conn > flushed({role=server}): State { reading: Init, writing: Init, keep_alive: Idle, error: None }
 TRACE hyper::proto::h1::conn > Conn::read_head
 TRACE hyper::proto::h1::role > Request.parse([Header; 100], [u8; 106])
 TRACE hyper::proto::h1::role > Request.parse Complete(106)
 DEBUG hyper::proto::h1::io   > parsed 4 headers
 DEBUG hyper::proto::h1::conn > incoming body is empty
 TRACE hyper::proto::h1::conn > read_keep_alive; is_mid_message=true
 TRACE hyper::proto::h1::role > Server::encode status=200, body=Some(Known(88652)), req_method=Some(GET)
 DEBUG hyper::proto::h1::dispatch > error writing: Connection reset by peer (os error 104)
 DEBUG hyper::server::conn::upgrades > error polling connection protocol: error writing a body to connection: Connection reset by peer (os error 104)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Connection reset by peer (os error 104)
 TRACE hyper::proto::h1::conn        > Conn::read_head
 TRACE hyper::proto::h1::conn        > flushed({role=server}): State { reading: Init, writing: Init, keep_alive: Busy, error: None }
 TRACE hyper::proto::h1::conn        > Conn::read_head
 DEBUG hyper::proto::h1::io          > read 106 bytes
 TRACE hyper::proto::h1::role        > Request.parse([Header; 100], [u8; 106])
 TRACE hyper::proto::h1::role        > Request.parse Complete(106)
 DEBUG hyper::proto::h1::io          > parsed 4 headers
 DEBUG hyper::proto::h1::conn        > incoming body is empty
 TRACE hyper::proto::h1::conn        > read_keep_alive; is_mid_message=true
 TRACE hyper::proto::h1::role        > Server::encode status=200, body=Some(Known(88652)), req_method=Some(GET)
 DEBUG hyper::proto::h1::io          > flushed 88755 bytes
 DEBUG hyper::proto::h1::io          > read 106 bytes
 TRACE hyper::proto::h1::conn        > flushed({role=server}): State { reading: Init, writing: Init, keep_alive: Idle, error: None }
 TRACE hyper::proto::h1::conn        > Conn::read_head
 TRACE hyper::proto::h1::role        > Request.parse([Header; 100], [u8; 106])
 TRACE hyper::proto::h1::role        > Request.parse Complete(106)
 DEBUG hyper::proto::h1::io          > parsed 4 headers
 DEBUG hyper::proto::h1::conn        > incoming body is empty
 TRACE hyper::proto::h1::conn        > read_keep_alive; is_mid_message=true
 TRACE hyper::proto::h1::role        > Server::encode status=200, body=Some(Known(88652)), req_method=Some(GET)
 DEBUG hyper::proto::h1::dispatch    > error writing: Connection reset by peer (os error 104)
 DEBUG hyper::server::conn::upgrades > error polling connection protocol: error writing a body to connection: Connection reset by peer (os error 104)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Connection reset by peer (os error 104)
 TRACE hyper::proto::h1::conn        > Conn::read_head
 TRACE hyper::proto::h1::conn        > flushed({role=server}): State { reading: Init, writing: Init, keep_alive: Busy, error: None }
 TRACE hyper::proto::h1::conn        > Conn::read_head
 DEBUG hyper::proto::h1::io          > read 106 bytes
 TRACE hyper::proto::h1::role        > Request.parse([Header; 100], [u8; 106])
 TRACE hyper::proto::h1::role        > Request.parse Complete(106)
 DEBUG hyper::proto::h1::io          > parsed 4 headers
 DEBUG hyper::proto::h1::conn        > incoming body is empty
 TRACE hyper::proto::h1::conn        > read_keep_alive; is_mid_message=true
 TRACE hyper::proto::h1::role        > Server::encode status=200, body=Some(Known(88652)), req_method=Some(GET)
 DEBUG hyper::proto::h1::io          > flushed 88755 bytes
 DEBUG hyper::proto::h1::io          > read 106 bytes
 TRACE hyper::proto::h1::conn        > flushed({role=server}): State { reading: Init, writing: Init, keep_alive: Idle, error: None }
 TRACE hyper::proto::h1::conn        > Conn::read_head
 TRACE hyper::proto::h1::role        > Request.parse([Header; 100], [u8; 106])
 TRACE hyper::proto::h1::role        > Request.parse Complete(106)
 DEBUG hyper::proto::h1::io          > parsed 4 headers
 DEBUG hyper::proto::h1::conn        > incoming body is empty
 TRACE hyper::proto::h1::conn        > read_keep_alive; is_mid_message=true
 TRACE hyper::proto::h1::role        > Server::encode status=200, body=Some(Known(88652)), req_method=Some(GET)
 TRACE hyper::proto::h1::conn        > Conn::read_head
 TRACE hyper::proto::h1::conn        > flushed({role=server}): State { reading: Init, writing: Init, keep_alive: Busy, error: None }
 TRACE hyper::proto::h1::conn        > Conn::read_head
 DEBUG hyper::proto::h1::io          > read 106 bytes
 TRACE hyper::proto::h1::role        > Request.parse([Header; 100], [u8; 106])
 TRACE hyper::proto::h1::role        > Request.parse Complete(106)
 DEBUG hyper::proto::h1::io          > parsed 4 headers
 DEBUG hyper::proto::h1::conn        > incoming body is empty
 TRACE hyper::proto::h1::conn        > read_keep_alive; is_mid_message=true
 TRACE hyper::proto::h1::role        > Server::encode status=200, body=Some(Known(88652)), req_method=Some(GET)
 DEBUG hyper::proto::h1::io          > flushed 88755 bytes
 DEBUG hyper::proto::h1::io          > read 106 bytes
 TRACE hyper::proto::h1::conn        > flushed({role=server}): State { reading: Init, writing: Init, keep_alive: Idle, error: None }
 TRACE hyper::proto::h1::conn        > Conn::read_head
 TRACE hyper::proto::h1::role        > Request.parse([Header; 100], [u8; 106])
 TRACE hyper::proto::h1::role        > Request.parse Complete(106)
 DEBUG hyper::proto::h1::io          > parsed 4 headers
 DEBUG hyper::proto::h1::conn        > incoming body is empty
 TRACE hyper::proto::h1::conn        > read_keep_alive; is_mid_message=true
 TRACE hyper::proto::h1::role        > Server::encode status=200, body=Some(Known(88652)), req_method=Some(GET)
 DEBUG hyper::proto::h1::dispatch    > error writing: Connection reset by peer (os error 104)
 DEBUG hyper::server::conn::upgrades > error polling connection protocol: error writing a body to connection: Connection reset by peer (os error 104)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Connection reset by peer (os error 104)
 DEBUG hyper::proto::h1::dispatch    > error writing: Connection reset by peer (os error 104)
 DEBUG hyper::server::conn::upgrades > error polling connection protocol: error writing a body to connection: Connection reset by peer (os error 104)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Connection reset by peer (os error 104)
 TRACE hyper::proto::h1::conn        > Conn::read_head
 TRACE hyper::proto::h1::conn        > flushed({role=server}): State { reading: Init, writing: Init, keep_alive: Busy, error: None }
 TRACE hyper::proto::h1::conn        > Conn::read_head
 DEBUG hyper::proto::h1::io          > read 106 bytes
 TRACE hyper::proto::h1::role        > Request.parse([Header; 100], [u8; 106])
 TRACE hyper::proto::h1::role        > Request.parse Complete(106)
 DEBUG hyper::proto::h1::io          > parsed 4 headers
 DEBUG hyper::proto::h1::conn        > incoming body is empty
 TRACE hyper::proto::h1::conn        > read_keep_alive; is_mid_message=true
 TRACE hyper::proto::h1::role        > Server::encode status=200, body=Some(Known(88652)), req_method=Some(GET)
 DEBUG hyper::proto::h1::io          > flushed 88755 bytes
 DEBUG hyper::proto::h1::io          > read 106 bytes
 TRACE hyper::proto::h1::conn        > flushed({role=server}): State { reading: Init, writing: Init, keep_alive: Idle, error: None }
 TRACE hyper::proto::h1::conn        > Conn::read_head
 TRACE hyper::proto::h1::role        > Request.parse([Header; 100], [u8; 106])
 TRACE hyper::proto::h1::role        > Request.parse Complete(106)
 DEBUG hyper::proto::h1::io          > parsed 4 headers
 DEBUG hyper::proto::h1::conn        > incoming body is empty
 TRACE hyper::proto::h1::conn        > read_keep_alive; is_mid_message=true
 TRACE hyper::proto::h1::role        > Server::encode status=200, body=Some(Known(88652)), req_method=Some(GET)
 DEBUG hyper::proto::h1::dispatch    > error writing: Connection reset by peer (os error 104)
 DEBUG hyper::server::conn::upgrades > error polling connection protocol: error writing a body to connection: Connection reset by peer (os error 104)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Connection reset by peer (os error 104)

I'll try wrk tomorrow

for bigger file responses were split between several packets, also I've seen there several connection resets

Ah OK, so yes, with a ~90KB file, it will be sent over multiple packets (frequent packet size is much smaller, around 4-8KB).
I re-read your original message, and noticed you're seeing timeouts. What's the timeout that ab is waiting? Is it shorter than it takes to read the full file from disk?

@seanmonstar  - if you mean timeout reported by ab, then it's takes likes 20-30 secs and then tests ends. Definitely more then to read the file.

Hi,
I tried wrk - it seems to work better (it uses HTTP 1.1 where keep alive is by default) , but it does not report failed requests, but throughput looks reasonable.
Sometimes I see these errors in log, when wrk is ending. But I guess it might be wrk problem as it can close connections on test end and not wait for response.
TRACE hyper::proto::h1::conn        > flushed({role=server}): State { reading: Closed, writing: Init, keep_alive: Disabled, error: None }
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Broken pipe (os error 32)
 TRACE hyper::proto::h1::conn        > flushed({role=server}): State { reading: Closed, writing: Init, keep_alive: Disabled, error: None }
 DEBUG hyper::proto::h1::dispatch    > error writing: Broken pipe (os error 32)
 DEBUG hyper::server::conn::upgrades > error polling connection protocol: error writing a body to connection: Broken pipe (os error 32)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Broken pipe (os error 32)
 DEBUG hyper::proto::h1::dispatch    > error writing: Broken pipe (os error 32)
 DEBUG hyper::server::conn::upgrades > error polling connection protocol: error writing a body to connection: Broken pipe (os error 32)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Broken pipe (os error 32)
 DEBUG hyper::proto::h1::dispatch    > error writing: Broken pipe (os error 32)
 DEBUG hyper::server::conn::upgrades > error polling connection protocol: error writing a body to connection: Broken pipe (os error 32)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Broken pipe (os error 32)
 DEBUG hyper::proto::h1::dispatch    > error writing: Broken pipe (os error 32)
 DEBUG hyper::server::conn::upgrades > error polling connection protocol: error writing a body to connection: Broken pipe (os error 32)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Broken pipe (os error 32)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Broken pipe (os error 32)
 DEBUG hyper::server::conn::upgrades > error polling connection protocol: error writing a body to connection: Broken pipe (os error 32)
 DEBUG hyper::server::conn           > conn error: error writing a body to connection: Broken pipe (os error 32)

I can't see anything that suggests the issue is in hyper. It seems the tools are just closing connections. If I'm wrong, and an issue is identified, we can re-open!


Update trust_key_mng.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks, @scjane :)


Add Attendance Status to Service Delivery

Critical Changes
Changes
Issues Closed
New Metadata

Attendance Status field on Service Delivery

Deleted Metadata
Definition of Done
Refer to Asteroids DoD document to see any additional details for the items below

[ ] Place holder data is incorporated (Refer to Case Management Sample Data document)
[ ] Base axe-core JEST test included for any new LWC (No critical violations)
[ ] CRUD/FLS is enforced in Apex
[x] Update & Test permission sets to account for new features and CRUD/FLS
[ ] All modified classes are unit tested (Apex) at 100% coverage
[ ] UX approval or UX not necessary
[x] PR contains draft release notes
[x] Attach work item to the pull request with Lurch **Lurch:attach W-000000 or **Lurch:add
[ ] All acceptance criteria have been met

[x] Developer
[ ] Code Reviewer
[ ] QA

[ ] QE story level testing completed

W-8125646

Nice work, just a heads up... I repointed this to feature/attendance.

oops! thanks!!


improve kpt fn render error messages

improve some error messages and add a test no-pipeline-in-subpackage

@droot please take a look!

@phanimarupaka @etefera I am assuming you will take care of the site check issue? Merged this with @droot's permission on that basis


Added ability to retrieve all cells, rects, and items from the world.

This adds the ability to retrieve all cells, rects, and items from a world without having to keep track of these elements on your own. I found this to be a lacking feature when I was debugging my levels and could not figure out where unknown items were coming from.

May I ?

In my opinion, in terms of code-style, I find it much cleaner to declare all class attributes at the top of the file: it improves the discoverability of the possibilities offered by a class. (That's unrelated with this PR)
Since values() and keySet() have particular behavior, as described by the JavaDoc in HashMap, may I recommend adding some JavaDoc for those new methods (either rephrasing the stuff from HashMap, copy-pasting it, or maybe even just a simple @see at least) you included in the PR?

I feel it's implied that people shouldn't screw around with the elements or order directly via the get methods considering the way that the user is trained to use the library. I don't really see a point of duplicating the JavaDoc. Feel free to give me some examples to consider.
The code style is derived from Implicit Invocation's original contribution. In the context of this file, I think it's fine as is. The fields defined are usually specific to the method they are being used by and that's it. They aren't meant to be referenced by the rest of the file. They are provided as static fields to avoid excessive object creation during runtime.

I don't think we can copy the docs for values() and keySet() because there are multiple Maps/Collections and it's more descriptive to say whether it's getting items, cells, or rects. This looks good.


Generate noise

Hello! I read in the paper that the network is also able to generate noise: "Further, via manipulating the noisy latent representation, InvDN is also able to generate noise more similar to the original one.".

Does this mean the we can feed clean images to the network and get them noisy, similar to natural noise?

And if so, I got a bit lost in the code, how do I run this?

We provide an application for generating noise based on the idea of InvDN, please refer to "Learning to Decouple and Generate Seismic Random Noise via Invertible Neural Network" (https://ieeexplore.ieee.org/document/10227303).

Hello! I read in the paper that the network is also able to generate noise: "Further, via manipulating the noisy latent representation, InvDN is also able to generate noise more similar to the original one.".

Does this mean the we can feed clean images to the network and get them noisy, similar to natural noise?
And if so, I got a bit lost in the code, how do I run this?

We provide an application for generating noise based on the idea of InvDN, please refer to "Learning to Decouple and Generate Seismic Random Noise via Invertible Neural Network" (https://ieeexplore.ieee.org/document/10227303).


Small cleanup

Preview is available here:http://developers-pr181.previews.kube001.services.stellar-ops.com


Define process for deleting records

We need to be able to delete:

[ ] instance records
[ ] holdings records
[ ] item records
[ ] order records
[ ] circulation records
[ ] authority records

We need to consider the impact on:

[ ] discovery
[ ] acquisitions
[ ] circulation
[ ] ILL

Current process:
Bib records are suppressed and marked for deletion with a 948 MARC field. Then a member of MODS deletes the marked records.
Item and holdings records can be deleted by a range of people as needed.

Should check what is possible in Juniper and Kiwi

ILL works with the following:
instance records -create brief records for ILL borrowed items
item records -create brief records for ILL borrowed items
order records - creates for Acquisitions when we buy something we can't borrow
circulation records - all basic functions needed


Improve setting prices

Be sure to delete the dist folder before merging @0xcodercrane

Be sure to handle the dist comment I left

What we want is just a runnable file index.js. so I'd like to move index.js file to bin directory add dist to gitignore.

Be sure to handle the dist comment I left

What we want is just a runnable file index.js. so I'd like to move index.js file to bin directory add dist to gitignore.

Sounds good to me!

Broke the Action
https://github.com/ubiquity/bounty-bot/actions/runs/3554610485


Bump set-value

Fixes the vulnerability reported in https://github.com/BohemianCoding/SketchAPI/network/alert/package-lock.json/set-value/open

I've checked the set-value repo and I don't think there're are any breaking api changes changing to version 2.0.1 so I reckon this is safe to merge. As a follow on task we should update dependencies to latest versions sometime too (created a note in the backlog).


Add parameters attribute to schedules

Summary
The Schedule class now has a parameter property and an is_parameterized() method. Instructions and Channels also get these attributes. This follows suit with QuantumCircuit, and also allows us to improve the efficiency of parameter assignment, which has been done for Instructions.assign_parameters.

What you suggest is incompatible with the circuit interface: a parameter instance must be bound to a value. Order doesn't factor in

What you suggest is incompatible with the circuit interface: a parameter instance must be bound to a value. Order doesn't factor in. Please take a look

Thanks, I've taken a look, and have implemented a solution that at its core corresponds to a Function(schedule, list(parameters)), and Call(function, arguments). This enables the reuse of a parameterized code block.

for Gaussian(..., amp=alpha*beta), which is the 0th parameter?


Trying to implement per "voxel" colours.

I'm trying to implement per "voxel" colours but the colours are not in the right place.
Below is what it looks like

It is supposed to be something like Minecraft where the "green" is at the top and "brown" below and "grey" below that.
I think my culprit is
https://github.com/ajh123/MarchingCompute/blob/72083ba2ebc540cbdc52ae16fe1a9af4d2c9fcd0/res/shaders/MarchingCubes.vert#L47
But I'm not sure what to do.

Ok I have fixed it! If you want I can create a PR for it.

Basically I add the idx to the triangle inside the compute shader so I can get the corresponding colour while rendering the same triangle inside the fragment shader. The generation code appends the colours in a similar way to the densities. Based on the voxels "Y level" we can choose different colours.


Issues with web and tabbed navigation

When using createBottomTabNavigator of react-navigation, I run into this error when opening the website:
TypeError: _ReanimatedModule.default is undefined
Is there a quick and easy solution for this? I'm not very familar with web so far.

I'm using the renative createSideMenuNavigator method which just works find and is doing what I need.

@maximilize  yes createBottomTabNavigator should not be used on web based platforms, I created createSideMenuNavigator for this reason but want to refactor to more generic name in the future as it can be used both horizontally and vertically resp.


test/gh1247 [RCS-292]

Use batch_size preset when starting riak_cs_gc_batch process
Add QuickCheck test to address #1247
Add console option (-b) to riak-cs-admin gc batch to manually set batch size in each batch

I've force-pushed, again, sorry :imp:

The EQC prop actually catched the bug #1247  :cool:

@borshop merge


Separete mCSB_buttons.png  from js code

I included the script with bower and used uglify to generate the vendor scripts for my app.. Now i see this error on the console:
my_app/assets/css/mCSB_buttons.png 404 (Not Found)
Could you please separate the css, images and design in general from js code in the next release?
Thanks.

+1

mCSB_buttons.png is not in js code (same goes for the CSS). It's defined in the CSS file and it's used for the button arrow sprites. Not sure how could this change(?) Let me know if you have any suggestions or some pull request.


[FLINK-22534] Set delegation token's service name as credential alias

@XComp Sumit new one.

The CI failure is due to spotless check. @zuston I think you need to format your code.

The CI failure is due to spotless check. @zuston I think you need to format your code.

Done.
Besides, could you help merge https://github.com/apache/flink/pull/15131?

@zuston #15131 has already been merged :tada:


provide nuget package for net452(or net45)

It makes it easier to create desktop applications(like windows forms,wpf).

oh sorry, I found it will be supported <IP_ADDRESS>, I close this issue

No worries - thank you for using NATS!


fix: Creating canvas with width or height of zero or less

Should solve https://github.com/Brooooooklyn/canvas/issues/713

Thanks, please add test cases.

@kaloyanBozhkov you probably need to do it for svg canvas also
https://github.com/Brooooooklyn/canvas/blob/f88b8fe6328d39b80d142c6ed43706b1b12c3819/src/ctx.rs#L54


Update package.json

The version of jQuery required should be at least 3.4.0 to avoid security vulnerabilities.

do you think this would be considered a breaking change?


The packages such as libraries and models are not loading from files

Bug description
I'm using PyTorch Lightning for model training. Some of the external files, such as datasets and data loaders, can be loaded, but models and other custom libraries cannot be loaded from directories. I have already the code multiple times and works fine, but the main issue is that I can't import packages from outside. Including all the code in one file makes the code messy.

What version are you seeing the problem on?
v2.2
How to reproduce the bug
No response
Error messages and logs
(cuda-env) sinan@sinan:/mnt/d/new_code_successful$ python pinn.py
2024-04-21 04:19:35.703608: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-04-21 04:19:35.781649: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-04-21 04:19:35.781698: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-04-21 04:19:35.798250: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-04-21 04:19:35.822356: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE4.1 SSE4.2 AVX AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
File "/mnt/d/new_code_successful/pinn.py", line 11, in
from models.basics import SimpleNN
ModuleNotFoundError: No module named 'models'
Environment
(cuda-env) sinan@sinan:/mnt/d/new_code_successful$ python collect_env_details.py
/mnt/d/new_code_successful/collect_env_details.py:24: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources

Current environment

CUDA:
- GPU:
- NVIDIA GeForce RTX 4050 Laptop GPU
- available:         True
- version:           12.0
Lightning:
- lightning-utilities: 0.11.2
- pytorch-lightning: 2.2.2
- torch:             2.1.2.post300
- torchaudio:        2.1.2
- torchmetrics:      1.3.2
- torchvision:       0.16.2
Packages:
- absl-py:           2.1.0
- aiohttp:           3.9.3
- aiosignal:         1.3.1
- astunparse:        1.6.3
- attrs:             23.2.0
- blinker:           1.7.0
- brotli:            1.1.0
- cached-property:   1.5.2
- cachetools:        5.3.3
- certifi:           2024.2.2
- cffi:              1.16.0
- chardet:           5.2.0
- charset-normalizer: 3.3.2
- click:             8.1.7
- colorama:          0.4.6
- contourpy:         1.2.1
- coverage:          7.4.4
- cryptography:      42.0.5
- cycler:            0.12.1
- datasets:          2.19.0
- dill:              0.3.8
- distlib:           0.3.8
- exceptiongroup:    1.2.0
- filelock:          3.13.4
- flatbuffers:       24.3.25
- fonttools:         4.51.0
- frozenlist:        1.4.1
- fsspec:            2024.3.1
- gast:              0.5.4
- google-auth:       2.29.0
- google-auth-oauthlib: 1.2.0
- google-pasta:      0.2.0
- grpcio:            1.59.3
- h5py:              3.11.0
- huggingface-hub:   0.22.2
- idna:              3.7
- importlib-metadata: 7.1.0
- iniconfig:         2.0.0
- jinja2:            3.1.3
- joblib:            1.4.0
- keras:             2.15.0
- kiwisolver:        1.4.5
- lightning-utilities: 0.11.2
- markdown:          3.6
- markupsafe:        2.1.5
- matplotlib:        3.8.4
- ml-dtypes:         0.2.0
- mock:              5.1.0
- mpmath:            1.3.0
- multidict:         6.0.5
- multiprocess:      0.70.16
- munkres:           1.1.4
- networkx:          3.3
- nose:              1.3.7
- numpy:             1.26.4
- oauthlib:          3.2.2
- opt-einsum:        3.3.0
- packaging:         24.0
- pandas:            2.2.2
- pillow:            10.2.0
- pip:               23.3.1
- platformdirs:      4.2.0
- pluggy:            1.4.0
- ply:               3.11
- protobuf:          4.24.4
- pyarrow:           15.0.0
- pyarrow-hotfix:    0.6
- pyasn1:            0.6.0
- pyasn1-modules:    0.4.0
- pycparser:         2.22
- pyjwt:             2.8.0
- pyopenssl:         24.0.0
- pyparsing:         3.0.9
- pyproject-api:     1.6.1
- pyqt5:             5.15.10
- pyqt5-sip:         12.13.0
- pysocks:           1.7.1
- pytest:            8.1.1
- python-dateutil:   2.9.0
- pytorch-lightning: 2.2.2
- pytz:              2024.1
- pyu2f:             0.1.5
- pyyaml:            6.0.1
- regex:             2024.4.16
- requests:          2.31.0
- requests-oauthlib: 2.0.0
- rsa:               4.9
- safetensors:       0.4.3
- scikit-learn:      1.4.2
- scipy:             1.13.0
- setuptools:        68.2.2
- sip:               6.7.12
- six:               1.16.0
- sympy:             1.12
- tensorboard:       2.15.2
- tensorboard-data-server: 0.7.0
- tensorflow:        2.15.0
- tensorflow-estimator: 2.15.0
- termcolor:         2.4.0
- threadpoolctl:     3.4.0
- tokenizers:        0.15.2
- tomli:             2.0.1
- torch:             2.1.2.post300
- torchaudio:        2.1.2
- torchmetrics:      1.3.2
- torchvision:       0.16.2
- tornado:           6.4
- tox:               4.14.2
- tqdm:              4.66.2
- transformers:      4.39.3
- typing-extensions: 4.11.0
- tzdata:            2024.1
- urllib3:           2.2.1
- virtualenv:        20.25.3
- werkzeug:          3.0.2
- wheel:             0.41.2
- wrapt:             1.14.1
- xxhash:            3.4.1
- yarl:              1.9.4
- zipp:              3.17.0
System:
- OS:                Linux
- architecture:
- 64bit
- ELF
- processor:         x86_64
- python:            3.11.8
- release:           <IP_ADDRESS>-microsoft-standard-WSL2
- version:           #1 SMP Thu Jan 11 04:09:03 UTC 2024

More info
No response

@sinanLab This isn't caused by PyTorch Lightning. This is simply because you are running the Python program from a directory other than the one where "models" is. Python can't know from where you'd want to import this models.basics. Either make your code base into a proper package (Using a setup.py file for instance), or by appending the path to the models.basics module to the Python system path (you can find examples of this online).


Worked, How do I get PIH (previous invoice hash)?

I have pretty much the same example as you. When I run checkInvoiceCompliance or reportInvoice I get Request failed with status code 400.
One more question, do I store PIH in a DB or how do you get it?

I tried to download the xml (signed_invoice_string) and validate it using the fatoora CLI, it fails
2022-09-25 04:14:25,169 [INFO] XsdValidator - Validate XSD for invoice : ./demo.xml
2022-09-25 04:14:26,107 [INFO] ValidationProcessorImpl - [XSD] validation result : FAILED
2022-09-25 04:14:26,107 [ERROR] ValidationProcessorImpl - xsd validation errors :
2022-09-25 04:14:26,107 [ERROR] ValidationProcessorImpl - CODE : SAXParseException, MESSAGE : Schema validation failed; XML does not comply with UBL 2.1 standards in line with ZATCA specifications
2022-09-25 04:14:26,109 [INFO] InvoiceValidationService -  *** GLOBAL VALIDATION RESULT = FAILED

I have pretty much the same example as you. When I run checkInvoiceCompliance or reportInvoice I get Request failed with status code 400.

The 400 Failure with reportInvoice is expected. ZATCA's sandbox report API is not fully ready yet. Currently they're returning a constant production cert that does not have the ability to sign Simplified Tax Invoices. Hopefully they fix that soon.

One more question, do I store PIH in a DB or how do you get it?

Yes, you will have to store the last invoice hash as a PIH somewhere whenever you create an invoice.

So, with the first phase, I have to store the xml invoices correct?

So, with the first phase, I have to store the xml invoices correct?

ZATCA's first phase does not require you to store any XMLs. But yes, for the second phase you will need to store the invoices as a custom object and then generate an XML every time. Or just store the signed XML for each invoice.

Sorry for bothering you, in the first phase, what format does the invoice take?

Sorry for bothering you, in the first phase, what format does the invoice take?

This package is intended for phase 2. Try something like @mrsool/zatca for phase 1.
Also read ZATCA Specs

Thanks @wes4m for your help!


Allow to configure the client idle timeout.

Default value is 10min (like previosuly).
System property to configure is org.jenkinsci.main.modules.sshd.SSHD.idle-timeout (value in milliseconds)
Should replace #4 cc @reviewbybees @mplonka @oleg-nenashev @daniel-beck

ping @jenkinsci/code-reviewers @reviewbybees
Like discussed in #4 I'm not yet using jenkins.util.SystemPropertiesbecause it requires jenkins >= 2.4 (excepted if you tell me to do such upgrade) cc @daniel-beck

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

ping @kohsuke @jglick for a quick review of these 5 lines of code

I created JENKINS-36420 to track the change

LGTM whether you document this new system property here.
👍

yes sure @recena it will be documented as soon as I'll know on which version it will land

🐝 anyway. Other changes are just nice2have improvements

Fixed @oleg-nenashev I added a control

re-:bee:

🐝

@reviewbybees done
@jenkinsci/code-reviewers if any interest
otherwise please merge/release. Thanks a lot

@oleg-nenashev @recena I had no feedback in 3 weeks thus I merged the change. Can we release it ?


Make callback in withProgress IO

In order for the callback to passed to monads such as Ghc, it shouldn't be constrained to be the same as the monad that it is run in

LGTM

cc @mpickering


Add a way to programmatically inject frameworks

Right now if you want to use a supported framework, xcomponent just looks for a global: window.react, window.angular, etc. Need a way to programmatically inject these dependencies to acvoid requiring globals.
In the mean time, the fix would be to set window.react = react; before creating the xcomponent.

+1


On Windows add CLIs to path

The immediate reason is to add applications (kim, helm, kubectl) to the path on Windows.

Looking into the implementation, electron-builder has inadequate customization capabilities in msi (wix) mode; we'll have to stick with the NSIS installer.  In particular, we don't seem to be able to use the QtExec extension, because there's no way to provide -ext WixUtilExtension on the light command line (even if we hack in the template).


Warning: Unsupported style property stroke-width. Did you mean strokeWidth?

Chrome complains: Unsupported style property stroke-width. Did you mean strokeWidth?
This issue can be fixed by changing the 'stroke-width' properties in commits-graph-mixin to 'strokeWidth'.

Thanks


Installation fails with type errors OSX10.13

Fresh install of haskell platform 8.2.2
error on "cabal install haste-compiler"
after dependencies install...
Downloading haste-compiler-<IP_ADDRESS>...
Configuring haste-compiler-<IP_ADDRESS>...
Failed to install haste-compiler-<IP_ADDRESS>
Build log ( /Users/user/.cabal/logs/ghc-8.2.2/haste-compiler-<IP_ADDRESS>-Hb8vrn7aglx1rspaaMV9Pf.log ):
cabal: Entering directory '/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>'
cabal: Leaving directory '/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>'
Updating documentation index
/Users/user/Library/Haskell/share/doc/x86_64-osx-ghc-8.2.2/index.html
cabal: Error: some packages failed to install:
haste-compiler-<IP_ADDRESS>-Hb8vrn7aglx1rspaaMV9Pf failed during the configure
step. The exception was:
dieVerbatim: user error (cabal: '/usr/local/bin/ghc' exited with an error:

/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>/dist/setup/setup.hs:40:51:
error:
• Couldn't match type
‘Distribution.Types.UnqualComponentName.UnqualComponentName’
with ‘[Char]’
Expected type: FilePath
Actual type: Distribution.Types.UnqualComponentName.UnqualComponentName
• In the first argument of ‘(</>)’, namely ‘exe’
In the second argument of ‘(</>)’, namely ‘exe </> exe’
In the second argument of ‘($)’, namely ‘builddir </> exe </> exe’
|
40 | exists <- doesFileExist $ builddir </> exe </> exe
| ^^^

/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>/dist/setup/setup.hs:40:59:
error:
• Couldn't match type
‘Distribution.Types.UnqualComponentName.UnqualComponentName’
with ‘[Char]’
Expected type: FilePath
Actual type: Distribution.Types.UnqualComponentName.UnqualComponentName
• In the second argument of ‘(</>)’, namely ‘exe’
In the second argument of ‘(</>)’, namely ‘exe </> exe’
In the second argument of ‘($)’, namely ‘builddir </> exe </> exe’
|
40 | exists <- doesFileExist $ builddir </> exe </> exe
| ^^^

/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>/dist/setup/setup.hs:42:42:
error:
• Couldn't match type
‘Distribution.Types.UnqualComponentName.UnqualComponentName’
with ‘[Char]’
Expected type: FilePath
Actual type: Distribution.Types.UnqualComponentName.UnqualComponentName
• In the first argument of ‘(</>)’, namely ‘exe’
In the second argument of ‘(</>)’, namely ‘exe </> exe’
In the first argument of ‘copyFile’, namely
‘(builddir </> exe </> exe)’
|
42 | then copyFile (builddir </> exe </> exe) (outdir </> "bin" </> exe)
| ^^^

/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>/dist/setup/setup.hs:42:50:
error:
• Couldn't match type
‘Distribution.Types.UnqualComponentName.UnqualComponentName’
with ‘[Char]’
Expected type: FilePath
Actual type: Distribution.Types.UnqualComponentName.UnqualComponentName
• In the second argument of ‘(</>)’, namely ‘exe’
In the second argument of ‘(</>)’, namely ‘exe </> exe’
In the first argument of ‘copyFile’, namely
‘(builddir </> exe </> exe)’
|
42 | then copyFile (builddir </> exe </> exe) (outdir </> "bin" </> exe)
| ^^^

/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>/dist/setup/setup.hs:42:77:
error:
• Couldn't match type
‘Distribution.Types.UnqualComponentName.UnqualComponentName’
with ‘[Char]’
Expected type: FilePath
Actual type: Distribution.Types.UnqualComponentName.UnqualComponentName
• In the second argument of ‘(</>)’, namely ‘exe’
In the second argument of ‘(</>)’, namely ‘"bin" </> exe’
In the second argument of ‘copyFile’, namely
‘(outdir </> "bin" </> exe)’
|
42 | then copyFile (builddir </> exe </> exe) (outdir </> "bin" </> exe)
| ^^^

/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>/dist/setup/setup.hs:43:42:
error:
• Couldn't match type
‘Distribution.Types.UnqualComponentName.UnqualComponentName’
with ‘[Char]’
Expected type: FilePath
Actual type: Distribution.Types.UnqualComponentName.UnqualComponentName
• In the first argument of ‘(</>)’, namely ‘exe’
In the second argument of ‘(</>)’, namely ‘exe </> exe <.> "exe"’
In the first argument of ‘copyFile’, namely
‘(builddir </> exe </> exe <.> "exe")’
|
43 | else copyFile (builddir </> exe </> exe <.> "exe")
| ^^^

/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>/dist/setup/setup.hs:43:50:
error:
• Couldn't match type
‘Distribution.Types.UnqualComponentName.UnqualComponentName’
with ‘[Char]’
Expected type: FilePath
Actual type: Distribution.Types.UnqualComponentName.UnqualComponentName
• In the first argument of ‘(<.>)’, namely ‘exe’
In the second argument of ‘(</>)’, namely ‘exe <.> "exe"’
In the second argument of ‘(</>)’, namely ‘exe </> exe <.> "exe"’
|
43 | else copyFile (builddir </> exe </> exe <.> "exe")
| ^^^

/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>/dist/setup/setup.hs:44:50:
error:
• Couldn't match type
‘Distribution.Types.UnqualComponentName.UnqualComponentName’
with ‘[Char]’
Expected type: FilePath
Actual type: Distribution.Types.UnqualComponentName.UnqualComponentName
• In the first argument of ‘(<.>)’, namely ‘exe’
In the second argument of ‘(</>)’, namely ‘exe <.> "exe"’
In the second argument of ‘(</>)’, namely ‘"bin" </> exe <.> "exe"’
|
44 | (outdir </> "bin" </> exe <.> "exe")
| ^^^

/var/folders/q3/3b4cr3cn4hg8d5bj62pdk16m0000gn/T/cabal-tmp-51525/haste-compiler-<IP_ADDRESS>/dist/setup/setup.hs:53:16:
error:
• Data constructor not in scope: FlagName :: String -> FlagName
• Perhaps you meant one of these:
variable ‘flagName’ (imported from Distribution.PackageDescription),
variable ‘unFlagName’ (imported from Distribution.PackageDescription),
variable ‘mkFlagName’ (imported from Distribution.PackageDescription)
|
53 | case lookup (FlagName fn) (configConfigurationsFlags (configFlags lbi))
of
| ^^^^^^^^
)

Also having this issue, and none of the other installation methods are working for me either:
stack install from source gives
Unable to find installation URLs for OS key: macosx-nopie
and cabal install gives
unknown package: bin-package-db (dependency of haste-compiler)
and there is no pre-built package available for OSX.

Same problem

still not fixed
apparently nobody cares about this project

Please fix, this seems like a really cool project

It is a really cool project.

Fresh install of haskell platform 8.2.2

But it only works with GHC-7.10.3.
Please don't even try to install Haste with GHC-8.


Custom buttons with prompts

Is your feature request related to a problem? Please describe.
I started using the plugin for non-coding sections as well, rephrasing comments, cleaning grammar in readme...
And have to type manually the prompts like "Rephrase the following text" while having selected comment/parahraph of text selected
Describe the solution you'd like
Ability to add custom buttons alongside the Refactor, Explain ... buttons with my own custom prompt
Describe alternatives you've considered
Typing the prompt manually so far works, but having custom buttons for whatever use-cases i will find the plugin useful would be amazing.

Hey @AntonKrug thank you for the suggestion.
I think that this should be possible, we just need to decide on where the best place to store the templates would be and in which format in order to parse them back into prompts for the LLM with context.
I was considering something like handlebars or similar template producing languages, if you know of a good solution for this already please let me know.
Many thanks

Hey, thanks for the suggestion, it's also been mentioned before by others.
I just released version 3.2.0 which includes the ability to edit the prompt templates, there is a setting at the top of the sidebar which will open up an editor with the default prompt templates inside.
I am working towards being able to specify your own templates in future releases.
Many thanks,

yes, now that the templates are accessible, being able to add new ones and have it create the buttons would be great.

Please check 3.4.0 fully customisable templates added.

A fresh install should have done it. I'm not sure about Windows however, maybe not working as expected as you say? It should copy the default templates to that directory when you install the extension.

Permissions should be fine, the files physically are there, but the path for some reason is containing URL escaped backslashes instead of the genuine slashes. So C:\Users  folder exists, but C:%5VUsers is not:

As well on windows you want the drive letter as well, if you do just something like linux it might see it differently and append it to the path as escaped URL, looks like it tries to access \Users which doesn't exist

Tried making a PR, wondering if this could help?

Thanks @AntonKrug I just merged and released a new version with your changes, please let me know how you get on.
Many thanks,

You welcome, it's lovely pluging, hope i will get to contribute to it more often.
Tested it on one machine and it works, i will test it on slightly different windows 10 machine later and then i can close the issue.

The templates open on the other machine as well


Unbold the no-armor header, so the strikethrough is more obvious.

This isn't working, because the new style is getting overridden by the bold style. I'm looking for the right way to make this work with scss.

Learned about !important.

Do you want to approve it, Jaz, or await a better solution?

I approved it already. Feel free to merge


Adding more examples & one more library

I love this project, thanks for starting it. In case I can interest you, there are many mathematical texts with interactive visualizations on my website (completely FOSS: https://quoteme.github.io/projects). Some highlights are  top2man, an interactive visualization of all topological compact, non-empty, real 2 manifolds,  a visual explanation of e^it = cos(t)+isin(t), and my seminar on rational points  on elliptic curves
Some tool I used which might be of interest and which were not mentioned before is sage-math with its awesome to-THREE.js export function. This allows for much more powerful 3d-plots. Also impress.js is nice to have

Thank you for recommendation.
I sent mail to your gmx.de address with some suggestions.


Perhaps change /usr/local/bin/aad-login to use "nodejs" instead of "node"

I'm using aad-login in a Ubuntu 16.04.1 LTS machine. I installed Node.Js and npm by running sudo apt-get install nodejs npm. The command node is not available so aad-login was failing. I changed /usr/local/bin/aad-login to nodejs and everything worked just fine.
Perhaps this script should be smart enough to choose one or the other automatically.

Thanks for looking into this back in the day and hope it was useful. Since I'm deprecating this (long overdue) I added a note to README.md as a known issue.


Use the cryptocompare streaming api

Use streamer at wss://streamer.cryptocompare.com. Probably use Socket.io java client at https://github.com/socketio/socket.io-client-java which uses Okhttp Websockets under the hood.

Fixed


on_member_join get called randomly

Summary
on_member_join get called randomly?
Reproduction Steps
i have no idea but my friend tested the same code in the same server and he reproduced the same issue
Code
import selfcord
import logging
import os
os.environ['PYTHONASYNCIODEBUG'] = '1'
import asyncio
import time
import datetime
import toml

handler = logging.FileHandler(filename="selfcord.log", encoding="utf-8", mode="w")

config = toml.load("config.toml")

token = config['token']
channel_id = config['channel_id']
server_id = config['server_id']

class MyClient(selfcord.Client):
    async def on_ready(self):
        print('Logged on as', self.user)

    async def on_member_join(self, member):
            if member.guild.id == server_id:
                current_time = time.strftime(r"%d.%m.%Y %H:%M:%S", time.localtime())
                channel = self.get_channel(channel_id)

                await channel.send(f'$givekakera {member.mention} 1')
                await asyncio.sleep(1)
                await channel.send('yes')

                print(f'{member} recived the kakera reward.')
                print(f'{member.guild.id}')
                print(f'{member} joinned at ' + current_time)

client = MyClient()
client.run(token, log_handler=handler, log_level=logging.DEBUG)

Expected Results
on_member_join get called/fire when a new member join?
Actual Results
Executing <Task pending name='Task-1' coro=<Client.run.<locals>.runner() running at C:\Users\pingu\Documents\Projects\on_member_join\.venv\Lib\site-packages\selfcord\client.py:1048> wait_for=<Future pending cb=[shield.<locals>._outer_done_callback() at C:\Users\pingu\AppData\Local\Programs\Python\Python311\Lib\asyncio\tasks.py:908, Task.task_wakeup()] created at C:\Users\pingu\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py:427> cb=[_run_until_complete_cb() at C:\Users\pingu\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py:180] created at C:\Users\pingu\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py:100> took 0.125 seconds
Executing <Task pending name='Task-1' coro=<Client.run.<locals>.runner() running at C:\Users\pingu\Documents\Projects\on_member_join\.venv\Lib\site-packages\selfcord\client.py:1048> wait_for=<Future pending cb=[Task.task_wakeup()] created at C:\Users\pingu\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py:427> cb=[_run_until_complete_cb() at C:\Users\pingu\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py:180] created at C:\Users\pingu\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py:100> took 0.110 seconds
Logged on as xxx
<new member> recived the kakera reward.
<server id>
<new member> joinned at 23.11.2023 18:03:00
Executing <Task finished name='selfcord.py: on_member_join' coro=<Client._run_event() done, defined at C:\Users\pingu\Documents\Projects\on_member_join\.venv\Lib\site-packages\selfcord\client.py:592> result=None created at C:\Users\pingu\Documents\Projects\on_member_join\.venv\Lib\site-packages\selfcord\client.py:618> took 0.266 seconds
<old member 1> recived the kakera reward.
<server id>
<old member 1> joinned at 23.11.2023 18:03:00
<old member 2> recived the kakera reward.
<server id>
<old member 2> joinned at 23.11.2023 18:07:57
<old member 3> recived the kakera reward.
<server id>
<old member 3> joinned at 23.11.2023 18:08:13

System Information
❯ python -m selfcord -v
- Python v3.11.6-final
- selfcord.py v2.1.0-alpha
    - selfcord.py metadata: v2.1.0a4383+gc333695b
- aiohttp v3.9.0
- system info: Windows 10 10.0.19045

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
No response

Was able to reproduce the broken events, sorry for the delay.

Member events are now properly dispatched by Discord, no more hacky member list parsing, so this should work perfectly now :)


Add '.NET MAUI Essentials' extension

Because lists with only one thing in them look sad, and this might be useful to other people too. ;)


Include LICENSE in MANIFEST.in

I've put together a build of Flask-Uploads for conda-forge (https://github.com/conda-forge/staged-recipes/pull/1523) It'd be good to include a hard link to the LICENSE file, but doing so requires that the license file be explicitly referenced in the MANIFEST so that it gets bundled in the source distribution.

Thanks!


Unable to open a channel to LND nodes based on current master

If you want to open a channel to an LND node that is running current master, it fails with
[node] does not support data loss protection
Reproducable with Moneni node:
https://1ml.com/node/03295d2e292565743a40bd44da227a820f8730877bc3dfadebade8785bcf355258

Data loss protection is an optional feature which is used to refund lost channel balance in case if user loses wallet data. BLW disallows creating channels with remote nodes which don't support it. LND supports this feature in principle but seems like it's disabled by default now.

It was actually a bug in BLW, fixed in https://github.com/btcontract/lnwallet/commit/29dbf4335d476949f770b60fc5f8ed198e6c3255, update will be rolled out in a Google Play within a few days.


Add LD_LIBRARY_PATH to robotCommand, deploy progress bars, and hash checks

This makes robotCommand work and gives the user some feedback about their deploys. Hashing does improve performance by 2-3 seconds on my machine, with md5 being the fastest algorithm that's easy to get on a rio. We could probably go faster with some rolling crc or alder32 thing, but we would have to install a tool on the rio side to perform it.
first run (empty third-party/):
[23:26:29] ~/Code/bazelRio/bazelRio/examples/cpp_example time bazel run :robot.deploy --experimental_use_sandboxfs --platforms=@bazelrio//platforms/roborio
...

________________________________________________________
Executed in    7.99 secs   fish           external
   usr time  1201.71 millis  112.00 micros  1201.60 millis
   sys time  360.84 millis  782.00 micros  360.06 millis

second run:
[23:26:56] ~/Code/bazelRio/bazelRio/examples/cpp_example time bazel run :robot.deploy --experimental_use_sandboxfs --platforms=@bazelrio//platforms/roborio
...

________________________________________________________
Executed in    5.21 secs   fish           external
   usr time  435.89 millis  123.00 micros  435.76 millis
   sys time  225.19 millis  669.00 micros  224.52 millis

progress bars:
https://user-images.githubusercontent.com/1512426/141945547-689ae7fa-6335-4790-9787-8bcf4415bff9.mov

Neat. Md5 seems like the best option. I'll check later on my team's RIO

it turns out my LD_LIBRARY_PATH approach didn't work and we need to use a path already configured in /etc/ld.so.conf.d/frc_libs.conf: /usr/local/frc/third-party/lib

i'm going to clean this up a bit more before merging

here's what the progress bar now looks like
https://user-images.githubusercontent.com/1512426/142066999-9b16bb08-a44b-4459-b8fc-8dfaf071a6e0.mov


Implement OnyxAvatar

Design
Figma link
Acceptance criteria

[ ] a male avatar can be shown
[ ] a female avatar can be shown
[ ] a diverse avatar can be shown
[ ] an avatar stack can be shown

Definition of Done

The following component requirements are implemented:

[ ] example usage added to apps/alpha-test-app/src/views/HomeView.vue

[ ] covered by component tests
[ ] screenshot tests are updated
[ ] follow-up tickets were created if necessary
[ ] updated version + documentation is deployed
[ ] Storybook can show the feature
[ ] Set task to In Approval

Approval

Storybook
[ ] approved by designer @jannick-ux
[ ] approved by dev

Implementation details

for the male/female version, if possible use a SVG and set the colors via CSS variables so they adapt to light/dark mode and different color themes

Open UX points / Figma changes:

rename "diverse" to "initials"
add size 96px (and check if font size for this size is correct)
check colors in dark mode
add row gap for stack if wrapped to multiple lines?
stack: support setting a max count to show a "+4" indicator?

before approval: can the avatar stack also be used in the same size variations like the avatar component?
Is there the possibility for a max number visualized by "+4" for example?
I cannot find it in storybook.

@jannick-ux I added it :) https://storybook.onyx.schwarz/?path=/story/components-avatarstack--limited-count


Porting Extension to Firefox

Hello, I had an idea to port this extension from Chrome to Firefox to make it more accessible. I've forked the repository and was wondering if you would allow me to make edits to the extension so it would work for Firefox as well.
Thank you for your time.

Hi Gevin,
Firefox extension sounds like a great idea!
Yes, please fork and edit the code as you want.
I haven’t been working on it for a few months and there are some bugs. I am
sorry in advance if you encounter any issues while making a port. I’ll try
to fix them sometime this month.
Thanks!
Rainbow
On Mon, Mar 15, 2021 at 15:11 Gevin Madharha @.***>
wrote:

Hello, I had an idea to port this extension from Chrome to Firefox to make
it more accessible. I've forked the repository and was wondering if you
would allow me to make edits to the extension so it would work for Firefox
as well.
Thank you for your time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/c-rainbow/twitch-audio-web/issues/9, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK7VVVXYXWTKLZ2GK2L42W3TD2AY5ANCNFSM4ZHKYXVA
.

I was running into issues trying to port the extension into firefox, it didn't seem to work when the radio button was clicked. No worries, I'll wait until you get to work on it and then give it another shot.

Thank you for waiting. Could you describe what issues you ran into?

I just released a new version (0.3.0). Can you pull the code and try again?

Hey, I've tried this out and turns out it actually already works in Firefox. You just need to build it with web-ext.
It works fine out of the box with web-ext run to open a Firefox window with the extension loaded, and with web-ext build to produce a package to load into Firefox directly in about:debugging. Everything works completely fine and there's no issues as far as I can tell (I tried it in Chrome first and I see no differences).
Looks like you should be able to package and submit it without any further changes.

Hey, I've tried this out and turns out it actually already works in Firefox. You just need to build it with web-ext.
It works fine out of the box with web-ext run to open a Firefox window with the extension loaded, and with web-ext build to produce a package to load into Firefox directly in about:debugging. Everything works completely fine and there's no issues as far as I can tell (I tried it in Chrome first and I see no differences).
Looks like you should be able to package and submit it without any further changes.

Hey thanks for commenting this, I'll get on this and do it as soon as I can.

Update,
I submitted the extension to the firefox add-on store and it was approved this morning. Here is the link:
https://addons.mozilla.org/en-CA/firefox/addon/twitch-audio-mode/


Migrating from Node to Deno

https://docs.deno.com/runtime/manual/node/migrate/ needs a full rewrite

Resolved by https://github.com/denoland/docs/pull/687


GUI color is too bright and contrast

Issue Type: Bug
All themes are too bright and contrast compare to their official presentation. Especially dark themes.  Which causes eye strain.
left is mine, right is official page

VS Code version: Code 1.52.0 (940b5f4bb5fa47866a54529ed759d95d09ee80be, 2020-12-10T22:45:11.850Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
AMD Ryzen 7 1700 Eight-Core Processor           (16 x 2994)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.94GB (6.37GB free)

Process Argv
--crash-reporter-id 3041e817-c138-4619-b4c0-4f53cfecac83

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

python
ms-
2020.11.371526539

vscode-pylance
ms-
2020.12.2

jupyter
ms-
2020.12.414227025

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
openlogontheside:30221877
python763:30178808
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
python504:30227505
vswsl492cf:30211402
wsl2prompt:30224612
pythonvsdeb440:30233463
unusedprompt:30224610
folderexplorer:30224614
openfilemenu:30224647
pythonvsded773cf:30233462
vsjup459cf:30229594

The website uses a screenshot of the product, so it's not going to look identical to the one on your computer due to a variety of factors (monitor, color profile, etc.). You can browse through the marketplace to find a theme that best suits your preference or you can try tweaking the color theme.
I will close this as as-designed since this is intended.


Update MirNet example for Keras 3.

Note: this is run after applying this fix: https://github.com/keras-team/keras/pull/18760


search for specific function in the xref window

What is the feature you'd like to have?
the search in the xref window only look for element's usage and not  where it is used.
for example  i want to check if a global variable is used in specific function i need to scroll the full xref windows.
but if i can for example write the function name in the search bar and filter out all other xrefs in other functions
Is your feature request related to a problem?
yeah, for example if i have a huge function A and i want to look for function B usage inside function A, i need to scroll down all function A. but if this feature is implemented then i can simply look for the xref for B in A
Are any alternative solutions acceptable?
manually scroll the xref window
Additional Information:
basically i want to add the callee function's name in the search list for the xref search bar. so the blue colored function name is included in the search

another picture for illustration, here i search for "sub" which removed most of the xref, even thought all function names include "sub".

How about using the full name of the function, e.g., sub_4b7607, in the filter? That should allow you to filter based on the function

it does not work :(.

another picture for illustration, here i search for "sub" which removed most of the xref, even thought all function names include "sub".

OK, I figured out. The search in the xref window is not taking function names into consideration. It only searches the text. And in the screenshot you showed, these ones remain after the filter because they have the text sub in their HLIL code, not the function name

@nitrogar As a workaround, you can switch the xref widget to table mode and then search it. The search in table mode involves the function name. You can switch the xref widget to table mode by right click in the xref widget, and then select View as table.


allow more control in access_log

This give more options to customize the access_log setting, a very common scenarion is to send access log to syslog in addition to a file as follows:
override['nginx']['access_log'] = [
  "/var/log/nginx/access.log acc_log",
  "syslog:server=localhost:10514 acc_log"
]

This change keeps backward compatibility with the other configuration format log_dir and access_log_options.

I notice there is a new extra_configs setting so I might use that as well.

extra_configs can't be used to achieve this.


https://github.com/RiemaLabs/nubit-cli.git repository 404

I want to build a nubit-cli，but I can't find the nubit-cli repository. When will the repository open ?

Hello luoyechao, Thank you for reaching out. As of now, nubit-cli has not been released to the public. We are diligently working on it to ensure the best possible experience to our users. Please keep an eye on our Github site for the latest information.


Add EntityFramework diagnostics source

Also reference individual packages instead AspNetCore.Hosting as per comment in my previous PR.
@dnduffy

Hi @pakrym, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Last we discussed this should go to Dependency collector nugget. What changed?

@SergeyKanzhelev we were discussing SqlClient tracing, this diagnostic source can be used with any database client that has entity framework adapter.

@pakrym - In Application Insights we split telemetry collection logic by types. Typically dependencies will be collected by DependencyCollector package.
I do not understand why we need to collect EntityFramework collection right in AspNet package?


pytorch not compatible with python3.12

Add a line suggesting the python version to use in README.
pytorch currently supports Python 3.8-3.11 (https://pytorch.org/get-started/locally/).

We test using python 3.10 and 3.11
With idea plan to support the latest version pytorch supports and the previous one.
So we might drop 3.10 when 3.12 is available for torch (and there is a feature in 3.11 we want to use)
Good idea to add it to the repo readme!


Customized Dockerfile Template Added.

Customized Dockerfile Template Added.

Motivation
If you want to customize your images default command line, you must only use ENTRYPOINT tag, not CMD tag, and if you want to pass ENV variables into the command, you must use SHELL FORMAT rather than JSON FORMAT. So I created a Dockerfile template to mention these tips to avoid building failures.
Solution
Created a Dockerfile template to mention these tips to avoid building failures.

I'm not entirely sure I follow what this change is for, can you elaborate? :smile:

@onbjerg Ok, suppose you want to create a docker container to display all the information of the latest block of an eth network by its rpc url as an Environment variable, in a terminal of a local machine, you should type "$ cast block --rpc_url YOUR_RPC_URL latest".
But how to pass this command to a docker container? The most common way is using a CMD tag and write the command as a Json format (write every keyword separately as a string list) like below:

These will cause an error and will not display the information we want.
There are two reasons caused this error, one: as the Dockerfile of the basic foundry image used an ENTRYPOINT tag at the end of the file, the input interface of the image is locked to ENTRYPOINT, so we must pass the command to ENTRYPOINT rather than CMD (although CMD is more frequently used in writing Dockerfile), like this:

But this will also cause an error (the error message is "/bin/sh: [cast,: not found").
Actually if you don't pass any environment variables into the command (here we passed. "$rpc_url"), this will work well with no error message. But once we use ENTRYPOINT and an ENV variable in the same time, a Json-format command will not be parsed and will through an error like this. So we need to change it to another format, just write the command directly as you write it in a shell prompt, without any brackets or double quotes., like I wrote in the Dockerfile-temp file, and this will finally display the block information correctly:

Many new users will use the most common way to write the command and will cause errors like I have pointed out, so to avoid these errors, I wrote the Dockerfile-temp to help new users.

Sure, but I don't see how this PR solves this?

i dont think we want to have a base docker image, people can do from foundry:nightly and it should work?


Update plantronics-hub to latest and add zap

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Ed1t:
Newest version is hosten via a different url path.

Victim of https://github.com/caskroom/homebrew-cask/issues/44993.


[Language Text] Support script detection and automatic language detection

As defined in the swagger

This has been addressed


Converting posts not fully supports filtered out accounts

message.childcount will have wrong value if some children accounts was filtered. This will cause blocked for deletion post event if all children deleted.
Looks like current converter can add child comment with filtered parentacc. Check that parentacc empty or exists.

related: #143 #177

#269


[BUG] LiteDB Does Not Properly Handle an AbandonedMutexException

Version
LiteDB => 5.0.5
OS => Windows 10
.NET => .NET Core 3.1
Describe the bug
If a database is opened and the process crashes or is forcefully terminated (through no fault of LiteDB), the Mutax held by LiteDB is not properly released. The next time the process is launched, the database cannot be opened because LiteDB does not properly handle an AbandonedMutexException.
System.Threading.AbandonedMutexException: The wait completed due to an abandoned mutex.
   at System.Threading.WaitHandle.WaitOneNoCheck(Int32 millisecondsTimeout)
   at System.Threading.WaitHandle.WaitOne()
   at LiteDB.SharedEngine.OpenDatabase()

Code to Reproduce
static LiteDatabase CreateDatabase(string cFilePath, BsonMapper cMapper) {
    // ...
    //
    // Throws an exception if the operation fails.
    var cConnectionString = $"Filename={cFilePath}; Connection=Shared";
    var cDatabase = new LiteDatabase(cConnectionString, cMapper);
    return cDatabase;
}

Expected behavior
Opening the database properly handles an AbandonedMutexException.
Screenshots/Stacktrace
N/A
Additional context
N/A

@9ee1 Could you try with the latest master?

Thanks for the quick response @lbnascimento. I tried latest master and it seems to have resolved the problem. Will there be a new Nuget package with this soon?

@9ee1 v5.0.8 is out.

Thanks a lot @lbnascimento.


[3pt]  - Display comments for a given item on the Comments pop-up - Student B

When the popup loads, the webapp retrieves data from the Involvement API to show the item comments.

This task does not include the counter of the comments.

https://github.com/kamranahmad123/Movie-Site/pull/28