Trajectory replacement during execution

I am currently working on trajectory replacement while the controller is still executing the current trajectory. The basic idea to send and execute the new trajectory when the target moves, without stopping the robot. Reference
I have taken care to maintain continuity while merging the old trajectory with the new one. And I have tested this in Gazebo with fairly good results. The issue is that when I run this on real UR5, the robot stops before starting the new trajectory with the message :
Received new goal while still executing previous trajectory. Canceling previous trajectory
After going through the code, I found that ur_ros_wrapper.cpp stops the trajectory whenever a new trajectory arrives, in case there's already an existing goal in progress. Is there any decent way to not stop the robot but simply allow the remaining part of the trajectory to be replaced? I tried to simply comment out this, but expectedly the robot did not behave nicely.
Any suggestions are welcome. Thanks in advance!

The iaea is really good, and I have some times considered if and how such a feature could be integrated.
The problem is that ROS action interface to the best of my knowledge doesn't support updating goals (see http://wiki.ros.org/actionlib/DetailedDescription ). So in order to achieve this, we would need to "abuse" the interface in a way that it is not intended to, and as such I have no Idea if the suggestion below would work.
The itnerface is meant for handling goals. A robot can only have one goal at a time (The arm can't go to two different poses at once), so when a new goal is received, any existing goals needs to be canceled. So in order to implement trajectory updating, we need a way to inform the driver that it is indeed an update and not a new goal.
The intuitive way to do this would be to use the header ID, so when a client wants to update a goal, it sends a goal with the header ID of the goal existing goal that it wants to update. The problem is that I don't know how the action server reacts to getting a goal with the ID already set. Will it discard it as invalid (probably not, there isn't much input validation in ROS)? Will it overwrite the ID with a new number? Or will it leave it untouched?
If it is left untouched, it would "simply" be a matter of comparing the ID of a received goal to any currently active goal and, if they match, update the current goal instead of replacing it.
The easiest way to implement the update would probably be to add a method to the UrDriver class that sets the vectors timestamp, position and velocity, which should be private class variable, and then modify the doTraj method to use these variables instead of inputting them to the method.
To inform the client of the ID of the current running goal, the action interface feedback method should also be implemented.

Is it really necessary to make the driver believe that it's the same goal? As long as the user takes care that he maintains the continuity with existing trajectory, we could stop the current trajThread and start a new thread with the new goal?

Just a comment:
The topic is in deed very interesting. I also need this feature for my reactive robot control.
But I am not sure, if you try to solve it at the best possible level...
Are you aware of the trajectory replacement in ROS-Control?
http://wiki.ros.org/joint_trajectory_controller/UnderstandingTrajectoryReplacement
http://wiki.ros.org/joint_trajectory_controller#Trajectory_replacement

Yes I am aware of this and have added this as a reference in my original post. But as I mentioned,
https://github.com/ThomasTimm/ur_modern_driver/blob/master/src/ur_ros_wrapper.cpp#L289, this doesn't allow the goal to be replaced, but stops the robot before accepting new goals. Any thoughts about Fanuc and ABB drivers? They seem to be using https://github.com/ros-controls/ros_controllers

Uh, I am sorry, I thought you spoke about a UR-Modern specific function / problem.
Yeah, thats what I was using, too (the ros_controllers).
And then commanding the UR via position/speed control. But this required a dedicated network interface for me, otherwise I got ugly lags and jitter in the execution.

I have a similar problem with my UR3 robot as .waitForResult() takes quite amount of time, I want to send new trajectory even though the previous one hasn't been finished..
So any update regarding to this issue ?
Thanks,

Hi, @harshmdeshpande ,
I'm using UR5 in gazebo to do some experiments. Now I want to control UR5 with joint speed commands, but I don't know how to configure the ur5.launch file so that I can control the arm in gazebo with ur_modern_driver.
Could you please tell me how to do this?
Thank you very much.
GeWei

@geweihgg wrote:

I don't know how to configure the ur5.launch file so that I can control the arm in gazebo with ur_modern_driver.

as I wrote in #176, this driver cannot be used with a robot in Gazebo.
Please see #176 for another approach.

I'm closing this as we've officially deprecated this package.
Refer to the announcement on ROS Discourse.

Trajectory replacement is a feature the JointTrajectoryController of ros_control supports.
ur_robot_driver is based on ros_control, so this could cover the use-case reported in the OP.


Explanation of scope

The readme says that cretonne is supposed to be a code generator for WebAssembly, but it's a bit unclear what that means, seeing how there doesn't appear to be anything to actually do with wasm in the code.

I heard that cretonne is meant to have inter-procedural optimizations as another layer built over top. Is this true, and always going to be the case?
Does another tool to translate wasm to cretonne IR need to be built in order to generate code for wasm?
Is it in scope for cretonne to output to wasm, or is it only intended to output to native code? (e.g. will I be able to use cretonne as a pure-rust binaryen alternative?)
Is cretonne meant to be useful in both JIT and AOT configurations?

Preferably, the readme or documentation should be able to answer these questions.

huh?

This is an old issue that I believe has been answered/addressed above; closing.


Add a TableGen lexer

This commit adds a basic lexer for LLVM's TableGen DSL[1][2].
The major design decision is about how to tokenize "code blocks" since those are, at a TableGen language level, string literals. In practice, however, in LLVM 99% of the time they are snippets of C++ which are processed by a TableGen backend. This would ideally be a configurable property of the lexer. For the initial implementation, it is assumed that code blocks contain C++ code and so the CppLexer is invoked on their contents.
[1] https://llvm.org/docs/TableGen/index.html
[2] https://llvm.org/docs/TableGen/ProgRef.html

Some example output:

Just want to add that this will be a great addition, as we are currently adding a lot of TableGen code blocks to our sphinx project!

I'm sure everyone working on LLVM will appreciate it, merged for 2.19, thanks!


RefactorDidUrl

Changes

[x] Refactored/flattened DidUrl so that it has less hierarchies that are not needed.
[x] Renaming structs to better conform with DID & DID-ethr specs.
[x] Reduced LoC & simplified parser grammar.

closes #12 but since this PR changed the refactor the struct & naming, it doesn't need a set_id method.

It would be helpful if this passed the build/basic checks in order to be able to provide initial feedback.

It seems like the parsing is fairly adhoc. It would make sense to look at the lyn crate to see an example of how a more conventional grammar is parsed. This is a fairly simple grammar so we should be able to build something safe and robust with fewer ad hoc choices.

Thanks for the reference, will take a look and re-work the parser logic in a separate PR.


Create an initial implementation of parsing in dmn engine.

I'm closing this isssue since has been solved in another ones.


[QA] Crashes When Clicking on Profile Badges (Intermittent)

Explorer Alpha build versions:

v0.32.0

Issue Description:
A user has reported that clicking on their profile badges consistently causes the application to crash. This issue may be related to a recent change in windowed mode, as the user switched from fullscreen to windowed mode using Alt+Enter before experiencing the crash. Further investigation is needed to determine the underlying cause.
STR:

Launch the explorer.
Change to windowed mode using Alt+Enter (optional, based on user behavior).
Click the [P] shortcut and select windowed mode.
Click on the profile --> Tab badges.
Interact with multiple profile badges.
Leave the application idle for 1-2 minutes.
Click another profile badge.

❌ Actual Result
The application crashes intermittently after resuming interaction with the badges following a brief idle period.
✅ Expected Result
The application should remain stable, and profile badges should be interactable without causing crashes, even after a brief idle period.
📜 Logs
Player.zip
Player.log
Additional Notes:
Windows 11. 12th Gen Intel(R) Core(TM) i7-12650H 2.30 GHz. nvidia geforce RTX

Still not able to reproduce it in v0.32.

I was able to reproduce this issue on latest version.
I opened a badge notification and click on it a few times and it crashed.
https://github.com/user-attachments/assets/d5bf76a4-2b24-4707-adc4-5e69b1e066da
Waiting for Macos Confirmation in order to add this as a potential STR


chore: utils/index.js is updated to .ts

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Part of https://github.com/freeCodeCamp/freeCodeCamp/issues/43778

Hi @palashgdev, thanks for your patience and for your help with this migration.
Everything is looking good so far, though I think the reason why we're getting linting errors here is that Prettier is checking the utils/index.js file that gets created.
Looking at the changed files in this PR, it seems like we need to add utils/index.js to .gitignore and .prettierignore.
That seems to fix the problem, at least when running npm run lint locally.

Hi @palashgdev, thanks for your patience and for your help with this migration.
Everything is looking good so far, though I think the reason why we're getting linting errors here is that Prettier is checking the utils/index.js file that gets created.
Looking at the changed files in this PR, it seems like we need to add utils/index.js to .gitignore and .prettierignore.
That seems to fix the problem, at least when running npm run lint locally.

Sure let me add to .gitignore

Hi @palashgdev, thanks for these updates. Glad to see the tests are passing now.
Minor nitpick, but would you be able to move your additions of utils/index.js in both .prettierignore and .gitignore?
In .gitignore, we have a section for generated files in the utils directory here: https://github.com/freeCodeCamp/freeCodeCamp/blob/f0e4131f9dac8ec449cec6289e6227382739d8d7/.gitignore#L168
And while we don't have separate sections in .prettierignore, a couple of the generated files in utils are on lines 12 and 13: https://github.com/freeCodeCamp/freeCodeCamp/blob/f0e4131f9dac8ec449cec6289e6227382739d8d7/.prettierignore#L12
If you could move the utils/index.js line to the "Generated utils files" section in .gitignore, and up to around line 12 or 13 in .prettierignore, that'd be a big help.
Other than those minor details, everything LGTM.

No worries @scissorsneedfoodtoo let me update this one

@scissorsneedfoodtoo can you please check


Private key password Encryption - Add ability to change password

Strategically we will have key management tools integrated onto Tessera

Requirements:

What command line parameters to use for specifying a password change?
Should this operation update the configuration and then autostart the application, like the new key generation does?

The update part can be a single flag and the same options can be used .
--update-passwords or whatever the action is..

