Chaincode as an external service

Hi, thanks for the amazing work done in this project. Does the operator supports chaincode as an external service?
I am having troubles understanding how we could customize the existing instructions on how to do it. Does it requires configuring  an external builder with the scripts presented in the HLF docs? Is there any example/docs on how to do this?

How far away is it from completion and how can I contribute to it?

While following the new instructions, executing:
kubectl hlf chaincode install --path=./asset-transfer-basic-external.tgz \
 --config=org1.yaml --language=golang --label=$CHAINCODE_LABEL --user=admin --peer=org1-peer0.default

Gives the following error:
Error: Transaction processing for endorser [<IP_ADDRESS>:32208]: Chaincode status Code: (500) UNKNOWN. Description: failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker build is disabled
Any idea on what may be causing this, or how can I debug it?
Note:
Installing non external chaincode works without issues:
kubectl hlf chaincode install --path=./fixtures/chaincodes/fabcar/go \
     --config=org1.yaml --language=golang --label=fabcar --user=admin --peer=org1-peer0.default

Hi @snitrama
I think that problem is related to #63.
Will create 1.6.0-beta12 which should fix this issue.

The exact opposite here for version 1.6.4

Hi @snitrama  @nkaramolegos   By any chance, have you figured out how to solve the following error?
Error: Transaction processing for endorser [<IP_ADDRESS>:32208]: Chaincode status Code: (500) UNKNOWN. Description: failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker build is disabled

Both internal and external chaincode installation poses the above problem. I use peer v2.4.4 from hyperledger fabric and hlf-operator v1.6.1 in KIND. Thank you.

Hi @srinathLN7 take  a look from this message. I had never tried it but it may work. I had not time search for the solution so I used CCAAS

@nkaramolegos  Thank you for your response. Even am trying it as CAAS but it doesn't work. Could you please tell me how you went about it?

I followed the instructions of README. Note that you have to use a public (or private but it is a bit tricky) repository (like docker hub) to push your image or you kind local repository (that what I use). Then in the kubectl hlf externalchaincode sync command you add your repository to --image argument.
For the kind local repository. I do the following:

Create a kind cluster using this script in order to create a kind local registry
Build your chaincode image as described here docker build ...
As soon as you have the image built (see docker images) then follow the using the registry steps.
Install chaincode as described in README (i.e tar cfz ..., kubectl hlf chaincode install) and then in the kubectl hlf externalchaincode sync command  use your kind registry to image argument (i.e localhost:5001/your-chaincode-image-name:latest

@nkaramolegos I have the chaincode image in my local. Is it possible to sync it or it is must to upload the image to the kind registry?

@nkaramolegos I have the chaincode image in my local. Is it possible to sync it or it is must to upload the image to the kind registry?

Yes you have to push it to local kind registry.

@nkaramolegos  Ha, my project requirement doesn't allow it. Is there no other way around it? Both my local installations as in the README.md with the local directory k hlf chaincode install --path=./chaincode --config=network-config.yaml --language=$CC_LANG --label=$CC_NAME --user=admin --peer=org1-peer0.fabric or using the external.tgz like k hlf chaincode install --path=./chaincode/${CC_NAME}-external.tgz --config=network-config.yaml --language=$CC_LANG --label=$CC_NAME --user=admin --peer=org1-peer0.fabric both fails.

@nkaramolegos  If no way, thank you for your responses, and suggestions. Really appreciate!

@nkaramolegos  And finally managed to solve it. Please find my explanation here just in case you are interested - https://stackoverflow.com/questions/73100516/docker-build-is-disabled-error-when-installing-my-chaincode-on-hyperledger-fabri/73153204#73153204

@snitrama I followed the instructions of README. Note that you have to use a public (or private but it is a bit tricky) repository (like docker hub) to push your image or you kind local repository (that's what I use). Then in the kubectl hlf externalchaincode sync command you add your repository to --image argument.
For the kind local repository. I do the following:

Create a kind cluster using this script in order to create a kind local registry
Build your chaincode image as described here docker build ...
As soon as you have the image built (see docker images) then follow the using the registry steps.
Install chaincode as described in README (i.e tar cfz ..., kubectl hlf chaincode install) and then in the kubectl hlf externalchaincode sync command  use your kind registry to image argument (i.e localhost:5001/your-chaincode-image-name:latest)

@dviejokfs it may be good idea to add these instructions in the README

Thanks, this was very helpful.

4. Install chaincode as described in README (i.e tar cfz ..., kubectl hlf chaincode install) and then in the kubectl hlf externalchaincode sync command  use your kind registry to image argument (i.e localhost:5001/your-chaincode-image-name:latest)

Yeah, this will be added to the documentation, this is very useful 👍


Add some management API functionality

Added SSO auth
Added org switching
Added project switching via command
Added variable list/get/create commands
Added feature list/get commands
Switched help to use the multi-document format
Put global flags into a separate flag category
Updated the format of auth.yml to support multiple auth methods

add .DS_Store to the gitignore?

add .DS_Store to the gitignore?

Done


Getting all TransparencyLog records by inspect-log CLI command

Suggestion details
Part of #1399
Pyrsia inspect-log can be used without arguments – it will output all logs.
Query requests should be executed on the node side.
Additional details
No response

@betarelease @fishseabowl @erwin1 @efrisch @dasmanas
I would like to change the description of this issue.
I think there is no sense to select all transparency log records.
Moreover, transparency log can be huge.
So, I suggest having the following options:

retrieving all current artifacts

pyrsia inspect-log artifacts [additional optional flags]

retrieving all current auth nodes

pyrsia  inspect-log nodes [additional optional  flags]

These requests look reasonable to me.
What do you think?


Media Plugin issues in Android

[ ]  Xam.Plugin.Media version : <IP_ADDRESS>

While opening the video in Xamarin forms, the download button on the Video player just enables the user to tap on it, without performing the download functionality. Is it possible to remove that option from the tab? Or can the video be downloaded?

Moved this issue to the plugin's owner repo: jamesmontemagno/MediaPlugin#675


React 15 : Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.

I have this warning with last version of React when using boundless-popover package.
Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
The warning speaks for itself

Fixed in 1.1.0. Thanks!


RDK-35853: Crash observed when few plugins are activated

From: kchinn681<EMAIL_ADDRESS>Subject: Crash observed when few plugins are activated from Controller UI in CMF-RPi
Reason for change:Crash observed when few plugins are activated from Controller UI in CMF-RPi
Test Procedure: activate html app using controller.ui
Risks: Low
Signed-off-by: kathiravan chinnadurai<EMAIL_ADDRESS>Source: COMCAST
License: GPLV2
Upstream-Status: Pending

Can one of the admins verify this patch?

Closing older PRs. Pls resubmit to latest 2205 sprint.


Include a Makefile and an example

Hi,
This project looks interesting, however it is missing a Makefile :)
Also, as far as I can tell, it's meant to use as a library: can you provide an example program using the lib?  For instance, the one used to generate the performance results.
Thanks!

Hi,
Thanks for your interest in this project :)
Mud is still very young and may change strongly in the future. However, you can take a look here to get an idea of how you can integrate it.
Best regards.


yosys produces more LUTs

Hi,
I have written a soc for icestick the design will only fit for yosys 0.17 my current oss-build suite produces >=16 % bigger design.
You can reproduce it via my soc
git clone https://github.com/splinedrive/kianRiscV
. ./oss-cad-suite-build/set_toolchain.sh
cd kianRiscV/kianv_harris_mcycle_edition/gateware
./build_stick.sh
soc will fit on icestick with yosys 0.17
Please help!

No, it would not be nice to make the design behave wrong by default just because it uses less resources. I once lost a whole year trying to track down such an issue, so I feel very strongly about that!

Could you give me a verilog example?

I'll try and write a blog post about it since a few people have asked about this, but I'm swamped at the moment so it might take a bit...

@nakengelhardt  nice!

@nakengelhardt beside -no-rw-check, are there other options that add extra circuitry for safety ?
In fact, using -no-rw-check in one of my project resulted in a smaller design and still working design; I am wondering whether there are other options I could use to reduce logic usage:

We usually try very hard not to make unsound optimizations, even optionally. If you do find one, please report it, as that would be a bug. We only grandfathered it in here because other tools also expect the user to have special consideration for collision behavior, and thus there is already a large amount of existing code where the collision behavior was verified independently. For new code, please write the memory pattern that corresponds to the actually desired implementation.
But for the malicious compliance answer: have you considered using bugpoint to delete random pieces of your design as long as they don't make your testbench fail?


Alert manager configuration handling

Is this a BUG REPORT or FEATURE REQUEST?:

/kind feature

What happened:
Alert manager exposes swagger APIs to configure alert source configuration.
It involves user configuration (community, usm user), trap source configuration
What you expected to happen:
API  input handling and update received configuration to db and snmp engine
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

NBP version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Current status: API definition completed
Pending effort: 32 man hours

User configuration part, PR raised.  Trap source ip may be a list, maybe not, currently only consider a specific ip, left to confirm.

/move sim

/move sim


[KOGITO-506] - bump kogito image version to 0.6.0

Signed-off-by: Filippe Spolti<EMAIL_ADDRESS>

I think you messed with the JIRA numbers. This one supposed to be https://issues.jboss.org/browse/KOGITO-534?

Yes, I did hehe


MeshSync and Meshery Broker orphaned on undeploy of Meshery Operator

Current Behavior
When I disable the Meshery Operator using Meshery UI’s toggle switch, the Operator is removed from the cluster, but MeshSync and the Broker remain behind - orphaned.
Expected Behavior
Removing the Operator should remove all controllers and custom resources, too.
Steps to Reproduce

Build and run Meshery Server.
Connect Meshery Server to your Kubernetes cluster.
Meshery Server deploys Meshery Operator.
Visit Settings page in Meshery UI and deprovision (with toggle button) the Meshery Operator.

