Consider Mask when calculating Bounds

When calculating the Bounds of a masked Element via getBounds(), the masks bounds should be considered in the calculation.
container.getBounds(); // e.g. {x:0, y:0, width:200, height:200}

var mask = new PIXI.Rectangle(0,0,100,100);
container.mask = mask;
container.addChild(mask);
container.getBounds(); // e.g. {x:0, y:0, width:100, height:100}

I've also noticed that the mask loses its bounds after it gets applied as a mask.
container.getBounds(); // e.g. {x:0, y:0, width:200, height:200}

var mask = new PIXI.Rectangle(0,0,100,100);
container.mask = mask;
container.addChild(mask);
container.getBounds(); // e.g. {x:0, y:0, width:100, height:100}

container.mask.getBounds(); // returns {x:0, y:0, width:0, height:0}
mask.getBounds(); // returns {x:0, y:0, width:0, height:0}

If there was a way to keep the bounds of the mask it would be nice to see another method like:
EG: Pass true to include the mask in the bounds calculations.
container.getBounds(); // {x:0, y:0, width:200, height:200}
container.getBounds(true); // {x:0, y:0, width:100, height:100}

EG: Or just create a new method
container.getBounds(); // {x:0, y:0, width:200, height:200}
container.getMaskedBounds(); // {x:0, y:0, width:100, height:100}

interesting point! I will make sure to look into that!

Here is a class that I cooked up that allows me to get the masked width, height and bounds by overriding the default methods. It'll return the masked version if the useMaskedBounds property is set.
import {Container, Rectangle} from 'pixi.js';

/**
 * A MaskedContainer represents a collection of display objects.
 *
 * It is the base class of all display objects that act as a container for other
 * objects. The MaskedContainer adds a few extra members and methods to help
 * calculate the size and bounds of a {@link PIXI.Container} when a mask is
 * present.
 *
 * @extends {PIXI.Container}
 *
 */
export default class MaskedContainer extends Container {
  constructor() {
    super();

    /**
     * If true the bounds of the mask will be used to calculate the bounds of the object.
     * @member {Boolean}
     */
    this.useMaskedBounds = false;
  }

  /**
   * The width of the MaskedContainer.
   *
   * @member {Number}
   */
  get width() {
    return this.scale.x * this.getLocalBounds().width;
  }

  /**
   * The height of the MaskedContainer.
   *
   * @member {Number}
   */
  get height() {
    return this.scale.y * this.getLocalBounds().height;
  }

  /**
   * Retrieves the bounds of the Container as a rectangle. The bounds
   * calculation takes all visible children into consideration. If a mask is
   * present, the calculated bounds will be clipped by the bounds of the mask.
   *
   * @return {PIXI.Rectangle} The rectangular bounding area of the masked children.
   */
  getBounds() {
    if (this.useMaskedBounds && this._mask) {
      const calculatedBounds = new Rectangle();
      const superBounds = super.getBounds();
      this._mask.renderable = true;
      const maskBounds = this._mask.getBounds();
      calculatedBounds.x = Math.max(superBounds.x, maskBounds.x);
      calculatedBounds.y = Math.max(superBounds.y, maskBounds.y);
      calculatedBounds.width = Math.min(superBounds.width, maskBounds.width);
      calculatedBounds.height = Math.min(superBounds.height, maskBounds.height);
      this._mask.renderable = false;
      return calculatedBounds;
    }
    return super.getBounds();
  }

  /**
   * Retrieves the non-global local bounds of the Container as a rectangle.
   * The calculation takes all visible children into consideration. If a mask is
   * present, the calculated bounds will be clipped by the bounds of the mask.
   *
   * @return {PIXI.Rectangle} The rectangular bounding area of the masked children.
   */
  getLocalBounds() {
    if (this.useMaskedBounds && this._mask) {
      const calculatedBounds = new Rectangle();
      const superBounds = super.getLocalBounds();
      this._mask.renderable = true;
      const maskBounds = this._mask.getLocalBounds();
      calculatedBounds.x = Math.max(superBounds.x, maskBounds.x);
      calculatedBounds.y = Math.max(superBounds.y, maskBounds.y);
      calculatedBounds.width = Math.min(superBounds.width, maskBounds.width);
      calculatedBounds.height = Math.min(superBounds.height, maskBounds.height);
      this._mask.renderable = false;
      return calculatedBounds;
    }
    return super.getLocalBounds();
  }
}

To use it:
import MaskedContainer from 'MaskedContainer';
import {Graphics} from 'pixi.js';

const maskedContainer = new MaskedContainer();
const content = new Graphics();
const mask = new Graphics();

content.lineStyle(0);
content.beginFill(0xFF0099, 1);
content.drawRect(0, 0, 400, 400);
content.endFill();

mask.lineStyle(0);
mask.beginFill(0x000000, 0.5);
mask.drawRect(100, 100, 200, 200);
mask.endFill();

maskedContainer.addChild(content);
maskedContainer.useMaskedBounds = true;
maskedContainer.mask = mask;

if you get the width and height of maskedContainer you should now get width:200 and height:200 and if you call maskedContainer.getBounds() it should return {x: 100, y:100, width:200, height:200}.

cc @ivanpopelyshev

done! fixed in v4 👍

@goodboydigital could you add a link to the fix in v4?


[BUG] enableAjaxErrorStatusText: false (which is the default setting) does not turn off logging error response body