Using:
--keys.passwordFile
--keys.passwords
--keys.keyData.privateKeyPath
--keys.keyData.config.data.aopts.algorithm
--keys.keyData.config.data.aopts.iterations
--keys.keyData.config.data.aopts.memory
--keys.keyData.config.data.aopts.parallelism
Although they are longer and potentially less clear, they are already defined properties that can be interpreted in the context of updating passwords (instead of the normal case of overriding the configuration file).

Implemented and the wiki updated.


Fixes #253

Seems like it was a trivial tweak.

First: has this changed? Are we inserting compressed streamers into ROOT files now?
No.

If we're not inserting compressed streamers into ROOT files, then streamergen.py must not accept compressed streamers, because then the wrong thing would be inserted into the ROOT files.
I understand. I'll close the issue.

What motivated issue #253?
I was testing writing compressed streamers (but decided against it - it is not required) and thought it might be good to have the ability to extract compressed streamers if required in the future (but as you pointed out, it would be a bug if we did).


feat: handle improper error objects in job executor

Task: #720

Not sure if want to actually handle it like this. Maybe we should just leave it as is and say "well you shouldn't be throwing undefined errors to begin with". However, since it's really just for logging, I figured we could allow it like this.

I agree with you, Yani. As this is such a small change and is just regarding logging, no additional real logic required, I think it is fine to add this and help out the people who created the issue even though ideally one would throw useful errors instead of undefined.


feat: add light link-variant to link component

Summary | Résumé
As discussed in dev-design-sync recently, adding a new link-variant prop that allows users to use light links.

I know this isn't involved in the work you did with this PR, but would you be able to add { mutable: true } to the display prop in link as well?

@ethanWallace @daine updated with the changed prop


Timespec

Make TimeVal an opaque Newtype, and add another Newtype for Timespec.

@fiveop Yes, I have another WIP branch that adds POSIX AIO support, and aio_suspend uses a timespec timeout.  I'm aware of the i686 failures, and I'll fix them as soon as I get a working i686 VM.

Looks good to me (except for missing documentation).
@homu r+

:pushpin: Commit 24eefcc has been approved by fiveop

:zap: Test exempted - status


Added description for Guest users parameter

Added a description for ShowPeoplePickerSuggestionsForGuestUsers parameter https://github.com/MicrosoftDocs/office-docs-powershell/issues/2173

OPS Build status updates of commit b18a0fa:
:clock10: Preparing: average preparing time is 1 min(s) 12 sec(s)

OPS Build status updates of commit b18a0fa:
:clock10: Incremental building: average incremental building time is 12 min(s) 23 sec(s)

OPS Build status updates of commit b18a0fa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit b38f247:
:clock10: Preparing: average preparing time is 1 min(s) 12 sec(s)

OPS Build status updates of commit b38f247:
:clock10: Incremental building: average incremental building time is 12 min(s) 23 sec(s)

OPS Build status updates of commit b38f247:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 7d60851:
:clock10: Preparing: average preparing time is 1 min(s) 12 sec(s)

OPS Build status updates of commit 7d60851:
:clock10: Incremental building: average incremental building time is 12 min(s) 23 sec(s)

OPS Build status updates of commit 7d60851:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 79c27ff:
:clock10: Preparing: average preparing time is 1 min(s) 12 sec(s)

OPS Build status updates of commit 79c27ff:
:clock10: Incremental building: average incremental building time is 12 min(s) 24 sec(s)

OPS Build status updates of commit 79c27ff:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


File Columns - Download Chunk Size Limit

This document indicates that the chunk size restriction for file uploads has been removed - does it still apply for downloads?
If not, it'd be helpful to mention GetFileSasUrl as an alternative.
/api/data/v9.0/GetFileSasUrl(FileAttributeName=@FileAttributeName,Target=@Target)?@FileAttributeName='my_attribute'&@Target={"@odata.id":"my_entitys(b8d38747-38f4-eb11-94ef-0022481808c2)"}

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

ID: 8026a170-f2e5-9d5f-3c7b-0fcfaca0d71c
Version Independent ID: 7b8e643b-ad4a-2032-ef27-413ed7e8f97a
Content: File columns (Microsoft Dataverse) - Power Apps
Content Source: powerapps-docs/developer/data-platform/file-attributes.md
Service: powerapps
Sub-service: dataverse-developer
GitHub Login: @phecke
Microsoft Alias: pehecke

@fowl2  The ability to download large files without chunking was disabled while we resolved an issue. It has been reenabled and has started to roll back out to all regions. It should be worldwide in the next 2-4 weeks.

@fowl2 Thanks for your feedback. Since the download without chunking is being re-enabled, I will not be adding your tip to the docs. Thanks for offering it though.


Define custom properties on your routes

Hey guys,
It's looking like were all starting to switch to flow-router due to the problems arising in iron-router, but for myself and my team, there's still a few flexibility teething issues that id like to open to the forum.
So the issue we are trying to solve is dealing with roles and routes.
We have come up with an approach we all think is clean, here's an example router file.
Router.route("/admin", {

    /**
     * Route name
     */
    name: 'admin',

    /**
     * Roles required for this route
     */
    roles: ['admin', 'staff', 'god'],

    /**
     * Action to render the view file.
     */
    action: function(){}
});

And then we would have a separate single tracker auto-run to monitor route changes and check the permissions accordingly.
Tracker.autorun(function(){
    Router.watchPathChange(); // depends

    Router.current().route.roles === undefined; // HERE
});

As you can see the problem lies in not being able to access roles reference, why, well quite simply because your main route file cherry picks only the required properties and ignores everything else.
What are the chances of changing this around to validate required properties, but use _.extend(this, options) to mixin everything.
It would be pretty helpful.
Regards.

I see what you looking here. But, I am not planning to add this kind API to flow-router soon. At least for 2.x.
May be you can create a map with route names to roles externally.
You can define it inside the actions. So, it'll be looks like integrated into the route.

@arunoda, thanks for the response.
I assumed you would probably take that approach, the external mapping is the solution we have decided to go with until a cleaner solution is available.
Thanks.


Update package.json repository field

@all-contributors please add @iamandrewluca for docs, promotion.


format change: sort purely by name, no '/' added to dirs

This changes the canonical sort order that tarballs are created with.
Instead of using the ordering git uses, where entries are sorted by
name but directories are sorted with a trailing / appended, this
just sorts by name, full stop. It also changes how directories are
stored in tarballs: it omits the trailing slash at the end of their
path. Since non-empty directories are implicit, this only affects
tarballs that contain empty subdirectories.

Note that this is a simpler alternative to https://github.com/JuliaIO/Tar.jl/pull/41: since we no longer need to lstat the names in a directory just to sort them, we eliminate the first lstat call naturally. I had originally thought that it would be helpful for git tree hashing tarballs to to emit them in the same order that git hashes things, but after https://github.com/JuliaIO/Tar.jl/pull/36, it became clear that his wasn't necessary at all—and since we support tree hashing tarballs that are in any order, we don't even assume anything about the ordering. So it seems like it might be preferable to just use a simpler sort order for emitting tarballs, instead of jumping through annoying hoops to match git's (kind of pointless) sort order.


Reduce memory usage

Codecov Report

Merging #125 (d73cb6c) into master (6b9c379) will increase coverage by 0.05%.
The diff coverage is 11.95%.

@@            Coverage Diff             @@
##           master     #125      +/-   ##
==========================================
+ Coverage   29.61%   29.67%   +0.05%
==========================================
  Files          71       71
  Lines       14845    14893      +48
  Branches      253      256       +3
==========================================
+ Hits         4396     4419      +23
- Misses      10196    10218      +22
- Partials      253      256       +3

Impacted Files
Coverage Δ

src/clj/skylobby/fx/players_table.clj
3.67% <0.00%> (-0.01%)
:arrow_down:

src/clj/skylobby/fx/root.clj
10.57% <0.00%> (-0.21%)
:arrow_down:

src/clj/skylobby/fx/user.clj
22.43% <0.00%> (-0.15%)
:arrow_down:

src/clj/spring_lobby/fs.clj
26.21% <0.00%> (+0.92%)
:arrow_up:

src/clj/spring_lobby/fs/sdfz.clj
26.66% <0.00%> (-4.11%)
:arrow_down:

src/clj/spring_lobby/fs/smf.clj
40.64% <0.00%> (-1.93%)
:arrow_down:

src/clj/skylobby/fx/minimap.clj
4.82% <0.98%> (+0.38%)
:arrow_up:

src/clj/spring_lobby.clj
11.58% <5.00%> (-0.09%)
:arrow_down:

src/clj/skylobby/fx/main.clj
58.53% <50.00%> (-0.44%)
:arrow_down:

src/clj/skylobby/fx/main_tabs.clj
51.42% <50.00%> (-0.38%)
:arrow_down:

... and 4 more

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 6b9c379...d73cb6c. Read the comment docs.


How to use?

Hi,
please specify python version requirements if any. I have installed latest python today and also did pip install mouse. I don't see any source / settings to use this script.
Please help how to use it in obs

Hi,
please specify python version requirements if any. I have installed latest python today and also did pip install mouse. I don't see any source / settings to use this script.
Please help how to use it in obs

Solved -- need to use python 3.6

I still can't figure out how to select the source in script. I have Python 3.8, but script has no description and no properties :/

Have path to Python defined in other tab

@Karmalakas install 3.6 version from here https://www.python.org/downloads/release/python-368/

Ah, I thought it's 3.6 and above :)
It's working now, but there's still issue #2
Thank you :)


Refactor Module-Level Constants to Enums and Classes

** The current codebase utilizes module-level constants for defining various settings, configurations, and related values. While this approach is straightforward, it can lead to issues with organization, readability, and type safety as the project grows. **

@ShearStress021 Tell the solution that you will provide for this.

i would cluster related constants together with either enum, class or namedtuples considering the relationship and datatype of the constants

@ShearStress021 Ok, Issue assigned to you.

@ShearStress021 What's the progress on this issue?

I’m going to work on the issue this weekend. I got a little busy over the past few days. can please also give the explanation on how to play the game.

@ShearStress021 U just neeed to run the main.py and make sure all the requirements libraries are installed.

the game is running but i think on the help icon instructions on how to play the game are needed