These two different provisioning and deprovisioning mechanisms seem to be affecting this negative controller orphaning experience.

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@leecalcote building from meshery server broker and meshsync are uninstalled correctly (thanks to https://github.com/meshery/meshery-operator/pull/376) mesheryctl is the one that has this issue so I will look into how to fix that discrepancy in behavior

Thank you.


[INLONG-673] add tube cluster id in inlong-manager

Codecov Report

Merging #516 (e53b33e) into master (21939f6) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master    #516      +/-   ##
===========================================
- Coverage      7.73%   7.72%   -0.01%
+ Complexity      565     564       -1
===========================================
  Files           355     355
  Lines         31077   31077
  Branches       4970    4970
===========================================
- Hits           2403    2402       -1
- Misses        28185   28188       +3
+ Partials        489     487       -2

Impacted Files
Coverage Δ

.../producer/qltystats/DefaultBrokerRcvQltyStats.java
45.31% <0.00%> (-0.40%)
:arrow_down:

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 21939f6...e53b33e. Read the comment docs.


While simulating different OS from live run it appears

command
flutter run
exception
NoSuchMethodError: NoSuchMethodError: The getter 'isMacOSEnabled' was called on null.
Receiver: null
Tried calling: isMacOSEnabled
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
#1      nextPlatform (package:flutter_tools/src/resident_runner.dart:1703:24)
#2      ResidentWebRunner.debugTogglePlatform (package:flutter_tools/src/isolated/resident_web_runner.dart:309:31)
<asynchronous suspension>
#3      TerminalHandler.processTerminalInput (package:flutter_tools/src/resident_runner.dart:1644:7)
<asynchronous suspension>

flutter doctor
[✓] Flutter (Channel stable, 2.2.3, on Linux, locale en_US.UTF-8)
    • Flutter version 2.2.3 at /home/iamworldian/Flutter/flutter_linux_2.2.3-stable/flutter
    • Framework revision f4abaa0735 (7 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/iamworldian/Android/Sdk/
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /home/iamworldian/Android/Sdk
    • ANDROID_SDK_ROOT = /home/iamworldian/Android/Sdk
    • Java binary at: /home/iamworldian/Downloads/android-studio-ide-202.7486908-linux/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /home/iamworldian/Downloads/android-studio-ide-202.7486908-linux/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)

[✓] VS Code (version 1.59.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.25.0

[✓] Connected device (1 available)

Hi @iamworldian
"While simulating different OS from live run it appears"
Can you please explain what you're trying to achieve and describe the bug in detail
Can you please provide a complete reproducible minimal code sample, and complete flutter run --verbose logs running the minimal code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Fix #2 - python2/3 support

Fixes #2. Not sure how to test this.
I ran through the readme on using go to compile this and that went fine. But I'm getting dependancy errors when trying to run the python script.
Needed google from pip. Now I need google.protobuf.descriptor_pb2 which I'm not sure where to get.

I've tested this on #2  which caused this, and it worked as expected


[Question] Intitial scroll index/position

How can I define the initial scroll position / item index? Is there a proper way to pass it to the component, instead of scrolling to y position after init? This always causes a visible scroll animation.
I found IPageInfo.scrollStartPosition, but I could not find out how it is usable.

IPageInfo is readonly. You'll have to use scrollToIndex or scrollToPosition. There is a parameter animationMilliseconds which you can set to 0 to make the scrolling instant.
There may still be a small amount of flicker between the 1st render & the time you call scrollToPosition. You may be able to reduce this by calling the method immediately after initializing the items array. If you're not able to completely remove the flicker, feel free to code something up & submit a pull request.
Good Luck!
Please re-open if you're unable to get it working after making an honest attempt. Thanks.

Thank you!


SkeletonIK is useless, and cannot work in the existing implementation (in 3D)

SceletonIK is useless, and cannot work in the existing implementation, since it receives the result of the previous count on the input. Because of this, small errors accumulate in the calculation of bone transformation, because of which the “bones break” and this problem cannot be solved. It is also impossible to smoothly turn on and off IK.
All problems come from ONE CRITICAL ERROR, namely the incorrect definition of SceletonIK. For correct operation, inverse kinematics must be calculated after the animation and accept the result of the animation as input (preferably, a value for smooth on / off). SceletonIK cannot be inherited from Node, because it is very dependent on the animation, and only works correctly in conjunction with the animation. It’s best to inherit it from AnimationNode and use it in AnimationTreePlayer. This approach will help get rid of all existing problems with SceletonIK and add more flexibility to management (this approach is used in commercial engines for the above reasons).
Example for reproducing the error:

Optional: the calculations in SceletonIK is very difficult and useful only if you need to calculate more than two bones (I don’t take into account the final bone, it copies the transformation of the target node). To calculate two and one bone, you need a simpler algorithm, because all the calculations can be made accurate even in one pass. More often, counting of two and one bones is required, for example, for the hands, feet and head of characters.
Translated using google translator.
Godot version: 3.2
OS: Windows 10

Can you reproduce this with the 3D IK demo?

Can you reproduce this with the 3D IK demo?

This is one of the first projects that I installed and tried to run. But, a bug met me. A function was used in this project (I don’t remember the name now), which is not supported in version 3.2. After the correction, the error disappeared, but IK did not appear in any way.
Yes, I'm a noob in GDScript, so I left this venture. It’s easier for me to understand the engine code, which I’m doing now.
Translated using google translator.

A function was used in this project (I don’t remember the name now), which is not supported in version 3.2.

You need to use the latest version from the master branch for it to work with 3.2. The version on the asset library and the releases page does not work with Godot 3.2 since it is still using the Godot 3.1 IK system. You can either download a ZIP file or clone with Git:
git clone https://github.com/godotengine/godot-demo-projects.git

The version on the asset library and the releases page does not work with Godot 3.2 since it is still using the Godot 3.1 IK system.

This is bad, ordinary users will not mess with GitHub and search for working sources.
Thanks for the help, I did not know that the resource was not updated in the library. But I already set a goal to update the functionality in AnimationNodePlayer.
I am new to Godot and have plans like Napoleon, but if everything works out it will be useful and cool. And may the Force be with me.

I've also had a similar issue with SkeletonIK. I've attempted to minimally reproduce it in the attached project.
ik_issue.zip
To reproduce:

Open scene.tscn
In SkeletonIK press Play IK
In editor, quickly move ik_target back and forth
See the mesh separate from the armature

You can see that the octahedron for the armature isn't rendered correctly for the

I've also recorded a video of this issue (in a zip file to make github happy).
ik_issue_video.zip
I've seen this issue for other meshes (in particular, some mixamo characters). Not all meshes that I've tried have this issue. As a random example I tried, the "Baqir" rig from animation sherpa did not have this issue. I also don't see this issue when using looking at the ik demo from the master branch of godot-demo-projects.
I was also able to reproduce this issue in Godot 3.1.1 (but it required more vigorously moving the IK target). This issue is also present in-game while playing animations, not just in editor.
Thanks for all your work on Godot! Please let me know if there's something I can do to help.
Godot Version: 3.2.1
OS: Ubuntu 18.04

Have you tried it in 3.1?  I believe this broke (or at least became worse) in 3.2 with the removal of set_bone_global_pose(): https://github.com/godotengine/godot/issues/32637
I have a spiderbot using IK in 3.1 here: https://twitter.com/FistForgotten/status/1231226109892710400?s=20
And here's what it looks like in 3.2: https://clips.twitch.tv/LitigiousBrainyLemurMVGame
I think this might have been an oversight.  I'm currently working around this by building my own custom 3.2 branch with set_bone_global_pose() added back in.

I was able to see this in Godot 3.1.1, but it required moving the IK target around in a way that wouldn't be reflective of normal gameplay (not perfect, but I'd live with it). It's much more of an issue in Godot 3.2.
Thanks for sharing your patch (in #32637)! I'll try it out.

Yeah, the IK behavior with animated skeletons in 3.2 is completely broken. The IK completely ignores the animation pose and even detaches the IK root bone from the parent. I've found that resetting the pose override each frame is a feasible workaround though.
For reference, here's a vid showcasing the IK behavior in 3.1.2, here's one in 3.2, which also shows the override resetting workaround, and here's the test project.
I'm guessing this line is the culprit. The persistent parameter should be false so that the IK can work off the animation provided global pose each frame. I don't have a toolchain set up right now to build Godot, so I can't check if that's the right fix right now, though.

Back when I was first tinkering with 3.2, I tried setting the persistent parameter to false, and it seemed to just not work at all.  This was with my procedural hair, though, not the IK.

I'm going to test this so to see where the problem is, however the SkeletonIK is already executed after the animation and this should guarantee that it never starts from the last IK result.
I let you know more.

Can you please check this issue with: https://github.com/godotengine/godot/pull/37272 ?

Thank you for making this change! I no longer see this issue on the Godot master branch.


md-list-option in md-selection-list not calling selectChange and deselect when toggled

Bug, feature request, or proposal:
md-list-option in md-selection-list not calling selectChange and deselect when toggled
What is the expected behavior?
Call selectChange and deselect EventEmitter inside toggled() method
What is the current behavior?
selectChange and deselect EventEmitter not called inside when toggled() method
What are the steps to reproduce?
<md-selection-list #stateList >
<md-list-option *ngFor="let state of availableStates" (selectChange)="selectChange($event)" checkboxPosition="before" value="state.id" >
{{state.name}}

What is the use-case or motivation for changing an existing behavior?
Collect information about checked states and save the value in an array for later processing outside the child component having the md-list-selection
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"@angular/cdk": "^2.0.0-beta.11",
"@angular/material": "^2.0.0-beta.11",
Is there anything else we should know?

Duplicate of #7396. Looks like it will be fixed by #6901 :)

Closing as duplicate of #7396


ImportError: No module named catkin.builder;why??????

I'm trying to install cartographer_ros package in the environment of Ubuntu 18.04 and ROS Melodic;
why??????
when I run ../catkin_make_isolated --install ,I got a error.
root@one-desktop:/opt/ros/melodic/bin/catkin_ws# ../catkin_make_isolated --install
Traceback (most recent call last):
File "../catkin_make_isolated", line 13, in
from catkin.builder import apply_platform_specific_defaults  # noqa: E402
ImportError: No module named catkin.builder

This looks like catkin problem that is unrelated to Cartographer itself. Please consult the ROS forum and catkin issue tracker for this, e.g. https://answers.ros.org/question/347793/no-module-named-catkinbuilder/


Automerge Pull Request via automated update from auto push

Scheduled updates from auto push

Minor css changes were made in the latest version of the theme that pushed the footer div down a few pixels causing visual regression tests to fail


[FEATURE] Validation of AASX files

When uploading shells created in AASPE, basyx may fail halfway in the process, resulting in the shell being registered, but not submodels.  error 400.
Then when retrying, the error message 409 Conflict is returned, most likely due to the shell already exists in a Basyx service.
Since the upload function is non-atomic, some validation of the AASX file would be useful as part of the /upload function, before proceeding to add the shell to the repos/registries.  This would reduce the risk of having non-consistent shells in the system.
Example shells have been shared with @mdanish98  per email.

Hello @rosseboe,
thank you for raising this issue. We are aware of this problem in the registry integration feature.
We are currently working on a gateway component that will rework the entire registry integration and addresses this issue as well.

Small update for this. We will also work on a fix for the current version of the registry integration. The fix will basically change the order of how the registry integration feature works:

Create descriptor and Post it to the registry (in a try-catch)
Only if 1 is successful, Post AAS/SM to repository

There seems to be a bug related to how AASPE shells are processed by AAS4J (the underlying implementation of the AAS for BaSyx). This will be addressed there as well.


Hover delay option for Top Bar dropdown

Would be really great to implement an hover delay option for the Top Bar navigation. When mouse hover on a parent link, childs could appears after a custom timeout.
Like for example: http://www.amazon.com (look at the Try prime & Wish list, right side of the nav)
A quite similar thing was just implemented in v5.5.2:
https://github.com/zurb/foundation/commit/f4be02c85f83b4afbd52738308b4533a407d6fae
But it applies only for dropdown buttons.
Thanks,

This makes sense since the dropdown plugin has this feature already. Since the dropdown plugin and the top-bar dropdowns don't share functionality right now, we'll save this feature for the next version where the dropdown plugin will be the same wether it's used in a main navigation or otherwise.

Is there an update to this?  We are looking for the same feature to delay the time it takes before the menu appears on hover.
Cheers,


Add  element

Spec: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-time-element
https://www.chromestatus.com/feature/5633937149788160: Chrome 62+, Opera 49+
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time

<data> and/or data element should find this.

+1
Interesting, I had no idea this wasn't supported in Blink!

Available at https://caniuse.com/#feat=mdn-html_elements_time


Unhooking a driver without unhooking its devices may cause BSOD

When a driver is unhooked without unhooking its device objects first, a BSOD may occur when stopping the irpmndrv service.

Fixed in commit 4404f6ea80eccaf30396c2237daa3bcb17a757d4


Update contributing.md

Fixing malformed links.
Changes proposed in this pull request:

Fixing 2 malformed links

@antoine2711 can you check if you are able to merge this once someone else has approved?

@wetneb: 👍  Confirmed.
Thanks. Antoine


Rating

hopefully the last branch before the initial publication of the project
don't be tired ( khaste nabashid)  guys. you did a great job.


Better search filters

User story
We have had many requests for better search features, filters, and export options to CSV via the filtered search options.
Best solution for this problem
Also perhaps having the tags as a drop down, so people can view the frequently used tags.
Filter Options could include:

Category (e.g. Open source, Environment, Blockchain, COVID, Women, Youth, Mutual aid, Education,) - could take these from our tags or from our Eligibility Requirements
Location (Country, Region/State, City) This is one would be really amazing!
Year Formed
Budget (e.g. <$5000 raised, $5000-$10,000 raised, $10,000-$50,000 raised, >$50,000 raised) in case people come to the site and want to support the smallest project, or see the most successful projects
'Collectives Only' or 'Funds Only' or 'Fiscal Hosts Only'
Open to more suggestions!

Also 'Sort By' Options (with option of Ascending or Descending)

Budget
Number of Backers
Year Formed
Alphabetical
Sort by Fiscal Host
Recently Active (as in when someone was last active on their page either by donation, update, expense, etc.)

Documentation
The goal is to make it easier for people to find a group they might be looking for, or to discover new groups to support

A filter to distinguish active backers from inactive ones would be nice.
With a selection variable as eg. lastTransactionAt > yyyymm.

Is this resolved by the new search?

unless we want to hold onto it for the next iteration of the search redesign (whenever that will be) @Betree

In the search, You should be able to search for things under a certain host as well
E.g. i search all the 'arts and culture' tagged profiles. Then i should be able to refine it by 'hosted by ocf'

👋 just popping by to say, yes, we're paying attention to issues like this when looking systematically at strategy for product areas so thanks for keeping it open for the mo!


Reps and blanks do not show up in unnaproved data tab

This pertains to the dev branch

issue is in returnAll from historicCheck. Fixed flaggedSamples to truly include all if returnAll = TRUE, and updated shiny server_reports to return all then subset only unapproved samples and any flags. Next PR will close.


inotify walk not able to find directory with space in name "TV\ Shows"

I know I've seen other users that have their TV folder named TV\ Shows per linux, but for some reason inotify walk gives an error that it's unable to find the directory. I've also tried TV%20Shows and 'TV Shows' which also don't work.
Any suggestions?
`triggers:
inotify:
- priority: 0
verbosity: 2
include:
- ^/mnt/Foxtrot//Movies
- ^/mnt/Foxtrot/TV\ Shows
- ^/mnt/Foxtrot/Music
- ^/mnt/Foxtrot/Movies\ 4K
exclude:
- ^/mnt/Foxtrot/Downloads
paths:
- path: /mnt/Foxtrot/Movies
- path: /mnt/Foxtrot/TV\ Shows
- path: /mnt/Foxtrot/Music
- path: /mnt/Foxtrot/Movies\ 4K`

Should anyone else run into this issue, you don't actually need the '' at the end of the first word to indicate a space. I was only able to get inotify to work by just using TV Shows and Movies 4K with no special modification.
`paths:

path: /mnt/Foxtrot/Movies
path: /mnt/Foxtrot/TV Shows
path: /mnt/Foxtrot/Music
path: /mnt/Foxtrot/Movies 4K`


Adding spanish translation

Description
I added the spanish Readme translation and the links in the other Readme

Related Issue
The spanish translation was not in the project
Motivation and Context
I like to contribute to the project
How Has This Been Tested?
All tests passed

Hello @luisrj1495
thank you very much for your contribution, I really appreciate it.
Unfortunately there's already a Spanish translation in pending:
https://github.com/beautifulinteractions/beautiful-react-hooks/pull/73
Perhaps you could help checking it out, what do you think?
thank you mate


I've fixed a lot of things for 3rd party plugins I use and I want to contribute them.
But my question is about code style, I see you're not using scss nested selectors or other advanced scss magic.
.file-nav {
    background: teal;
&-title {
    color: fuchsia;

    span {
        cursor: pointer;

        &:hover {
           background: url("smiling-cat.jpg")
        }
   }
}
}

Should I follow the verbose style or can I use the nested selectors? Thanks for this nice theme!

Nested selectors are appropriate. Most of the newer code is using nested selectors. I haven't refactored all the code since the switch to SCSS, that's why a lot of the old code is still verbose.

These are snippets I created to "improve"/tune-to-my-liking the file nav and the metatable-plugin. Like those I have around 30 other "little enhancements"
how do I contribute them to check if you would like to integrate them ?
Pull request as separate files which override the styles you already have
==or==
integrated natively into the code you already have?

It depends on the nature of the changes. If they are bug fixes or support for additional plugins you should create a separate pull request for each. For example, every plugin has its own partial SCSS file so you can submit plugin support as PRs per plugin.
If your changes are personal aesthetic preferences, then they would be better released as a set of snippets that users can install on top of Minimal, like Absolve.
Minimal has a specific design philosophy that is focused on adhering to the Apple HIG, so based on the screenshots above, it seems like your changes fit more into the second category.


Support limiting for postgres-related statistics

Chore
Describe the chore
Many providers (like supabase) require database requests to be throttled or rejected based on certain thresholds. These are typically:

Max storage
Egress over a certain period
Total egress per request
CPU (once it gets high, perhaps some sort of throttling

The most important/easiest is the first: Max Storage. Supabase typically puts a database into read-only mode once it gets close to disk limits. This could be better handled in the Proxy - this is because often a user starts uploading terrabytes of data, and their database fills up too fast to issue any commands.
For the implementation, it could be good to ping the database statistics and store them with the tenant config or in some faster cache
Additional context

Monitoring statistics: https://www.postgresql.org/docs/current/monitoring-stats.html

Closing. We will handle in #91


⚠ Carbubu has degraded performance

In c851663, Carbubu (https://carbubu.fr) experienced degraded performance:

HTTP code: 200
Response time: 3747 ms

Resolved: Carbubu performance has improved in c735a37.


[ControllerInteract] add ability to use touched items (instead of grabbing them)

Sometimes you want to interact with an item and simply use it (i.e. call a local action to happen on that object)

Completed with 8fe401344d44e69a5e766f44b131b66ecc4c03cf


Identify all schema errors

Should use tv4 to detect all schema errors instead of just the first. See #37.

In addition it would be nice if the error message did not have scheme stringified. Because in case of huge schemes it very hard to read error reports.


Nuget contains no DLL

There are no DLL in the 0.1.0 nuget.
So when I reference your nuget, it does nothing.

I am encountering the same issue.


Adds the invert() method to DVector.

Satisfies #4601
Previous PR #4604
This effectively allows invert() to be used on the following types:
ByteArray, IntArray, RealArray, StringArray, Vector2Array, Vector3Array, ColorArray
Added local variables and vector lock, as suggested from #4604

i think get and set always lock, you can use write() to obtain a pointer
and do these operations much faster
On Fri, May 13, 2016 at 7:26 PM, kjohnson0451<EMAIL_ADDRESS>wrote:

Satisfies #4601 https://github.com/godotengine/godot/issues/4601
Previous PR #4604 https://github.com/godotengine/godot/pull/4604
This effectively allows invert() to be used on the following types:
ByteArray, IntArray, RealArray, StringArray, Vector2Array, Vector3Array,
ColorArray
Added local variables and vector lock, as suggested from #4604
https://github.com/godotengine/godot/pull/4604
You can view, comment on, or merge this pull request online at:
https://github.com/godotengine/godot/pull/4654
Commit Summary

Adds the invert() method to DVector.

File Changes

M core/dvector.h
https://github.com/godotengine/godot/pull/4654/files#diff-0 (18)

Patch Links:

https://github.com/godotengine/godot/pull/4654.patch
https://github.com/godotengine/godot/pull/4654.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/pull/4654

as in:
Write w = write();
do all operations on w[index]
that alone is much more efficient, when w goes out of scope, the DVector
will re-lock itself
On Fri, May 13, 2016 at 7:36 PM, Juan Linietsky<EMAIL_ADDRESS>wrote:

i think get and set always lock, you can use write() to obtain a pointer
and do these operations much faster
On Fri, May 13, 2016 at 7:26 PM, kjohnson0451<EMAIL_ADDRESS>wrote:

Satisfies #4601 https://github.com/godotengine/godot/issues/4601
Previous PR #4604 https://github.com/godotengine/godot/pull/4604
This effectively allows invert() to be used on the following types:
ByteArray, IntArray, RealArray, StringArray, Vector2Array, Vector3Array,
ColorArray
Added local variables and vector lock, as suggested from #4604
https://github.com/godotengine/godot/pull/4604
You can view, comment on, or merge this pull request online at:
https://github.com/godotengine/godot/pull/4654
Commit Summary

Adds the invert() method to DVector.

File Changes

M core/dvector.h
https://github.com/godotengine/godot/pull/4654/files#diff-0 (18)

Patch Links:

https://github.com/godotengine/godot/pull/4654.patch
https://github.com/godotengine/godot/pull/4654.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/pull/4654

(no need to use lock/unlock)
On Fri, May 13, 2016 at 7:37 PM, Juan Linietsky<EMAIL_ADDRESS>wrote:

as in:
Write w = write();
do all operations on w[index]
that alone is much more efficient, when w goes out of scope, the DVector
will re-lock itself
On Fri, May 13, 2016 at 7:36 PM, Juan Linietsky<EMAIL_ADDRESS>wrote:

i think get and set always lock, you can use write() to obtain a pointer
and do these operations much faster
On Fri, May 13, 2016 at 7:26 PM, kjohnson0451<EMAIL_ADDRESS>wrote:

Satisfies #4601 https://github.com/godotengine/godot/issues/4601
Previous PR #4604 https://github.com/godotengine/godot/pull/4604
This effectively allows invert() to be used on the following types:
ByteArray, IntArray, RealArray, StringArray, Vector2Array, Vector3Array,
ColorArray
Added local variables and vector lock, as suggested from #4604
https://github.com/godotengine/godot/pull/4604
You can view, comment on, or merge this pull request online at:
https://github.com/godotengine/godot/pull/4654
Commit Summary

Adds the invert() method to DVector.

File Changes

M core/dvector.h
https://github.com/godotengine/godot/pull/4654/files#diff-0 (18)

Patch Links:

https://github.com/godotengine/godot/pull/4654.patch
https://github.com/godotengine/godot/pull/4654.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/pull/4654


Turtle graphics implementation

This PR implements turtle graphics commands, namely show, hide, forward, backward, left, right, penup, pendown and angle. Relevant reference documentation for turtle graphics is also available in this PR.

Seems to be all backwards-compatible with existing programs; time to deploy!

Will update the internal version of atto on my Pi in a bit. Don't Tweet turtle code just yet (until I announce it on Twitter)!


Adding wisdomhouse.edu.pk to list of domains

Wisdom House is a school and degree college working for women education in rural Pakistan.

It offers 2 Year Degree College Program in CS.

@mdibraheem Please rename lib/domains/pk/edu/wisdomhouse to lib/domains/pk/edu/wisdomhouse.txt

@mdibraheem You might miss my previous comment. Please reply.

Hi. Sorry for not being able to respond earlier. I have renamed the file. Kindly check.

@mdibraheem Pull request merged. Thank you!


Add TruffleRuby to CI

Sorry @gogainda this isn't something I'm interested in at the time.  But thank you for the PR!


Access remote jupyter terminal

we can terminal access of remote jupyter server that will help a lot,
I usually  use jupter from runpod, paperspace etc, having terminal access would be great

Duplicate of https://github.com/microsoft/vscode-jupyter/issues/14874


zadd command does not work for the following in redis 2.8.12

zadd SELECTION_LOAD_QUEUE 1.438206727564E12 "0:0:1766303:5:SCHED:2013:false:false:1766300:<IP_ADDRESS>-Tomcat"
The same command used to work with slightly different values. I got the latest 2.8.21 and it seems to work there. Is there anything specifically fixed to address this? I am afraid it may come back as this command has been working before.

Hi reddy-sabbella,
since 2.8.12 there has been hundreds of commits, I have no idea if any of those fixed that specific issue.

Closing this issue since it doesn't repro with recent builds.


add popover v-popover-close directive

Please makes sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's Contributing Guide.
[ ] Make sure you are merging your commits to dev branch.
[ ] Rebase before creating a PR to keep commit history clear.
[ ] Add some descriptions and refer relative issues for you PR.

不需要再多维护一个变量

ping @QingWei-Li

用指令非常奇怪啊

遍历使用的场景下，每一个popover需要多维护一个开关变量好蛋疼了

在遍历popover，然后popover里头又有一个关闭该popover的按钮时确实非常蛋疼，:ref="'popover' + $index"。。。


Gemm m padding

This pr is for padding small c/k cases.
padding k(which is also gemm_m) in fwd is done.
detail changes:

use range-check to do padding area check while weight-loading.
use cmp v[cur_k], s[k] to do padding area check while store-out.
add padding info into output message of the kernel name.

hi all,
I've validated the feature by running
./script/gtc_conv_model.sh
and
./smoke_test.sh


Update to pymongo 3.7

Fixes #27

Coverage remained the same at 100.0% when pulling aeb700537b3cd0e424c2a47453a56599c5ab2d25 on pymongo-latest into d34da503abc70c5db5c1ba80e9dfbef365f8b50c on master.

install_requires in setup.py must be updated to tell that we support the oldest version of PyMongo that has those features (PyMongo 3.5, I guess?). The same version should be used for tests and development (and thus in requirements.txt).
Also, that would close #26. Feel free to add any argument in favor of PyMongo<3.5 drop in #26, because I'm not so sure yet that we really want it.


Trace commit|rollback|close methods

Sometimes those methods will take more time than you think.

Pull Request Test Coverage Report for Build 293

9 of 13 (69.23%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.2%) to 46.487%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/io/opentracing/contrib/jdbc/TracingConnection.java
2
3
66.67%

src/main/java/io/opentracing/contrib/jdbc/JdbcTracingUtils.java
7
10
70.0%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/io/opentracing/contrib/jdbc/TracingConnection.java
1
25.77%

Totals

Change from base Build 291:
0.2%

Covered Lines:
483

Relevant Lines:
1039

💛  - Coveralls

Keep consistency with existed AcquireConnection
https://github.com/opentracing-contrib/java-jdbc/blob/master/src/main/java/io/opentracing/contrib/jdbc/TracingDataSource.java#L65


Duplicate Key Exception not caught in MongoLockProvider

Describe the bug
We are using a cosmos db in Azure with a container app that has a scheduled task every 15 minutes. Since we only want it to run on one of our two app revisions we are using ShedLock.
I found that the MongoLockProvider is catching the MongoServerException and checks if its a duplicate key exception (E110000). But in our case the exceptions differs as it is throwing a MongoCommandException. This leads to a thrown exception every 15 minutes (xx:00, xx:15, xx:30, xx:45).
Setup

Which version do you use => 5.14.0
Which Lock Provider => MongoLockProvider
ShedLock configuration

@Scheduled(cron = "0 */15 * * * *")
@SchedulerLock(name = "someUniqueName", lockAtMostFor = "14m", lockAtLeastFor = "14m")

ShedLock logs

com.mongodb.MongoCommandException: Command failed with error 11000 (DuplicateKey): 'E11000 duplicate key error collection: <our-collection>.shedLock. Failed _id or unique index constraint.' on server <our-server>. The full response is {"ok": 0.0, "errmsg": "E11000 duplicate key error collection: <our-collection>.shedLock. Failed _id or unique index constraint.", "code": 11000, "codeName": "DuplicateKey"}
	at com.mongodb.internal.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:205)
	at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:454)
	at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:372)
	at com.mongodb.internal.connection.UsageTrackingInternalConnection.sendAndReceive(UsageTrackingInternalConnection.java:114)
	at com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.sendAndReceive(DefaultConnectionPool.java:765)
	at com.mongodb.internal.connection.CommandProtocolImpl.execute(CommandProtocolImpl.java:76)
	at com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:209)
	at com.mongodb.internal.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:115)
	at com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:83)
	at com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:74)
	at com.mongodb.internal.connection.DefaultServer$OperationCountTrackingConnection.command(DefaultServer.java:299)
	at com.mongodb.internal.operation.SyncOperationHelper.lambda$executeRetryableWrite$9(SyncOperationHelper.java:243)
	at com.mongodb.internal.operation.SyncOperationHelper.lambda$withSourceAndConnection$0(SyncOperationHelper.java:127)
	at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:152)
	at com.mongodb.internal.operation.SyncOperationHelper.lambda$withSourceAndConnection$1(SyncOperationHelper.java:126)
	at com.mongodb.internal.operation.SyncOperationHelper.withSuppliedResource(SyncOperationHelper.java:152)
	at com.mongodb.internal.operation.SyncOperationHelper.withSourceAndConnection(SyncOperationHelper.java:125)
	at com.mongodb.internal.operation.SyncOperationHelper.lambda$executeRetryableWrite$10(SyncOperationHelper.java:229)
	at com.mongodb.internal.operation.SyncOperationHelper.lambda$decorateWriteWithRetries$11(SyncOperationHelper.java:283)
	at com.mongodb.internal.async.function.RetryingSyncSupplier.get(RetryingSyncSupplier.java:67)
	at com.mongodb.internal.operation.SyncOperationHelper.executeRetryableWrite(SyncOperationHelper.java:255)
	at com.mongodb.internal.operation.BaseFindAndModifyOperation.execute(BaseFindAndModifyOperation.java:79)
	at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:173)
	at com.mongodb.client.internal.MongoCollectionImpl.executeFindOneAndUpdate(MongoCollectionImpl.java:761)
	at com.mongodb.client.internal.MongoCollectionImpl.findOneAndUpdate(MongoCollectionImpl.java:741)
	at net.javacrumbs.shedlock.provider.mongo.MongoLockProvider.lock(MongoLockProvider.java:107)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:354)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:216)
	at jdk.proxy3/jdk.proxy3.$Proxy169.lock(Unknown Source)
	at net.javacrumbs.shedlock.core.DefaultLockingTaskExecutor.executeWithLock(DefaultLockingTaskExecutor.java:63)
	at net.javacrumbs.shedlock.spring.aop.MethodProxyScheduledLockAdvisor$LockingInterceptor.invoke(MethodProxyScheduledLockAdvisor.java:79)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:768)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:720)
	at <our-package-name>.<our-scheduling-class>$$SpringCGLIB$$0.<our-method-name>(<generated>)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.scheduling.support.ScheduledMethodRunnable.runInternal(ScheduledMethodRunnable.java:130)
	at org.springframework.scheduling.support.ScheduledMethodRunnable.lambda$run$2(ScheduledMethodRunnable.java:124)
	at io.micrometer.observation.Observation.observe(Observation.java:499)
	at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:124)
	at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
	at java.base/java.lang.VirtualThread.run(Unknown Source)