Description/Screenshot
Our application does not set anything for enableAjaxErrorStatusText config. However we notice that our dependency logs contain responseText. I grepped for "enableAjaxErrorStatusText" in the repo and could not find where the config was being checked (unless I'm missing something)
Steps to Reproduce
Do not set a value for enableAjaxErrorStatusText config - make an XHR call that returns an error that has some string in the body. Notice that the body is logged in the responseText customDimensions in application insights

OS/Browser: Windows 10/Chrome 92

SDK Version [e.g. 22]:
@microsoft/applicationinsights-web: 2.6.4
@microsoft/applicationinsights-dependencies-js: 2.6.4

How you initialized the SDK:

    this.appInsights = new ApplicationInsights({
     config: {
       instrumentationKey: Environment.config.appInsightsInstrumentationKey,
       endpointUrl: Environment.config.appInsightsEndpointUrl,
       extensions: [this.reactPlugin],
       extensionConfig: {
         [this.reactPlugin.identifier]: { history }
       },
       disableFetchTracking: false,
       disableAjaxTracking: false,
       enableCorsCorrelation: true,
       disableCorrelationHeaders: false,
       enableAutoRouteTracking: true,
       maxAjaxCallsPerView: -1,
       enableResponseHeaderTracking: true,
       correlationHeaderExcludedDomains: [plotlyDomain, dynatraceDomain, appInsightsDomain],
       idLength: 5
     }
   });

Expected behavior
The body of an xhr error should not be logged in the responseText customDimensions in application insights if enableAjaxErrorStatusText is false
Additional context
Add any other context about the problem here.

It appears like the config check was removed in this commit https://github.com/microsoft/ApplicationInsights-JS/commit/7afceba8a2bcece44d24da42987341b77d6dca18#diff-1c3b823ec51f579cfe4d856af82e4dda4f6f05b38fb9bd7555b51d9db8ccc76d

v2.7.0 is not fully deployed to NPM and all CDN endpoints


Android Studio can't find library classes

Hello, I tried using the latest version (2.3.0), but upon a successful Gradle build, the DragSelectRecyclerView class becomes unvailable.
I can no longer see the Recyclerview in my XML layout nor have access to it in code.

Your app needs to use AndroidX.

Maybe it's a Proguard issue in your app? Or R8.

Oh! You're trying to use DragSelectRecyclerView? That's been gone for awhile.

Since 2.0.0, to be exact. https://github.com/afollestad/drag-select-recyclerview/releases/tag/2.0.0


Fix make grammar to work again

make grammar stopped working when grammar.proto was removed in 71e3057. This PR adds back that file. However, there were other issues with the ANTLR code generation:

patching the generated code to make it thread-safe was fragile
code was generated in a temp dir and copied into the target, but some files were missed (*.tokens)
the SyslParser.tokens file was out-of-date - it was not updated for the last parser change.

Fix all these things and make a more make-oriented Makefile for the ANTLR build
@anz-bank/sysl-developers

PTAL @anz-gordonj7


[BUG] Env variables are undefined in client

Description
Due to migration to the recent migration to vite (#54 ), all env variables are undefined. This is because:

To prevent accidentally leaking env variables to the client, only variables prefixed with VITE_ are exposed to your Vite-processed code

So to resolve the issue, all env variables with the prefix REACT_APP_ needs to be changed to VITE_
Screenshots
No response

@Dharmik48 complete your job. This is yours to fix

I'll fix that after college, sorry that I missed it😅


Generate simple enum class scope- and instance "!" and "?" methods

Lets us to do:
Name.Species instead of
Name.where(rank: Name.ranks[:Species])
and
Observation.joins(:name).merge(Name.Species) instead of
Observation.joins(:name).where("names.rank = #{Name.ranks[:Species]}")
We also get
name.Species! # => "Species"
name.rank     # => :Species
name.Species? # => true

See generally https://github.com/lwe/simple_enum/blob/master/README.md
This is also the behavior of Rails' built-in enums, so the change also helps prepare for an eventual switchover.  See http://api.rubyonrails.org/classes/ActiveRecord/Enum.html

Coverage remained the same at 93.379% when pulling 2d44d9b062c89e17eaea7eb21eaae3b84372b777 on JoeCohen:enum-scopes into a0a807e74fa021792519dddb3f29d4df16bc5bfb on MushroomObserver:master.


[7.0] Return a user friendly error message when exceptions occurs.

When app is in production, it is better to display a custom error message to the user.

Implements server-side error handling as defined on https://datatables.net/manual/server-side.

Optional: If an error occurs during the running of the server-side processing script, you can inform the user of this error by passing back the error message to be displayed using this parameter. Do not include if there is no error.

Add dataTables exception class.

Docs located at https://yajrabox.com/docs/laravel-datatables/7.0/error-handler.


Is it possible to run a test for particular seed?

On case of test failure hypothesis suggests to add decorator @reproduce_faliure("") to easily reproduce and debug a particular failure. This is very convenient for the usual pipeline Test -> Fix failure with debugger -> Look for the next failures.
Do we have something similar? Or can we add this functionality?

There are a couple options.
proptest will persist the seeds of failing tests by default. It will also re-run these seeds on every execution before new seeds are generated to ensure once a failure is found, your code won't regress in the future. If you're running tests locally, this is pretty easy as the file will be generated locally and you can just commit it along with your fix. If this is in a CI environment, you'd need a way to maintain access to the file from a failed run and copy it over to your repository. You can read a bit more about this in the book
Note: you can disable persistence via Config::failure_persistence, configuring proptest in the book
Alternatively you can construct a TestRunner with a particular seed using TestRunner::new_with_rng with an rng instance constructed via TestRng::from_seed and then you can use the TestRunner to run any tests you want with that seed using TestRunner::run. This allows you to programmatically set up your test harness however you want if you have more bespoke requirements.
Let me know if this helps!

Closing this as it hasn't had any activity. If there are further questions feel free to reopen or open a new issue


Update README - Spelling Mistake

Fixed a minor spelling mistake for the "thirdweb cli" hyperlink in the readme

Updated README does not include this section.


table hover sometime border not appear after hovering

On Edge Chromium W10
https://boosted.orange.com/docs/5.0/content/tables/#hoverable-rows after hovering quickly multiple times the row, some border are hidden

Maybe linked to no table accent bg mentionned in boosted : https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/v5-dev/scss/_tables.scss#L7
But used here : https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/v5-dev/scss/_tables.scss#L98
In boosted we have set border on TR and define a line-height on each cells maybe this conflict with the way bootstrap manage variant: https://boosted.orange.com/docs/5.0/content/tables/#how-do-the-variants-and-accented-tables-work ?

Reintegrating *table-accent-bg doesn't fix anything just like that but I think it would be nice to fix it anyway to stay the closest possible to Bootstrap:
diff --git a/scss/_tables.scss b/scss/_tables.scss
index a3513b44a..b53ca9413 100644
--- a/scss/_tables.scss
+++ b/scss/_tables.scss
@@ -4,7 +4,7 @@

 .table {
   --#{$variable-prefix}table-bg: #{$table-bg};
-  // Boosted mod: no table-accent-bg
+  --#{$variable-prefix}table-accent-bg: #{$table-accent-bg};
   --#{$variable-prefix}table-active-color: #{$table-active-color};
   --#{$variable-prefix}table-active-bg: #{$table-active-bg};
   --#{$variable-prefix}table-hover-color: #{$table-hover-color};
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 80614b652..eb6f21092 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -646,7 +646,7 @@ $table-line-height:           1.25 !default; // Boosted mod

 $table-color:                 $body-color !default;
 $table-bg:                    $body-bg !default;
-// Boosted mod: no $table-accent-bg
+$table-accent-bg:             $body-bg !default;

 $table-th-font-weight:        null !default;

diff --git a/scss/mixins/_table-variants.scss b/scss/mixins/_table-variants.scss
index 9fc3b423b..bdfe0e553 100644
--- a/scss/mixins/_table-variants.scss
+++ b/scss/mixins/_table-variants.scss
@@ -6,6 +6,7 @@
     $active-bg: mix($color, $background, percentage($table-active-bg-factor));

     --#{$variable-prefix}table-bg: #{$background};
+    --#{$variable-prefix}table-accent-bg: #{$background};
     --#{$variable-prefix}table-active-bg: #{$active-bg};
     --#{$variable-prefix}table-active-color: #{color-contrast($active-bg)};
     --#{$variable-prefix}table-hover-bg: #{$hover-bg};

@Lausselloic: Is this bug still relevant? We were unable to replicate it.

I can't reproduce, maybe a browser bug


User has to click twice on submit button to submit form

What steps will reproduce the problem?
Create ActiveForm with two submit buttons:
<?= Html::submitButton('Load', ['class' => 'btn btn-primary', 'name'=>'submit', 'value'=>'submit_html']) ?>
<?= Html::submitButton('Export CSV', ['class' => 'btn btn-primary', 'name'=>'submit', 'value'=>'submit_export']) ?>
What is the expected result?
Form should be submitted on one click to submit button
What do you get instead?
User has to click twice on any submit button to submit form.
Additional info
Similar issue: https://github.com/yiisoft/yii2/issues/10555

Q
A

Yii version
2.0.11

PHP version
7

Operating system
Linux

Duplicates https://github.com/yiisoft/yii2/issues/13531#issuecomment-277831483


Dealing with false positives in unique ID

Description
This PR fixes issue #64 which relates to installer unique ID. Might be useful to read the comments in the issue page.
closes #64
Instructions for Reviewer(s)
Review
Hey @sqr00t could you please double check things still look good after the changes in asf_core_data/pipeline/mcs/process/process_historical_mcs_installers.py? Many thanks!
Setup
In case you want/need to run anything:

clone this repo: git clone git@github.com:nestauk/asf_core_data.git
checkout to the correct branch: git checkout 64_accuracy_installers_unique_id
Run make install;
Run direnv allow;
Activate the conda enviroment: conda activate asf_core_data;
Set your API credentials as environment variable, i.e run export COMPANIES_HOUSE_API_KEY="ADD_YOUR_API_KEY_HERE" in the command line and replace ADD_YOUR_API_KEY_HERE with your API key credentials.

Changes in this PR didn't add any code, only commented out some code. I double checked with Chris and he agrees with the changes. Additionally code runs smoothly, so will now merge to dev.


Update App.js

https://coder.social/ViroCommunity/starter-kit/issues/34
ViroConstants is not working for me and other people, so i propose to follow this fix.

Fixing this in #64


enable service ip check for kibana

+1 from https://github.com/openshift/openshift-tools/pull/3774


MM-14153 - Updating buttons on signup page

Summary
MM-14153 - Updating buttons on signup page
Ticket Link
https://mattermost.atlassian.net/browse/MM-14153
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Ran make check-style to check for style errors (required for all pull requests)
[ ] Ran make test to ensure unit and component tests passed
[ ] Added or updated unit tests (required for all new features)
[ ] Needs to be implemented in mobile (link to PR or User Story)
[ ] Has server changes (please link)
[ ] Has redux changes (please link)
[ ] Has UI changes
[ ] Includes text changes and localization file (.../i18n/en.json) updates
[ ] Touches critical sections of the codebase (auth, posting, etc.)

cherry picked eb5817229adf8fabeabcb2a5db90f061b8d04bb4 into release 5.8 branch


Slow performance sending in #matrix:matrix.org

To repro:

join #matrix:matrix.org
send a message
on hitting enter; iamb freezes for about 10s
eventually the local-italic echo appears, and then resolves to remote echo.

I mistook this earlier as a lack of local echo (or lack of message queuing / retry semantics), but the actual thing which was tripping me up looks to be freeze on hitting enter.

Not sure, if it is related to it, but I think so.. I found out that thte app eating a lot of CPU resources, even when any chat is off. It is taking around 45%-60%.

The CPU usage is fixed: https://github.com/ulyssa/iamb/pull/168

I was also suffering the CPU problem, which now appear to be fixed - however, it's still freezing for 10s on trying to send a msg in Matrix HQ (this on 0.0.9).

I was also suffering the CPU problem, which now appears to be fixed - however, it's still freezing for 10s on trying to send a msg in Matrix HQ (this on 0.0.9).

I can confirm this. In rooms with many people and messages, if I send a message there is delay (about 10 seconds). This isn't a case if I talk in direct messages 1:1.


Opt view scan function

Makes sense to me. It might be nice later to move the scanning code to a separate file, since it it quite self-contained.


Some ideas to improve the workshop-material (adulau self-assigned)

Create a list of references and urls for all the mentioned links a markdown file per workshop materials
A checklist of hardware needed per workshop
The source of the slides for the ones who want to directly contribute
MISP object templates WiP -> iot-device - firmware
Create a contribution section in the README file


test: e2e test case for using branches other than main/master

Fixes #248
Modifications
Adds test case called TestNonMainBranch to test that GitSync works properly when targetRevision is set to a branch other than main or master. This done by creating a new branch test and pushing to it to see that changes on the resources are reflected by it. We also test changing back to the master branch.
Verification
Ran make test-e2e

Awesome, thanks!

Welcome!


Stackrox vulnerability reports are being sent at 2 AM

Hello,
How to customise the timings for sending Stackrox vulnerability reports?

Hi @imdmahajankanika
Colleagues shared info that it is not unfortunately possible to set a time of day for the VM reports to go out. Central starts processing them when server time rolls over to the date or day of week that they are set to run. Report-processing is a long-running task, and the reports get emailed once that task completes.
We'd consider a community contribution for making this setting configurable.
I'll close this issue but please feel free to add comments and/or report a new one should you have further questions.


Isbi2d affinity model is listed twice

It was uploaded twice, once by you and another by me;)

Removed it nw


ROS melodic, Gazebo version 9

Hi,
I want to use this package on Ubuntu 18 with ROS melodic and gazebo version 9. After catkin_make I got the following error:
fatal error: gazebo/math/Vector3.hh: No such file or directory  #include <gazebo/math/Vector3.hh>
which is explained here:
https://answers.gazebosim.org/question/21872/vector3hh-not-found-on-gazebo9/
So I changed math::Vector3 to ignition::math::Vector3
with the header #include <ignition/math/Vector3.hh>
but I still get some errors:
[  0%] Built target gazebo_ros_2Dmap_plugin_xacro_generated_to_devel_space_ [ 50%] Building CXX object gazebo_ros_2Dmap_plugin/CMakeFiles/gazebo_2Dmap_plugin.dir/src/gazebo_2Dmap_plugin.cpp.o /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp: In member function ‘virtual void gazebo::OccupancyMapFromWorld::Load(gazebo::physics::WorldPtr, sdf::ElementPtr)’: /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:68:44: error: qualified-id in declaration before ‘(’ token  bool OccupancyMapFromWorld::ServiceCallback(std_srvs::Empty::Request& req,                                             ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:75:50: error: qualified-id in declaration before ‘(’ token  bool OccupancyMapFromWorld::worldCellIntersection(const ignition::math::Vector3& cell_center,                                                   ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:124:39: error: qualified-id in declaration before ‘(’ token  void OccupancyMapFromWorld::cell2world(unsigned int cell_x, unsigned int cell_y,                                        ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:133:39: error: qualified-id in declaration before ‘(’ token  void OccupancyMapFromWorld::world2cell(double world_x, double world_y,                                        ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:142:39: error: qualified-id in declaration before ‘(’ token  bool OccupancyMapFromWorld::cell2index(int cell_x, int cell_y,                                        ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:158:39: error: qualified-id in declaration before ‘(’ token  bool OccupancyMapFromWorld::index2cell(int index, unsigned int cell_size_x,                                        ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:174:47: error: qualified-id in declaration before ‘(’ token  void OccupancyMapFromWorld::CreateOccupancyMap()                                                ^ In file included from /usr/include/gazebo-9/gazebo/common/common.hh:36:0,                  from /usr/include/gazebo-9/gazebo/gazebo_core.hh:19,                  from /usr/include/gazebo-9/gazebo/gazebo.hh:20,                  from /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/include/common.h:26,                  from /home/usermap_ws/src/gazebo_ros_2Dmap_plugin/include/gazebo_2Dmap_plugin.h:28,                  from /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:21: /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:283:1: error: expected unqualified-id before string constant  GZ_REGISTER_WORLD_PLUGIN(OccupancyMapFromWorld)  ^ /home/user/map_ws/src/gazebo_ros_2Dmap_plugin/src/gazebo_2Dmap_plugin.cpp:283:1: error: a function-definition is not allowed here before ‘{’ token  GZ_REGISTER_WORLD_PLUGIN(OccupancyMapFromWorld)  ^
any tip will be appreciated, thank you

Hi, yes I think the problem is that you need to change math::Vector3 to ignition::math::Vector3d. I adapted the code for ros melodic and gazebo 9, please check out the new melodic-devel branch :-). I hope it works. Could you please confirm that the code works and then close the issue? Thank you, best! Marina

Hi, I tested it. It worked well, thank you very much.
The only thing I recognized is that after I insert the the plugin code into my world file, after launching I got with different worlds the following error.
Error [Element.cc:702] Missing element description for [contactSensor]
This does not effect the generation of the yaml and pgm file but I'm not sure if this is also a problem of the switch from gazebo version 7 to 9
After roslaunch:
.....
[ INFO] [1590410604.017226244]: Physics dynamic reconfigure ready. [ INFO] [1590410604.148032308]: occupancy map plugin started Error [Element.cc:702] Missing element description for [contactSensor]
After rosservice call:
[ INFO] [1590410604.017226244]: Physics dynamic reconfigure ready. [ INFO] [1590410604.148032308]: occupancy map plugin started Error [Element.cc:702] Missing element description for [contactSensor] Starting wavefront expansion for mapping Occupancy Map generation completed
best, Michael

Hi Michael, glad that it works! Thank you for your pointing out this error. I have been meaning to clean the code for a long time, I will look into it when I get the change :-)! Best, Marina


network matrix enhancements

The following changes should be applied to the network matrix:

[ ] give option to create internet zone with all public IPs
[ ] give option to create unused internet zone with all public IPs that are not in other zones
[ ] give option to create rest zone with all IPs that are not in other zones
[ ] give option to enforce all standard (not above) zones to be disjoined (show non-disjoined zones when switching on)
[ ] zone names should be unique

regarding the second option: by "unused" you mean  that this zone should contain "public IPs" - "IPs used in any zone" and this should be calculated dynamically, right?
regarding second option - this should also  be calculated dynamically every time there is a change to any zone's IP addresses?


MissingPluginException(No implementation found for method setNotification...)

Hello,
Thanks for the great package.
I'm facing a very tedious issue. I'm getting a MissingPluginException with this very simple code
void play() async {
    await audioPlayer.play("https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_1MG.mp3", isLocal: false).then((v){
      print('Playing $v');
    }).catchError((e){
      print('error $e');
    });
    audioPlayer.setNotification(
      title: 'Test audio',
      artist: 'The artist',
      albumTitle: 'The album',
      imageUrl: 'https://i.picsum.photos/id/59/200/200.jpg'
    ).then((v){
      print('Notification ok');
    }).catchError((e){
      print('error with setNotification $e');
    });
  }

I/flutter ( 3921): error with setNotification MissingPluginException(No implementation found for method setNotification on channel xyz.luan/audioplayers)
I've tried to flutter clean & flutter pub get and I've also tried older version of the plugin, unsuccessfully
I've had a similar issue with the method Play(), uninstalling and reinstalling the application fixed the problem, but not in this case..

Which emulator are you using? because from the code in audioplayers.dart
  /// Sets the notification bar for lock screen and notification area in iOS for now.   ///   /// Specify atleast title   Future<dynamic> setNotification(       {String title,       String albumTitle,       String artist,       String imageUrl,       Duration forwardSkipInterval,       Duration backwardSkipInterval,       Duration duration,       Duration elapsedTime}) {     return _invokeMethod('setNotification', {       'title': title ?? '',       'albumTitle': albumTitle ?? '',       'artist': artist ?? '',       'imageUrl': imageUrl ?? '',       'forwardSkipInterval': forwardSkipInterval?.inSeconds ?? 30,       'backwardSkipInterval': backwardSkipInterval?.inSeconds ?? 30,       'duration': duration?.inSeconds ?? 0,       'elapsedTime': elapsedTime?.inSeconds ?? 0     });   }
It says that, it has only been implemented for IOS for now. So, if you are using an Android emulator, you might probably get this issue. I could not verify if this works in IOS as emulator doesn't show full control center.

Yes you are write, I didn't read the comment until the end sorry.
I've tested on iOS, it's works fine. So is there any way to have multimedia control on the Android Notification Center ?

You can probably create a custom notification with flutter_local_notifications for now

Yep. That's what I tried to do.  It stays forever
It seems that there is no way in Flutter to detect when the application is killed by user. Anyway, it is out of the scope of this plugin.

After check the dart code and the native code  startHeadlessService and setNotification  for now is only supported for iOS.  Please add support to Android for this amazing plugin.

Closing this due to reports of this being fixed on newer versions. Feel free to open a new issue in case of this still happening


Attempt at server setting validation

The PR will add validate_server_settings to utils, letting users validate server specific settings.

[x] Create Lua Table For Default Settings From Package.json
[x] Create Basic Implementation for validate_server_settings
[x]  Improve validate_server_settings to check nested tables

@mjlbach here's the attempt for #25. I still need to implement validation_server_settings properly, so it checks for nested tables but this is the basic idea.
Here's how I'm currently using it in my config with sumnko_lua:
require('lspconfig').sumneko_lua.setup{
cmd = {"lua-langserver"},
on_attach = on_attach,
capabilities = capabilities,
settings = require('lspconfig.util').validate_server_settings({
Lua = {
runtime = {
version = 'LuaJIT',
path = vim.split(package.path, ';')
},
workspace = {
library = {
[vim.fn.expand('$VIMRUNTIME/lua')] = true,
[vim.fn.expand('$VIMRUNTIME/lua/vim/lsp')] = true,
},
},
diagnostics = {
globals = { 'vim' }
}
}
}, '/Users/saadparwaiz/package.json')
}
``

Think it more or less works now. if there are any changes you want to make or if you want to test it out please let me know

Can you add a helper function that reads package.json's url from the server config?

Also we should add a helper that iterates over all servers and checks them using their attached package.json (if it is provided)

for the helper method that reads the url should it also download the package.json to the stdpath('cache')?

I would say yes, or mimc the method that the lua docgen uses

Can't we just directly stream json from the url?

yeah, we probably can! sounds good I'll get started on it

Hello, I'm working on a plugin called nlsp-settings.nvim.
This plugin provides a mechanism to allow completion like coc-settings.json.
Would it be possible to integrate this into nvim-lspconfig? Or would it be better to continue the project as nlsp-settings.nvim?
Also, I thought the idea of loading the config from the URL package.json was great!
Thank you!

This looks terrific! You should definitely add it to the wiki.
I would say there are probably parts that should stay separate (anything to do with autocompletion, comp-e, snippets, etc). If you want to move functions for reading/validating settings (similar to the spirit of this PR) into nvim-lspconfig, I think that's ok?
We try to keep nvim-lspconfig as "stock" as possible and dependency free, so as to not get in the way of plugin authors like yourself :)

Thank you! I'll add it to the wiki later!
The function for reading settings might be better to be in nvim-lspconfig. If I can successfully implement it, I'll send a pull request or comment here.
I like the idea of eliminating dependencies and keeping it small. I agree with that idea.

I agree that a utility function to read the settings from json would fit quite well into nvim-lspconfig. Managing and autocompletion for the JSON configs are better dealt with outside of this project as it is now. nlsp-settings looks great, thanks @tamago324.

@tamago324 @saadparwaiz1 Any updates? I'm aiming for 0 open issues before the 0.5 release 😆

@tamago324 @saadparwaiz1 Any updates? I'm aiming for 0 open issues before the 0.5 release 😆

I'm currently in the middle of exam season :( I'd love it if someone can take this over

No worries at all, just wanted to check before I took things over :)

@mjlbach I have created a script to generate a JSON file from package.json for use with JSON schema.
I hope you find it useful.
Simply out of curiosity, if you use JSON Schema to validate, are you assuming that you will use a library like jsonschema?

I'm not sure this feature warrants a whole dependency on an external parsing library. I think what saadparwaiz1 already did is basically what norcalli originally had in mind, it just needs a bit of cleanup and maybe an additional helper function to validate the configs of all .setup language servers.

@mjlbach Thank you very much for your answer.
I understand now.

Maybe this could be integrated in :checkhealth?


No Brainer character sheet?

I don't see an option to select Brainer among the character classes! This saddens me.

Hey @borogove I missed this, apologies!
Will be adding Brainer as well as the extra classes in the next update.

well, not ALL the extra (limited) playbooks... I suspect that some of the weirder ones will be harder to integrate into the system.


Timer Gets Disabled

I was using the same code uploaded on stackblitz. Its working on stackblitz but not on local server.
Initially its not get disabled but once you start increase hours or minutes when minutes count reach to 59 its get disabled and on hours when count reach to 12 its get disabled

stackblitz url : https://stackblitz.com/edit/angular-p9rpbq?embed=1&file=src/index.html

Not sure what you mean, your stackblitz demo works fine for me.

I mean to say when you change hour or minute clicking  on up and down arrow button its get disabled

Your stackblits demo works fine for me.
You might consider update the picker's version to latest in your local development.
I close this as this is not an issue.


Progress update during ingestion

Would be great to have an update on how many files are done/remaining

https://github.com/janmechtel/darkasette/commit/3a59298236b7aedfd3268acd72a252dc6d0d8e66


Replace isInstanceOf with scalatest a[]

Replaced isInstanceOf[Foo] shouldBe true with shouldBe a[Foo] like I did in #151 for the play tests and like @fommil mentioned on the gitter channel.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #152   +/-   ##
=======================================
  Coverage   78.64%   78.64%
=======================================
  Files          32       32
  Lines         281      281
  Branches        2        2
=======================================
  Hits          221      221
  Misses         60       60

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d8acbf...f31b404. Read the comment docs.


Not working on Intel macOS Sonoma 14.1.1

Hi Jonas, unfortunately my beloved screensaver of yours doesnt run anymore after having updated my Intel Macbook Pro to Sonoma.  It doesnt matter whether I have external displays plugged in or not. Could you look into this?

Hi Jonas, unfortunately my beloved screensaver of yours doesnt run anymore after having updated my Intel Macbook Pro to Sonoma.  It doesnt matter whether I have external displays plugged in or not. Could you look into this?

See: https://github.com/liquidx/webviewscreensaver/issues/75#issuecomment-1851059308
While I'm not the author of October30, October30 is one of my favorite screensavers and I intend to test my findings on it later today.

Any update on this?


test: fix doctests for 32-bit and 16-bit pointer widths

Closes https://github.com/rust-osdev/endian-num/issues/3

On CI there were some weird segfaults when compiling two doctests (https://github.com/rust-osdev/endian-num/actions/runs/9974248170/job/27561334450), but it works fine locally.

Published as 0.1.2


All of the sudden, Aerial seems to have gone wonky

iMac Retina 4K 21.5" 2017. Mojave 10.14.6
Been using Aerial for some time with no issues.
Recently, I'm getting mostly just black screens with the time at the bottom.
When the videos do begin to play, they will play only for a short time, then the black screen appears.
I've tried deleting the screensaver and re-downloading, but to no avail.
Help?

Hi @dsoelter
Can you make a screenshot of your Cache settings ?

Is either of these helpful?  Bear with me. I’m probably in over my head on this.

On Sep 12, 2020, at 10:43 AM, Guillaume Louel<EMAIL_ADDRESS>wrote:
Hi @dsoelter https://github.com/dsoelter
Can you make a screenshot of your Cache settings ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/JohnCoates/Aerial/issues/1097#issuecomment-691522967, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ7ECOF2FGJTWOYTOLSLJBLSFOXKLANCNFSM4RJYVASQ.

You need to attach the files from GitHub’s website it doesn’t work by email.

Thanks a lot @dsoelter. Can you go into Settings > Advanced in Aerial's settings and enable Debug log, like this below :

Next time you see a black screen, note the time it happens, and send me the log (you can access it from that place above) so I can look into it.
Thanks and sorry about that.

AerialLog.txt
12:10 Pacific Time - screensaver started with black screen, no video.

@dsoelter If I read things correctly:
You launched Aerial in screen saver mode:
2020-09-12 12:09:50.578 : <AerialView: 0x7fc4fdc0a990> AerialView setup init (V2.0.8) preview: false
2020-09-12 12:09:50.578 : Running Version 10.14.6 (Build 18G5033)

It initialized correctly, including location.
2020-09-12 12:09:51.667 : day
2020-09-12 12:09:51.668 : generate playlist
2020-09-12 12:09:51.668 : playlist count: 119
2020-09-12 12:09:51.668 : Final count : 72

It was daytime, Aerial generated a playlsist of 72 videos.
20-09-12 12:09:51.669 : <AerialView: 0x7fc4fdc0a990> playing video (OFFLINE MODE) : file:///Users/dalesoelter/Library/Application%20Support/Aerial/Cache/comp_HK_H004_C001_PSNK_DENOISE_v14_HDR_PS_FINAL_20180731_HDR_4K_HEVC.mov
2020-09-12 12:09:51.669 : <AerialView: 0x7fc4fdc0a990> observing current item <AVPlayerItem: 0x6000031aa9e0, asset = <AVURLAsset: 0x6000033c2420, URL = file:///Users/dalesoelter/Library/Application%20Support/Aerial/Cache/comp_HK_H004_C001_PSNK_DENOISE_v14_HDR_PS_FINAL_20180731_HDR_4K_HEVC.mov>>
2020-09-12 12:09:51.669 : <AerialView: 0x7fc4fdc0a990> observeValue Optional("readyForDisplay") false

It then started playing a video according to the log. Did you see just a bit of it, or none of it ? This sounds like one of those weird graphic issues, so while it may be unrelated, here's something you could try :

This is disabled by default, try enabling it. I've added this because of a weird performance issue on some macs, I think that may be what's causing your issue considering it's a very recent change.

Tried that just now.  No change.  Here is another log from moments ago.
Screen most recently is going straight to black, with only the clock showing on the display. Yesterday, at some point I caught a glimpse of one of the videos which played for a few seconds before display went to black, again with only the clock.
Wondering if it would be helpful to completely remove the application again and start fresh, but would need help knowing where any parts would be hiding after dragging to the trash.
AerialLog.txt

Thanks a lot, I had another look at your log but it looks fine from there...
I didn't ask, when you go into settings here, do you see a video playing or just the clock too ?

Removing should not change a thing, this is a graphics bug so it's more a question of me finding what I changed. I believe that if you tried installing an older version like 2.0.4 you may be fine in the meantime, download here : https://github.com/JohnCoates/Aerial/releases/download/v2.0.4/Aerial.saver.zip

To answer your question.  I was only seeing black there too>
In the mean time, I think I found the problem.  Video had somehow set itself at HDR, though I have not upgraded to Catalina, and didn't make any changes there.
Changed to 4K HEVC, which required deleting all videos.  Now, all are downloading again, and I'm seeing what I should be seeing.  Fingers crossed that all is now well.  Thanks a MILLION for all the help.   Never would have solved any of this without your help!

Wow, that's crazy, because I'm hiding HDR on 10.14 ! I have no idea how it got set...
Glad to hear it's fixed in any case, and happy to help. I'll investigate why HDR got selected...


WIP: RAND_DRBG: add a function for setting the reseeding defaults

The introduction of thread local public and private DRBG instances makes it very cumbersome to change the reseeding (time) intervals for those instances, see https://github.com/openssl/openssl/pull/5547#pullrequestreview-102119053. This commit provides a function to set the default values for all subsequently created DRBG instances.
 int RAND_DRBG_set_reseed_defaults(
                                   unsigned int master_reseed_interval,
                                   unsigned int slave_reseed_interval,
                                   time_t master_reseed_time_interval,
                                   time_t slave_reseed_time_interval
                                   )

The function is intended only to be used during application initialization, before any threads are created and before any random bytes are generated.
This pull request is based on top of #5462.  It will have to be adopted to the thread local case (#5547) after that one is merged, or vice versa.
Checklist

[ ] documentation will be added by #5461

If #5547 happens, then this should happen to avoid losing a useful feature.

Thanks! I am going to rebase this branch on top of #5547 before taking it out of WIP. Then it will be easier to merge it as follow up of the other.

There is no need to wait for #5547, Ich checked that this commit has no conflicts with Kurts commits. So I rebased it onto master and I'll take it out of WIP.

@kroeckx do you have a look over this before I merge?

I did not fully review this, but it at least looks sane.
I'm just wondering if we need settings to override the other defaults too.

Which other defaults?

The only thing I can think of now is the type and flags that you pass to RAND_DRBG_set(). The callbacks probably don't make sense to override.

Well, I'll think about it. In any case it will be in a different PR. Going to merge this one now.

Done, thanks!


Missing macro/string/anything providing the version number

As far as I can tell, this information is not provided by the library as it is custom, either via a define, or some function.

That's true. I guess we can start with just a RISCV_LIBRARY_VERSION that uses the git tag

https://github.com/libriscv/libriscv/pull/272
I implemented it as defines RISCV_VERSION_MAJOR and RISCV_VERSION_MINOR
In theory git tag could be used, but libriscv is used in a lot of weird places, and we don't want to introduce a dependency on git.

Thanks!


Update Callbacks

Fixes #67

Can we update the pattern to ^([0-9]{1,2}).([0-9]{1,2}).([0-9]{1,2})$

Many thanks for indicating.
Changed as poposed.


Variables instance bug

This issue was originally created at: 2009-07-04 00:35:03.
This issue was reported by: simpleton.
simpleton said at 2009-07-04 00:35:03

I was browsing the Scons souce, and found this in Variables/__init__.py:

        # create the singleton instance
        if is_global:
            self=Variables.instance

            if not Variables.instance:
                Variables.instance=self

It seems to me that the line 'self=Variables.instance' is a bug.

gregnoel said at 2009-12-09 11:26:28

Bug party triage.  Remove all uses of self.instance.

The usual SCons-y mess here.  The internal signature of the Variables function is:
def Variables(files=None, args=ARGUMENTS):

The documented signature is:
Variables([files, [args]])

The Variables class initializer, meanwhile, is defined this way:
def __init__(self, files=None, args=None, is_global=True):

It I read that right, it means you could only instantiate a Variables if you directly called to it, passing is_global=False, you can't do that through the published API (the Variables function).
So do I read the @gregnoel comment as: get rid of the singleton-forcing stuff, and potentially make it possible for there to be more than one Variables object?  If not, then the docs should possibly receive an update to show it's a singleton, the way is mentioned for DefaultEnvironment.
And, yes, the way this is written is broken, it doesn't create a singleton.  I think the author was expecting to be able to morph self this way but it doesn't do what's expected, so we're not implementing a singleton now.

It looks like Variables.instance is a class variable and thus is a singleton.
Am I reading that wrong?

It turns out... yes - my first glance was also to think "oh, it's a singleton".  By the time you're in __init__, a new instance has already been created.  You then set self in __init__ to the one saved, which presumably intends to morph the new instance into the old one, but it's actually just assigning to the local self and nothing is then done with that. So it's similar to a common pattern, but not doing it right. Unless I'm reading it completely wrong... I can easily make it into one, but I'm not sure there's any benefit to it.

Forgot to link this to a PR since what started as a single PR (which did have a link in the commntary) was split into a series - the broken singelton-ish behavior was removed in PR #4533.


Figure out how to get another engineer

We have so much stuff to do, it would be really nice to have another engineer working with us on ord.

New apprentice ;)

I'd bet there would be a few candidates in the audience of tomorrow's coding club.

I can participate in some PR (fix error / new feat/ etc), If need me to solve it, you can @ me.

I'm here :D


Considerations and limitations - The dataflows feature is not supported on Multi-GEO at this time

I've found the following sentence really confusing and please revise it or add asterisk next to it.
Source:
https://staticsint.teams.cdn.office.net/evergreen-assets/safelinks/1/atp-safelinks.html
The dataflows feature is not supported on Multi-GEO at this time
Some customers have been confused by this single line because it's not clearly stated. Please take a look at the following link for what I meant by this.
https://docs.microsoft.com/en-us/power-bi/transform-model/dataflows/dataflows-develop-solutions#multi-geo-support
Thanks!

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

ID: 2e1ae590-933f-bf65-888e-03dbf0ddc252
Version Independent ID: ae8f54bb-5fdb-a071-528d-169b4b766be6
Content: Multi-Geo support for Power BI Premium - Power BI
Content Source: powerbi-docs/admin/service-admin-premium-multi-geo.md
Service: powerbi
Sub-service: powerbi-premium
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Thanks for your comment, @marshal115. This issue has been assigned to the doc author for review.

Hi @marshal115,
Thank you for pointing this out. I'll do some further checks and correct the document shortly.
Kesem

Hi @marshal115,
After checking this issue with the product and engineering teams, I can confirm that the documentation is correct.
Considerations and limitations (7th bullet) states that dataflows aren’t supported on Multi-GEO. That's correct, when using the Power BI managed storage, you do not have multi-geo support.
The second paragraph in Multi-geo support suggests that you can use the bring-your-own-storage-account (BYOL) feature with dataflows. BYOL allows attaching your own storage account to a workspace (which could be created in any geo region you select), to achieve a multi geo effect.
Hope this helps,
Kesem


Double click on zone/stage/icon will jump to incorrect page

Environment
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36
URL
https://penguin-stats.io/
Steps to reproduce
Report

In report page, double click on a zone. User will go to step 3 immediately without selecting any stage.

Go back to step 1 (In stepper, not in this doc. The same below), choose a zone with single click. Then double click (be fast!) on a stage. Nothing is shown below as if the stage was not selected.

Go back to step 1, double click on a zone. It will show the report page for the stage you selected previously.

Result (by stage)
The weird behavior is similar to report page.
Result (by item)
In result (by item) page, double click (be fast!) on an item. Nothing is shown below as if the item was not selected.

What is expected?
N/A
What is actually happening?
N/A

Successfully reproduced. The cause of the bug is that the step will be added on every click of the choice elements (zone/stage). So on:

in the first case, after interaction the expected data will be step = 2, but the actual data is step = 3.
in the second case, before interaction step = 2; After interaction, the expected data is step = 3, but the actual data is step = 4 so it shows no element.
in the third case, before interaction step = 1; After interaction, the expected data is step = 2, but the actual data is step = 3 so it shows no element.


On My Profile page: make program names into links

The program names on the interest table should be links to that event on the CELTS website so the user is able to get more information about the events.

The issue has been merged. Closing issue


Shallow api is rendering entire component tree (And failing on component 5 levels beneath)

Current behavior
I'm trying to get the ball rolling by adding tests to my application and just do a simple 'renders without crashing' test in my App.js component. I'm attempting to shallow render the component with a mocked store however it is failing on some HOC I have that is 5 component levels deep.
Here is what my test looks like:
import React from 'react';
import { shallow } from 'enzyme';
import { persistStore } from 'redux-persist';
import configureMockStore from 'redux-mock-store';
import createHistory from 'history/createBrowserHistory';
import App from './App';

it('renders without crashing', () => {
  const mockStore = configureMockStore();
  const store = mockStore({});
  const persistor = persistStore(store);
  const history = createHistory();

  shallow(<App store={store} persistor={persistor} history={history} />);
});

Here is what happens when I run jest:
src/App.spec.js
  ● Test suite failed to run

    TypeError: Cannot read property 'role' of undefined

      29 |               }
      30 |
    > 31 |               return `${finalPath}/${routeParams.splice(0, 1)[0]}`;
      32 |             }
      33 |
      34 |             return `${finalPath}/${pathSection}`;

      at Object.<anonymous> (src/utils/routeHelper.js:31:31)
      at Object.<anonymous> (src/modules/Realtime/submodules/WebSocket/index.js:58:20)
      at Object.<anonymous> (src/modules/Auth/index.js:50:18)
      at Object.<anonymous> (src/containers/Page/index.js:17:13)
      at Object.<anonymous> (src/App.js:29:13)
      at Object.<anonymous> (src/App.spec.js:19:12)

Expected behavior
It is my understanding that shallow() should render a shallow component and now care about the entire component tree. Unless shallow actually renders the whole component tree for some verification reasons (not sure why it would though), then I think this is a valid issue or I'm derping hard.
Your environment
Environment:
  OS: macOS Sierra 10.12.6
  Node: 8.9.4
  Yarn: 1.3.2
  npm: 5.6.0
  Watchman: 4.9.0

API

[x] shallow
[ ] mount
[ ] render

Version

library
version

Enzyme
3.3.0

React
16.0.0

Adapter

[x] enzyme-adapter-react-16 (1.1.1)
[ ] enzyme-adapter-react-15
[ ] enzyme-adapter-react-15.4
[ ] enzyme-adapter-react-14
[ ] enzyme-adapter-react-13
[ ] enzyme-adapter-react-helper
[ ] others ( )

Also having the same issue. The test fails in a component 4 level deep.

shallow only renders the top level of the tree; but it absolutely does (and has to) evaluate the entire component tree. In other words, if src/containers/Page/index.js:17:13 isn't inside the render path, then anything that imports Page would obviously have to evaluate line 17, and if evaluating that threw, it'd throw.
shallow-rendering isn't about automocking modules; it's about only calling the top-level component's render method.

Can you provide your actual component code, to confirm my hunch?


Split vertical fluxes on basin

Fixes https://github.com/Deltares/Ribasim/issues/661.

@visr let me know whether you think this is going in the right direction. The vertical fluxes get integrated now but they are not yet saved. Something about this also feels a bit silly, since this does an approximation of the integral while we could easily obtain the exact value.

In fact, for forward fill we don't need vertical_flux_prev at all, we just have to make sure the integration is computed before vertical_flux is updated.

Maybe https://github.com/Deltares/Ribasim/issues/1084 can also be picked up in this PR, just expose vertical_flux_integrated in stead of vertical_flux values. One thing we need to think about as discussed with @HendrikKok is what happens when a basin dries out.


ERROR: Could not find a version that satisfies the requirement asapdiscovery-cli (from versions: none)

pls send help
(asapdiscovery) paynea@lilac-ln02:/data/chodera/paynea/asapdiscovery$ pip install -e asapdiscovery-*
Obtaining file:///lila/data/chodera/paynea/asapdiscovery/asapdiscovery-alchemy
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Installing backend dependencies ... done
  Preparing editable metadata (pyproject.toml) ... done
ERROR: Could not find a version that satisfies the requirement asapdiscovery-cli (from versions: none)
ERROR: No matching distribution found for asapdiscovery-cli

the data, modeling, and docking subpackages all seem to work fine

Oh, it's just that asapdiscovery-cli needs to be installed first

Probably the solution is #20

I think we can just remove explicit dep in pyproject.toml for asap-alchemy and then just have the import fail @jthorton ?
On a broader note there is a way to make a namespace package installable from the root pyproject.toml, but it is fiddly. I will investigate.

Fixed in #731 (at least semi)

Closing


Notification Issue

Alarmo Version
v1.9.6
HA Version
2022.11.4
Bug description
After the alarm is triggered, the notification only triggers on the first change of sensor state.  For instance, if I open an exterior door when the alarm is armed (Home or Away) it will trigger the notification.  If I then walk past a motion sensor, there will be no notification.
Steps to reproduce
Simply create a notification based on the alarm being triggered.
service: notify.mobile_app_robs_iphone
data:
message: The alarm was triggered because {{open_sensors}}
title: Security Alert
Relevant log output
No response

The alarm is only triggered once, this is not a bug.


Fix brokenness post the bump to ethereumjs

Remove remaining internal requires;
Copy some utility functions to local code from ethereumjs monorepo;
Change the interposing on the EVM class from the Interpreter class

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

Project coverage is 78.73%. Comparing base (92949b1) to head (85c2e89).
Report is 14 commits behind head on main.

Files
Patch %
Lines

src/debug/foundry_cheatcodes.ts
78.78%
7 Missing :warning:

src/utils/ethereumjs_internal/opcodes.ts
81.81%
6 Missing :warning:

src/debug/opcode_interposing.ts
66.66%
2 Missing :warning:

src/utils/ethereumjs_internal/exceptions.ts
97.14%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
+ Coverage   77.89%   78.73%   +0.83%
==========================================
  Files          22       26       +4
  Lines        2199     2267      +68
  Branches      455      465      +10
==========================================
+ Hits         1713     1785      +72
+ Misses        422      413       -9
- Partials       64       69       +5

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


feat(background,function-app): added more methods for building startup

Coverage increased (+0.02%) to 97.646% when pulling c5a8328092c42a9c120a3d510dd453cfe7bab463 on easier_startup into 781fd5be7ef55858c2279c2b27d0d0d330f70d2e on main.


merge from arlac77/template-kronos-module,arlac77/template-github

package.json

fix(engines): add >=13.10.1 remove >=13.8.0 (engines.node)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Updated nIx verison.

I copied this from the unstable branch.

Motivation for this change
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Doesn't seem to me like this package meets the backport criteria and even if it did, it wouldn't be merged in this form.

Also wrong branch it would need to be release-21.05


convert build setup to pyproject.toml

this is a significant restructuring of the build process. resubmit of PR #59

rebased the PR on latest development.
how do you run the docker build test?
i am testing with docker build .; in the source, and docker-compose up in eventyay-docker

Tested using the new workflow to build and deploy any commit , it seems to work ATM on https://tickets-dev.eventyay.com/.
@eMBee for clarity and history prevalence it would be better if you don't force push unless necessary and if you do adding a comment on the reasoning so we don't miss information. It's hard to understand reviews when force-pushes happen.

Also this PR has unrelated changes like modifications to workflows, not sure how those are related to pryproject.toml. Will go ahead and merge anyway.


Add ActivityPub Relays list

Unfortunately as far as I know, Mastodon uses its own client API and its incompatible with other AP-based applications. Would you mind removing Metatext from the list?

Oh my god I think I've mistaken the repository it's no problem with your commit. I'm deeply sorry.

@BasixKOR no problem that can happen to anyone. I was just a little confused.... 😁


Bip44 key generation

Coverage remained the same at 30.618% when pulling f7ecd6da7762d1b07175830945579d1eefb476cd on BIP44_key_generation into 9bbd2e7104693e5d66513e337bc9948168ef45b5 on master.


[Feature Request] Mobile Support

I use a bluetooth keyboard in conjunction with an android smartphone and I have been happily using the native vim keybindings in obsidian. However, I want a way to interact with ui elements that does not involve awkwardly fumbling with my fingers. This plugin seems to fit the bill but alas, it does not support my platform.
Is it possible to add support for the mobile? I admit that I'm not sure how much work this would entail on your end but I thought it would not hurt to ask.
Thanks for reading.

I disabled it for mobile, because I didn't think about using keyboards on them. I don't own a bluetooth keyboard, but I can maybe look into it

Would also love support for this on android. More and more phones are becoming really capable of handling this, like foldables and even regular phones can now connect to Bluetooth keyboards


ollama upgrade request: take care of systemd service setup

Hello,
I have modified /etc/systemd/system/ollama.service file to listen on all interfaces:
Environment="OLLAMA_HOST=<IP_ADDRESS>"
Works as expected but after every upgrade I must open the file and insert this config option again.
Is there any way to allow upgrade of ollama and take care of already defined systemd service setup?
Thanks

The best way to modify systemd services is to create an override configuration under /etc/systemd/system/<service>.d/<configuration>.conf. This separation allows the user customization of systemd configurations while allows the vendor to modify the base configuration.
For more details, see the FAQ


anchor build.Always reporting errors after downloading is complete:error: no such command: +solana          Cargo does not handle +toolchain directives.         Did you mean to invoke cargo through rustup instead?

anchor build.Always reporting errors after downloading is complete:error: no such command: +solana          Cargo does not handle +toolchain directives.         Did you mean to invoke cargo through rustup instead?
 rustc --version
rustc 1.75.0 (82e1608df 2023-12-21) (built from a source tarball)

 anchor --version
anchor-cli 0.30.1

 solana --version
solana-cli 1.17.25 (src:d0ed878d; feat:3580551090, client:SolanaLabs)``

I tried downloading Rust again but it didn't solve the problem

If you're on macOS, see https://github.com/coral-xyz/anchor/discussions/2831#discussioncomment-8673021
If not, this is likely related to your Solana installation. I'd recommend removing your installation and re-installing v1.18.
anchor build is a wrapper around cargo-build-sbf which comes from Solana's tooling.


Calling SetScript() on a node in C# causes the object to be disposed

Platform

Windows 10
Godot_v3.1.1-stable_mono_win64
GTX 1050 mobile
C# for scripting

Issue
Whenever I call SetScript() on a node object it makes any future calls to that object fail with the following error.
E 0:00:03:0063   System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Godot.KinematicBody2D'.
  <C Source>     /tmp/build_GodotSharp/GodotSharp/Core/Object.base.cs:37 @ IntPtr Godot.Object.GetPtr(Godot.Object )()
  <Stack Trace>  Object.base.cs:37 @ IntPtr Godot.Object.GetPtr(Godot.Object )()
                 Node.cs:389 @ void Godot.Node.AddChild(Godot.Node , Boolean )()
                 initializePlayer.cs:27 @ void initializePlayer._on_game_ready()()

Here's the script that causes the above error. I'm trying to dynamically initialize my players for a multiplayer game and assign the player control script to the instance representing the local player.
using Godot;
using System;
using System.Collections.Generic;

public class initializePlayer : Node
{
	[Signal]
	public delegate void PlayersInitialized();

	PackedScene player = (PackedScene)ResourceLoader.Load("res://scenes/player.tscn");
	List<Node> playerInstances = new List<Node>();
	List<KinematicBody2D> players = new List<KinematicBody2D>();
	private void _on_game_ready()
	{
		Global global = GetNode("/root/Global") as Global;
		playerInstances.Add((Node)player.Instance());
		playerInstances.Add((Node)player.Instance());
		if (global.playingAsHost)
		{
	        playerInstances[0].SetScript(ResourceLoader.Load("Scripts/playerMovement.cs"));
		}
	    else
		{
	        playerInstances[1].SetScript(ResourceLoader.Load("Scripts/playerMovement.cs"));
		}
		GetNode("/root/game/players").AddChild(playerInstances[0], true);
		GetNode("/root/game/players").AddChild(playerInstances[1], true);
		players.Add(GetNode("/root/game/players").GetChild(0) as KinematicBody2D);
		players.Add(GetNode("/root/game/players").GetChild(1) as KinematicBody2D);
		GD.Print(players[0].GetPropertyList()[0]);
		GD.Print(players[1]);
		EmitSignal(nameof(PlayersInitialized));
	}
}

It looks to me from googling around on this that somehow garbage collection believed that I was done with this object for reasons I don't understand. I've tried a number of variations on this issue and it seems to happen no matter how/where I call SetScript() or where/how I store the node object.
Repro

Script in C#
Create object representing node
Call SetScript() on that node object
Attempt any other use of that object

I have attached a sample project which demonstrates the issue I mentioned.
SetScriptIssueSample.zip

This is expected behaviour. You have to be careful with SetScript as you cannot asume the managed object you are calling it on will be usable after that. If previous to the call it had a C# script attached, then it will be disposed. If you're setting it to a new C# script, then it will also be disposed.
The reason this is possible in GDScript is because internally the variable is just a Object* (as a Variant ofc). So when you replace the GDScript instance, you don't need to do anything to access the new one. You can keep using the Object*.
In C# you're not accessing the Object* directly. Instead The C# instance is a wrapper around it. When you change the C# instance, the old one is disposed so you can't use it anymore.
You can do something like this to get the new C# instance:
ulong objId = obj.GetInstanceId();
// Replaces old C# instance with a new one. Old C# instance is disposed.
obj.SetScript(ResourceLoader.Load("Scripts/playerMovement.cs"));
// Get the new C# instance
obj = GD.InstanceFromId(objId);

This is a bit verbose and the lookup by object ID adds some overhead, but it will do as a workaround for now.
I'm thinking of making SetScript return the new instance to allow something like this:
obj = obj.SetScript(ResourceLoader.Load("Scripts/playerMovement.cs"));

I wrote this C# extension to make it easier to use the snippet provided by @neikeq when loading C# scripts into nodes.
using Godot;
using Object = Godot.Object;

public static class MyExtensions
{
    public static T SafelySetScript<T>(this Object obj, Resource resource) where T : Object
    {
        var godotObjectId = obj.GetInstanceId();
        // Replaces old C# instance with a new one. Old C# instance is disposed.
        obj.SetScript(resource);
        // Get the new C# instance
        return GD.InstanceFromId(godotObjectId) as T;
    }

    public static T SafelySetScript<T>(this Object obj, string resource) where T : Object
    {
        return SafelySetScript<T>(obj, ResourceLoader.Load(resource));
    }
}

Then it can be used like this where cSharpScript is a string reference to the resource, or a strongly typed Resource object. Without the SafelySetScript calling .SetScript here will give you an object indispose error when you try to set the .Text to test.
var button = new Button();
button = button.SafelySetScript<Button>(cSharpScript);
button.Text = "test";

To use @Jazzepi's C# extension for Godot 4, change Godot.Object to Godot.GodotObject and GD.InstanceFromId to Object.InstanceFromId (InstanceFromId is located under GodotObject instead of GD).
using Godot;
using Object = Godot.GodotObject;

public static class MyExtensions
{
    public static T SafelySetScript<T>(this Object obj, Resource resource) where T : Object
    {
        var godotObjectId = obj.GetInstanceId();
        // Replaces old C# instance with a new one. Old C# instance is disposed.
        obj.SetScript(resource);
        // Get the new C# instance
        return Object.InstanceFromId(godotObjectId) as T;
    }

    public static T SafelySetScript<T>(this Object obj, string resource) where T : Object
    {
        return SafelySetScript<T>(obj, ResourceLoader.Load(resource));
    }
}

To use @Jazzepi's C# extension for Godot 4, change Godot.Object to Godot.GodotObject and GD.InstanceFromId to Object.InstanceFromId (InstanceFromId is located under GodotObject instead of GD).
using Godot;
using Object = Godot.GodotObject;

public static class MyExtensions
{
    public static T SafelySetScript<T>(this Object obj, Resource resource) where T : Object
    {
        var godotObjectId = obj.GetInstanceId();
        // Replaces old C# instance with a new one. Old C# instance is disposed.
        obj.SetScript(resource);
        // Get the new C# instance
        return Object.InstanceFromId(godotObjectId) as T;
    }

    public static T SafelySetScript<T>(this Object obj, string resource) where T : Object
    {
        return SafelySetScript<T>(obj, ResourceLoader.Load(resource));
    }
}

please explain to me why this can work?
if the SetScript-method instantiates the Node, the old id, should still point to the old (now disposed) instance and the new id is unknown to us.
is there any reason the SetScript does not put the new reference back into the reference we called it upon?
i cant imagine where that could make problems :-\
PS: i use the path to get the new instance:
            string oldPath = node.GetPath();
            node.SetScript(GD.Load<Script>(scriptPath));
            node = Stats.rootNode.GetNode(oldPath);

This is expected behaviour. You have to be careful with SetScript as you cannot asume the managed object you are calling it on will be usable after that. If previous to the call it had a C# script attached, then it will be disposed. If you're setting it to a new C# script, then it will also be disposed.
The reason this is possible in GDScript is because internally the variable is just a Object* (as a Variant ofc). So when you replace the GDScript instance, you don't need to do anything to access the new one. You can keep using the Object*.
In C# you're not accessing the Object* directly. Instead The C# instance is a wrapper around it. When you change the C# instance, the old one is disposed so you can't use it anymore.
You can do something like this to get the new C# instance:
ulong objId = obj.GetInstanceId();
// Replaces old C# instance with a new one. Old C# instance is disposed.
obj.SetScript(ResourceLoader.Load("Scripts/playerMovement.cs"));
// Get the new C# instance
obj = GD.InstanceFromId(objId);

This is a bit verbose and the lookup by object ID adds some overhead, but it will do as a workaround for now. I'm thinking of making SetScript return the new instance to allow something like this:
obj = obj.SetScript(ResourceLoader.Load("Scripts/playerMovement.cs"));

if the SetScript-method instantiates the Node, the old id, should still point to the old (now disposed) instance and the new id is unknown to us. where am i wrong here?
is there any reason the SetScript does not change reference we called it upon to the new instance?
i cant imagine where that could make problems and we wont have to deal with: node = node.SetScript(...)
PS: i use the path to get the new instance:
            string oldPath = node.GetPath();
            node.SetScript(GD.Load<Script>(scriptPath));
            node = Stats.rootNode.GetNode(oldPath);


Make it possible to cancel an in-progress simulation

We previously implemented the ability to cancel pending simulations. As of a week or two ago, the backend now supports canceling in-progress simulations. This PR moves around a few if statements in the UI code to:

mark the simulation state as Canceled if simulationDataset.canceled
display the cancel buttons for in-progress simulations
calculate the simulation extent (if available) for a canceled simulation using the reason field

https://github.com/NASA-AMMOS/aerie-ui/assets/1189602/6318234c-2767-484b-8bb3-dd5792408ae1

This will be so useful! Not something we need to do in this PR but wonder if we should have a visual indicator on the timeline for when a sim was canceled so that it's obvious that the lack of data in certain places is due to sim cancelation and not some sort of gap? Though perhaps if you cancel a sim you don't really care about sim results? If we decide to do anything about this then it should also play into whatever we do for streaming sim results..

This is awesome! My one concern is choice of icon to cancel or maybe its placement. To me it looks like it's a "close" button and clicking it would get rid of the current simulation from the UI altogether. Maybe if you hover over "in progress", it shows "cancel"?

We could also try using a proper cancel button, like a circle with a slash through it? The close icon was actually there before this PR since it also applies to canceling pending sims.

This is awesome! My one concern is choice of icon to cancel or maybe its placement. To me it looks like it's a "close" button and clicking it would get rid of the current simulation from the UI altogether. Maybe if you hover over "in progress", it shows "cancel"?

We could also try using a proper cancel button, like a circle with a slash through it? Would need to add such an icon to Stellar. Or a stop icon
And one note - the close icon was actually there before this PR since it also applies to canceling pending sims.

Ooooh. My bad. I still think that the icon might be misleading, but I'll let you @mattdailis decide whether or not that gets updated in this PR or another effort or if it's worth updating at all.

One thing I'm noticing which could just be how the backend works now is that if i queue up a bunch of simulations (past the number of available workers) the pending sims will stay pending until a worker completes a sim and then all pending sims except for the latest one will be marked as failed. I'm assuming this is somewhat similar to the old behavior where pending sims that were outdated would be auto canceled? In any case, seems odd to mark them as failed in the UI here, wondering how we should handle this?

This is awesome! My one concern is choice of icon to cancel or maybe its placement. To me it looks like it's a "close" button and clicking it would get rid of the current simulation from the UI altogether. Maybe if you hover over "in progress", it shows "cancel"?

We could also try using a proper cancel button, like a circle with a slash through it? Would need to add such an icon to Stellar. Or a stop icon
And one note - the close icon was actually there before this PR since it also applies to canceling pending sims.

I can make this icon!

@mattdailis also if you want to disable the button if it's in plan preview, there's a planReadOnly store boolean that we utilize in stores/plan.ts


Make bugsnag optional

Please remember the Contributing Guidelines :heart:
:star2: What does this PR do?

Make bugsnag initialization optional
Read bugsnag api key from keybase

:bug: Recommendations for testing
All changes should be tested across Chrome and Firefox.

Run npm start you should get a warning in the terminal console

Loading the unpacked extension into a browser you should see warning messages in the background script's console

Throw a fake error somewhere in the integration, you should get a warning but no errors from the script

Redo the same steps again but with the Toggl KBFS mounted

The error should be recorded in the bugsnag timeline

:memo: Links to relevant issues or information
Closes #1319

Done and done


Settings file 'DotnetToolSettings.xml' was not found in the package. Hotchocolate.fusion.commandline for version 14.0.0

Product
Hot Chocolate
Version
14.0.0
Link to minimal reproduction
https://github.com/Christine-Schneidenwind/FusionCommandLineRestore
Steps to reproduce
I tried to use hotchocolate.fusion.commandline in version 14.0.0
{
  "version": 1,
  "isRoot": true,
  "tools": {
    "hotchocolate.fusion.commandline": {
      "version": "14.0.0",
      "commands": [
        "fusion"
      ]
    }
  }
}

dotnet --version
8.0.401
What is expected?
A successful restore
What is actually happening?
I will get the following error
Unhandled exception: Microsoft.DotNet.ToolPackage.ToolConfigurationException: Settings file 'DotnetToolSettings.xml' was not found in the package.
   at Microsoft.DotNet.ToolPackage.ToolPackageInstance.DeserializeToolConfiguration(LockFileTargetLibrary library)
   at Microsoft.DotNet.ToolPackage.ToolPackageInstance.GetToolConfiguration()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at Microsoft.DotNet.ToolPackage.ToolPackageInstance.GetCommands()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
   at System.Linq.Enumerable.SelectArrayIterator`2.Fill(ReadOnlySpan`1 source, Span`1 destination, Func`2 func)
   at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.Execute()
   at System.CommandLine.Invocation.InvocationPipeline.Invoke(ParseResult parseResult)
   at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)

Relevant log output
No response
Additional context
No response

We also had this once and it is a local caching issue of the tooling.
Try to uninstall and install the tool again and it should work.
If that does not help, clear the tooling and package cache and retry uninstalling and installing the tool.


Unable clone help!

For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Environment info
Operating System:
ubuntu 16.04
Compiler:
Package used (python/R/jvm/C++):
xgboost version used:
If installing from source, please provide

The commit hash (git rev-parse HEAD)
4f7fb12585dfee57c7cb5bd7abd13f6a939aaa06
Logs will be helpful (If logs are large, please upload as attachment).
remote: Counting objects: 3142, done.
remote: Total 3142 (delta 0), reused 0 (delta 0), pack-reused 3142
Receiving objects: 100% (3142/3142), 900.20 KiB | 430.00 KiB/s, done.
Resolving deltas: 100% (2039/2039), done.
Checking connectivity... done.
Submodule path 'rabit': checked out 'a764d45cfb438cc9f15cf47ce586c02ff2c65d0f'
Unable to checkout 'f3937a96fdec78a73446aaaa114c112ff31f5503' in submodule path 'cub'

If you are using python package, please provide

The python version and distribution : 3.5
The command to install xgboost if you are not installing from source

Steps to reproduce

git clone --recursive https://github.com/dmlc/xgboost
Submodule path 'dmlc-core': checked out 'b5bec5481df86e8e6728d8bd80a61d87ef3b2cd5'
Cloning into 'nccl'...
remote: Counting objects: 652, done.
remote: Total 652 (delta 0), reused 0 (delta 0), pack-reused 652
Receiving objects: 100% (652/652), 1.38 MiB | 493.00 KiB/s, done.
Resolving deltas: 100% (411/411), done.
Checking connectivity... done.
Submodule path 'nccl': checked out '018ff75f78e4d3616051fdcd3da7cf64249b6d59'
Cloning into 'rabit'...
remote: Counting objects: 3142, done.
remote: Total 3142 (delta 0), reused 0 (delta 0), pack-reused 3142
Receiving objects: 100% (3142/3142), 900.20 KiB | 430.00 KiB/s, done.
Resolving deltas: 100% (2039/2039), done.
Checking connectivity... done.
Submodule path 'rabit': checked out 'a764d45cfb438cc9f15cf47ce586c02ff2c65d0f'
Unable to checkout 'f3937a96fdec78a73446aaaa114c112ff31f5503' in submodule path 'cub'

Should be fixed in #2591

This doesn't seem to be fixed.  Seeing this now


bugfix: pin net-ssh 2.9 in gem file

Unfortunately bundler seems not to be smart enough to remove a version that does not fit to the ruby version. Therefore we pin net-ssh for builds on ruby 1.9.3

Thanks for the quick fix

The future looks bright.


Functions in OpenFaaS are not READY, even when they report so

[x] Bug
[ ] Feature
[ ] Enhancement

Detailed Description
With recent version (7040a82d1e) and when using OpenFaaS driver, Trying to invoke function instantly after it becomes READY returns weird errors:

Function run gets stuck in CREATING, then it times out after 60 seconds and goes into ERROR
dispatch get run returns:

    {
        "event": {
            "cloud-events-version": "0.1",
            "content-type": "application/json",
            "event-id": "c90b1cfb-2613-4e95-ba25-aa267569535b",
            "event-time": "2018-04-10T03:04:51.000Z",
            "event-type": "test.event.21733",
            "namespace": "dispatchframework.io",
            "source-id": "dispatch",
            "source-type": "dispatch"
        },
        "executedTime": -62167208109,
        "finishedTime": -62135596800,
        "functionId": "04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c",
        "functionName": "node-echo-back-5682",
        "input": "{\"name\": \"Jon\", \"place\": \"Winterfell\"}",
        "logs": null,
        "name": "45831e8d-9f00-4ce8-9a65-f3e3fe829759",
        "reason": [
            "error running function: node-echo-back-5682: request to OpenFaaS on http://gateway.openfaas:8080 failed: Post http://gateway.openfaas:8080/function/of-04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c: EOF"
        ],
        "secrets": null,
        "status": "ERROR",
        "tags": []
    }

openfaas gateway service logs include:

2018/04/10 03:04:51 > Forwarding [POST] to /function/of-04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c
GetHeaderCode before 502
2018/04/10 03:05:51 http: proxy error: EOF
2018/04/10 03:05:51 < [http://faas-netesd.openfaas:8080/function/of-04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c] - 502 took 60.001491 seconds
2018/04/10 03:05:51 function=of-04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c

openfaas faas-netesd service logs include:

2018/04/10 03:04:45 Created deployment - of-04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c
2018/04/10 03:04:45 Created service - of-04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c
2018/04/10 03:04:45 {"service":"of-04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c","image":"<IP_ADDRESS>:5000/func-openfaas-04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c:latest","network":"func_functions","envProcess":"","envVars":{},"constraints":[],"secrets":null,"labels":null,"limits":null,"requests":null}
2018/04/10 03:05:51 Post http://of-04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c.openfaas:8080/function/of-04ea4d64-0f6a-457f-83d0-2a4ca6c0c93c: dial tcp <IP_ADDRESS>:8080: i/o timeout
2018/04/10 03:05:51 [1523329491] took 60.000320 seconds

Context
This has been discovered when I removed sleep 5 from here. I'm able to consistenly reproduce it by running events tests with sleep removed.
Impact

[ ] Low - Annoyance, but does not impact business or functionality
[x] Medium - Issue can be worked around, but is causing pain
[ ] High - Blocker

CC @imikushin


Sieve of Eratosthenes

Hey @Chitresh-code I would like to contribute to the program of sieve of Eratosthenes that finds all the prime numbers from 1 to n in O(n*log(log(n)) time complexity.
So please assign me this issue under the label of Hacktoberfest2023

i want to contribute @Chitresh-code
please assign me this issue..

Please assign me this issue

Hey @swarupsahu08 you can contribute in any other issue.. as this issue is not a DSA question and also not properly written

@swarupsahu08 Message on this issue so I can assign it to you.


React and Web component: [Footer] adjunct legal links change Prod QA testing

User Story

As a [user role below]:
developer using the ibm.com Library Footer

I need to:
have a version of the component that has been tested for accessibility compliance as well as on multiple browsers and platforms

so that I can:
be confident that my ibm.com web site users will have a good experience

Additional information

Browser Stack link
Browser Standard
Browser versions to be tested:  Tier 1 browsers will be tested with defects created as Sev 1 or Sev 2.  Tier 2 browser defects will be created as Sev 3 defects.
Platforms to be tested, by priority:  1)  Desktop  2)  Mobile  3)  Tablet
Mobile & Tablet iOS versions: 13.1, 13.3 and 14
Mobile & Tablet Android versions: 9.0 Pie and 8.1 Oreo
Browsers to be tested:  Desktop: Chrome, Firefox, Safari, Edge, Mobile: Chrome, Safari, Samsung Internet, UC Browser, Tablet: Safari, Chrome, Android
Accessibility Checklist
Creating a QA bug
See the Epic for the Design and Functional specs information
React Dev issue (#5591 )
Web Components Dev issue (#5588 )
Once development is finished the updated code is available in the Web Components Canary Environment for testing.
React canary environment
** Web Components Wrapper test env URL**

Acceptance criteria

[ ] Accessibility testing is complete.  Component is compliant.
[ ] All browser versions are tested
[ ] All operating systems are tested
[ ] All devices are tested
[ ] Defects are recorded

@Praveen-sr This component is ready to be tested

Prod QA testing started.

Prod QA and accessibility testing are finished.  No new issues.


leverage kube for managing pods, services, and rc

This is really cool, i like it!

Seems like plugin doesn't checks if manifest is already loaded:
TASK: [skydns | Create or update SkyDNS replication controller] ***************
failed: [k8s-master] => {"failed": true}
msg: error running kubectl (/bin/kubectl --api-version=v1 --namespace=kube-system create --filename=/etc/kubernetes/skydns-rc.yaml) command (rc=1): Error from server: error when creating "/etc/kubernetes/skydns-rc.yaml": replicationControllers "kube-dns-v8" already exists

That is strange, because it does check if the resource is already loaded.
if the state requested is present, then it checks for existence, and returns unchanged.
if the state requested is latest, then it checks for existence, if exists it replaces else create.
In this particular case the check would have looked like
kubectl --api-version=v1 --namespace=kube-system get rc kube-dns-v8

If that resulted in False (not found) then the create happens.

Just found the bug which would be specific to replicationControllers. I will submit the PR in just a moment.

Here is manual check:
kubectl --api-version=v1 --namespace=kube-system get rc kube-dns-v8
CONTROLLER    CONTAINER(S)   IMAGE(S)                                         SELECTOR                      REPLICAS
kube-dns-v8   etcd           gcr.io/google_containers/etcd:2.0.9              k8s-app=kube-dns,version=v8   1
              kube2sky       gcr.io/google_containers/kube2sky:1.11
              skydns         gcr.io/google_containers/skydns:2015-03-11-001
              healthz        gcr.io/google_containers/exechealthz:1.0

Trying to understand how it's happening.

The bugfix PR explains why but overly  narrow existence check was the root.


178201548 process ussd data

Major fixes to contact saving and matching as well as for processing received money and some other cases. Changed the way that uniqueness works for contacts.
Should fix this bug https://console.firebase.google.com/u/1/project/stax-bf03d/crashlytics/app/android:com.hover.stax/issues/912ca13c2ef0221e1158254862d20f07?time=last-seven-days&sessionEventKey=60AE4F5102A9000125A675971CACD59E_1545039373643078095
I'm still not sure what's going on with the tabbing.

@alexosugo ok, fixed and ready for review


option saved gets removed if firefox set to remove cookies and storage for webpages

I have set firefox to remove storage (cookies and local storage) for pages unless I whitelist them.
setting of this script get removed after firefox restart.
other scripts save their setting in the value section of themself (Accesable in violentmoneky addon, don't know if others call it this or not).
for example imdb saves its setting and they are kept and I have not whitelisted imdb.com.
can setting be kept like that addon?

Hey, thanks for the comment. I am moving it to an actual browser addon and that functionality will be available. I didn't know these userScript managers had that ability. That's neat.
I am hoping to have an xpi out for install for firefox very soon and then get on the firefox addon store. It might be a week or three. For the time being, if you deselect to clear "site data" the settings will persists. I know this isn't the best answer for privacy but it's where it's at right now without spending to much time to implement that for the userScript.

addon is nice, But...
scripts is way easier to maintain and you can publish it outside of walled garden of Mozilla addon store which is limiting and you can test way easier.
so my suggestion is to maybe carry on with script?
some mechanisms need addon but yours would be better as script.
a lot of addons (after firefox changed its internals a long time ago) are just script packages as addon.
though it is your project so you can do what you want.
if you decide yo keep script or even an addon, please remove the https://* and limit it to user-defined domains.
in vliolentmonkey (and other script managers) user can add websites that script run on.


Support link properties on computed backlinks

Replicating the machinery that non-schema computed backlinks use
(faking inheritance to get the link properties inherited, then undoing
it) turned out to require a huge amount of pain to transplant to a
schema context, so we dropped that whole system and instead check for
link properties on computed backlinks dynamically at compile time.
Fixes #4825.

It might not be obvious from first glance but this PR I think does substantially reduce jank (or at worst is jank-neutral). Faking inheritance to populate the backlink with the right link properties really was unjustifiable


Added a bunch of aliases for vagrant

I found it strange these were missing.  I ran through them all to check that they weren't conflicting with any commands on my system and they were all good.
Almost made vagrant init alias to vi lol (used vgi instead).

cc @fb3 @irnnr

I had opened PR #2964, but this PR can have my vote if you add aliases for:
vagrant ssh-config
vagrant global-status

Added them now, vsshc and vgs respectively.

Awesome! Closing PR #2964

Merging this or nah @curiositycasualty ?

Sure!


[Config]  Configs do not work after Update

The configs that are created in an older version will not work, as if new variables are declared the size of the struct elements in the Config change and thus creating an offset, which ruins the whole settings. I've made a version control in my fork to prevent old configs being applied to a new version

nevermind my version control is not working, as the storage of the config is quite weird xD

I know that.


Draft feedback

Dear Prof. Guido Zuccon and teach team,
Can I have the feedback of my proposal draft?
Thanks.
Yujie Yuan
47593422

Hi, they should all be in the system now


New package: GeometricUnits v0.1.0

Registering package: GeometricUnits
Repository: https://github.com/abhisrkckl/GeometricUnits.jl
Created by: @abhisrkckl
Version: v0.1.0
Commit: ff296b8d809aaf3c14088b48131143dfb154848e
Reviewed by: @abhisrkckl
Reference: https://github.com/abhisrkckl/GeometricUnits.jl/issues/1#issuecomment-1883704565

[noblock] What does this package do? Is there no description or documentation?