The given Instructions are sufficient to know how to play game if u have some more instructions that can be added u can add so.


omit in SimpleSchema can now be a function

In SimpleSchema autoform.omit can now be a function. It is a reactive context.
The name of the field is passed as argument. This allows to find sibling or parent fields in nested objects or arrays.
new SimpleSchema({
  title: {
    type: String,
    autoform: {
      omit: function(fieldName){
        return true;
      }
    }
  }
});

[ ] find other / better arguments to pass
[ ] fix wrong fieldName if field is in array and an element was removed

I realized that the passed fieldName is wrong, when its a nested field inside an array and if you remove an element from the array.
E.g. you add 2 elements and remove the first. The fieldName, that is passed here is still adresses.1.street instead of adresses.0.street. This is because autoform keeps the removed fieldnames internaly and marks them with "removed: true"
If you want to look up the value of this field (or in my case a silbing field adresses.1.type) with
AutoForm.getFieldValue("adresses.1.street"), you will receive null or a wrong value
The reason is that AutoForm.getFieldValue will look up the value by creating a MongoObject of the current AutoForm.getFormValues()-document and uss the wrong fieldname ("adresses.1.street") for this lookup.
This document from  AutoForm.getFormValues() will not contain the removed elements in the array, so looking up ""adresses.1.street" will fails as there is only the first element ("adresses.0.street").
A solution might be to actually remove the removed fields from autoforms internal field-store and rename the other fields that belong to the array.
It might be easier to keep the fieldnames with the wrong index and instead make AutoForm.getFieldValue aware of removed fields in arrays.
Related to https://github.com/aldeed/meteor-autoform/issues/914 and https://github.com/aldeed/meteor-autoform/issues/1004

another problem is that when you depend on a field-value in omit(), the whole afFieldNames-helper will re-run, which may have a performance-impact on large forms.

Is there a reason this was never merged?

BUMP


ERROR (MainThread) [custom_components.favicon.config_flow] {'title': 'Haus', 'icon_path': '/local/favicons/'}

Looks you also need to restart after creating subdir <your config dir>/www/favicons

From the Readme:

Note: If you created /www/ you need to restart Home Assistant once before any icons will be found.


eslint formatting gets lost

Is I run eslint, I get errors like

With beemo, I get

It would be nice if coloring was preserved.

@domoritz Color works on my end. Are you passing the --color option?
Also, what version of ESLint, Beemo, etc.

Ahh, I didn't know about the --color option. Thanks! Is there a way to enable it y default for eslint (https://milesj.gitbook.io/beemo/driver/eslint)?
I'm using the latest versions but I guess that's not relevant anymore. Again, thank you for your response.

@domoritz I use a bootstrap file to always include those options: https://github.com/milesj/build-tool-config/blob/master/packages/config/index.js#L38
More info: https://milesj.gitbook.io/beemo/tool/events


LUSERS still gets out of sync

Darwin is running fecd8203d1fcec5fe7ccf8230375a6bd30b712aa and still:
@time=2020-03-06T08:36:29.349Z :irc.darwin.network 251 operator :There are -9 users and 9 invisible on 1 server(s)

bogdomania reports: "There are 6 users and -3 invisible on 1 server(s)".

This is similar to #814.
Connecting an always-on client, then waiting for a ping timeout, will reproduce at least one case of this.

Copying the two repro cases here for reference:

Connect an always-on client and let it time out: double-decrement (this is what was seen on darwin)
Connect an always-on client, give it +i, and quit it: normal count goes up and invisible count goes down


Existing IfcPropertySet and IfcProperty data not read in UI

Describe the issue The UI does not display existing IfcPropertySet and IfcProperty data that has been previously saved from the bSDD. When reselecting the same Revit type, these existing properties should be shown in the UI for modification, but currently, they are not.
To Reproduce Steps to reproduce the behavior:

Save IfcPropertySet and IfcProperty data from the bSDD.
Reselect the same Revit type.
Notice that the previously saved properties are not displayed in the UI.

Expected behavior When reselecting the same Revit type, the UI should display the existing IfcPropertySet and IfcProperty data that was previously saved from the bSDD. This would allow the user to modify these properties as needed.

This has been added, also for classifications from beta v1.1.2 and higher.


Strange function prototype for atomicAdd in hip_atomic.h

I'm looking through the HIP source and noticed a strange function prototype.
static double atomicAdd(double* address, double val)
Why is the return type for this function double instead of void? Since it's performing an addition to the value stored at the provided address, there's no need to return anything.

Returns the old value. Same as below:
https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#atomicadd


Take-Home Exercise Answers

Hi Adam, thank you for your time yesterday. I look forward to hearing your feedback on my response to this exercise.

Ha, looks like I created this while logged into an alt profile, sorry for any confusion :)

No worries, thanks for creating the PR. Will look at it shortly


Add GPU dashboard

It adds a vendor-agnostic GPU Dashboard for AMD and NVIDIA.

AMD:

NVIDIA:

It depends on upstream grafana-agent PR and upstream node_exporter PR.
PS, thanks @zxhdaze for the draft work. EDIT by @Deezzir

Closing, work is moved to #332


Fix: add missing types exports

This PR aims to solve some missing types exports like: UseState, SelectOption and SelectValue which are needed in the dataset-deposit app (and will be useful for other apps to come).
SelectOption should not belong to utils but we'll have to think about a global architectural redesign in a future step.

Codecov Report

Merging #483 (6a47a7b) into main (19d7592) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #483   +/-   ##
=======================================
  Coverage   98.27%   98.27%
=======================================
  Files          73       73
  Lines         811      811
  Branches      128      128
=======================================
  Hits          797      797
  Misses         12       12
  Partials        2        2

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

:tada: This PR is included in version 1.13.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Alerting based on Azure Operational
Metrics

DevEx/OpEx
High level description of what what needs to be improved.
Tasks

[ ] Something.

Additional Context
Add any other context or screenshots about the work here.
We need to create alerting based on Create Azure Operational
Metrics #671

Closed because we have alerts set up from other cards that have been completed. See here for more information on what has been done: https://github.com/CDCgov/trusted-intermediary/issues/671


App Pause and Resume events are not fired (maybe not even happening?)

Hey team,
My app has a built in timer that heavily relies on the app pause/resume events for proper functionality. Essentially when the app hits the background and comes back to the foreground the timer does some calculations and adjusts itself accordingly.
This may be a "Solving for Y when the problem is X" kind of bug so I'm open to discussion on ways to improve the question.
I've wired up the pause/resume events like so
$ionicPlatform.ready(function() {

		//$scope.modals.shakeFeedbackWarning.show();
		//$scope.modals.shakeFeedback.show();

		// device APIs are available
		//
		function onDeviceReady() {
		    document.addEventListener("pause", onPause, false);
		    document.addEventListener("resume", onResume, false);
		    // Add similar listeners for other events
		}

		function onPause() {
		    // Handle the pause event
		    console.log('PAUSING');
		}

		function onResume() {
		    // Handle the resume event
		    console.log('RESUMING');
		}

		onDeviceReady();
});