Spring Boot Starter Version => 3.3.2

Expected behavior
I would have expected it to not throw an error when there is already a lock since that just means it could not acquire the lock.
Actual behavior
An exception is thrown that it could not acquire the lock.
Current fix
For now I have fixed the problem by overriding the lock function of the MongoLockProvider to catch the MongoCommandException and check here for a duplicate key exception too:
@Bean
public LockProvider lockProvider(final MongoClient mongo) {
    return new MongoLockProvider(mongo.getDatabase(mongoDatabaseName)) {
        @Override
        public Optional<SimpleLock> lock(LockConfiguration lockConfiguration) {
            try {
                return super.lock(lockConfiguration);
            } catch (MongoCommandException e) {
                if (e.getCode() == 11000) {  // Duplicate key error
                    return Optional.empty();
                } else {
                   throw e;
                }
            }
        }
    };
}

Thanks, can you please specify what version of Mongo and Mongo driver you are using so I can reproduce it?

We are using spring-boot-starter-data-mongodb which uses the same version as spring-boot-starter (v3.3.2).
This then uses:
mongodb-driver-sync in version 5.0.1
spring-data-mongodb in version 4.3.2
In Azure we are using Cosmos DB for MongoDB with Server Version 3.6

That's strange. MongoCommandException extends MongoServerException so it should have been cought by the catch block in the LockProvider.