Update: I had a bug somewhere else in my code preventing the logs from working however I have narrowed down the issue a little more. The app's Pause and Resume events ARE firing, but the app isn't pausing. So I'm getting told that "Hey your app just hit background, and your timer should have stopped at this point" but the timer still runs, and when my app comes back into the foreground, it has elapsed X seconds and then gets set X seconds less (essentially double what it should).
So two potential solutions? (I haven't worked with the WKWebView native side this is just me brainstorming) 1) Add two new events like 'stopped' and 'started' that fire when the app actually stops 'working' and when it is able to start working again. 2) Actually force the WKWebView to stop doing things when the pause event is fired.
Sorry if this seems scattered I'm still trying to fully understand what is and isn't working but thought I'd get the ball rolling.

@NorthMcCormick

These events are cordova events, their implementation details are not provided by this plugin, and this plugin should not provide additional (no standard events).

https://cordova.apache.org/docs/en/5.1.1/cordova/events/events.html

WKWebView features an out-of-process architecture that might can continue running when the app is in the background.

WKWebView does not provide an API to stop any kind of rendering/js execution.

"Hey your app just hit background, and your timer should have stopped at this point"

That assumption is not right, you should not rely in pause/resume as a source of trust.
But instead use the pause/resume callbacks to stop your timer implicitly.


Tracking issues of OpenDAL 0.45.0 Release

This issue is used to track tasks of the opendal 0.45.0 release.
Tasks
Blockers

Blockers are the tasks that must be completed before the release.

[x] https://github.com/apache/opendal/pull/4081

Build Release
GitHub Side

[ ] Bump version in project

[ ] rust
[ ] cpp
[ ] haskell
[ ] java
[ ] nodejs

[ ] Update docs
[ ] Generate dependencies list
[ ] Push release candidate tag to GitHub

ASF Side

[ ] Create an ASF Release
[ ] Upload artifacts to the SVN dist repo
[ ] Close the Nexus staging repo

Voting

[ ] Start VOTE at opendal community

Official Release

[ ] Push the release git tag
[ ] Publish artifacts to SVN RELEASE branch
[ ] Change OpenDAL Website download link
[ ] Release Maven artifacts
[ ] Send the announcement

For details of each step, please refer to: https://opendal.apache.org/community/committers/release

main branch ci failed, let's fix it first

CI failure has been fixed, we can move now!

The github release notes seems not updated😜

The github release notes seems not updated😜

@Xuanwo  I haven't completed the step: "Add the release note from every component's upgrade.md if there are breaking changes before the content generated by GitHub. Check them carefully." Should this step be updated by each component owner?

Should this step be updated by each component owner?

Yes. upgrade.md is empty means there is no breaking changes.

Got it. Version 0.45.0 has been released - https://github.com/apache/opendal/releases/tag/v0.45.0.

Thanks a lot for carrying this release! Let's update the NEWS to record your effort!


NVP_7: NVP_5 w/ increased decoder complexity

Add resnet blocks to NVP_5's decoder until it reaches ~5.4mil parameters (same as NVP_4). See #39

While designing a prototype NVP_7, I observed that our memory footprint goes from ~350MB to ~950MB. This translates into having to divide our operable batch-size by almost 3 and thus nearly tripling training costs in terms of gpu-hours. Hence, rather than comparable parameter count, we may want to aim for a comparable memory footprint when enhancing the decoder.


Bar chart highlight colour issue

The highlight colour appears to be one bar to the right when an array of highlight colours are supplied to the bar chart.  The first bar seems to use the default colour.

Please include an example of your issue on a website such as JS Bin, JS Fiddle, or Codepen. (Template)

Can't seem to get it working at all on JS Fiddle.  Could I send you the
code?
On 14 June 2016 at 16:11, Zach Panzarino<EMAIL_ADDRESS>wrote:

Please include an example of your issue on a website such as JS Bin
http://jsbin.com/, JS Fiddle http://jsfiddle.net/, or Codepen
http://codepen.io/pen/. (Template
http://codepen.io/pen?template=JXVYzq)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/chartjs/Chart.js/issues/2771#issuecomment-225913369,
or mute the thread
https://github.com/notifications/unsubscribe/AOeBUti4JcP0e1MybQxDabw5Tr6gbH31ks5qLsSqgaJpZM4I1XZg
.

--
Regards
Gary Barron

Yes, could you please post your code?

Closing since there is no test case


ability to make models "abstract"

I'd like to define an "abstract" (in the Java sense of the word) model that other models can extend from, but which isn't part of the actual ORM. In grails this is achieved by putting this stuff in src/ and then importing it. I suppose I could do this, but I wanted to see what the waterline team thinks about doing this:
module.exports = {
  abstract: true,
  attributes: {
    ...
  }
};

Abstract models can co-exist with the others, but they are clearly distinguished and are not persistable. Is a feature like this consistent with the design philosophy of waterline? I think it may be useful.

At lift time models are just javascript objects so they can extend from other objects.


Added basic LLDP support

Dell and Juniper are implemented
new route is /interfaces//lldp PUT <true/false>

:+1:

:+1:


[T3A2][T16-A1]TranVietQuang

Ready for review

I don't think your second commit message is quite right.
@vitquay1996 Please close the PR after reading comments.


Allow setting a specific provider_id in the generated vehicles.

See also https://github.com/remix/mds-provider-services/pull/1


feature: Save Editor tab group in Explorer and bring up those tab groups whenever needed

I sometimes work on multiple feature branches at a time.
For each feature, I need certain editor tab to be opened up.
For details, lets take an example

I have 2 feature branches F1, & F2
when I am on F1, I opened 5 files in my editor.
Now i want to work on F2. Instead of closing all those 5 F1 editor tabs, I would like to save that editor tab group in my Explorer or somewhere.
Now after saving that editor group, I will close all 5 of them.
i  can now start working on F2 with a clean editor space. I will open (say) 7 editor tabs for working on F2
Now if I want to switch to F1, I will save my current 7 editor tabs into a group.
Now I will open the Explorer again to bring up my saved F1 tab group

Maybe what you need is #35307


Fix issue 15863: add length to AA.byKey/Value/KeyValue

Make it easier to pass those ranges to functions that requires
hasLength.

This is my first D pull request, so if I got anything wrong please help me fix it.
Thanks.
issue https://issues.dlang.org/show_bug.cgi?id=15863

Can you add a changelog entry here? You would need remove the current entries and bump the version to 2.072.0.
Otherwise, LGTM.

Can you add a changelog entry

No need. you just need to identify the bug in the commit message, and it will close the issue and auto generate a changelog entry.

Don't we have anything in phobos to combine a forward range w/ a know length?
Some people might not need length and would have to pay for the extra size_t and --length of a correct implementation.

I can't think of a clean way of keeping track of the length of the range without adding a new member, so that's what I did.

I'd really like to see this as more general construct in std.range (augmenting a forward range with a length similar to take(n)) rather than slowing down byKey for everyone.

@MartinNowak If that's what you want I think take(n) already works?
aa.byKey.take(aa.length)

@MartinNowak If that's what you want I think take(n) already works?
aa.byKey.takeExactly(aa.length)

Great, we usually favor choice and composability over already making those choices or providing different variations.
Might be worth to add the example to the docs.

@MartinNowak agreed. @yshui here is the page to update if you want to add the example to the docs: https://github.com/D-Programming-Language/dlang.org/edit/master/spec/hash-map.dd


hide path function

manually hide options perhaps

allow hiding of registered inline nodes and thus also their windows
they should still update and return the values, just invisibly

duplicate of newer https://github.com/KrabCode/LazyGui/issues/158


Error while fetching extension. XHR failed.(Code-OSS)

The extension could not be fetched, showing Error while fetching extension. XHR failed.

VS Code Version: 1.67.2 Code-OSS (used Discover to install)
OS Version: Arch Linux x86_64
Kernel Version: 5.17.9-arch1-1

Steps to Reproduce:
1.Freshly installed Code-OSS in Arch Linux x86_64 5.17.9-arch1-1
2.Open the tool and go to extension tab. Search for an extension to install, and the error is seen.
 Please consult the registry site for advice, or install a different build.

You have installed a build that has been modified to get extension from the Open VSX Registry instead of from Marketplace. Please consult the registry site for advice, or install a different build.

I'm trying to install the vsix fromOpen VSX Registry,it's cannot be install

VS Code does not support Open VSX Registry and also the code-oss version/package you installed. Please file issue against the owner distributing the package.
Thanks


Atomic creds producing wrong address/signature

Pull Request Test Coverage Report for Build 724134953

4 of 11 (36.36%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 25.202%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

services/indexes/cvm/writer.go
4
11
36.36%

Totals

Change from base Build 722556587:
-0.02%

Covered Lines:
1713

Relevant Lines:
6797

💛  - Coveralls


Optimize make_blockwise_graph

Precompute a number of lookup tables for the mapping between input and
output indices, so that the inner loop has less work to do, and avoids
any pure-Python function calls in the non-reduction case.
This reduces construction time by about 3x in this example, and the
gains increase as the number of dimensions goes up.
import time
import dask.array as da

A = 500
B = 1000

a = da.ones((A, B, 2), chunks=1)
b = da.zeros((A, B, 1), chunks=1)
c = a + b
g = c.__dask_graph__()
layer = g.layers[c.name]
t0 = time.monotonic()
layer._dict
t1 = time.monotonic()
print(t1 - t0)

[ ] Tests added / passed
[x] Passes black dask / flake8 dask

Let me know if I should add tests specifically for the new lol_product function.
This change also leaves zero_broadcast_dimensions unused and lol_tuples only used by dask/array/reductions.py. I wasn't sure if they should be removed/relocated respectively or if that would be considered a breaking API change.

Thanks for the review.

Would you be interested in submitting a PR with your initial benchmark to https://github.com/dask/dask-benchmarks? Perhaps with something a bit smaller so that it runs in ~1 second?

I've attached benchmarks to a few optimisations PRs recently, so I should go through and pull them all out when I get time. Unfortunately it could be a while before I get time, but I'll make a note to do that next time I do more work on dask.

No worries. If I have time later in the week I'll collect a few of them over there.

No worries. If I have time later in the week I'll collect a few of them over there.

Thanks!

A few of these benchmarks were collected in https://github.com/dask/dask-benchmarks/pull/37.

Thanks!


chore(linting): switch from ktfmt to ktlint

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#77
#76  👈
#75
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @libhide and the rest of your teammates on  Graphite

Merge activity

Jun 9, 4:06 PM EDT: Graphite rebased this pull request as part of a merge.


Fixed spelling error in uwsgi.conf.sample

Also trims trailing whitespace, according to the editorconfig.

Thanks!


Strange grey out effect of bag items about to mail

Start writing a mail.
Attach an item from your bag to the mail (right click or drag)
The item gets slightly greyed out as it should.
Now drag another item from the same bag as the attached item to another location in your bag.
The attached item gets another even darker greyed out effect. (Should not happen!)
 (Should also not happen!)

https://youtu.be/17rTwDgzjjo
Thanks!

Fixed in latest update.

Sorry, but I can still reproduce this with your newest version (1.0.15-Release).

Should I submit a new issue or will you re-open this one? ;-)

Cool, thanks!


Refactor parameters that adjust fuzzer behavior

As I've been learning more about the fuzzer I've found it difficult to remember where to adjust these hyperparameters. I've kept the % chances the same, but standardized sampling sizes and labeled constants
Also, I fixed a bug where random u8 values are generated with .below(255). Since below() is exclusive on the input, this needs to be .below(256) to generate a random u8

There are some overlapping ranges in the match statements, but they are intentional. Matches don't support exclusive ranges for constants atm.


Change Last Updated date format on Wiki

On the bottom of every wiki page...
Expected result:
12 November, 2012
Current result:
Last updated: 12/11/12
@chinmayisk If no date, display "unknown"

Fixed on new Excel doc! Please check before uploading.


feat(python): Use ruff for linter and formatter

This PR includes the following changes:

Use ruff as a linter

autoflake → ruff's rule (F)
flake8 → ruff's rule (E, W)
flake8-print → ruff's rule (T20)
isort → ruff's rule (I)
pep8-naming → ruff's rule (N)

Use ruff as a formatter

black → ruff format

Use pyproject.toml for tool configurations

mypy.ini → pyproject.toml (tool.mypy)

Many open source python projects are using ruff. ruff has rules that are fully compatible with existing linters such as pylint, flake8, isort, etc., while being much faster. The ruff formatter compatible with black is also provided. (production-ready beta, but with some known differences)
One of the advantages is that it has zero runtime-dependency. Written in rust, the dependencies are built into a single binary, and when installed as a python package, it can be installed and used very quickly without additional dependencies.
Also, flake8 has no plan to support pyproject.toml (PEP 518) for the time being. (https://github.com/PyCQA/flake8/issues/234)
Since this PR replaces existing, working tools for faster performance and cleaner configuration, it is okay to review slowly and carefully and leave any comments :)

Thanks a lot!


Adding my details

There is a conflict!

@johnjacobkenny  This is the message "This branch has no conflicts with the base branch"

2 approval?

@proful Please what else must I do to get this approved? And merged. Thanks

Ask in Twitter group or discord by giving link to this pr for review and approval. 2 approval needed.

Also msg in the discord server might geg some ppl

Congrats :)

Thank you 😁
On Fri, 16 Oct 2020, 21:12 Ameen<EMAIL_ADDRESS>wrote:

Congrats :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/twindle-co/twindle/pull/141#issuecomment-710545092,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK7U67PHTXHVL3IMFJ643ZLSLCSMXANCNFSM4SR6K7QA
.


Authorization middleware, fixes to API and User PATCH

This PR implements Role-Based Authorization middleware, where Role is stored in UserDTO encoded into JWT. It also implements PATCH endpoints required for promotion, and user edits. Fixes to API are cosmetic.

Two (possibly) issues so far:

JWT needs to be regenerated when User is updated, because JWT is based on UserDTO. This is slightly weird. Need to read up on JWT regen or what to do in this case.

Because (1) we have annoyances in (already singletoned) tests. Current fix is to "relogin" after User PATCH, but this is wrong.

merged locally n pushed to dev


Unexpected error module 'socket' has no attribute 'AF_UNIX' on Windows

I tried to run a module on  a Windows Edge device and got following error when my module starts. Could anyone help on this error?
Error: Unexpected error module 'socket' has no attribute 'AF_UNIX'
Here's my SampleModule code: https://github.com/blackchoey/IoTEdgePythonSDKPreview
I followed this tutorial to setup iotedge runtime on windows
AB#7366696

Hi Python community, we are going to close this issue since we have no plans to support Unix domain sockets in the Python SDK. The official guidance from IoT Edge is to use Linux containers on Windows devices. IoT Edge on Python is scoped to Linux and is documented on this page.

@BertKleewein, @blackchoey, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey


Fix breaking change in RelationalCommandParameterObject constructor

cc @Pilchie

@Pilchie My emails are not getting through. The other PR (from @bricelam) is not critical, but we would like to get into preview 3 if we can.
This one is a minor breaking change that we found over the weekend introduced by the connection resiliency fix from Friday. The break is unlikely to have any real impact, but we would like to fix it if we can.

Checking with QB.


Added a codechef graph problem chess knight move

Thank you for reading my pull request please add my contribution to your repository. the link for codechef problem chess knight move is attached.
https://www.codechef.com/problems/PRGCUP01

@all-contributors please add @Amandeep-2624 for his code


add contribution instructions for prototype datasets

This is a preliminary guide to foster early contributions to the prototype datasets outside of the core team. You can find the rendered version here. In the future this should probably moved to CONTRIBUTING.md or the into the documentation.
@ reviewers: All the changes apart from README.md are minor convenience changes that I found while writing the guide.
cc @pmeier @bjuncek

@NicolasHug Sorry, I didn't see your comment before merge. I'll fix the line length the next time I push changes to the file.


Show a scrollbar with long lists of options and preserve keyboard navigation

Is your feature request related to a problem? Please describe.
When I put a lot of options in the list (for instance, 200+ country options), the list extends off the page. This example has 240+ items:

Describe the solution you'd like
Constrain the menu's height so that it overflows with a scrollbar instead of continuing down the page. Something will also need to be done to keep keyboard focus in view (see next section).
Describe alternatives you've considered
This is possible in userland with the following CSS...
auro-menu {
  overflow-y: auto;
  height: 300px;
}

... but that causes issues with keyboard navigation, since the box does not scroll when navigating between items with the up/down arrows, so you can no longer see what option is selected.
If the scrolling was expected by the component, it could take action to keep the selected item in view.

Guidelines added to menu's blueprint: https://www.figma.com/file/xwDiIDfSz6j9bM4TD3Ni5N/Menu?node-id=1301%3A6361
Will be adding design guidelines for select and suggest.

I am assuming that this fits the model of what you were thinking @jason-capsule42

@leeejune Yes, this looks good for our first go at this.
@braven112 should we just reassign this same ticket to me to do the development or do you want to resolve this one with the figma work.
Also, at what point do these changed Figma designs get put onto the docsite? Seems like that should be added into the PR for the code changes.

Also, at what point do these changed Figma designs get put onto the docsite? Seems like that should be added into the PR for the code changes.

The updates to Figma should be in a Figma branch, right @leeejune? AFAIK, when we release the update, that's when @leeejune will merge her branch and release. The docsite loads a fresh view of the Figma file with each request, so there is no need to update the docsite.

Issue closed, design work delivered.


WIP: Settings button fixes

Fixes for issue #1189
Currently working on completing the solution based on the pillars of the issue.
Changes made:

Top Bar Settings Button Navigation: The Top bar settings button now navigates to the Cluster Settings page of the current cluster. This simplifies the navigation process and brings a more intuitive user experience. Note that the settings button will not be visible when no cluster is set, preventing any confusion or error when there's no active cluster.

User Menu "General Settings" Navigation: I have replaced the "Cluster Settings" button under the User Menu with a "General Settings" button. This button leads to the User Settings page, making it straightforward for users to modify their general settings.

Added "General Settings" Link to Cluster Settings: To ensure that users can easily switch between settings pages if desired, I have added a link to the "General Settings" on the Cluster Settings page. This allows for quick and easy access to the General Settings page from within the Cluster Settings.

To do

[x] Make the top bar settings button go to the cluster settings; and hide this button if no cluster is set
[x] Replace the "Cluster Settings" button under the user menu by "General Settings"
[x] Add a link "General Settings" to the cluster's settings, so the user can easily go to the general settings if they want.

Just cleaned up the notes left in the file and the General Settings title for the settings page is now in!
Working on the storybook additions you mentioned now

just put changes up to current main

I did the cherry-pick method that worked last time?

Fixes made!

@vyncent-t It seems the branch is messed up somehow...
maybe try deleting the branch and then adding the change again to a new branch created from main?


 This leads to Workflow Execution failures on every exception that is thrown from the Workflow code (not just TemporalFailures). No other workflow implementation registration methods behave like that. Neither an overloaded addWorkflowImplementationFactory nor registerWorkflowImplementationTypes.
What changed
addWorkflowImplementationFactory(Class workflowInterface, Func<R> factory) is deprecated and replaced with registerWorkflowImplementationFactory. New method doesn't set WorkflowImplementationOptions.Builder#setFailWorkflowTypes to Throwable.
addWorkflowImplementationFactory(WorkflowImplementationOptions options, Class workflowInterface, Func<R> factory) is deprecated and replaced with registerWorkflowImplementationFactory. 1-1 replacement.
To get an old behavior of addWorkflowImplementationFactory(Class workflowInterface, Func<R> factory), users should explicitly pass WorkflowImplementationOptions.newBuilder().setFailWorkflowExceptionTypes(Throwable.class).build() as a third parameter of registerWorkflowImplementationFactory(Class, Func, WorkflowImplementationOptions.newBuilder).
Additional clarifications were added:

Discouraging the usage of these methods in production code and
Danger of dependency injection into workflow instances

Closes #1408

@GreyTeardrop thank you for keeping an eye on the kotlin module!


IP Restrictions and Auditing

@alexkalish did you mean for this issue to be logged in the Secretless repo?

Oops!  I used the roadmap page to create it and it must have picked the last repo I used or something.  I'll move it.  Thx.


Add Leaflet AIS Tracksymbol

@PowerPan Please rebase your fork against the most recent gh-pages branch, this is causing a merge conflict.


Bulk update test failing

Disabled this test because it's failing on staging.

The admin_application_statuses_bulkstatus.test.ts was failing. The PR unskips admin_predictes tests and skips the failing test.


Mount script updates

Adds unmount to script when it's already mounted (might reduce errors if mount script is run while it's already active).
Adds mount script to cronjob for root user.
Executes mount script on init from bootstrap script.

Checklist:

[X] Have you successfully deployed to an AWS account with your changes?
[X] Have you written new tests for your core changes, as applicable?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Reviewed in office hours, 02/02/2023.


I would like to be able to clear the references list

I would like to be able to clear the references history. Mine is now pages long with a scroll bar.

Added a PR to add this in the repo for the extension: https://github.com/microsoft/vscode-references-view/pull/51.

👏 @guywald1


Failure using VarScan for tumour only variant calling

Hi, thanks for the awesome tool and for the great support you give to your users.
I am trying to use the bcbio pipeline to call variants on a batch of all tumour samples. However when I try to use VarScan as one of the variant callers the pipeline fails. It proceeds to the end if I use FreeBayes and VarDict, but I get several errors in the vcfanno step which are similar to the below code block, not sure if they are a serious issue or not:
[2017-07-20T00:03Z] =============================================
[2017-07-20T00:03Z] vcfanno version 0.2.6 [built with go1.8]
[2017-07-20T00:03Z] see: https://github.com/brentp/vcfanno
[2017-07-20T00:03Z] =============================================
[2017-07-20T00:03Z] vcfanno.go:115: found 1 sources from 1 files
[2017-07-20T00:03Z] vcfanno.go:143: using 2 worker threads to decompress query file
[2017-07-20T00:03Z] vcfanno.go:241: annotated 4 variants in 0.10 seconds (40.9 / second)
[2017-07-20T00:03Z] [W::vcf_parse] Contig '16' is not defined in the header. (Quick workaround: index the file with tabix.)
[2017-07-20T00:03Z] Encountered error, cannot proceed. Please check the error output above.
[2017-07-20T00:03Z] Uncaught exception occurred
Traceback (most recent call last):
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 22, in run
    _do_run(cmd, checks, log_stdout, env=env)
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/do.py", line 102, in _do_run
    raise subprocess.CalledProcessError(exitcode, error_msg)
CalledProcessError: Command 'set -o pipefail; vcfanno ~/BCBIO_VarscanDebug/work/BCBIO_VarscanDebug/work/bcbiotx/tmpd73AN4/dbsnp.conf ~/BCBIO_VarscanDebug/work/BCBIO_VarscanDebug/work/varscan/16/sample1-16_0_68771366.vcf.gz | bcftools annotate --set-id +'%INFO/rs_ids' -o ~/BCBIO_VarscanDebug/work/BCBIO_VarscanDebug/work/bcbiotx/tmpd73AN4/sample1-16_0_68771366-wdbsnp.vcf.gz -O z