I only see two possible epxlanation. Either you have some old/wierd version of Mongo driver, where MongoCommandException does not extend MongoServerException or, more likely, you have multiple classloaders and therfore the classes do not match. But I admit, that both cases are pretty unlikely.

Yes you are right, MongoCommandException extends MongoServerException.
But that means if you catch the MongoCommandException you catch both and if you catch MongoServerException you catch only that one, right?
And the MongoLockProvider is only catching the MongoServerException.

Hm you are right, I didn't notice the extension. I will dig a little deeper to see what could possibly be the cause of this. Thanks for pointing that out!

Hey @lukas-krecan,
as far as I can tell now the exception is already catched by the MongoLockProvider. What is causing the confusion is that we are using Azure Application Insights to get our application logs, etc. into the azure cloud.
Here it seems like the catched exceptions from ShedLock are uploaded to Azure even though they are being handled.
Maybe the catch mechanism here runs after whatever is uploading them.
I guess I will open a ticket on the applicationinsights-java repo for it. Thanks for pointing in the right direction!

Some JDBC drivers are logging errors when they happen regardless if you handle them or not. Maybe the Mongo driver on Azure does the same.


xournalpp: 1.0.8 -> 1.0.12

Motivation for this change

revisit plugin support, drop old patch
use lua5_3 as it seems to expect (require)
disable format hardening, fix build