If I include VarScan as one of the variant callers, the script stops running when it hits the following error:
=============================================
vcfanno version 0.2.6 [built with go1.8]
see: https://github.com/brentp/vcfanno
=============================================
vcfanno.go:115: found 1 sources from 1 files
vcfanno.go:143: using 2 worker threads to decompress query file
[W::vcf_parse] Contig '2' is not defined in the header. (Quick workaround: index the file with tabix.)
Encountered error, cannot proceed. Please check the error output above.
vcfanno.go:241: annotated 16 variants in 0.15 seconds (105.1 / second)
' returned non-zero exit status 255
[2017-07-20T00:04Z] Varscan
[2017-07-20T00:04Z] [mpileup] 1 samples in 1 input files
[2017-07-20T00:04Z] <mpileup> Set max per-file depth to 8000
[2017-07-20T00:04Z] Varscan
[2017-07-20T00:04Z] [mpileup] 1 samples in 1 input files
[2017-07-20T00:04Z] <mpileup> Set max per-file depth to 8000
[2017-07-20T00:04Z] Genotyping with varscan: ('15', 66694200, 102531392) sample1-sort.bam
[2017-07-20T00:04Z] Varscan
[2017-07-20T00:04Z] [mpileup] 1 samples in 1 input files
[2017-07-20T00:04Z] <mpileup> Set max per-file depth to 8000
[2017-07-20T00:04Z] Varscan
[2017-07-20T00:04Z] Got the following sample list:
[2017-07-20T00:04Z] sample1
[2017-07-20T00:04Z] Only variants will be reported
[2017-07-20T00:04Z] Min coverage:	5
[2017-07-20T00:04Z] Min reads2:	2
[2017-07-20T00:04Z] Min var freq:	0.01
[2017-07-20T00:04Z] Min avg qual:	15
[2017-07-20T00:04Z] P-value thresh:	0.98
[2017-07-20T00:04Z] [mpileup] 1 samples in 1 input files
[2017-07-20T00:04Z] <mpileup> Set max per-file depth to 8000
[2017-07-20T00:04Z] Varscan
[2017-07-20T00:04Z] [mpileup] 1 samples in 1 input files
[2017-07-20T00:04Z] <mpileup> Set max per-file depth to 8000
[2017-07-20T00:04Z] Varscan
[2017-07-20T00:04Z] [mpileup] 1 samples in 1 input files
[2017-07-20T00:04Z] <mpileup> Set max per-file depth to 8000
[2017-07-20T00:04Z] Varscan
[2017-07-20T00:04Z] [mpileup] 1 samples in 1 input files
[2017-07-20T00:04Z] <mpileup> Set max per-file depth to 8000
Traceback (most recent call last):
  File "~/software/bin/bcbio_nextgen.py", line 234, in <module>
    main(**kwargs)
  File "~/software/bin/bcbio_nextgen.py", line 43, in main
    run_main(**kwargs)
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 42, in run_main
    fc_dir, run_info_yaml)
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 86, in _run_toplevel
    for xs in pipeline(config, run_info_yaml, parallel, dirs, samples):
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 152, in variant2pipeline
    samples = genotype.parallel_variantcall_region(samples, run_parallel)
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/bcbio/variation/genotype.py", line 193, in parallel_variantcall_region
    "vrn_file", ["region", "sam_ref", "config"]))
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/split.py", line 32, in grouped_parallel_split_combine
    final_output = parallel_fn(parallel_name, split_args)
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel
    return run_multicore(fn, items, config, parallel=parallel)
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore
    for data in joblib.Parallel(parallel["num_jobs"], batch_size=1)(joblib.delayed(fn)(x) for x in items):
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 812, in __call__
    self.retrieve()
  File "~/software/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 749, in retrieve
    exception = exception_type(report)
TypeError: __init__() takes at least 3 arguments (2 given)

In the above case I ran the pipeline with only VarScan as a variant caller
Let me know if you need any further information from the log files, need my .yaml config file or have any ideas for a work around. We would like to use VarScan in our workflow as we already use it for other pipelines we currently run.
Thanks!

Marion;
Thanks much for the report and apologies about the problem. I'm a bit confused about the underlying cause of the issue since I don't believe VarScan currently gets these dbSNP annotations via vcfanno/bcftools but I may be misreading some of the code. As a speculative fix, I pushed an update to VarScan to ensure that reference contigs are available so it won't complain. If you upgrade with:
bcbio_nextgen.py upgrade -u development

remove the current VarScan directory (sorry) and re-run, it should hopefully work cleanly. If you still have issues could you post a traceback from running in single core mode (-n 1) and I could trace the source of the error more closely. Hope this gets it working for you.

Hi, the pipeline ran perfectly with the updated code, thanks for the super speedy fix!


Phantoms aren't controllable

After leaving the ground, you can't get back down.
Steps to reproduce:
2 Methods:

Method 1: Morph into a Phantom and Jump
Method 2: Morph into a Phantom and walk off a ledge

Expected result: You should be able to control your movement and move up, down, forward, backwards, etc.
Actual result: You lose control and if you jumped, will move upwards forever until you morph into another entity.
Temporary Fix in 0.0.2
Suggested fixes:

/ability mayfly
/effect @s feather_falling

Progress Fix in 0.0.4

Hello,
I had a look at your code so far. It looks promising at the moment. Regarding the Phantom, why don't you consider the following:

Option 1: You can modify your Phantom item file. Add this "/ability @s mayfly true" to your run command event string. Remember to add the "/ability @s mayfly false" to all your other item file lines. Off the top of my head, you would have to enable the additional modding capabilities since I do believe the in-game 'ability command' is from Minecraft education edition and ported over. This option would allow the player to control their forward, backward, right/left and height position at will.

-Option 2: In your phantom item file, apply an effect of feather falling in your run command event string. For example, "effect @s feather falling 1000000 1 true. Although, do make sure that you clear it for all other non-flying mobs. Secondly using the same idea, tag the player and use a filter component that is only looking for the 'allow_fly' tag. Test if the animation is crouching and give it a spell cast for a couple of seconds. This would allow the player to 'hover' in place for a while.
Best wishes,
Hidden

Hey Hidden, these are great ideas! Once I begin to tackle this (soon maybe?), I'll be sure to keep these ideas in mind.
Hope you have a great day, and thanks for the ideas!

Project moved to new repository


Fixed spelling of 'Reresh' to 'Refresh'

Just a little spelling fix.
Thanks for the repo. Very helpful!

Good eye - thanks!


About dataset

hi，i'm confused where can i get the datasets
thanks

@Neoyanghc Hi, thanks for your interest in our work. We apologize for not being able to make the exact used datasets open as requested by the data provider. But you may find similar data of interest here: https://github.com/deepkashiwa20/DeepCrowd


vote strategy？

你好，请问，这个投票测试是什么意思，为什么会比最好的模型的还要高？

Hi, the voting strategy was first introduced in RSCNN (https://arxiv.org/abs/1904.07601). That is, given the best performing model, during inference, input point clouds are randomly augmented (jittered or scaled) for k different times, and the prediction for this single input batch is the average of the k runs.
Since such a strategy heavily relies on randomness, both RSCNN and our CurveNet repeat the voting process 300 times and then pick the best result to report.

Fine，thanks。

Closing for now :)


Search: replace box does not select text on focus

My expected behaviour for Windows applications is that text boxes highlight their existing contents when they get the focus. This is so that typing new text replaces the existing text by default, rather than appending to it. This is my instinctive way of working and Windows applications have behaved this way for several decades now. My copy of Visual Studio Code does not.
For example, I almost always want to run a search/replace on a new pair of strings each time. I do not ever remember wanting to use a combination of the old text with a new suffix.
Sorry if this is buried somewhere in the settings; I did look for it but couldn't find it.
Thanks,
Dan

@dannypike thanks for your feedback. However when I do Ctrl+Shift+F, or Ctrl + F the text in the input box always get selected for me. Can you please provide reproducable steps when text does not get selected for you and you think it should be selected? Thanks
Also please bear in mind that VS Code is a cross platform application.

@isidorn Thank you for your response. The problem that I keep hitting occurs when I use Search and Replace more than once per session.
To reproduce the problem:

Run search-replace once on a test file.
Close the dialog and reopen it.
Enter some new text in the Search text box, then hit ```Tab`` to move to the Replace text box.

If there is already text in that box (e.g. from an earlier search-replace), then the old text is not selected, so the new text is will be appended to it.
IOW, if you type without looking (as I tend to do), you end up replacing occurrences of the new Search text with a concatenation of the previous Replace string + the new Replace string.
Does that make sense?

This annoys me too. Tabbing over to the next/previous input box should always highlight the existing text so you don't have to Ctrl+A every time when doing multiple search & replace.
VSCode currently does it the first time after opening the Search+Replace tool; it initially highlights everything in both input boxes (sometimes), but after changing the text (so the highlight is gone) or just un-highlighting it the highlight is not re-applied when tabbing/clicking over.
For reference look at how Windows Notepad handles it.

This bug makes sense, let me rename the bug and assign to owner.
Repro steps:

Have search and replace box visible with content
Focus in search box. Press tab
Replace box is focused, but text is not selected 🐛

@roblourens The bug is both ways. If you are in the Replace text box and tab backwards, the text in the Search box does not get selected.
The way that I have always coded this in Windows (25 years and counting ;) ) is to make every text box select its contents whenever it receives the focus. That is, change the behaviour of the "incoming" text boxes, not the "outgoing" ones, or the keyboard / menu handlers. This technique is robust and gives consistent behaviour, regardless of what the user does: hitting theTab key, clicking a menu command or any other way of giving the focus to a text box.
Also, if you subclass all of the text boxes in Visual Studio Code, you will only have to do this once for the whole program.
Hope that helps,
Dan

I don't know whether I agree. Did a quick survey of some other editors' behavior. Notepad and Atom have the behavior you suggest. Sublime and Webstorm match our behavior, so I don't think there is a consensus. I disagree that clicking should focus it, none of them have that behavior.

I'm much less concerned with selecting text on Click. I only asked for that behaviour because it's how Visual Studio works, and I swap between that and VS Code very often.
But @Dromantor makes a valid point about clicking when you want to edit the replace text at a specific character and, as clicking requires me to look at the text box, it's much less likely that I will be surprised by what happens.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

as expected, small QOL improvements never make it, see the page up/down issue

Yes, Microsoft have forgotten so much about how to build a world-beating product since Bill Gates left.
Windows is gradually turning into Linux with its many small irritating "features", horrible UI and continual regressions in each micro-release. Look how they have ruined Skype by letting their marketing department control it. I rarely use it, now.

Yes, Microsoft have forgotten so much about how to build a world-beating product since Bill Gates left.
Windows is gradually turning into Linux with its many small irritating "features", horrible UI and continual regressions in each micro-release. Look how they have ruined Skype by letting their marketing department control it. I rarely use it, now.


Stop printing "Encryption of the configuration cache is enabled." at warn level

Expected Behavior
There is no message about Encryption of the configuration cache is enabled. as it has little use to developers.
Current Behavior
Encryption of the configuration cache is enabled. is logged at warn level
Context (optional)
No response
Steps to Reproduce
Use Gradle 8.1+ and enable configuration caching.
Gradle version
8.1
Build scan URL (optional)
No response
Your Environment (optional)
No response

Thank you for providing a valid description.
The issue is in the backlog of the relevant team and is prioritized by them.
Related:

#24248

Fixed in 9a65f0542b83dc7f94d09fd1f50a34e31cda6481


CultureCharacterTemplate should use only collections.

Swap the maps on CultureCharacterTemplate for collections.

No more maps left on the class.


Discord Server

Hello, I want to join the discord server of this project, but the link in the description is invalid, so can you please give me working link?
Thanks in advance.

Hello, I want to join the discord server of this project, but the link in the description is invalid, so can you please give me working link?
Thanks in advance.

feel free to join here.

Thanks for the link!


Answer missing from InteractionRequest in confirmation mode

When an interaction request is set for confirmation, there is no way, IMHO, to get the user decision (cancel or agreed). The result of the action is successful, as it should be but the only thing that can be retireved is the userInput(). The same, cancellation action in a AlphaNumericInput request is not returned by the API.
I would suggest to add a isCancelled() getter in InteractionRequest class and similarly a isAccepted() one. In the case of a confirmation, userInput() would be empty, and in the case of AlphaNumericInput, isAccepted() would be true userInput() is valid and can be read.

I believe that in the cancel case, an appropriate error code should be returned in the result - something like UserInteractionCanceledError or such.  We should check that we do indeed do that.

I believe that in the cancel case, an appropriate error code should be returned in the result - something like UserInteractionCanceledError or such.

Welll, that's my point, I didn't find any error code with cancel or interaction related to canellation in the name.
From a coding point of view, it's simpler to add a new error code value, but IMHO, it's more meaningful to return successful and add a isCancelled() method, why:

the operation indeed succeed in the sense there was no programmatic error or no network or whatever error. The user gives back its will as a cancellation.
it's easier to discover when looking at the API, otherwise it should be mentioned in the documentation that in cancellation case the error code should be UserInteractionCancelledError.

From the point of view of the operation, it is an error, since it could not be completed.  The reason is different from other causes of failure (that is, it's explicit user action as opposed to transient failure) but I think it is still better to report it the same way other errors are reported.
I've created https://github.com/sailfishos/sailfish-secrets/pull/112 for this one.  I guess we could add an "isCanceled()" method to UserInputRequest which returns true if the operation is complete and the error is InteractionViewUserCanceledError... what are your thoughts about that possibility?

Thank you for taking care of this in a PR. It's ok to keep it like that without an additional isCancelled() method.

Implemented by @chriadam in #112.


Cannot create an account when one already exists

Description
When testing PR #5123, I had an issue on bloc 16,763,162 with this message error :  "Cannot create an account when one already exists".
You can find attached Besu logs.
error_log_PR5123.log

fixed in commit


[splunk] add automation

This automation fetches the version from the docs. The release information only seems to be available from 7.2 on.
The automation checks for the format
Splunk Enterprise <IP_ADDRESS> was released on May 26, 2020.
with a regex. The versions are
major.minor.patch
and sometimes major.minor.patch.anothernumber. I don't know why they do this and I couldn't find an explanation. I've kept these versions in, but I'm unsure if this gets handled correctly by endoflife.date.

Hi @dadav, thanks for this contribution. I will have a look at it asap this week.

and sometimes major.minor.patch.anothernumber. I don't know why they do this and I couldn't find an explanation. I've kept these versions in, but I'm unsure if this gets handled correctly by endoflife.date.

It should work, it's not the only product that is using a 'tiny' version number. For example Openshift is using it too.

@dadav, I refactored it to something more concise and readable (IMO, I am not very fluent in Python and does not know the idioms). Hope you are ok with this (note: I just found I should have been called the options values minor_release, as it is in fact the patch version).
This refactored script also prints versions as they are found. Thanks to that I found out that most of the pages are downloaded for nothing. For instance pages 7.2.0 to 7.2.10 are downloaded but the result would be the same if only the 7.2.10 page were downloaded. This is an issue because the page are quite long to load, so we must find a way to only get the page for the last version of an x.y cycle.
Another issue: x.y.0 versions dates are never found. This is an issue because our automation will take the x.y.1 as x.y release date. So we must also parse sentences like Splunk Enterprise 9.0 was released on June 14, 2022..

@marcwrobel Ok, I will have a look at these points. I knew that many pages are empty, that's why I sorted the versions before fetching the pages and checked if the versions date was already found. I also thought about using some parallelism library (aiohttp) to speed things up, but this seems more like a throw-resources-at-the-problem kind of solution.

Before fix: 66 fetches needed. Time: 3:34 mins

After fix: 17 fetches needed. Time: 25s

13 fetches, 20s

And thats it....I think I can't get a better result ^^

Thanks again @dadav !


Can't add timelines in Godot 4.1.2

The problem
Describe the bug
Upgraded my project to 4.1.2. When attempting to load or create a new timeline, the timeline window doesn't function due to an error.
To Reproduce
Steps to reproduce the behavior:

Open a (new) project in Godot 4.1.2 and install the plugin
Attempt to create a new timeline
See an error and a bugged window

Screenshots

System (please complete the following information):

OS: Windows 10
Godot 4.1.2
Dialogic ver.: latest pull from GitHub

Solutions
Possible fixes
Downpatching to 4.1.1 it seems

Hello, could you please the error you encounter?

 I got back to investigating this issue a few minutes ago and realized the console was screaming about unknown references. After reloading the project, everything's working fine. So uh, if there's a way to force-reload Godot after importing this plugin, that'll certainly help newbs like me :)


⚠ Bofrost.at has degraded performance

In 5364bd5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1549 ms

Resolved: Bofrost.at performance has improved in 84cf70a.


Debug mode?

For debugging ccache misses, I'm currently doing something along the following lines:

Enable debugging: https://github.com/krlmlr/duckdb-r/blob/ccache/.github/workflows/install/action.yml#L109-L110
Store artifact: https://github.com/krlmlr/duckdb-r/blob/ccache/.github/workflows/R-CMD-check.yaml#L274-L278

Reference: https://interrupt.memfault.com/blog/ccache-debugging#2-identify-objects-that-are-missing-the-cache
Could this be an option debug: true in this action?

sounds like a useful addition to me


Add pause/resume functionality (and button)

What problem or use case are you trying to solve?
I want to be able to pause the agent so it stops its work, then resume when I'm ready
Describe the UX of the solution you'd like
On the backend, a websocket action for pause, and another for resume
On the frontend, a button that sends those requests, and reflects current state
Do you have thoughts on the technical implementation?
This will probably be a little difficult on the backend...there's weird concurrency stuff to consider.

I can take a look tomorrow


Does it support any commercial Vector DB?

Hi, I would like to use commercial Vector DB like Pinecone for storing the vector and also wants choose model for embedding generation. Does it allow me such flexibility? I also wanted to know if we can have file level duplicate check to ensure same file does not get processed multuple times. Thanks

Hello,
At the moment, we do not provide support for commercial Vector DBs. However, you can modify the db.py file to customize it according to your requirements.
Currently, our platform only supports the all-mpnet and CLIP models, as they are state-of-the-art embedding models. We are actively working towards integrating more diverse and flexible models.
We do have a rudimentary duplicate file detection mechanism in place. You can refer to the implementation in anything.py, specifically line 88, for more information.
Contributions to augment our model collection / database would be greatly appreciated!

@amitkayal Any updates? Have you tried with Pinecone? What's your use case?


Discord version

I cant inject using the discord version as its telling me:
"Couldnt find the path to Temtem\content\contentData\Managed"
When Discord version uses: Temtem\content\temtem_Data\Managed\

Fixed TY!


Query cache backgroud recompilation

Is needed for query replay base to be representable.
Also would be useful for smooth compile service configuration rollout.

https://st.yandex-team.ru/KIKIMR-21178


Image render bug , very confused & why

🐛 Bug Report

React Native & Image render bug

"use strict";

/**
 *
 * @author xgqfrms
 * @license MIT
 * @copyright xgqfrms
 *
 * @description ScrollImageText
 * @augments
 * @example
 *
 */

import React, {Component} from "react";
import {
    Image,
    View,
    ScrollView,
    Text,
    Button,
    StyleSheet,
} from "react-native";

// import * as header_logo from "../asserts/header_logo.png";
// let header_logo = require ("../asserts/header_logo.png");

class ScrollImageText extends Component {
    static navigationOptions = {
        title: "ScrollImage",
    };
    constructor(props) {
        super(props);
        this.state = {
            data: [],
        };
        this.fetchData = this.fetchData.bind(this);
    }
    fetchData(url = ``) {
        fetch(url)
        .then(res => res.json())
        .then(json => {
            console.log(`json =`, JSON.stringify(json, null, 4));
            this.setState({
                data: this.state.data.concat(json.movies),
                loaded: true
            });
        });
    }
    render() {
        const {
            navigate,
        } = this.props.navigation;
        // <ScrollView> </ScrollView>
        return (
            <ScrollView>
                <Text style={styles.welcome}>ScrollImageText</Text>
                <Button
                    title="Go to xgqfrms's HomeScreen"
                    onPress={() => navigate("Home", {name: "xgqfrms"})}
                />
                <Button
                    title="Go to xgqfrms's ProfileScreen"
                    onPress={() => navigate("Profile", {name: "xgqfrms"})}
                />
                <Image
                    source={require('./header_logo.png')}
                    style={{
                        width: 66,
                        height: 58,
                    }}
                />
                {/* <Image
                    source={
                        require ("../asserts/header_logo.png")
                    }
                    style={{
                        width: 66,
                        height: 58,
                    }}
                /> */}
                {/* <Image
                    source={{
                        // uri: "../asserts/header_logo.png",
                        // uri: header_logo,
                        uri: require ("../asserts/header_logo.png"),
                    }}
                    style={{
                        width: 66,
                        height: 58,
                    }}
                /> */}
                {/* <Image
                    source={{
                        uri: "https://facebook.github.io/react-native/img/header_logo.png",
                    }}
                    style={{
                        width: 66,
                        height: 58,
                    }}
                /> */}
                {/* <Text>
                    On iOS, a React Native ScrollView uses a native UIScrollView.
                    On Android, it uses a native ScrollView.

                    On iOS, a React Native Image uses a native UIImageView.
                    On Android, it uses a native ImageView.

                    React Native wraps the fundamental native components, giving you
                    the performance of a native app using the APIs of React.
                </Text> */}
            </ScrollView>
        );
    }
    componentDidMount() {
        const url = `https://cdn.xgqfrms.xyz/json/react-native/MoviesExample.json`;
        // this.fetchData(url);
    }
}

// css-in-js
const styles = StyleSheet.create({
    welcome: {
        fontSize: 20,
        textAlign: "center",
        margin: 10,
    },
});

export default ScrollImageText;

export {
    ScrollImageText,
};

I tried to reproduce the issue on Mac computer and everything works fine on Android and iOS. I put an image right into src directory. Maybe it's an issue with Windows environment or maybe you should restart the packager.

Hi! As @jaysbytes wrote, we aren't able to reproduce this issue. I'm going to close it but in case you think it's still a valid issue, please let us know, and we'll be glad to re-open it.


[SwaggerParameter(Required = false)] Won't have any effect

[Post]
IActionResult Post([SwaggerParameter(Required = false)] int? value = null)
{ ... }

The generated specification Json is no different than when SwaggerParameter omitted. As a consequence the auto generated client is going to throw an exception if a null value is passed for int? value.
Is it just me not knowing how to use this library or is it something else?
Pardon me if I'm missing something obvious, there isn't much documentation/examples on the usage of this attribute. All I want is the generated code to accept null values for int? value.

Up

I don't understand the issue here - you say it isn't required, and the docs are the same with and without it and it breaks if no value is supplied, but you've said it's not required so null should work.


If don't check identities, the terrorists win.

We definitely don't want them to exploit any bugs to get in via coercion. Thanks for helping #makeTheInternetGreatAgain


docs and example howto utilize inline fragments

E.g use conditional subselects  to return  qualified entities of the same repo.
https://graphql.org/learn/queries/#inline-fragments
Use meta filed like __typename to subselect dedicate entities.
https://graphql.org/learn/queries/#variables

Is there anything specific required in GraphQL Java or in Spring GraphQL, i.e. isn't this just part of the GraphQL query syntax?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

This just part of the GraphQL query syntax, but i did not found any example what needs to be implemented on the backend in spring grapghql backend to support these.

The GraphQL Java engine supports the GraphQL query syntax, so I don't think anything specific from Spring GraphQL. You would define unions and interfaces in your schema, return instances of those from controller methods, and send the client query as shown in the link. Have you tried this and if so what did you get suck?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.


exponential backoff on signing key creation

I turned off some spooler handlers. One of them was the key handler in the auth-service. Which leaded to the problem that each instance of the backend created a key every 10 seconds.
So my question is: Would it make sense and is it possible to increment the wait duration between creating keys instead of doing it every 10 seconds?
I think @livio-a could have an opinion on that

I would generally advise to use exponential backoff as pattern for failing task 😁

sounds like a bug / missing check
the idea was to check for newer events (key creation) when no active key is in the projection table... so already some sort of backoff, though not exponential
@adlerhurst we should have a look at it together

basically implementation was correct, but the query for new events checked with aggregate type iam instead of keypair 🤦
@adlerhurst can you please verify / have a look at the PR


Todo: Add API unavailable indication to react frontend

This has been observed during user study. Sometimes you need to wait for a while before "My List" shows up on the web frontend.
Karol is seeing the same behavior.
We should investigate after private preview to see if it might uncover coding practice for increased reliability.

With the template tests pipeline. Don't think we are hitting this issue anymore.


Fixing misspells

Hi,
I found out the "Go Report Card" and found out some misspells (some that I wrote :( )
Here is the report card:
https://goreportcard.com/report/github.com/influxdata/kapacitor
And I used this tool for fixing the misspells:
https://github.com/client9/misspell

Thanks!


altering Startup Parameters (SRCDS) results into a non working game instance

I altered (extended) the startup parameters to include
http://www.pufferpanel.com/docs/autoupdating-source-dedicated-server-game
which didnt work.
After chaneging back to the default
http://www.pufferpanel.com/docs/adding-a-new-source-dedicated-server
(-game ${game} -strictportbind -port ${port} -console +map ${map} -maxplayers ${players} -norestart)
the server variables are not identified anymore..
Server is starting...
ERROR: Invalid game type '${game}' sepecified.
Sun Nov  8 20:08:40 UTC 2015: Server Failed
[Scales] [WARNING] This server has been detected as crashed by the management daemon. Restarting now...
Issue Update:
the initial parameters like
SRCDS Game ${game}
Map ${map}
Maximum Players ${players}
SRCDS Application ID ${build_params}
are not visible when you edit a deployed gameserver instance.
Create new gameserver
http://i.imgur.com/BlJlxBI.png
Edit deployed gameserver:
http://i.imgur.com/fafor7R.png

I dont know if this is the right place to put this, but if it fails to launch a server on a startup parameter, why should it consider to even reboot at all? It knows it wont make it past reboot. Isnt it better to turn it off (saves a ton of starting and stopping) and request intervention from the admins? (Via mail or notify?)

@worldmc it's probably because it's not (easily) possible to tell why it failed. I doubt the error codes will reveal it and unless you do a good log parsing (which is probably not going to work well imo). For some stuff, yeah, you can tell, but it would be nearly impossible for us to easily detect why it crashed like that.

Scales is marking it as crashed because the process is exiting and nothing told Scales that the server was stopping, causing the reboot cycle.

perhaps adding a regex (/ERROR: Invalid.+/) to detect start up errors caused like "ERROR: Invalid game type" could help

Unable to replicate this.

I guess I accidentally deleted them. after recreating them manually it started to work again.
Maybe another plausibility check on those ones and a warning when mandatory data fields are missing for a succesful gameserver startup?


fix off by one error when generating the list of tags

this is causing the jenkins.job.completed metric to always be missing a
tag at ~random

Thanks @doy! I'll take a look at this asap

Any progress on this?

Hey Datadoggers, any update on this? We'd love to get this merged in. Anything we can do to help?

Sorry for the wait and thanks a lot for the fix and feedback everyone. Merging and releasing.


Each in reactivity

Failing tests for #9

I've upstreamed these tests to https://github.com/pzuraq/tracked-maps-and-sets, which extracts maps and sets for usage on their own. Thank you for taking the time to write them!
Also, {{each}} does work with maps, it just treats each item in the iterable like a single item. Iterables don't have a predefined API for keys and values, just values 😕 so, it's effectively the same as a for..of loop.

Thank you for taking the time to write them!

Thank you for looking them over and breathing life into them!

Also, {{each}} does work with maps, it just treats each item in the iterable like a single item. Iterables don't have a predefined API for keys and values, just values 😕 so, it's effectively the same as a for..of loop.

That's what I expected to happen, but I wasn't getting the desired test results. Probably because...

Also, the count thing in these tests isn't quite going to work the way you expect it to. It memoizes, so it won't ever be called more than once.

...of this! Your solution is much nicer.
So were you able to identify a bug in Set that explains the behavior I first reported in #9 using these tests, or am I just hopelessly confused?

Yes, the issue is that currently both {{each}} and {{each-in}} don't actually quite autotrack, they instead base their revalidation on specific tags. {{each}} bases it on the [] property tag, and {{each-in}} bases it on a special object property tag. The object property tag was being updated correctly, but [] was not.
Working on changing that directly, but it's going to take some time!


Invalidate connection within ZConnectionPool

Addresses #36. This implicates the constructor of ZConnectionPool - namely that the constructor is now private so that we have a handle to the underlying ZPool (so that we can call its invalidate method). I'm all ears if this encapsulation isn't necessary. Also, a sort of semi-related issue is that this PR also short circuits logic within ZConnection.isValid as the previous version would always fail if a connection was already closed (muddying up the intended semantics of this method).
One thing I wasn't sure of is how to properly test invalidate. Currently, I just get a connection, invalidate it, and check that it is closed but I am not doing any checks on the ZPool itself.
Any and all feedback is welcome!

Closing as I think I have a better way to do this that looks forward to #24 and #37.


Code

Its october, wanted to ask

Hi @darcwader ,
The code is already available in the pre-release branch https://github.com/karfly/learnable-triangulation-pytorch/tree/pre-release
It is currently being tested for reproducibility.


Allow plugins to open links on new browser window

Summary
Allow plugins to open links on new browser window. This is mainly used as a workaround for Google Auth problems.
Issue link
https://github.com/mattermost/mattermost-plugin-zoom/issues/74
Related PR
https://github.com/mattermost/mattermost-plugin-zoom/pull/78

Passing security Review to @jupenur since Electron is not a strong arm of mine, and adding Dean for a second developer review.

As per our last meeting, this will be not needed. Therefore closing this PR unless there are other news on this.