https://github.com/xournalpp/xournalpp/releases/tag/1.0.12
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)

Runs and minor interactions seem reasonable, tablet/pen input not
tested since I don't have such devices O:).

[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

/cc maintainer @andrew-d.

I'm getting errors with both the old and the new version. The app just crashes immediately:
$ xournalpp

** (xournalpp:11246): WARNING **: 11:40:43.380: Failed to load "colornames.ini" (/root/.xournalpp/colornames.ini): No such file or directory

** (xournalpp:11246): WARNING **: 11:40:43.407: configfile does not exist /root/.xournalpp/settings.xml

ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2635:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2635:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2635:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Icon 'image-missing' not present in theme Adwaita (gtk-icon-theme-error-quark, 0)

** (xournalpp:11246): WARNING **: 11:40:43.489: [Crash Handler] Crashed with signal 6

** (xournalpp:11246): WARNING **: 11:40:43.489: [Crash Handler] Wrote crash log to: /root/.xournalpp/errorlogs/errorlog.20190618-114043.log

** (xournalpp:11246): WARNING **: 11:40:43.688: Trying to emergency save the current open document…

** (xournalpp:11246): WARNING **: 11:40:43.689: Successfully saved document to "/root/.xournalpp/emergencysave.xopp"


BoringSSL: Implement server requests for client certificate

In the BoringSSL implementation, implement the server asking for a client certificate, and checking it with a callback.

This is now supported.  I will create a document showing how to use it.  There is no callback for the recieved client certificate - it is available as peerCertificate, to be checked, etc. after the connection is made.


Training Time

Dear Authors,
when i use one gpu to train the model :
python -m torch.distributed.launch --nproc_per_node=1 scripts/image_train.py
and use 4 gpu to train the model:
python -m torch.distributed.launch --nproc_per_node=4 scripts/image_train.py
The number of training steps is the same under the same training time (the final modelXXX.pt obtained by 4 GPUs will not be more/faster than that obtained by 1 GPU). Is this normal?

if i need set "--world_size 4"?


cors

how do you set cors in NPM

wow im dumb
for anyone else with this issue you set it here
/etc/nginx/conf.d/include/proxy.conf


Add auto trim property to text form components such as MudTextField

Feature request type
Enhance component
Component name
MudTextField
Is your feature request related to a problem?
No response
Describe the solution you'd like
I know auto trim can be easily accomplished via ValueChanged, but adding these to dozens of text form controls can become cumbersome. It'd be very nice if we can keep using @bind-Value along with a new property AutoTrim to automatically trim user inputs before triggering any validation/submission logic.
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

That one is nice and fancier. The one suggested here only needs to do one thing: trim the leading and ending spaces of user input, a very common requirement.
Normally we can do it in submission handlers in code, but if we want to use things like validators, which the input would have to go through before even hitting the handler, we'd then want to make sure the text is trimmed prior to validation, hence lots of boilerplate ValueChanged codes. It'd be very nice to have this automated with just a AutoTrim="true" parameter.

This should be done since https://github.com/MudBlazor/MudBlazor/pull/3480 is merged?

This should be done since #3480 is merged?

I think autotrim not only about mask.

Actually this is already possible with a custom converter.

Example for a trimming converter. Conversion is done before validation: https://try.mudblazor.com/snippet/QOccaCOHTqWgnlHx

Hmm yeah, it does work. But it seems the value update isn't reflected in the textbox itself (still shows leading/trailing spaces) after after losing/re-entering focus.

Hmm yeah, it does work. But it seems the value update isn't reflected in the textbox itself (still shows leading/trailing spaces) after after losing/re-entering focus.

That is correct and is so by design. Updating the Text from the Value is not a generally desired behavior for any MudInput, so you need to add it yourself (i.e. in a handler on blur).

What about calling trim on validation process, why you need to call each ValueChanged?

Yeah I just wanted to replicate the common UI behavior involving form text fields that have client side validation and auto trim.
I want the trim to be visible to the user, not hidden behind code after submit. IMO it's a better experience for the user to see that he/she typed or more likely, pasted in a string that got auto trimmed. This way, what the user sees in the box matches what will be saved. There is no second guessing or confusion.

Yeah I just wanted to replicate the common UI behavior involving form text fields that have client side validation and auto trim.
I want the trim to be visible to the user, not hidden behind code after submit. IMO it's a better experience for the user to see that he/she typed or more likely, pasted in a string that got auto trimmed. This way, what the user sees in the box matches what will be saved. There is no second guessing or confusion.

What about to add Trim into OnBlur method? I guess if we add it to the library, probably add a trim code into onblur. This can be done also with applications with same code. Am i wrong or missing something? What is the advantage of adding a new API if it takes the same time?

You're right. I think originally when I created this issue I was trying to make it trim upon value change/binding, before even losing focus. But since it was by design not viable, I might as well do it in Onblur.

Please inform if this approach fails.


Missing gossip on screen

Good afternoon, firstly, thank you very much for such a wonderful modification, which I use with the acquisition of the game.
But there is a problem - gossip on the screen about AI does not appear at all, just notifications about my studied technologies of culture and science.
How can I solve this problem? Or tell me, which file or string I should cut to get rid of the gossip removal function.
I'm playing the Russian version of the game.
Thank you very much!

This may be an issue with the heuristic used for intercepting gossips. I did my best to render it language neutral, but there's only so much I can achieve as an English-only speaker.
Hey @e1ectron, does this issue affect you as well?

Sorry, I can't check it now and in the near future (don't have access to actual game version).

Hey, @chaorace. Test it on a 1.0.4 (<IP_ADDRESS>) Mac version on Russian and English.
For a hour, I haven't seen any gossips. So problem is not the language.
May be platform? @legdrop, you play on Win or Mac?

Windows 10, 64 bit.

I think @legdrop wants to read popup gossips that appears on vanilla on center of the screen. If so you need to remove line 35 in UI/Panels/StatusMessagePanel.lua that was added on this commit f04d0b5e0ff387a80420ccb0009865df134fc524

@bolbass
Yes, you understood everything correctly, thank you all very much!
I do not have the option now to run the game, but please check, I selected the correct code to delete?

Don't delete it :)
The commit I mentioned above was already fixed in CQUI so my last comment is wrong.
The last commit that affects gossips is c8963130252a8cb90546423564eb6c22911e64ea
The result of this commit is that you can choose gossips you want to see or disable on CQUI settings that are above the minimap. Have you tried changing it?

Thanks a lot, it works!

Okay... so did we ever figure out if this issue was caused by CQUI not correctly showing gossips?

Yes, there is at least one type of gossips that is missing on gossips settings screen (a gossip when other civs enter new era for example).

This type of gossips is under "City>>X has counquered Y" settings. We should fix it and can close this issue as soon as it's enough to unchek "Trim gossip messages" to see all the gossips.


Error using GraphQLJSON

Code
  @Field(() => GraphQLJSON, { nullable: true })
  public icon?: Record<any, any>

Error:
Decorator type does not match corresponding TypeScript type. Expected () => __type but found () => GraphQLJSON
GraphQLJSON type comes from: https://github.com/taion/graphql-type-json

That rule supports custom mappings. See https://github.com/borremosch/eslint-plugin-type-graphql/blob/main/docs/rules/wrong-decorator-signature.md#options
Not sure how the mapping key for the Record<any, any> would look like though. Might have to log decoratedType.name in the rule here https://github.com/borremosch/eslint-plugin-type-graphql/blob/aff589cef806b3728f311410325805a854c3d80b/src/rules/wrong-decorator-signature.ts#L127

@rchl is right. However, I might add that the linter is not very valuable in cases where you are not using strict type checking (for example when using any). You might as well ignore the error completely:
// eslint-disable-next-line type-graphql/wrong-decorator-signature
@Field(() => GraphQLJSON, { nullable: true })
public icon?: Record<any, any>


tts required API key

Hello,
I'm not able to use the library with the following message:
googletss being an entreprise feature, it requires me to allow billing, which I don't want.
Could you please make it possible to opt-out of tts through the CLI ?
sudo audioToLunii podcast -url https://feed.ausha.co/B6r8OclKP6gn -limit 30
We will convert 30 of your podcast url : https://feed.ausha.co/B6r8OclKP6gn
 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0% | ETA: 0s | 0/38/usr/lib/node_modules/audiotolunii/node_modules/google-tts-api/lib/key.js:30
    if (!matches.length) throw new Error('get key failed from google');
                               ^

Error: get key failed from google
    at /usr/lib/node_modules/audiotolunii/node_modules/google-tts-api/lib/key.js:30:32
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.exports.podcast (/usr/lib/node_modules/audiotolunii/lib/parser.js:92:18)
(base) nherbaut@ares:~/tmp/oli$ sudo audioToLunii podcast -url https://feed.ausha.co/B6r8OclKP6gn -limit 30
We will convert 30 of your podcast url : https://feed.ausha.co/B6r8OclKP6gn
 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0% | ETA: 0s | 0/38/usr/lib/node_modules/audiotolunii/node_modules/google-tts-api/lib/key.js:30
    if (!matches.length) throw new Error('get key failed from google');
                               ^

Error: get key failed from google
    at /usr/lib/node_modules/audiotolunii/node_modules/google-tts-api/lib/key.js:30:32
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.exports.podcast (/usr/lib/node_modules/audiotolunii/lib/parser.js:92:18)

@laruche any news on this? Xmas is coming, and we would love to have it for the calendrier de l'avent...

Hello, much better after updating to version 2.0.2 of google-tts-api
https://www.npmjs.com/package/google-tts-api
and replace all calls to googleTTS by googleTTS.getAudioUrl in the source code, which gives
var titleUrl = await googleTTS.getAudioUrl(story.title, 'en', 1) for example.
I test this after with the zip generated by the tool.

Is a solution available without having to edit the code ?


Fix autoCorrection find on windows

Current implementation for extracting the corrected result from the output fails on windows due to line ending types.

@TikiTDO Thanks for your contribution. 👍
Sorry for late.
I will merge and release new version.

Updated.
Please update an extension on your environment.
https://marketplace.visualstudio.com/items?itemName=misogi.ruby-rubocop#overview


R kernel loops

Hi,
I am running R with hydrogen and I am using cmd+Enter to run the code. However, when I try this before a for loop it gives error as it runs only the line with the for. However, when I select all the code inside the for loop and then run the code it runs. Is there any fix for this.

@ahsen1402 If cmd+Enter does not work for you, you could always use cells and run them with cmd+alt+enter. Please view the Getting Started guide for explanation on cells and other Hydrogen behaviors.


Animates two items at the same time

If I select first item, first and second item animates at the same time in example.
Example link is here: https://github.com/0ber/AnimatedTabBar-Pod-Test
For this reason, My app development has been disrupted.
Swift 5

@sthyuji Hey, this is not a problem of Animated-tab-bar sources, this is a problem of provided example
to prevent second item animation just remove code in ViewController.swift
override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)
    (tabBarController as! RAMAnimatedTabBarController).setSelectIndex(from: 0, to: 1)
}


Throw error on unknown search parameter

Coverage increased (+0.01%) to 94.368% when pulling d1e900f59c088612c8814f8d86d1b3795d205d9e on cody-error-on-unknown-search-param into 3f93dbf370f5b91659c88dd170ec4c7ebe4b56dc on main.


Toolbox visibility: animate drawers, hover effect on flyout

Small animation on toolbox drawers when entering monaco
Display handle on flyout hover to indicate draggable elements

Build: https://makecode.microbit.org/app/dd487eba2ea31ef83f2e2d03e651a5bb200f24d2-1a20e6fcd0

[ ] feels a bit slow, can we try a bit faster?
[ ] make sure to turn off in "light" mode

How do we test that this feature has any impact?

I could set up some Teams calls for user testing (with/without the animation)


Remove redundant $db->Insert_ID call

We use the mysqli driver for transactional support and I run into small issues with Concrete5 every now and then.  Here is the latest:
$newCID is retrieved in the original insert (line 505) and doesn't need to be overwritten.  Calling $db->Insert_ID() with the mysqli driver on that type of query (line 514) returns 0, which causes a problem with PageStatistics::incrementParents and movePageDispayOrdertoBottom().
I've submitted a couple of these changes before under<EMAIL_ADDRESS>

thanks, removed the other call too


HF transformers caching causing errors

I'm trying the latest update code on AWS Sagemaker 1.10 GPU for the HF transformers. The following change to config was made a few days ago - https://huggingface.co/OFA-Sys/OFA-large/commit/d41e09bed9fcec4fd3a1f7d7a7bd5839043c87c3#d2h-025836 - for the respective models. When caching is enabled then the following error occurs which is to do the tensor being the wrong shape, see the below error. When manually changed so only the cacahing value in config is disabled then the generation still works.
Error:
/opt/conda/lib/python3.8/site-packages/transformers/models/ofa/modeling_ofa.py in forward(self, hidden_states, attention_mask, encoder_hidden_states, encoder_attention_mask, past_key_value, output_attentions, use_cache, self_attn_bias, cross_attn_bias)
604         self_attn_past_key_value = past_key_value[:2] if past_key_value is not None else None
605         # add present self-attn cache to position 1,2 of present_key_value tuple
--> 606         hidden_states, self_attn_weights, present_key_value = self.self_attn(
607             hidden_states=hidden_states,
608             past_key_value=self_attn_past_key_value,
/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
1129         if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks or _global_backward_hooks
1130                 or _global_forward_hooks or _global_forward_pre_hooks):
-> 1131             return forward_call(*input, **kwargs)
1132         # Do not call functions when jit is used
1133         full_backward_hooks, non_full_backward_hooks = [], []
/opt/conda/lib/python3.8/site-packages/transformers/models/ofa/modeling_ofa.py in forward(self, hidden_states, key_value_states, past_key_value, attention_mask, output_attentions, attn_bias)
386         if attention_mask is not None:
387             if attention_mask.size() != (bsz, 1, tgt_len, src_len):
--> 388                 raise ValueError(
389                     f"Attention mask should be of size {(bsz, 1, tgt_len, src_len)}, but is {attention_mask.size()}"
390                 )
ValueError: Attention mask should be of size (25, 1, 1, 12), but is torch.Size([25, 1, 1, 1])

Yes, was using the old version. Will look at the Fairseq one but want to use typical_p and constrained beam sampling from HF and so will need to see if they are supported on Fairseq.


Replaced usages of @transaction.commit_manually with transaction.set_autocommit

transaction.commit_manually has been deprecated in django 1.6 and removed in django 1.8.  This update will use the replacement method `transaction.set_autocommit(true_or_false)
Code that needs transactions managed uses 1 of 2 decorators _database_transaction or _database_transaction_batch.  When these decorators are invoked, we retrieve the applications current autocommit setting and set autocommit to false.  After attempting to call the wrapped function we set autocmmit back to what it was before the decorator was invoked.

:+1:

:+1:


Can not use SDL2_gfx primitives for renderering

Minimum working example:
julia> using SimpleDirectMediaLayer

julia> using SimpleDirectMediaLayer.LibSDL2

julia> window = SDL_CreateWindow("test", 0, 0, 500, 500, SDL_WINDOW_SHOWN)
Ptr{SDL_Window} @0x00000000012c1230

julia> renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC)
Ptr{SDL_Renderer} @0x0000000001637bf0

julia> SimpleDirectMediaLayer.LibSDL2.rectangleRGBA(renderer, 10, 10, 50, 50, 255, 255, 255, 255)
ERROR: could not load symbol "rectangleRGBA":
/home/[redacted]/.julia/artifacts/8f20658b625a577cdc6b81980bbae941cb291139/lib/libSDL2.so: undefined symbol: rectangleRGBA
Stacktrace:
 [1] rectangleRGBA(renderer::Ptr{SDL_Renderer}, x1::Int64, y1::Int64, x2::Int64, y2::Int64, r::Int64, g::Int64, b::Int64, a::Int64)
   @ SimpleDirectMediaLayer.LibSDL2 ~/.julia/packages/SimpleDirectMediaLayer/wjMsP/src/LibSDL2.jl:6142
 [2] top-level scope
   @ REPL[5]:1

Not only does this not work, it also looks like the SDL2_gfx primitives are not exported. Strangely the SDL2_framerate objects (SDL_initFramerate, SDL_getFramerate, SDL_setFramerate, etc...) which are part of SDL2_gfx do exist!

I have the same problem. The generator does not appear to be including all of the functions in sdl_gfxPrimitives correctly. Trying to use any of the sdl_gfxPrimitive functions results in the error:
ERROR: could not load symbol "some gfxPrimitive function name"
Has anyone come up with a fix for this yet?

Actually it appears that that isn't the problem. I believe that the problem lies in the initial bindings generated for SDL_gfx. This package SDL2_gfx_jll claims to have generated the bindings but clearly they are not working for the gfx_primitives functions. They may have to be regenerated and confirmed to work. The good news is that the original PR for adding the bindings into this repo should still work. But the SDL2_gfx_jll package will have to be updated on the registry to make the bindings work.

Same here for thickLineRGBA()

I noticed this in the generator.toml:
export_symbol_prefixes = ["TTF_", "IMG_", "Mix_", "SDL_", "MIX_", "RW_", "AUDIO_", "KMOD_", "HAVE_", ]
I don't remotely understand how Clang.jl works, but none of the SDL2_gfx functions have prefixes.  I wonder if that is the issue?

Has anyone found a workaround?

I found a workaround. It's not pretty, but it's better than nothing at the moment. If I get time, I would like to learn more as to actually fix it.
First of all, I grabbed the sdl_gfx.dll file from https://github.com/Vladar4/sdl2_nim/blob/master/LINKS.md
Then I dropped it in my artifacts folder with my SDL2.dll file. If you can't find it through searching, you could just update one of the functions in LibSDL2.jl like this to print it out.
This file was at: C:\Users\kyjor\.julia\packages\SimpleDirectMediaLayer\wjMsP\src\LibSDL2.jl for me
function SDL_CreateRenderer(window, index, flags)
    println(libsdl2)
    ccall((:SDL_CreateRenderer, libsdl2), Ptr{SDL_Renderer}, (Ptr{SDL_Window}, Cint, Uint32), window, index, flags)
end

this returned C:\Users\kyjor\.julia\artifacts\a3822540351cc2f773be931a83adc5c844eee6f2\bin for me.
So once you dropped in your dll, go to all of the sdl_gfx functions, and change them to look like this:
function SDL_initFramerate(manager)
    ccall((:SDL_initFramerate, replace(libsdl2, "SDL2" => "SDL2_gfx")), Cvoid, (Ptr{FPSmanager},), manager)
end

instead of just libsdl2 as a parameter, change it to replace(libsdl2, "SDL2" => "SDL2_gfx")). This will use the SDL_gfx.dll instead of the SDL2.dll for these calls. I've only tested this with the framerate functions so far, and they worked for me. I hope this helps anyone. Like I said, it's a hack, and hopefully I can try and contribute a real fix.

@Kyjor Wow, nice work! I swear I tried basically that exact hack a few weeks ago. I'll attempt your hack when I get some free time. Thanks for finding a fix. Something is better than nothing. :)

No problem! Like I said, I've only tried it with the framerate functions so far, so your results may vary. I'll probably be trying to work with the actual drawing functions real soon. So if there's any gotchas, I'll let you know

Alright, so a quick update. I followed through (more carefully this time!) with your steps, and I can corroborate your results with my own. The frame-rate functions work as intended, however, when trying some of the graphics functions (I tried pixelRGBA, hlineRGBA, and circleRGBA), they are not working. On the bright side however, I am no longer getting the original error I was getting months ago which read along the lines of: could not load symbol "some gfxPrimitive function name".
So as far as I can tell, the package now has access to the SDL2_gfx functions, but for some reason the graphics primitives are not drawing. Unfortunately, this issue is still way above my current skillset, so if anyone has some further insight into how to get the drawing functions to work, that would be much appreciated.

@Noremac11800 can you send me a MWE of your code? I can try and mess with it.

@Noremac11800  Here's an example: 😄 https://gist.github.com/Kyjor/c6d9b82245f83311f10a5e4e8a41ca59
This is what it looks like for me:

Hi @Kyjor, sorry for the late reply I've been a bit busy. A MWE of my code is essentially identical to yours. I used the basic.jl example also.
I just tested out your code (making sure to add the necessary replace(libsdl2, "SDL2" => "SDL2_gfx") lines to make your graphics functions work) and my code runs without errors, however the actual graphics are not drawn still.
I believe the issue lies in the way the sdl_gfx library is communicating with SDL2. Let me explain. Because I am using MacOS and not Windows, when I followed your original fix I had to retrieve the sdl_gfx library from an alternative location. A .dll will not work so I had to either find or build the correct .dylib library for sdl_gfx. In my haste, my best fix was to install the library via Homebrew with:
brew install sdl2_gfx

I then located the two associated dylibs in my brew Cellar and manually moved them into the .julia/artifacts... directory, containing the LibSDL2.dylib libraries.
For reasons that I do not understand, I don't think I was supposed to do that... When I run your minimal example code I get the following output in my terminal:
Class SDLApplication is implemented in both /Users/cam/.julia/artifacts/8fd700de383504a22db30fc7e4193dc1b1ee471e/lib/libSDL2-2.0.0.dylib (0x1061527e8) and /opt/homebrew/Cellar/sdl2/2.28.5/lib/libSDL2-2.0.0.dylib (0x1544b88e0). One of the two will be used. Which one is undefined.

So I think your fix is working perfectly fine and this issue is close to being resolved. The problem appears to be on my end due to a lack of understanding around dylibs. So I am going to have to toy around with my setup a bit to see if I can get the libraries to look in the right locations for the code.
Out of curiosity, I may go and attempt this on my Arch desktop machine instead of my Mac because I may have more luck there. MacOS usually isn't my first choice when it comes to development.
I appreciate all of your effort though :)

AHA! Another update. I just tried out the same process on my Arch machine and it worked flawlessly!
So for anyone who wants to know the steps I took:

Install SimpleDirectMediaLayer.jl via Julia's pkg manager
Install libSDL2_gfx via:

sudo pacman -S sdl2_gfx

Determine the correct artifacts directory where SDL2 is located in your ~/.julia directory. Mine was located at ~/.julia/artifacts/8f20658b625a577cdc6b81980bbae941cb291139/lib/
Navigate to /usr/lib/ and copy the libSDL2_gfx.so file into the artifacts directory
Navigate to ~/.julia/packages/SimpleDirectMediaLayer/wjMsP/src/ and modify your desired SDL2_gfx functions according to @Kyjor's advice above.
Use @Kyjor's MWE code basic.jl here and replace the function calls with your own.

As far as making a better, more permanent fix, that's a problem for later. But as an immediate hack, this fix works perfectly fine.
Nice work @Kyjor! Thanks for all the help.

#75


Xenos should be able to flick/hit lights off

Description

Title, specifically any lights including attachment ones. Parity.
Reproduction

Screenshots

https://github.com/user-attachments/assets/35161d32-1884-4ed7-87e8-94a45c72a0b3
Additional context

Does this also include a way for Xenos to be able to "turn off" the lights on a holstered weapon,
an example could be the smartgun with a rail light since that auto snaps to the harness.

No, but this is because holstered weapons don't emit light in cm-13.

Should be fixed by #5123


cli: Support http proxy via global-agent

Required to enable sst to be used behind a proxy.
Tested with build and deploy.
Works for live debugging (may depend on the proxy).

Thanks @mgranell. Released in 1.15.9.


Refactor backend storage, store just the diffs in a DB

This could have some really nice impacts

Reduced volume size
Can find which other pages had the same differences and ignore them/know about it
SQLite could be good for this
'Backup' mechanism may need a refactor if you want the original snapshots back again
Why not use GIT perhaps? just an idea

Please don't use SQLite, instead invest a bit more into using an RDBMS over TCP/IP (like MariaDB, PostgreSQL). SQLite is a PITA when using Kubernetes with more than one node (HA deployment) with NFS (most homelabs).

And on the other side of the coin, there are plenty of setups that don't have a dedicated database instance running and having to stand one up just for 1 software package isn't worth it. I have over a dozen services running in a homelab environment and have yet to need one. Most software packages do fine with SQLite and it makes it easier to back things up. Especially in a docker environment where you backups can just be a folder grab of your container datastore.

Kubernetes with more than one node with NFS (most homelabs).

I would argue "most homelabs" are single unit setups. Something like a rpi / old PC or many of the NAS units now that come with docker abilities.

I must say that all *arr and media apps (Radarr, Sonarr, Plex, Jellyfin, etc) are a pain to host in Kubernetes because all of them use SQLite. They must be fixed to a node and can only work with hostPath storage, so when a specific node goes down where their volume is pinned, the app goes with it.
Using an ORM that can work with multiple DB engines (SQLite, PG, My/MariaDB) can be a solution for both worlds :)


[Bug]: Quoted identifiers are unquoted in RecordFieldSymbol

Description
Consider the following record definition.
type Foo record {|
    int 'type;
    string name;
|};

The name of the 'type field is converted into type in the RecordFiledSymbol

Therefore, the original name of the field is missing in this scenario.
Steps to Reproduce
No response
Affected Version(s)
2201.5.0 (master)
OS, DB, other environment details and versions
No response
Related area
-> Editor
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

When investigated figured out that the name of the field is incorrect in the BField.

Some informations can be found related to quoted-identifier implementation in Semantic API

@malinthar You can find the original name of the field inside the RecordFieldSymbol. You can access
using this way entry.getValue().getName(). For completions and code actions we use this RecordFieldSymbol.


Chrome DevTools Protocol events extraction not fully "chrome-har" compatible

Please refers to https://github.com/sitespeedio/chrome-har/issues/15 for details on the issue

I have the same problem. When can I solve it?

Any updates on this issue?

@vroumvroum I wasn't able to reproduce your problem. As you can see this library is a simple extension to extract events for chrome-har, and I'm not capable of solving issue mentioned by @tobli in https://github.com/sitespeedio/chrome-har/issues/15#issuecomment-379451268. If you find some solution for this problem I'm welcome. Meanwhile, I've bumped chrome-har version in this package.

Waiting for the merge! Thx @tai :+1:


Custom fill value for align, reindex and reindex_like

It would be nice to be able to specify a custom fill value other than NaN for alignment/reindexing, e.g.,
>>> xr.DataArray([0, 0], [('x', [1, 2])]).reindex(x=[0, 1, 2, 3], fill_value=-1)
<xarray.DataArray (x: 4)>
array([-1, 0, 0, -1])
Coordinates:
  * x        (x) int64 1 2 3 4

This should be pretty straightforward, simplify a matter of adding a fill_value keyword argument to the various interfaces and passing it on to Variable.__getitem_with_mask inside xarray.core.alignment.reindex_variables().

Hi, I'm a recent convert to xarray looking to start contributing - this seems like a good issue to dip my toes in.  If there's no one currently working on this I'm happy to take it up.

Fantastic, welcome @zdgriffith! Our documentation has a page on http://xarray.pydata.org/en/latest/contributing.html which I encourage you to read through.
Once you have your local development environment set up and your fork cloned, the next step is to start exploring the source code and figuring out where changes need to be made. At that point, you can post any questions you have here and we will be happy to give you some guidance.


Disallow ChanListeners to report warnings on a suspended consensus

fixes #1149

Codecov Report

Merging #1235 (409eea2) into master (828364b) will decrease coverage by 2.75%.
The diff coverage is 52.50%.

@@            Coverage Diff             @@
##           master    #1235      +/-   ##
==========================================
- Coverage   50.51%   47.76%   -2.76%
==========================================
  Files         145      139       -6
  Lines        7544     8481     +937
==========================================
+ Hits         3811     4051     +240
- Misses       3066     3849     +783
+ Partials      667      581      -86

Impacted Files
Coverage Δ

pkg/config/consts.go
0.00% <ø> (ø)

pkg/config/genesis/config.go
0.00% <0.00%> (ø)

pkg/core/candidate/validator.go
64.00% <ø> (+6.85%)
:arrow_up:

pkg/core/chain/legacy.go
0.00% <0.00%> (-28.58%)
:arrow_down:

pkg/core/chain/mock.go
9.09% <ø> (+0.75%)
:arrow_up:

...kg/core/consensus/blockgenerator/candidate/mock.go
0.00% <0.00%> (ø)

pkg/core/consensus/comms.go
0.00% <0.00%> (ø)

pkg/core/consensus/fixtures.go
0.00% <0.00%> (ø)

pkg/core/consensus/header/header.go
24.50% <0.00%> (+2.41%)
:arrow_up:

pkg/core/consensus/publisher.go
0.00% <0.00%> (ø)

... and 183 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 c58a4d4...409eea2. Read the comment docs.


Conditional stack is not popped for simple conditionals: rare unexpected behavior with conditional templates

When there is a conditional template and the  expression evaluates to false, the renderer jumps over the end template, resulting in the conditional stack not popping. This leads to very rare unexpected behavior that is very hard to predict. For example, in some cases, the renderer enters an else conditional template even if the previous conditional is true. This happens because the renderer retrieves information from another conditional template info structure, which was not popped and reports that the last conditional was false (thus resulting in the else conditional being rendered).
The problem is that the compiler emits the jump index after the end template, when it should emit it right before (such that the pop operation occurs).

🔥

🔥


Bug fixes: logout

Motivation and context

How has this been tested?

Checklist

[ ] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 6218

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.004%) to 65.103%

Files with Coverage Reduction
New Missed Lines
%

cvat/apps/engine/media_extractors.py
1
75.88%

Totals

Change from base Build 6185:
-0.004%

Covered Lines:
11030

Relevant Lines:
16532

💛  - Coveralls

@lizhming, thanks a lot, could you just add changes to changelog?

@lizhming
Hi, thanks for the PR. Please, fill out checkboxes in PR description. We aren't permitted to merge it without some of them.

@lizhming , thanks for the PR. Great to see such contributions.


No validation check done for  DEFAULT-SIZE to be within the SIZE-RANGE when editing ProjectVolumeClass.

acorn version v0.5.1-79-g84d2894c+84d2894c
Steps to reproduce the problem:
We are NOT allowed to create ProjectVolumeClass where DEFAULT-SIZE is less than the SIZE-RANGE .
But when user modifies an existing ProjectVolumeClass , he is allowed to set a DEFAULT-SIZE that is outside the SIZE-RANGE .
User should  be presented with error message.
This the behavior seen when creating/editing ClusterVolumeClass with invalid default size. In this case user is presented with error message-invalid: size.default: Invalid value: "4G": default size should be at least min size

Additionally, the storageClassName field should be immutable.

Tested with acorn version v0.6.0-rc1+f4c514dd
Validation check are now done for  DEFAULT-SIZE to be within the SIZE-RANGE when editing ProjectVolumeClass/ClusterVolumeClass.
Also we are not allowed to change storageClassName editing ProjectVolumeClass/ClusterVolumeClass..
The ProjectVolumeClass "pvclass3" is invalid: size.default: Invalid value: "9G": default size should be at least min size
The ProjectVolumeClass "pvclass3" is invalid: size.default: Invalid value: "20G": default size should be at most max size
The ProjectVolumeClass "pvclass3" is invalid: storageClassName: Invalid value: "local-path-test4": storageClassName cannot


Round H Retype solution in java added

Have you read the Contribution Guidelines?
(Yes, I have read contribution guidelines)
Description
Issue Number for which I'm assigned & worked: #93
Added Siddharth-java Folder.
In Siddharth-java Folder, I added 1 solution file (Retype.java) and 1  screenshot (Siddharth-Retype.png)
Plz, merge my pull request under completion of Hacktoberfest 2021.
Checklist

[Yes] I've read the contribution guidelines.
[Yes] I've checked the issue list before deciding what to submit.

Related Issues #93
Fixes Issue #93

Merged 🚀


Body params are skipped for Accept header

The code here only parses the body if content type is "application/json", while typically the "Accept" header is used instead. For example, Accept=application/vnd.heroku+json; version=3. The current implementation causes a wide range of JSON request body not to be reported.

@jingweno good point, we'll change this later.
thanks for the tip!

Closed by https://github.com/rollbar/rollbar-gem/issues/322


Update ubi-minimal base image to ubi-minimal:8.5-243

Update ubi-minimal base image to ubi-minimal:8.5-243

Closing this, since we have already raised a PR, I was testing a bug introduced in the pipeline


Check for pre-created virtual environment to save time on repeated poetry installs

CI: rhods-ci-pr-test/2338
Before
12:26:52  Installing dependencies from lock file
12:26:55
12:26:55  Package operations: 235 installs, 1 update, 0 removals
12:26:55
12:26:55    • Installing attrs (23.1.0)

...
12:27:53    • Installing python-openstackclient (6.3.0)
12:27:54  Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
12:27:54  Installing /home/jenkins/workspace/rhods/rhods-ci-pr-test/ods-ci/.venv/lib/python3.9/site-packages/RPA_PDF.libspec over existing file
12:27:55  Installing /home/jenkins/workspace/rhods/rhods-ci-pr-test/ods-ci/.venv/lib/python3.9/site-packages/robot/__main__.py over existing file
12:28:01
12:28:01  Installing the current project: ods-ci (0.1.0)
12:28:05  ==============================================================================
12:28:05  Tests

After
13:12:50  skipping OC login as per parameter --skip-oclogin
13:12:53  Installing dependencies from lock file
13:12:55
13:12:55  No dependencies to install or update
13:12:59  [ ERROR ] Suite 'Tests' contains no tests matching tag 'ODS-nosuchtest' and not matching tags 'TBC', 'AutomationBug' or 'ProductBug'.

Conclusion
Great success

Just note to anybody - this waits for another change in our internal repo. Please wait with the merge.

rhods-ci-pr-test/2346


Ignore minified files when searching code

What uses this file?

It's used by ag, ack, and a few other grep like tools. Usually you don't need to search minified files. I guess this might be considered global configuration.

Doesn't seem relevant to OkHttp.

closed;
FWIW I was using this to ignore
website/static/bootstrap.min.js
website/static/bootstrap-combined.min.css
but I just added them to my personal global config


[Bug] Boxplot Squished to the top in Grid

Version
5.3.3
Link to Minimal Reproduction
https://jsfiddle.net/hkwe9n26/
Steps to Reproduce

Create the box plot chart with the config in the attached JSFiddle
The minimal config has been pasted here for convenience:
{  "xAxis": [      {          "type": "category",          "data": [              "thickness"          ],          "gridIndex": 0      }  ],  "yAxis": [      {          "type": "value",          "splitArea": {              "show": true          },          "gridIndex": 0      }  ],  "series": [      {          "name": "Boxplot",          "type": "boxplot",          "data": [              [                  12.01,                  12.1325,                  12.205,                  12.255,                  12.37              ]          ],          "xAxis": 0,          "yAxis": 0,          "color": "#253EB5",      },      {          "name": "Mild Outlier",          "type": "scatter",          "data": [              [                  0,                  11.93              ]          ],          "xAxis": 0,          "yAxis": 0,          "color": "#E8B500"      }  ], }

Current Behavior
See that the boxplot is squished to the top of the chart with a lot of whitespace under it. Since I am not providing any custom min max values for the y-axis, the built-in echart heuristics for these values are not performing correctly here.
Expected Behavior
I would expect the y-axis values to span a smaller range - perhaps 10-14 in this case - so that the box plot's features can be accurately identified in the chart rather than squished to one part of the chart with whitespace around it.
Environment
No response
Any additional comments?
No response

This is not a bug but the expected behavior that axes always start from 0. You can set min: 'dataMin' to force using minimum data as the axis's starting value.

I see, but if I use min: 'dataMin', the intervals on the y-axis get messed up since the gaps aren't consistent (i.e. the difference between the bottom two axis labels is 0.07, but the difference between the rest is 0.1. For small numbers, this isn't as big of a deal, but it makes a larger (more misleading) difference if the intervals are uneven when the range is very large.

@c3-anerishah min and max can be a callback function so you can decide the logic. Please check the doc to know more.