Fix or suppress parsing Errors in schema

Hi, I have a question about suppressing or fixing parsing errors in a schema. Currently there is only 4 lines that cause parsing error which prevents use of entire plugin. I can manually delete, but hard to encourage my team to use a plugin that requires this kind of a hack, and makes it annoying to auto-update my schema. Is there a way to prevent a few lines from breaking the schema validation step if they are known ahead of time?

I am also having this issue - a false error prevents all graphql environments from working. Any way around it?

Hi! What kind of error is it exactly? I've done a lot of things to prevent similar issues in the upcoming v3 release, but I'm not sure if this is your case due to the lack of details. @SriwanKm What do you mean by "parsing error"? Is this syntactically incorrect code or just something that is not supported by the plugin at the moment? Or is it a schema error?

@vepanimas
I am not sure, I think it is just the plugin not supporting the way we designed the schema in one place. That one failure has been a major blocker for us to use the plugin for years. I have to manually delete the one interface field that is catching the error after every time I update the schema through introspection, but in order to add it as a required plugin for all the devs at my company and be able to update the schema on the fly I need to figure out how to fix this parsing error in one field.
It looks like it doesn't like the way we are implementing this one interface called ImageInterfaceType. I was hoping there was a workaround, I even tried to fork the plugin but I wasn't able to make the schema pass the validation step after months of trying. It would be amazing if I could finally offer the huge benefit this plugin provides to my team and other devs at my company. Thanks!
graphql.schema.validation.InvalidSchemaException: invalid schema: object type 'Image' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'crop_height' is defined differently object type 'Image' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'crop_width' is defined differently object type 'Image' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'resize_height' is defined differently object type 'Image' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'resize_width' is defined differently object type 'STLPhoto' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'crop_height' is defined differently object type 'STLPhoto' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'crop_width' is defined differently object type 'STLPhoto' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'resize_height' is defined differently object type 'STLPhoto' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'resize_width' is defined differently object type 'SmartPhotoImage' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'crop_height' is defined differently object type 'SmartPhotoImage' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'crop_width' is defined differently object type 'SmartPhotoImage' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'resize_height' is defined differently object type 'SmartPhotoImage' does not implement interface 'ImageInterfaceType' because field 'color_profile' argument 'resize_width' is defined differently 	at graphql.schema.GraphQLSchema$Builder.buildImpl(GraphQLSchema.java:571) 	at graphql.schema.GraphQLSchema$Builder.build(GraphQLSchema.java:546) 	at graphql.schema.idl.SchemaGenerator.makeExecutableSchemaImpl(SchemaGenerator.java:283) 	at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:257) 	at graphql.schema.idl.SchemaGenerator.makeExecutableSchema(SchemaGenerator.java:227) 	at graphql.schema.idl.UnExecutableSchemaGenerator.makeUnExecutableSchema(UnExecutableSchemaGenerator.java:28) 	at com.intellij.lang.jsgraphql.schema.GraphQLSchemaProviderImpl.lambda$getValidatedSchema$3(GraphQLSchemaProviderImpl.java:71) 	at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1705) 	at com.intellij.lang.jsgraphql.schema.GraphQLSchemaProviderImpl.getValidatedSchema(GraphQLSchemaProviderImpl.java:66) 	at com.intellij.lang.jsgraphql.ide.project.schemastatus.GraphQLConfigSchemaNode.<init>(GraphQLConfigSchemaNode.java:90) 	at com.intellij.lang.jsgraphql.ide.project.schemastatus.GraphQLSchemasRootNode.getChildren(GraphQLSchemasRootNode.java:48) 	at com.intellij.lang.jsgraphql.ide.project.schemastatus.GraphQLSchemasPanel.lambda$createTreePanel$0(GraphQLSchemasPanel.java:128) 	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:825) 	at com.intellij.lang.jsgraphql.ide.project.schemastatus.GraphQLSchemasPanel.lambda$createTreePanel$1(GraphQLSchemasPanel.java:125) 	at com.intellij.util.RunnableCallable.call(RunnableCallable.java:20) 	at com.intellij.util.RunnableCallable.call(RunnableCallable.java:11) 	at com.intellij.openapi.application.impl.ApplicationImpl$1.call(ApplicationImpl.java:271) 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668) 	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665) 	at java.base/java.security.AccessController.doPrivileged(Native Method) 	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665) 	at java.base/java.lang.Thread.run(Thread.java:834)

Looks like this solved it, I removed the check from checkbox for using default values from schema. Darn, wish I would have seen this 2 years ago!! lol  Or maybe it is new, I don't really recall seeing this option before, either way, I am able to introspect the query and keep up to date now and there are no more parsing errors. Thanks!!!

Okay, so the reason is the default values. It's great that it now works for you. I'll take another look at whether we should check the default values when checking interface implementations or not, I'm not sure about that.

@vepanimas Thanks! Yeah it makes me think that this checkbox should probably be set to default disabled instead of default enabled. I am afraid there are a lot of other people in similar situation who aren't as stubborn as me and just assume the plugin is broken when they only need to uncheck this box to get it to work. It might be better to err on the side of basic functionality then trying to get all the bells and whistles and not working for a lot of people.
My story is a good example, since I only figured out after a long process, first by manually editing the schema where the parsing errors where located, then stumbling across the checkbox in the settings menu. I remember for the first year I download the plugin, I didn't even know that the plugin can do more than just add a file association for .graphql files, and everything was red, then one day I fixed the schema and it magically started working. Then I spent another year trying to fix the schema so I don't have to manually edit it and can make it a required plugin for Android at my company.
Also I am still looking into why the default values on that particular interface (even when removed) don't play nice with the parser. Of course if I could fix it from the schema then I could re-enable use of default values which would be nice.

Only this case is considered a valid implementation, both interface and implementor fields must have the same default values:
interface I {
    field(s: String = "default"): String
}

type T implements I {
    field(s: String = "default"): String
}

This would be reported as an error:
interface I {
    field(s: String = "default"): String
}

type T implements I {
    field(s: String): String
}

I'm not sure if we should check the default values while checking the fields, I'll figure it out.


Fix a bug in traffic randomization

What changes do you make in this PR?

Please describe why you create this PR

Checklist

[ ] I have merged the latest main branch into current branch.
[ ] I have run bash scripts/format.sh before merging.
Please use "squash and merge" mode.

Merge when tests passed!


UI theme & color scheme.

ekg has no geometry theme but only color scheme with minimal configurations for widgets, that is not an issue, just one feature very important.
Different from color scheme ekg gonna has geometry theme, each rendered rectangle inside the widgets are configured by runtime logic, whatever, this is a problem for the general design, I do not have meta to integrate a 2th hyper text language like HTML or CSS, but soon I will append JSON to create color schemes and themes.
Of course, I will implement lots of settings and features for create custom themes.

I was thinking to use LISP instead of some random binary file or txt parser.

Now EKG theme also is scheme-based type; which means you have colors as scheme and not theme. Soon EKG should add one theme system, for customize the visual model of widgets.


icingaweb2: Adjust preferences settings to store preferences in database

According to the changelog of Icinga Web 2 a user was not allowed to set the preferences to be stored in ini format since 2.9 and forced to do the migration in 2.11.
This means this change will make preferences work for current installation of 2.11 and newer and only break versions prior to 2.9, anyone who had this setting in 2.9 or 2.10 has to run the migration described in the changelog and it is very likely it was run already to be compatible.
So I did try to avoid complexity by considering this as bug fix and not a breaking change and trying to avoid it.

Thanks for the PR, will document that the value is changed for previous versions.


Add support for 1Password CLI app integration

First, I'm not sure if I'm creating the pull request correctly. Feel free to close it if not and provide some guidelines.
I've only done minimal testing within my PowerShell module, but I think the revisions should not require any existing code changes for any consumers.
Here is my OPassCliPS repo if you wanted to check it out.
Connect-OPAccount -Verbose
Get-OPSession | Format-List

VERBOSE: Attempting to discover the path to 1Password CLI.
VERBOSE: Setting 1Password CLI Path session variable.
VERBOSE: Creating 1Password session with app integration.
VERBOSE: 1Password CLI Version: 2.12.0
VERBOSE: Signing into 1Password.
VERBOSE: Retrieving connected account.
VERBOSE: Creating module cache for vaults, items, and accounts.
VERBOSE: Cache creation time: 00:03:876

CliPath              : C:\Program Files\1Password CLI\op.exe
IsAppIntegrated      : True
IsAuthenticated      : True
AuthenticatedAccount : <my account>

Connect-OPAccount -Domain $Domain -Email $Email -SecretKey $SecretKey -Password $Password -Verbose
Get-OPSession | Format-List

VERBOSE: Attempting to discover the path to 1Password CLI.
VERBOSE: Setting 1Password CLI Path session variable.
VERBOSE: Creating 1Password session without app integration.
VERBOSE: Adding account for <email address>.
VERBOSE: 1Password CLI Version: 2.12.0
VERBOSE: Signing into 1Password.
VERBOSE: Retrieving connected account.
VERBOSE: Creating module cache for vaults, items, and accounts.
VERBOSE: Cache creation time: 00:01:964

CliPath              : C:\Program Files\1Password CLI\op.exe
IsAppIntegrated      : False
IsAuthenticated      : True
AuthenticatedAccount : <my account>

I'll review the code when I have a free moment. There's a few things to address. First, the tests fail. Also, according to the documentation, I'm not sure that --force is required. Though I understand it could be useful to have in certain scenarios.

Definitely no rush and no pressure.
I agree on the --force for SignIn() and I don't recall why I thought I needed it.
If the tests are trying to run against the new SignIn(), I'm not sure how that can be accomplished.
Not that it really matters, but I just ran the same commands dotnet build --configuration Release --no-restore and dotnet test --configuration Release --no-build --verbosity normal. The latter completed, but skipped all tests. :shrug:
Enjoy your weekend. I probably won't be back to my module until Tuesday.

Because tests are run against a real account, they will only run if enabled via the environment variables declared in TestBase.cs.


Tests don't run in VS2015 Test Explorer

I followed the steps here and have EntityFramework 7 building in VS2015.
Under RunTests the instructions above note the following:

Our tests are written using xUnit.net 2.0, and can be run using your
favorite runner. We recommend either the built-in Visual Studio test
runner or TestDriven.Net.

In VS2015, executing Test > Run > All Tests results in:
------ Discover test started ------
========== Discover test finished: 0 found (0:00:00.0990702) ==========

Taking a look at Running xUnit.net tests in Visual Studio reveals that you need to:

Search for (and install) a package named xunit.runner.visualstudio

However doing so results in a failed install, for either the current stable or prerelease package;
Resolving conflicts for DNXCore,Version=v5.0...
Unable to find a version of package 'System.Dynamic.Runtime' that is compatible with version constraint '[4.0.0, )'.
Unable to find a version of package 'System.Text.RegularExpressions' that is compatible with version constraint '[4.0.10, )'.
Unable to find a version of package 'System.ComponentModel' that is compatible with version constraint '[4.0.0, )'.
Unable to find a version of package 'System.IO.FileSystem' that is compatible with version constraint '[4.0.0, )'.
Unable to find a version of package 'System.Collections.Concurrent' that is compatible with version constraint '[4.0.0, )'.
========== Finished ==========
  NotFound https://az320820.vo.msecnd.net/v3-flatcontainer/microsoft.framework.primitives/index.json 1078ms

Originally asked on stackoverflow.

+1

At this stage we are maintain code to keep test runners working. Given this we are just going to keep Test Driven .NET working (as that is what our team uses), but we would accept contributions if folks want to keep others working too.
Once things stabilize we will make other things work.

Hi. Any update on this?
I'm trying to run tests targetint to dnxcore50, but with not success until now. I've also tried with Test Driven .Net.
Thanks!
Ariel

Test Driven .NET is the runner that we use and we will ensure that it continues to work.
If you are hitting issues with Test Driven .NET then file a new issue as that should work.


Editor error after building a C# class that inherits from RigidDynamicBody3D

Godot version
v4.0.alpha.mono.custom_build [8c7be6358]
System information
Ubuntu 22.04
Issue description
When building a class that inherits from RigidDynamicBody3D, the editor starts throwing the following error over and over again:
Godot Engine v4.0.alpha.mono.custom_build (c) 2007-2022 Juan Linietsky, Ariel Manzur & Godot Contributors.
--- Debug adapter server started ---
--- GDScript language server started ---
Copying Godot Offline Packages...
  .NET: Failed to load project assembly.
  modules/mono/managed_callable.cpp:90 - Condition "delegate_handle.value == nullptr" is true.
  Can't get method on CallableCustom "Delegate::Invoke".
  core/object/object.cpp:1057 - Error calling from signal 'timeout' to callable: 'ManagedCallableMiddleman::': Method not found..
  modules/mono/managed_callable.cpp:90 - Condition "delegate_handle.value == nullptr" is true.
  Can't get method on CallableCustom "Delegate::Invoke".
  core/object/object.cpp:1057 - Error calling from signal 'timeout' to callable: 'ManagedCallableMiddleman::': Method not found..
  modules/mono/managed_callable.cpp:90 - Condition "delegate_handle.value == nullptr" is true.
  Can't get method on CallableCustom "Delegate::Invoke".
  core/object/object.cpp:1057 - Error calling from signal 'timeout' to callable: 'ManagedCallableMiddleman::': Method not found..

You cannot rebuild the project or do much of anything after that.  The only way I can make the editor usable again is by deleting the .godot/mono folder.
Note, this is with the dotnet6 merge and  using dotnet6 not mono, and the error seemed to start happening right at that merge.
Steps to reproduce
Either open the attached project and build it, or simple add the following class to an existing project:
using Godot;

public partial class SkinnedRigidBody : RigidDynamicBody3D
{

}

Minimal reproduction project
Bug.zip

Could be related to #64894? Class is called RigidBody3D again.

Ah, I didn't realize it was renamed again.  That might be the issue, although my intellisense says that the name is still RigidDynamicBody3D.  Maybe something is wrong with my build from source.

Yeah literally just git pulled from master, rebuilt, and I can't build my project with RigidBody3D:
 The type or namespace name 'RigidBody3D' could not be found (are you missing a using directive or an assembly reference?)

Here's how I'm building
scons -j$(nproc) p=linuxbsd target=release_debug use_lto=yes tools=yes module_mono_enabled=yes mono_glue=no
bin/godot.linuxbsd.opt.tools.x86_64.mono --generate-mono-glue modules/mono/glue
scons -j$(nproc) p=linuxbsd target=release_debug use_lto=yes tools=yes module_mono_enabled=yes mono_glue=yes
scons -j$(nproc) p=linuxbsd target=release_debug use_lto=yes tools=no module_mono_enabled=yes mono_glue=yes
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir ./bin

Those commands look outdated, they changed when we moved to .NET 6.0 in #64089. Take a look at the new instructions in the README.md.

The mono_glue argument has been removed.
There is no need to build the engine a second time.
You should use the --push-nupkgs-local argument to push the NuGet packages to your local repository (or you could do this step manually but I don't recommend it).

These are probably the commands you should be using (make sure you create the local NuGet repository first if you haven't done so yet):
scons -j$(nproc) p=linuxbsd target=release_debug use_lto=yes tools=yes module_mono_enabled=yes
bin/godot.linuxbsd.opt.tools.x86_64.mono --generate-mono-glue modules/mono/glue
scons -j$(nproc) p=linuxbsd target=release_debug use_lto=yes tools=no module_mono_enabled=yes
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir ./bin --push-nupkgs-local ~/MyLocalNugetSource

Ah, I thought the build_assemblies.py took care of the NuGet repository as well, I miss understood.

Yep, confirmed.  Definitely an issue with my build.
Apologies for adding noise, and thanks @raulsntos for the help.


Create github.io page

@daimajia last issue for the day hopefully! Just wanted to think about creating a github.io page. https://pages.github.com/. Let me know your thoughts.

Good idea!

I'm currently working on contributors.md file. I think I need some pictures of every contributor.


feat: solving magic sequence problem with backtracking

Description of Change
Solving magic sequence problem with a backtracking.

Thank you for these improvements :)

Thank you for all the improvements proposed and this dynamic in the proposals.


Name of modaction.py does not match naming schemes

The file praw.models.modaction goes against the naming convention of snake_case. Should this be ignored or renamed to mod_action to match the naming convention?

Renaming it would require a major version change, which is fine. We should move it in a backwards compatible way first to give anyone who imports directly from modaction notice, and we can clean up the backwards compatible part before the next major version bump. Thoughts?

I think setting up a warning in modaction should be acceptable. Rename modaction to mod_action, then add this line to modaction.py:
import warnings
from .mod_action import *
warnings.warn("The name modaction has been deprecated. Please import modaction as mod_action. This feature will be removed on the next major version release.", DeprecationWarning, stacklevel=2)

Sounds great. There is specifically DeprecationWarning which you can use: https://docs.python.org/3/library/exceptions.html#DeprecationWarning

Sounds great. There is specifically DeprecationWarning which you can use: https://docs.python.org/3/library/exceptions.html#DeprecationWarning

That's what I did

Resolved.


support python 3

Would it possible to extend it to support python 3? For example, I cannot install pygco using
conda install -c mjirik pygco
in python 3. Thanks for your help.

pygco install is little bit tricky. I am going to work on it during christmass.

@mjirik seems like the package has been updated a lot. Just curious if it is fully compatible with python 3 now?

Yes you are right. It is now compatible with python3


Create catdrout.pages.dev.md

Sorry, but this website cannot be added since it falls under the "ultra lite" classification. Thanks!


patch renovate config per conversation in WG

Changes
extra changes for #931

Migrated these changes to #931


Adding ids in pagination elements.

I'm submitting a ... (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

Expected behavior

Reproduction of the problem

What is the motivation / use case for changing the behavior?
Currently, we are using ngx-datatable for displaying data. We are also using pagination and we have unit tests and QAs write automation tests. It's better to practice to use ids in tests, so that's the reason why we want you to add some ids in pagination.
For example

Please tell us about your environment:

Table version:

"@swimlane/ngx-datatable": "~19.0.0",

Angular version:

"@angular/core": "~10.2.4",

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]
TypeScript - "typescript": "3.9.7",

is this implemented?


Notebook Crashes when loading model to CUDA

Is this a new bug?

[X] I believe this is a new bug
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Hi, I was executing your notebook, but somehow my Kernel crashes every time I try to load the model. I am using an NVIDIA GeForce RTX 4090 GPU. The point at which it crashes -

from torch import cuda, bfloat16
import transformers

device = f'cuda:{cuda.current_device()}' if cuda.is_available() else 'cpu'

model = transformers.AutoModelForCausalLM.from_pretrained(
    'mosaicml/mpt-7b-instruct',
    trust_remote_code=True,
    torch_dtype=bfloat16,
    max_seq_len=2048
)
model.eval()
model.to(device)
print(f"Model loaded on {device}")

I am using the latest version of the transformers library and the model checkpoint. I have also ensured that all the dependencies are up to date.
Any assistance would be greatly appreciated. Thank you!
Expected Behavior
Model should get loaded on CUDA
Steps To Reproduce
Ran it as the same way as your code.
If possible can you confirm if you were using Colab Pro?
Relevant log output
No response
Environment
- **OS**: Ubuntu
- **Language version**: Python3

My System Specs -
NVIDIA GeForce RTX 4090
PyTorch -2.0.1,
Cuda 11.7

Additional Context
No response

the same is happening to me

Hello, it appears that your instance lacks sufficient RAM capacity to load the entire model into memory. To resolve this, you can execute our notebooks using Google Colab with a modified Runtime Environment. I recommend setting the Hardware accelerator to GPU, selecting T4 as the GPU type, and configuring the Runtime Shape to "High RAM."
If the issue persists, consider running the notebook on a larger GPU instance.


python3Packages.jaxlib build failure on x86_64-linux as of f804cc93

Issue description
Build of python3Packages.jaxlib failed on x86_64-linux as of f804cc939d80186b72506f5b23fe9f1e4764a1f4. This is currently breaking python3Packages.jax.
error: builder for '/nix/store/38d2pgiggaq0fkzw0zjhklr8prg6vqz5-bazel-build-jaxlib-0.4.4.drv' failed with exit code 1;
       last 10 log lines:
       > [9,683 / 9,945] Compiling external/nccl_archive/src/collectives/device/sum_bf16_reduce.cu.cc; 3s local ... (2 actions, 1 running)
       > [10,295 / 10,476] Compiling external/nccl_archive/src/collectives/device/min_f64_all_reduce.cu.cc; 4s local ... (2 actions, 1 running)
       > ERROR: /build/output/external/mkl_dnn_v1/BUILD.bazel:146:11: Linking external/mkl_dnn_v1/libmkl_dnn.pic.a failed: (Exit 1): ar failed: error executing command /nix/store/bkk2qvbp0qpsmpy8g6xyc9kv08pzq5vx-gcc-wrapper-11.4.0-merged/bin/ar @bazel-out/k8-opt/bin/external/mkl_dnn_v1/libmkl_dnn.pic.a-2.params
       > Target //build:build_wheel failed to build
       > Use --verbose_failures to see the command lines of failed build steps.
       > INFO: Elapsed time: 11918.637s, Critical Path: 141.97s
       > INFO: 10894 processes: 4844 internal, 6050 local.
       > FAILED: Build did NOT complete successfully
       > FAILED: Build did NOT complete successfully
       >
       For full logs, run 'nix log /nix/store/38d2pgiggaq0fkzw0zjhklr8prg6vqz5-bazel-build-jaxlib-0.4.4.drv'.
error: 1 dependencies of derivation '/nix/store/kyx34zdavxw7f9wgllmj0pdysmrr29b5-python3.10-jaxlib-0.4.4.drv' failed to build
error: 1 dependencies of derivation '/nix/store/z1xpyvvnf4jy1sb78h6nhyf7vzcdmmwg-python3.10-jax-0.4.5.drv' failed to build

full build log
python3Packages.jax maintainers cc: @samuela
python3Packages.jaxlib maintainers cc: @ndl
Other cc: n/a
Steps to reproduce

Checkout nixpkgs at commit f804cc939d80186b72506f5b23fe9f1e4764a1f4
Run nix-build -A python3Packages.jaxlib

Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.0-1041-azure, Ubuntu, 22.04.2 LTS (Jammy Jellyfish), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.16.1`
 - nixpkgs: `/nix/store/hh5wjf6d3cc0hy322sqkl7xdlq2dfqd2-source`

Contents of ~/.config/nixpkgs/config.nix:
{ allowUnfree = true; cudaSupport = true; cudaCapabilities = ["8.0"]; }

Misc.
This issue was automatically generated by nixpkgs-upkeep.

CI workflow that created this issue.
Internal tags: -1745416731332549277<PHONE_NUMBER>509130568

appears to be a dup of https://github.com/NixOS/nixpkgs/issues/243763


Kanban Board Review

Link to the Kanban Board
We are a group of 2 members
Me @misalazeem and
Emmanuel @musangamfure
We have set up the kanban board, and assigned our individual tasks.
Awaiting feedback.
Warmest Regards,

STATUS: APPROVED :green_circle: :clap:
Hello Team🙋♂,
Your project is complete!  There is nothing else to say other than... Great job 👏

Congratulations! 🎉
TO HIGHLIGHT:

Assigned group task to both team members ✔
The tasks are evenly distributed ✔

Now you can merge this branch and move on :1st_place_medal:
Optional suggestions
N/A
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
HAPPY CODING AND GOOD LUCK WITH THE COMING ONES :crossed_fingers: :four_leaf_clover:


uninitialized constant RSpec::Core::ExampleGroup::MetadataHashBuilder

I love the concept of this gem!  I don't like that cucumber steps are globally available to all cucumber features, thus I came looking for a solution like this.... It doesn't run, though.  Here's what I get:
$ bundle exec rake spec:request --trace
rake aborted!
uninitialized constant RSpec::Core::ExampleGroup::MetadataHashBuilder
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:4:in `<class:ExampleGroup>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:3:in `<module:Core>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:2:in `<module:RSpec>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.6.4/lib/rspec/core/example_group.rb:1:in `<top (required)>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rspec-steps-8911ed644d53/lib/rspec-steps/duckpunch/example-group.rb:1:in `<top (required)>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rspec-steps-8911ed644d53/lib/rspec-steps/duckpunch/object-extensions.rb:1:in `<top (required)>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rspec-steps-8911ed644d53/lib/rspec-steps.rb:1:in `<top (required)>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `require'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `each'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `block in require'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `each'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `require'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler.rb:120:in `require'
/home/trevor/work/yc/config/application.rb:7:in `<top (required)>'
/home/trevor/work/yc/Rakefile:5:in `require'
/home/trevor/work/yc/Rakefile:5:in `<top (required)>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:495:in `raw_load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:78:in `block in load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:77:in `load_rakefile'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:61:in `block in run'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/bin/rake:32:in `<top (required)>'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `load'
/home/trevor/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `<main>'

I had the same problem running it with spork, but with a different trace, obviously.

Hey Trevor,
Thanks for the bug report!  Not to be all "works for me" but we use rspec-steps in all our projects, so I can assure you, it does work.  It's possible that there's a problem with rspec-2.6.4 in particular.  Have you tried it under 2.7?  (I need to get around to doing integration testing with 2.8... sigh.)  The fact of the matter is that RSpec makes it really hard to extend ExampleGroup, and different versions change the internals a lot.
Also, can I ask why you're using the git version of the gem?  It should work best included as just "gem 'rspec-steps'"
Finally, the best bet for debugging this would be if I can see your project... is there any chance of that?

I'm assuming this is on a project you couldn't add me as a viewer on?

Correct.  Can you see the rspec-steps-test project?  It should be the same error.

I can, and I get that error on generate - I'll see what I can find.

Okay, seems that there was a load order issue, and that rspec-core's rspec/core/example-group does not itself require all the files it needs.  Have changed rspec-steps and bumped the gem version number.  Seems to work in your test app.

Works in my full app as well.  Thanks!  (Doesn't work with rspec 2.8, but that's totally fine)


[Provider] Add Ollama models

Docs: https://github.com/jmorganca/ollama/blob/main/docs/api.md

Hey @vrushankportkey , I would like to work on this issue. Can you assign it to me?

Thank you, @sajdakabir - assigned to you. We are just prepping to start accepting contributions, and will shortly add docs on how to add providers to Rubeus.
You can join our Discord to stay updated.
Cheers!

Any progress on this?, I use ollama to host all my local models.

Actively working on this! Will have it in ~1-2 weeks

Continuing #184 here. Assigning this issue to @csgulati09


Merge master into nimmo-graphql-experiments branch

This PR is mostly so i can figure out what all i've changed on the branch nimmo-graphql-experiments, and keep the branch up to date with master

Ah - this needs to wait until the other two are merged.

Should I go ahead and merge them and push them out now?  I'm stretched very
thin and have only a dim grasp of which PRs are ready to be merged.  So
just tell me what to do and I'll do it!
On Mon, Jan 17, 2022 at 1:55 PM andrew nimmo @.***>
wrote:

Ah - this needs to wait until the other two are merged.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/822#issuecomment-1014815105,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNMMEWQUUV5BFZSLUM3UWRQYXANCNFSM5MDYXLLA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

No thanks!
Well actually, i believe the credentials one should be mergeable without any further ado, but I want to write the test for the new rss_log.detail the way you laid out. Just making a note to myself there.
I started trying to merge master into this branch and realized there were conflicts that were about to be resolved. Didn't want to command-line-resolve the same conflicts twice.

Okay, I'll do the credentials now.
On Mon, Jan 17, 2022 at 2:41 PM andrew nimmo @.***>
wrote:

No thanks!
Well actually, i believe the credentials one should be mergeable without
any further ado, but I want to write the test for the new rss_log.detail
the way you laid out. Just making a note to myself there.
I started trying to merge master into this branch and realized there were
conflicts that were about to be resolved. Didn't want to
command-line-resolve the same conflicts twice.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/822#issuecomment-1014841090,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNOKUCXYDZTTAPWSJ5DUWRWGTANCNFSM5MDYXLLA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Sorry, I can't.  Github isn't working for me right now.  But I was able to
get as far as seeing that all this PR does is add a single file -- the
encrypted credentials file.  Fair enough!  That could scarcely be more
innocuous. :)  So I'll merge that as soon as I get github to work for me
again.
On Mon, Jan 17, 2022 at 2:43 PM Jason Hollinger @.***> wrote:

Okay, I'll do the credentials now.
On Mon, Jan 17, 2022 at 2:41 PM andrew nimmo @.***>
wrote:

No thanks!
Well actually, i believe the credentials one should be mergeable without
any further ado, but I want to write the test for the new rss_log.detail
the way you laid out. Just making a note to myself there.
I started trying to merge master into this branch and realized there were
conflicts that were about to be resolved. Didn't want to
command-line-resolve the same conflicts twice.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/822#issuecomment-1014841090,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYTNNOKUCXYDZTTAPWSJ5DUWRWGTANCNFSM5MDYXLLA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

I'll do it.
On Mon, Jan 17, 2022 at 12:08 PM Jason Hollinger @.***>
wrote:

Sorry, I can't. Github isn't working for me right now. But I was able to
get as far as seeing that all this PR does is add a single file -- the
encrypted credentials file. Fair enough! That could scarcely be more
innocuous. :) So I'll merge that as soon as I get github to work for me
again.
On Mon, Jan 17, 2022 at 2:43 PM Jason Hollinger @.***> wrote:

Okay, I'll do the credentials now.
On Mon, Jan 17, 2022 at 2:41 PM andrew nimmo @.***>
wrote:

No thanks!
Well actually, i believe the credentials one should be mergeable without
any further ado, but I want to write the test for the new rss_log.detail
the way you laid out. Just making a note to myself there.
I started trying to merge master into this branch and realized there
were
conflicts that were about to be resolved. Didn't want to
command-line-resolve the same conflicts twice.
—
Reply to this email directly, view it on GitHub
<
https://github.com/MushroomObserver/mushroom-observer/pull/822#issuecomment-1014841090
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAYTNNOKUCXYDZTTAPWSJ5DUWRWGTANCNFSM5MDYXLLA

.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/822#issuecomment-1014854858,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDFBA4UG263D7M6ASGJDUWRZNNANCNFSM5MDYXLLA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Done.
On Mon, Jan 17, 2022 at 12:15 PM Joseph Cohen @.***> wrote:

I'll do it.
On Mon, Jan 17, 2022 at 12:08 PM Jason Hollinger @.***>
wrote:

Sorry, I can't. Github isn't working for me right now. But I was able to
get as far as seeing that all this PR does is add a single file -- the
encrypted credentials file. Fair enough! That could scarcely be more
innocuous. :) So I'll merge that as soon as I get github to work for me
again.
On Mon, Jan 17, 2022 at 2:43 PM Jason Hollinger @.***> wrote:

Okay, I'll do the credentials now.
On Mon, Jan 17, 2022 at 2:41 PM andrew nimmo @.***>
wrote:

No thanks!
Well actually, i believe the credentials one should be mergeable
without
any further ado, but I want to write the test for the new
rss_log.detail
the way you laid out. Just making a note to myself there.
I started trying to merge master into this branch and realized there
were
conflicts that were about to be resolved. Didn't want to
command-line-resolve the same conflicts twice.
—
Reply to this email directly, view it on GitHub
<
https://github.com/MushroomObserver/mushroom-observer/pull/822#issuecomment-1014841090
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAYTNNOKUCXYDZTTAPWSJ5DUWRWGTANCNFSM5MDYXLLA

.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/822#issuecomment-1014854858,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDFBA4UG263D7M6ASGJDUWRZNNANCNFSM5MDYXLLA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks Joe!


A simple question about BRATS challenges

Hello, Kamnitsask:
I am a beginner about this area. I use the following code to read the BRATS challenges data, but I do not know how to convert those files to the form of your example, because I do not know how to access the different part of the 'xxx.mha' files, especially I do not know how to fetch the ground truth information.

Consequently, can you guide me to solve this simple problem! It's better,if you can provide some script about process of the BRATS 'xxx.mha' file. Then we can study the important pipeline, which is useful for lots of beginners like me. Do not need to worry about such script can no run on our devices, we can study the idea by reading the code.
Thanks for your help!

Hi,
You are correctly accessing the image contents.
The ground truth segmentation is a completely separate file. Look for it in the folder with your brats data.
mha to nii.gz conversion scripts pushed at (https://github.com/Kamnitsask/imgProcessingScripts) for your reference (wont be supporting them, just for reference).
I cannot be providing support here for data processing and manipulation here, sorry. I am trying to keep up with deepmedic's technical issues, which this part is for. Please consult documentation of relevant libraries such as sitk/itk. There are quite some resources online.
Kind regards,
Kostas

Hello, Kamnitsask:
Thanks for your help and I have found the ground truth files.


[CI/Build] Refactor image test assets

This PR makes it a bit more convenient to use test images by organizing related methods into a new class (ImageAsset).

@DarkLight1337 Do we still want this in? IMO now that we're moving towards the direction of #5852, we should leave this refactor for later. WDYT?

Even after #5852, this PR would still simplify the code. Since #5852 will not make it into the upcoming release, let's merge this first.


custom postgres serialization for BigInt (and other custom types)

We curerntly have to manually convert non-primitive types to suitable primitive types before passing them to postgres. Exanmple: #272 and BigInt. This is error-prone. Check what is required by our db library to convert types automatically.
IIRC the customization might need to be particularly verbose when there's a custom type on the postgres side also (such as our UINT_NUMERIC).

This was done in https://github.com/oasisprotocol/nexus/pull/297


Strange sorting by date

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to https://archive.thedatadungeon.com/unreal_1998.html
Click on the "Date" header to sort ascending by date
The files are sorted somewhat by their date, but not always. E.g. "1995-12-06 => 1995-09-28 => 1995-11-23", "1997-06-17 => 1997-05-24 => 1997-05-25" and "1999-05-01 => 1999-05-27 => 1999-05-01"

Expected behavior
The list should be sorted by the date.
Screenshots

Desktop (please complete the following information):

OS: Mac OS X
Browser Firefox, Safari
Version 113.0.1 (Firefox), 12.1.2 (Safari)

Thanks, I'll check this out over the weekend :+1:

I looked a bit into it, and it's probably because to determine the sort function, sorttable.js looks through all values in a column and checks if they're numeric or one of several date formats (not yyyy-mm-dd though); see function guessType.
Because there's an entry "1996", and because yyyy-mm-dd isn't a supported date format, the column type is determined to be numeric. So the column is effectively sorted only by the year.

Fixed!


Feature/consttypecheck

You can no longer assign values to constant variables in STEP.
Fully tested (1 test)

 Constant variables should not be assigned to (typechecking)


Have name safe generated fields for queries

Would be nice to have something like https://github.com/cmelchior/realmfieldnameshelper, compatible with realm-kotlin, so we know at compile time something is not ok in queries with RQL.

Hi @ganfra. Thanks for the input. We are considering various ways to provide better assistance for doing safe queries. While an IDE plugin is certainly an option we will most likely focus on building a type safe infrastructure offering support like https://github.com/realm/realm-java/blob/master/realm/realm-library/src/main/java/io/realm/RealmQuery.java though the API probably will be different.


Add support in SILLoop::canDuplicate for PartialApplyInst.

Which may also generate stack allocations.

@swift-ci test

@swift-ci benchmark

Performance: -O

Improvement
OLD
NEW
DELTA
RATIO

FlattenListFlatMap
5008
4338
-13.4%
1.15x (?)

Code size: -O
Performance: -Osize

Improvement
OLD
NEW
DELTA
RATIO

ObjectiveCBridgeStubToArrayOfNSString2
2860
2620
-8.4%
1.09x (?)

PrefixCountableRange
14
13
-7.1%
1.08x (?)

Code size: -Osize
Performance: -Onone

Regression
OLD
NEW
DELTA
RATIO

ArrayAppendGenericStructs
630
1550
+146.0%
0.41x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB


Baykok model progress

It is time I begin progress on the model for baykok.
I'm thinking of basing his design off of the one for Shin Megami Tensei, but, there might be better designs.
Progress will begin on the weekend, there is some stuff I must do during the week.

Looking on DA for ideas...
http://genzoman.deviantart.com/art/Baykok-436658322
http://adm-james.deviantart.com/art/Baykok-205848588
http://garylaibart.deviantart.com/art/Alphabestiary-Baykok-187773556
I think one of these three might work better for a possible design than the one from Shin Megami Tensei, as it has a rather weird color scheme.

Certainly something similar to a skeleton. With his bow it would fit into the game ^^

https://www.dropbox.com/s/bmpgpo4r95zuoyo/Screenshot 2016-01-28 01.43.00.png?dl=0
Never skip leg day. Still a work in progress, I'm starting from the bottom, and working my way to the top, as I want it to be similar to larger skeletal mobs, such as say, the Mutant Skeleton from Mutant Mobs.

I'll port it to Tabula once the model is finished, and work on the texture maps there.

I also have a design in mind. Basically, something like this:
http://adm-james.deviantart.com/art/Baykok-205848588
However, there would be a few variants used throughout combat. He will switch to his club for melee attacks, and switch to bow for ranged attacks.

Would I need to model the bow too, or do you have that covered already?

I have that covered. But guess I would need textures for the bow item.
Right now he only uses hix bow. Not sure if I can make him do both at once in a sensible way.

Why not a bash attack with the bow?

Well, I got the start of the torso, but, I think it looks crummy so far. I'll take pictures later.
Large skeletal figures are hard, though I do have a weird idea to get the appearance of translucent skin.

https://www.dropbox.com/s/upg2of1i4sq2lft/Screenshot 2016-01-31 21.28.52.png?dl=0
Here is the torso so far. Any advice? I have not begun on other parts of the body. I think I need some more input.

I guess he should have ribs as well, and the spine a bit more in the back.
Kinda difficult to judge when the textures and the translucency are not there yet ^^

I won't be able to continue Baykok today. My room has an ant infestation. :/

o.O
well...no need to hurry

Well the ants have been dealt with. But irregardless, I've been sleeping poorly. Again.

Crap I forgot about continuing it. I'll see about working on the ribs within the next few days.
 However, the model was not lost.

I realize it is not needed right away, but, I will model the boss some more this weekend.

Alright. And I will be less busy next week.

Might not have enough time to do the model today, hopefully tomorrow I will. Stuff came up.

https://www.dropbox.com/s/79p8unjxjx3zsbf/Screenshot 2016-02-14 10.07.17.png?dl=0 Working on it, slowly.

This model will take some time, due to the complexities associated with it.

For now, I am ditching most of the rotation and offset shenanigans just so I can try and get the basic body shape.

Looks okay so far

https://www.dropbox.com/s/lm1yetlcoa42vlb/Screenshot 2016-02-16 15.47.58.png?dl=0
I think I will go with an emaciated look as opposed to fully skeletal, as pulling that off would be far too complicated.

However, translucency might still be in my grasp.

I'm going to start on the head.
https://www.dropbox.com/s/q9k79d869fle2vx/Screenshot 2016-02-20 18.13.14.png?dl=0
oh god why

https://www.dropbox.com/s/0uycghgk6rv5hxu/Screenshot 2016-02-20 18.14.18.png?dl=0 A bit better.

I'm going to do some heavy tweaking before I start on the texture map, and also I need to create the bow model.

Looks okay so far
A bow texture would also do instead of a detailed model. That might look a bit out of place next to Minecraft's regular bow.

 Also, when I get my sleep on track, are you going to handle the rendering of the item in hand, or should I create a 16x16 polygon or something in his hand for the item? I have the basic body plan set up, and I'm now going to tweak it heavily once I get my sleep together.

I'm going to handle the item rendering

I was planning to put Baykok into the next release but I guess this will still take a while

Alright, my sleep is just getting back on track. Sorry.

Also, I am building the texture map.

Texture map has been built. Final tweaking will begin in tabula tomorrow, followed by the addition of any other parts that need to be added. Afterwards, onwards, to texturing!

I'll begin this weekend, my sleep is still a bit flaky. In addition, I probably won't have time this week. I just had to fix a server using my modpack because primitive mobs screwed up attempting to despawn a mob.

Can someone take on finishing up the model and texture for me? I'm feeling mentally exhausted as of late, and I need a break for a little bit to get myself together.
https://www.dropbox.com/s/lusjiuwym51g05n/baykok.zip?dl=0
Some info regarding the model can be found in that zip file.

Since I have no other choice, I will keep this model at least for now.
I'm currently experimenting with making the skin translucent and adding bones.

I think this effect looks pretty cool

Looks like the boss is mostly done it seems. Closing for now, unless I need to redo it.


terminal info message.

D/CameraStateMachine( 3932): New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null
D/CameraStateMachine( 3932): Publishing new public camera state CameraState{type=CLOSED, error=null}
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_OPEN for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_ACTIVE for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_IDLE for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_OPEN for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_ACTIVE for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_IDLE for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_OPEN for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_ACTIVE for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_IDLE for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_OPEN for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_ACTIVE for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_IDLE for client com.samsung.adaptivebrightnessgo API Level 2
I/CameraManagerGlobal( 3932): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.samsung.adaptivebrightnessgo API Level 2

When developing, if I leave app open scanner is closed(it's on another screen).  This messages print every second. Am I forgetting to clean something or is this normal?

I am seeing this as well. In the 'state' of the stateful widget where I am calling MobileScanner, I added an override for dispose, and called _controller.stop(). Even that didn't help.

I also see some messages every 10-15 seconds when I change screen after scan a QR
D/TransportRuntime.SQLiteEventStore( 4699): Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
 D/TransportRuntime.JobInfoScheduler( 4699): Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...

As stated in the bellow thread
It's just bloated by Samsung software.
What you see is a log of com.samsung.adaptivebrightnessgo leaking into your application log.
https://security.stackexchange.com/questions/238949/is-my-android-phone-camera-hacked


after reboot the push queue gets cleaned out

on 20F after a FW update the push queue got completely reset. Need investigate what happened.

moved the push queue to persistent storage


DropdownMenu is failing on Popper

Issue description

version "reactstrap": "next",
components: DropdownMenu
react version   "^16.0.0",

DropdownMenu is failing on "Popper" library:
import {Dropdown, DropdownMenu, DropdownItem} from 'reactstrap'
  <Dropdown sOpen={isFilterOpen} toggle={toggleFilter}>    <a onClick={toggleFilter}>            Click   </a>      <DropdownMenu className='dropdown-menu-right' style={{width: "220px"}}>            <DropdownItem>                 Element             </DropdownItem>         </DropdownMenu>   </DropdownMenu>
When i click on element And i'm getting:
`popper.js:2325 Uncaught TypeError: Cannot read property 'jquery' of undefined
at new Popper (popper.js:2325)
at Popper._createPopper (Popper.js:173)
at Popper._updatePopper (Popper.js:152)
at Popper.componentDidMount (Popper.js:129)
at commitLifeCycles (react-dom.development.js:11505)
at commitAllLifeCycles (react-dom.development.js:12294)
at HTMLUnknownElement.callCallback (react-dom.development.js:1299)
at Object.invokeGuardedCallbackDev (react-dom.development.js:1338)
at invokeGuardedCallback (react-dom.development.js:1195)
at commitAllWork (react-dom.development.js:12415)
Popper @ popper.js:2325
_createPopper @ Popper.js:173
_updatePopper @ Popper.js:152
componentDidMount @ Popper.js:129
commitLifeCycles @ react-dom.development.js:11505
commitAllLifeCycles @ react-dom.development.js:12294
callCallback @ react-dom.development.js:1299
invokeGuardedCallbackDev @ react-dom.development.js:1338
invokeGuardedCallback @ react-dom.development.js:1195
react-dom.development.js:8305 The above error occurred in the  component:
in Popper (created by DropdownMenu)
in DropdownMenu (at Header.js:61)
in div (created by Manager)
in Manager (created by Dropdown)
in Dropdown (at Header.js:52)
in li (at Header.js:51)
in ul (at Header.js:50)
in header (at Header.js:35)
in Header (created by Connect(Header))
in Connect(Header) (created by Route)
in Route (created by withRouter(Connect(Header)))
in withRouter(Connect(Header)) (at HomeContainer.js:19)
in div (at HomeContainer.js:18)
in Home (created by Connect(Home))
in Connect(Home) (at WrapHome.js:7)
in WrapHome (at Menu.js:58)
in main (at PrivateRoute.js:11)
in Route (at PrivateRoute.js:6)
in PrivateRoute (at App.js:34)
in Switch (at App.js:32)
in div (at App.js:30)
in Router (created by BrowserRouter)
in BrowserRouter (at App.js:28)
in App (created by Connect(App))
in Connect(App) (at index.js:14)
in Provider (at index.js:13)
`

You need to use DropdownToggle for the element which the DropdownMenu will "attach" to when it opens. You can still style it the way you have it and output an <a> by using tag="a" on DropdownToggle like this (though, I would recommend not using tag="a" since semantically it identifies a navigatable link):
import {Dropdown, DropdownMenu, DropdownItem, DropdownToggle} from 'reactstrap'

// ....

<Dropdown sOpen={isFilterOpen} toggle={toggleFilter}>
  <DropdownToggle tag="a"> Click </DropdownToggle>
  <DropdownMenu right style={{width: "220px"}}>
    <DropdownItem> Element </DropdownItem>
  </DropdownMenu>
</Dropdown>

//....

Note: DropdownMenu has a prop right which when set tells the menu to open to the right. There is no need to add the class manually. In fact, doing it manually will not work so great as the prop is used to help popper.js's placement

@TheSharpieOne
Thank you very match for you help, it helped me,
P.S. Iit was the quickest answer on github in my life :)


Microsoft Edge 13 is already published

And upcoming version of Microsoft Edge should be Edge 14. I think the reason caused this is this error occurred on Edge from html5test.com:

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY timestamp DESC LIMIT 100' at line 7

HTML5test will be updated soon. Please see bug #447 for more information.


Nuget Cryptography dependency

Hi,
When I try and install via nuget in VS2017 Community I get an error about Cryptography dependency.  Am I missing something?
Attempting to gather dependency information for package 'Imgix-CSharp.1.0.1' with respect to project 'cightedfrontendwebforms', targeting '.NETFramework,Version=v4.6.1'
Gathering dependency information took 8.36 sec
Attempting to resolve dependencies for package 'Imgix-CSharp.1.0.1' with DependencyBehavior 'Lowest'
Install-Package : Unable to resolve dependency 'Cryptography'. Source(s) used: 'nuget.org', 'Microsoft Visual Studio Offline Packages'.
At line:1 char:1
+ Install-Package Imgix-CSharp
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Thanks
Dean

I am seeing the same issue. Just wanted to upvote it for exposure.

Hi @deansilkyocean, @enghch
I published v1.0.2 which removes Cryptography dependency. Can you guys confirm if it's working now?
Thanks!


Title screen

Always nice to have a title screen in English.  Also the buttons for New Game, Continue, and Delete.
-[Unknown]

Image insertion is now supported in df29bdc.
-[Unknown]


proceed to enact and set clock if pumphistory-zoned is in the future

If the time of a rig running without SMB doesn't sync on boot-up and is therefore reading way in the past, the monitor/pumphistory-zoned.json file will be way in the future (2017 vs. 1969/1970), which causes refresh_pumphistory_and_enact to think nothing needs to be done, and thereby never gets to the grep incorrectly enact/suggested.json && oref0-set-system-clock 2>/dev/null line in the enact function.  This should force it to consider as "old" a future-dated pumphistory-zoned.json and proceed with the loop.
To test, boot up a non-SMB rig without Internet while watching pump-loop.log on console, and verify that you see it proceed to try to re-sync NTP and then set the system clock from the pump clock when that fails.

Ready to merge this to dev for further testing there.


Need help with having a fixed navbar on a page with Parallax

I have a navbar that sits outside of Parallax. Currently, I am seeing two scroll bars appear on my browser with my navbar and the parallax section. Is it possible to have a navbar under Parallax that can stay fixed up top while the rest of the page scrolls down?

Here is the issue:

Could you pour that into a codesandbox? Would be easier to inspect.

Hey, apologies for the delay, I was away from computers for a while haha.
Here's the issue I am talking about:
https://codesandbox.io/s/6xv24w613

On chrome developer tools, if you switch that to a mobile view, you'll see that the jumbotrons would overlap. I am pursuing a solution where I could figure out what  the viewport is, and based on that, change the number of pages, and offset dynamically. Does that sound like an overkill for this one?

yep, i think there's nothing else you can do. offset/parallax works with precise deltas, and once content keeps on pushing stuff out of a 100vh it will overlap. especially lengthy text content is hard to control responsively.


Sash highlight isn't working on panel and sidebar when hovering their intersection

I think it used to, now it only happens when clicking:

I also noticed this last Friday and fixed it then: https://github.com/microsoft/vscode/commit/fe160b35e58209de2fa5f3c6847385f9baf1d527


simpler name for TkPrevious cookie

Let's make it shorter

@rultor merge tag is 1.11.1

@rultor merge tag is 1.11.1

@yegor256 It is an issue, not a pull request

@rultor merge tag is 1.11.1

@yegor256 I'm sorry, I don't understand you :( Check this page and try again please

@rultor release, tag is 1.11.1

@rultor release, tag is 1.11.1

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 1.11.1

@yegor256 Done! FYI, the full log is here (took me 11min)


Could not load file or assembly System <IP_ADDRESS> on UWP Universal Windows

I'm getting following Exception when trying to use it in a UWP Universal Windows (Windows 10) project:
{"Could not load file or assembly 'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089"}
Thanks

Can you download the demo and try to run it?

You may have to load the render assembly:
var rendererAssemblies = new[]
                {
                typeof(CarouselViewRenderer).GetTypeInfo().Assembly
                };

                Xamarin.Forms.Forms.Init(e, rendererAssemblies);

               CarouselViewRenderer.Init();

Did this solved the issue?

Thank you all for the replies.
It was apparently a strange issue. I tried to run the demo and I had to install the Build 10240. I also had to uninstall Xamarin Forms Nuget Package and reinstall it again. Finally, it did work.
Thanks and best regards,
David

If my work is helping you, please help me back: https://xamarinhq.wufoo.com/forms/nominate-a-xamarin-mvp/

This is what i have done that is community visible:

Alex has been pretty active sharing his knowledge and answering questions in StackOverflow, GitHub and Xamarin Forums.
Alex has been open sourcing Xamarin components and plugin with the community, with more of 10 repositories being maintained on GitHub.
One of Alex's Xamarin.Forms plugin, the CarouselView, is currently being pulled into the Xamarin.Forms core (xamarin/Xamarin.Forms#853). As an stable widget, this control has become the standard for Xamarin.Forms carousel screens with more that 16K downloads in NuGet and more than 100 solved and not open issues.
Another Alex's plugin, the SegmentedControl (https://github.com/alexrainman/SegmentedControl), is a big candidate to be also pulled into Xamarin.Forms core.
Plus Xamarin.Forms UI related plugins, Alex shares plugins to set app icon Badge, Google Analytics and KeyChain access.
Alex shares his knowledge about cutting edge technologies like Couchbase NoSQL and MobileIron integration with Xamarin Apps.


rocm4.3 perf db update

All of ConvHipImplicitGemmBwdDataV4R1Xdlops -- MI-100 only
900_56, 906_60, 908_120:
http://ontrack-internal.amd.com/browse/SWDEV-255703
http://ontrack-internal.amd.com/browse/SWDEV-257619
http://ontrack-internal.amd.com/browse/SWDEV-270558
http://ontrack-internal.amd.com/browse/SWDEV-256787
navi: resnet50, ssd

@cderb Does this PR resolves http://ontrack-internal.amd.com/browse/SWDEV-256787? I had an impression that it can be resolved by updating the find-db.

@cderb Does this PR resolve http://ontrack-internal.amd.com/browse/SWDEV-256787? I had an impression that it can be resolved by updating the find-db.

I think that will require an update to the find-db as well. The associated algorithms from the configs defined by 256787 have been re-tuned in this PR as a pre-requisite for find-db.

@cderb  Thanks. PR description and title updated.

@cderb Our CI does not have gfx1030 nodes. I do not have gfx1030 nodes available either so I am unable to test it as well. Could you please outline (in the PR decsription) how this PR was tested with gfx1030? Thanks.


NfcManager is undefined (Android)

Hi @whitedogg13,
Thanks for all your work on this, I'm excited to start using it.  I've tried both your sample app and building some code into my own app and I'm seeing an issue where NfcManager is undefined:
import NfcManager, {NdefParser} from 'react-native-nfc-manager';

export default class Login extends React.Component {
  componentDidMount() {
    NfcManager.isSupported().then((isSupported) => Alert.alert(isSupported));
  }
}

When I run this app, I get this error:
TypeError: Cannot read property 'isSupported' of undefined

Any idea what I might be missing?

Hi, thanks for adapting this library!
Regarding your issue, do you remember to link the native part of this library? (ex, either by react-native link react-native-nfc-manager or by manually link)

Yes, I ran the link command and I see this in settings.gradle:
include ':react-native-nfc-manager'
project(':react-native-nfc-manager').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-nfc-manager/android')

I also had to add it to my build.gradle file as a dependency to get it to build on Android:
dependencies {
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
    compile project(':react-native-navigation')
    compile project(':react-native-nfc-manager')
}

Hi, sorry for the late response. We're still in Chinese New Year^^
Regarding this issue, I just test it again but I still cannot reproduce it.
My flow is simple, I create a new RN project with react-native init and then install / link this library. After that, I use the example App.js, and it works correctly.
Can you help to check whether NfcManager or NativeNfcManager is undefined?

NfcManager is undefined: it should NEVER happen, since this lib is nothing more than a standard node_module. If this is the case, the issue might be:

please check whether your node_modules/react-native-nfc-manager is missing? Does it have correct structure (maybe you can simply compare to the repo) ?
please check if you have ever use npm link to cause npm to try to resolve react-native-nfc-manager to somewhere else?

NativeNfcManager is undefined: means the library is not properly linked, we can do more test to see where's wrong.

Thanks!

No problem at all, gong xi fa cai!
I've been able to further classify the issue.  If I begin a new react-native project and start with just react-native-nfc-manager, everything works perfectly.  It's when I pull in react-native-navigation that the NFC manager stops working.  This is the install procedure I'm following: https://wix.github.io/react-native-navigation/#/installation-android
Do you see anything there that could be disrupting the NFC manager?

Aha!  Found it!  I didn't read this piece of react-native-navigation code carefully enough:
protected List<ReactPackage> getPackages() {
         // Add additional packages you require here
         // No need to add RnnPackage and MainReactPackage
         return Arrays.<ReactPackage>asList(
             // eg. new VectorIconsPackage()
         );
     }

I changed it to:
protected List<ReactPackage> getPackages() {
         // Add additional packages you require here
         // No need to add RnnPackage and MainReactPackage
         return Arrays.<ReactPackage>asList(
             new NfcManagerPackage()
         );
     }

And it all works perfectly.  Thanks for building this, and sorry for the false alarm!

@svvitale Cool! Good catch & thanks for sharing!

@svvitale hi,
Just wondering when you manually import, what package name should import on the top of the MainApplication.java?
What I mean is:
protected List<ReactPackage> getPackages() {
         // Add additional packages you require here
         // No need to add RnnPackage and MainReactPackage
         return Arrays.<ReactPackage>asList(
             new NfcManagerPackage()
         );
     }

when you add the above code to MainAppliacation.java, do you need to import the related package on the top? (like import com.facebook.react.ReactApplication;
If you do, could I know the package name, please?  I could not found the package name.

@vivikenen It should be community.revteltech.nfc, let me know if you need other help!

@vivikenen fill import should be like this:
import community.revteltech.nfc.NfcManagerPackage;

Hi, thx for replying. It works now~
thx for your awesome package~
@whitedogg13


Settings derive macro

I rewrote the settings registration to use a derive macro rather than macro_rules!. Using #[derive(SettingGroup)] will create a static method on the struct called register that serves the same role as calls to register_nvim_setting did previously. The setting names can be prefixed by adding a struct attribute of the form #[setting_prefix = "my_prefix"]. This is just another quality of life refactor, largely motivated by my interest in learning how the language feature works.
For some reason, there are huge diffs in renderer/mod.rs, bridge/mod.rs, and main.rs. Looking at what changed, it appears likely that the recent upstream versions of those files didn't have cargo fmt run on them or something. I did not modify bridge/mod.rs and renderer/mod.rs only needs the changes related to RendererSettings early on in the file.

I think this needs rebased on master. Not sure why git is being strange...

Generally this looks awesome!
I had a quick question though. Did this change the names of any existing settings? In a quick scan I don't think it did, but I wanted to make sure.
Other than that, if you rebase (looks like bridge/mod.rs has some unwanted changes) I think I'll merge this. Love the readability and succinctness improvement!

Ah yup I see your note in the pr message. I saw that in another branch as well. I believe if you rebase this branch on top of master the issue should go away.

I think I'm gonna pull this into another branch and rebase it myself

I think I'm gonna pull this into another branch and rebase it myself

Thanks again so much for the contribution. This is a great improvement in readability and succinctness. Great work

Thanks again so much for the contribution. This is a great improvement in readability and succinctness. Great work

Thanks again so much for the contribution. This is a great improvement in readability and succinctness. Great work

Cheers mate, and sorry for the radio silence. I've been meaning to follow up on some things for this project but have been diverted by the start of a new school quarter. Hoping to get back on board at some point.

Thanks again so much for the contribution. This is a great improvement in readability and succinctness. Great work

Cheers mate, and sorry for the radio silence. I've been meaning to follow up on some things for this project but have been diverted by the start of a new school quarter. Hoping to get back on board at some point.


Feat(ui): Add secrets admin

Spin up your local setup as described in the README to give this admin view a spin...

@ArtieReus @TilmanHaupt
If you could have a look, since this is the refactoring extracting secrets from https://github.com/cloudoperators/greenhouse/pull/142


Shorthand syntax for the 'set' instruction

Instead of "a .5; set a" we want to write something like "@a .5". Less typing, more clear code, and a trivial compiler/WM optimization opportunity. (A peephole optimizer would cover the compiler part, but anyway...)

Or maybe just allow "set a .5"...? I don't know. I don't really like the look of @ in the code in that construct, and there might also be a bit of confusion with "!" (variable declaration) - which I'm not sure I really like either.

...or maybe not. Now, asynchronous ramping has been thrown in the mix as well, and I'm thinking about ways of cleaning up and improving the way control registers are handled. These instructions should be for handling exceptions, so shorthand syntax is not needed, nor desirable. See #229.

Somehow, '@' as shorthand for 'set' has already been implemented, and this ticket is a duplicate of #169.


Multiplatform: Realm crashes when accessed from iOS

Method:
fun getPortfolios(): Portfolios {
        return realm.query(PortfolioData::class).find()
            .map {
                Portfolio(it.date, it.stringValue)
            }
    }

crashes on iOS (on map line)

That code doesn't look like it should compile 🤔  realm.query(PortofolioData::class).find() will return a RealmResults<PortfolioData>...you cannot map that into a Portfolios ?

@cmelchior it compiles, because RealmResults inherits List, but if I add realm.query(PortofolioData::class).find().toList it gonna crash also

Do you have the full stacktrace?

@cmelchior sure
full https://pastebin.com/GD7XRYK8

Hmm, interesting. That is very surprising it crashes as we should have plenty of unit tests for that particular piece of code.
Is it something you can reproduce in as sample project we can debug?

@cmelchior here you go, app crashes on iOS
Mac OS Monterey 12.6, macbook air M1
https://filetransfer.io/data-package/4mQMLCvy#link

The problem is due to the memory model on Kotlin Native:

It is a bit unclear why you are hitting this as our API's should be compatible with both versions of the memory model (which could point to a bug on our side).
But moving to the new memory model fixes the problem. You can do that by adding this to the top-level gradle.properties file:
# Enable new Kotlin Native memory model
# See https://kotlinlang.org/docs/native-memory-manager.html
kotlin.native.binary.memoryModel=experimental
kotlin.native.binary.freezing=disabled

This is also the default mode in Kotlin 1.7.20. Realm doesn't support that just yet, but will do shortly: https://github.com/realm/realm-kotlin/issues/1024

@cmelchior thanks for pointing out
so, it works in a project from iOS side, but if I try to build it like xcframework and then use it in another project I'm still getting a crash, here is the stack trace:
https://pastebin.com/FZfy3sec
and final version of the test example:
https://filetransfer.io/data-package/5XaDTxM4#link

and final version of the test example:
https://filetransfer.io/data-package/5XaDTxM4#link

This project uses Ktor 2.1.1 (new memory model) + Realm 1.2.0 (old memory model), they must use the same model.
Try with Realm version 1.4.0.

@clementetb it works, thanks!


Implement UI for the Festaking contract

Description

[x] Add Reward
[x] Add Stake
[x] Withdraw Reward
[x] Deploy Contract
[x] Add Tests

How to test this PR

Install dependencies yarn install
Deploy Contract truffle deploy
Start frontend server yarn start

Screenshots
Add Reward

Add Stake

Withdraw

Closing in favor of separate package


Support for comments / JSON5 Support for schema?

Sample (which sample are you talking about)

Question (the more details, the better)
I´ve very annoyed that json doenst support comments inside code -.-
I´ve read that the Json Version 5 will support comments inside the code.
Is there any plan to add Json5 Support for the json schema?
https://json5.org/

Hi @dborchers-gc
I don't know the answer to your actual question, but I fix it by adding an attribute, like this:
"elmType": "button",
"_comment" : "this is the comment",
"txtContent": "[$Title]",
I've got that tip from Jamie Bray  https://collab365.community/sharepoint-modern-view-formatting-json-part-1-2/


1.1 Keycloak deployment in Docker swarm

Bringing up keycloak through use of keycloak bitnami image
Use bitnami postgres image and connect the keycloak with the postgres. Can be tested , by seeing if the keycloak related tables are created.
Migrate current auth-cred-db stack file to postgres stack file with image and other config related changes.
Bring a nginx proxy in-front of keycloak and test if its working. Set up reverse proxy, ssl, rate limits , refer  keycloak official docs, blog
Automate realm creation using imports. Create a realm , configure with general settings and export it and then import that in deployment and need to configure minimal things only like client secret, smtp/optional things.

The folder structure and files - stack files, configs, secrets can follow this structure https://github.com/datakaveri/iudx-deployment/tree/master/Docker-Swarm-deployment/single-node/auth-cred-db

It would be better, to create a  local docker swarm with overlay network on your machine -  and write a basic stack file to bring up keycloak . Try accessing the kyelcoak over  tour local browser and login. This would be the first step in bringing the keycloak server

completed the docker swarm setup https://github.com/hackcoderr/iudx-deployment/tree/master/keycloak @abhi4578


Add VPC

Add a VPC for NextFlow.

@BrunoGrandePhD Deliberately not tagging because these have default values that seem more appropriate (i.e., IT infrastructure) rather than to a Science department and individual. See the template starting at line 27.

Closing this pull request -- will open a new one when a new medium-sized VPC template is available.


bip: 0.8.9 -> 0.9.3

Description of changes
#269713
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

@kirillrdy are you testing its functionality? I've written a patch but don't know if it fully works.
diff --git a/src/connection.c b/src/connection.c
index 0a138eb..70d7d3a 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -1171,32 +1171,37 @@ static connection_t *connection_init(int anti_flood, int ssl, time_t timeout,
 static int ctx_set_dh(SSL_CTX *ctx)
 {
 	/* Return ephemeral DH parameters. */
-	DH *dh = NULL;
-	FILE *f;
+	EVP_PKEY* dh;
+	BIO *f;
 	long ret;
+	unsigned long error;

-	if ((f = fopen(conf_client_dh_file, "r")) == NULL) {
+	if ((f = BIO_new_file(conf_client_dh_file, "r")) == NULL) {
 		mylog(LOG_ERROR, "Unable to open DH parameters (%s): %s",
 		      conf_client_dh_file, strerror(errno));
 		return 0;
 	}

-	dh = PEM_read_DHparams(f, NULL, NULL, NULL);
-	fclose(f);
-
-	if (dh == NULL) {
-		mylog(LOG_ERROR, "Could not parse DH parameters from: %s",
-		      conf_client_dh_file);
-		return 0;
+	if (f) {
+		dh = EVP_PKEY_new();
+		if (!PEM_read_bio_Parameters(f, &dh)) {
+			BIO_free(f);
+			while ((error = ERR_get_error()))
+        mylog(LOG_ERROR, "SSL: %s", ERR_error_string(error, NULL));
+			mylog(LOG_ERROR, "Could not parse DH parameters from: %s",
+				  conf_client_dh_file);
+      return 0;
+		}
+		BIO_free(f);
 	}

 // SSL crap: passing argument 3 of ‘SSL_CTX_ctrl’ with different width due to
 // prototype
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wtraditional-conversion"
-	ret = SSL_CTX_set_tmp_dh(ctx, dh);
+	ret = SSL_CTX_set0_tmp_dh_pkey(ctx, dh);
 #pragma GCC diagnostic pop
-	DH_free(dh);
+	EVP_PKEY_free(dh);

 	if (ret != 1) {
 		mylog(LOG_ERROR, "Unable to set DH parameters: %s",

@kirillrdy are you testing its functionality? I've written a patch but don't know if it fully works.
diff --git a/src/connection.c b/src/connection.c
index 0a138eb..70d7d3a 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -1171,32 +1171,37 @@ static connection_t *connection_init(int anti_flood, int ssl, time_t timeout,
 static int ctx_set_dh(SSL_CTX *ctx)
 {
 	/* Return ephemeral DH parameters. */
-	DH *dh = NULL;
-	FILE *f;
+	EVP_PKEY* dh;
+	BIO *f;
 	long ret;
+	unsigned long error;

-	if ((f = fopen(conf_client_dh_file, "r")) == NULL) {
+	if ((f = BIO_new_file(conf_client_dh_file, "r")) == NULL) {
 		mylog(LOG_ERROR, "Unable to open DH parameters (%s): %s",
 		      conf_client_dh_file, strerror(errno));
 		return 0;
 	}

-	dh = PEM_read_DHparams(f, NULL, NULL, NULL);
-	fclose(f);
-
-	if (dh == NULL) {
-		mylog(LOG_ERROR, "Could not parse DH parameters from: %s",
-		      conf_client_dh_file);
-		return 0;
+	if (f) {
+		dh = EVP_PKEY_new();
+		if (!PEM_read_bio_Parameters(f, &dh)) {
+			BIO_free(f);
+			while ((error = ERR_get_error()))
+        mylog(LOG_ERROR, "SSL: %s", ERR_error_string(error, NULL));
+			mylog(LOG_ERROR, "Could not parse DH parameters from: %s",
+				  conf_client_dh_file);
+      return 0;
+		}
+		BIO_free(f);
 	}

 // SSL crap: passing argument 3 of ‘SSL_CTX_ctrl’ with different width due to
 // prototype
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wtraditional-conversion"
-	ret = SSL_CTX_set_tmp_dh(ctx, dh);
+	ret = SSL_CTX_set0_tmp_dh_pkey(ctx, dh);
 #pragma GCC diagnostic pop
-	DH_free(dh);
+	EVP_PKEY_free(dh);

 	if (ret != 1) {
 		mylog(LOG_ERROR, "Unable to set DH parameters: %s",

sorry, I know almost nothing of bip. All I know its builds and runs ( executes :-)
my interest is in removing openssl 1.1, but happy to test/help is anyway I can

me too. I just saw it and thought of I may need it in future 😄
Skipping deprecation error should work for openssl 3.0 for now. I'll take some time to test it tomorrow.

Anyway we can get this merged I think. This patch is too out of scope, and I really don’t know much about OpenSSL.

Anyway we can get this merged I think. This patch is too out of scope, and I really don’t know much about OpenSSL.


Need Java with Spring Boot with Service Layer

Please add a Service layer with the following Entity and Repository Layer.
Specifications are:

CustomUserDetailsService.java
FeedbackService.java
FlatService.java
OwnerService.java
UserService.java

Hi @arpanghosh2416
I would like to contribute to the Service Layer.
Can I?

Ok @mriganka56 I am assigning it to you.

Ok doing it

Thank You @mriganka56


Duplicate of VOLUME value for redis dockerfile.

Signed-off-by: Bo-Yi Wu<EMAIL_ADDRESS>

Hi @appleboy,
I actually duplicate the Volume and the Exposed Ports in all the containers, just to make it clear for the users what ports are being exposed and what where are the volumes, instead of letting them go and find the base image dockerfile on github to get these information. So there's no problem to override these things.
Thanks for your valuable contributions, really appreciated.

@Mahmoudz I got your point. Thanks.


Add coco function call syntaxes

Closes #370

[x] Implicit function application
[x] Implicit multiplication
[x] Pipe |> (↦)
[x] Infix function application

As a side effect I got rid of a space between a digit and a letter in Python.

0or will not work for removing the space (interpreting as an octal literal). Might need to add that as a special case

Does my last commit fix all the problematic cases?


Box refactor: Box File to Llama-Index Document adaptor

Description
Created an adaptor to map the extensive Box File object to the Llama-Index Document Matadata
New Package?
Did I fill in the tool.llamahub section in the pyproject.toml and provide a detailed README.md for my new integration or package?

[ ] Yes
[x] No

Version Bump?
Did I bump the version in the pyproject.toml file of the package I am updating? (Except for the llama-index-core package)

[x] Yes
[ ] No

Type of Change
Please delete options that are not relevant.

[x] Refactor/Improvement

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Added new unit/integration tests
[x] Added new notebook (that tests end-to-end)
[x] I stared at the code and made sure it makes sense

Suggested Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added Google Colab support for the newly added notebooks.
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I ran make format; make lint to appease the lint gods

Also @barduinor can you kindly bump the version number in this integration's pyproject.toml?

Hi @nerdai
That is correct, no breaking changes. The code was a bit sloppy, and I wanted to have a clear separation between Box objects and Llama-Index objects. That led me to create an adaptor to translate between the Box File object and the Llama-Index Document, and use it consistently in the readers and tools.
From a 3rd party developer perspective the readers and tools method signatures remain the same.
Cheers

Perfect, thanks @barduinor for the confirmation! Nice work :)

Thank you @nerdai , much appreciated.


Use invariant culture for parsing double values

iTerm2 color schemes could not be parsed when using a non-english locale. This fixes the issue.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


bio printf: Safely range check real overflow on output.

There is a problem casting ULONG_MAX to double which gcc-10 is warning about.
ULONG_MAX typically cannot be exactly represented as a double.  ULONG_MAX + 1
can be and this fix uses the latter, however constructing this number cannot
be done using integer arithmetic.
This is an alternative fix to #11909
The same problem exists in 1.1.1.

[ ] documentation is added or updated
[ ] tests are added or updated

Note that it was clang-10, not gcc-10, that generated that warning.

Pauli wrote:

There is a problem casting ULONG_MAX to double which gcc-10 is warning about.
ULONG_MAX typically cannot be exactly represented as a double.  ULONG_MAX + 1
can be and this fix uses the latter, however constructing this number cannot
be done using integer arithmetic.
This is an alternative fix to #11909

Both patches does not look correct.
Idea to add extra dependency to "math" library just for a warning is awful. More over real issue could be only for some 64-bit cases.
Let see number 0x1p+64 . If long is 8 bytes mathematically this number is equal to ULONG_MAX + 1.
The problem is that double is with 52 bit mantissa. So let see the number 0x1.fffffffffffffp+63 where all bits in mantissa are set one. This is the double that could be converted to 8 bytes long unsigned long. It is equal to ULONG_MAX - ;) .
If long is 4 bytes. If I remember well 64 bit windows also user 32 bit long.
There is no issue as even 0x1.fffffffffffffp+31 is save to be converted.
I'm not sure what is best way to correct issue without to check size of long and length of mantissa.
Regards,
Roumen Petrov

My alternate attempt to fix: #11955

Deferring to #11955.


Search Bug

Typing [ or ( on the search bar breaks the search feature.

@japhethbalane This is now fixed in #91 , will release a new version soon.


Add support for renaming SAML attributes and filtering attribute values

At present, the php-saml library reports the attribute names in an assertion to the caller as specified by the IdP.  In some cases, applications using the php-saml library expect different attribute names to those in the assertion.  For example, an application may expect to see a "mail" attribute, but the IdP may use the OID form "<IP_ADDRESS>.7".  In this case, it is very useful useful to rename or "map" these names to a more friendly form.  It can also be useful to filter out known-bad or unwanted values from the returned attribute values, such as eduPersonScopedAffiliation values with an invalid scope.
This pull request adds two new parameters to the SP configuration block: "attributeMap" and "attributePolicy".  These perform the same basic roles as the similarly attribute-map.xml and attribute-policy.xml files used in the Shibboleth SP software.
The attributeMap parameter is an associative array of 'source'=>'destination' attribute name mappings.  This also supports the merging of many source attributes into a single destination attribute.  If an attribute name is not present as a key, the attribute is passed through as-is.
The attributePolicy parameter is an associative array of filtering functions where the keys are the "destination" attribute names defined in attributeMap.  These take a sole argument of an array of values and return a filtered array of values.  If an attribute name is not present, the values are passed through unfiltered.

Hi @rb12345
I knew about  attribute-map.xml and attribute-policy.xml from shibboleth, and also about Processing Filters from simpleSAMLphp.
But I think that those functionalities belong to the main php app, that knows what attribute expects and with what app attribute link it.
For example, on that SAML plugin of Wordpress, there is a section where the attribute mapping is defined:

and those mappings are later applied to attributes retrieved by php-saml


Add codecov integration

This is what the coverage looks like at the moment.
https://codecov.io/github/jazzband/django-configurations?pr=135

:+1:
I like badges. They give visibility to the projetcs.

:+1:

thanks for the review.


general:damage_tracking=full error no such field

my hyprland.conf reports an error on setting damage_tracking=full. thanks!

#1123


Remove uncommented code (or clarify why it's there)

I came across this code snippet while going through the source code: https://github.com/mamba-org/rattler/blob/526cd23b08fd497fb2811af12f3d615dc1229200/crates/rattler_conda_types/src/match_spec/parse.rs#L111-L117
I don't understand the code well enough to know whether the comment needs to be removed, but it looks like an oversight. This issue is to make sure you are aware (and a suggestion to clarify why the commented code needs to be there, if it is actually on purpose).

Well, I think this came from conda: https://github.com/conda/conda/blob/ad615752a7efa20f8ba135e2fa31417807dcfefb/conda/models/match_spec.py#L619-L623
Unfortunately, I also don't know what to do with this.

Looks like the idea was to have conditional dependencies? https://github.com/conda/conda/issues/7592

Im going to leave the status quo for the moment.


Feature Request: USG 4 Pro Board Temperatures

Hi,
looks like $subject has already been asked in #106. Meanwhile I found the position in the JSON blob where the board temperatures of my USG 4 Pro are reported: data[9].system-stats.temps
{
        "_id": "<redacted>",
        "adopted": true,
        "architecture": "mips64",
        "board_rev": 14,
        "cfgversion": "<redacted>",
        "config_network": {
            "type": "dhcp",
            "ip": "<redacted>"
        },
        "connected_at": 000000000,
        "ethernet_overrides": [{
            "ifname": "eth0",
            "networkgroup": "LAN"
        }, {
            "ifname": "eth2",
            "networkgroup": "WAN"
        }],
        "ethernet_table": [{
            "mac": "<redacted>",
            "num_port": 1,
            "name": "eth0"
        }, {
            "mac": "<redacted>",
            "num_port": 1,
            "name": "eth1"
        }, {
            "mac": "<redacted>",
            "num_port": 1,
            "name": "eth2"
        }, {
            "mac": "<redacted>",
            "num_port": 1,
            "name": "eth3"
        }],
        "fw_caps": 000000,
        "heightInMeters": 2.4,
        "hw_caps": 0,
        "inform_ip": "<redacted>",
        "inform_url": "http://<redacted>/inform",
        "ip": "<redacted>",
        "kernel_version": "3.10.107-UBNT",
        "led_override": "default",
        "license_state": "registered",
        "mac": "<redacted>",
        "map_id": "<redacted>",
        "model": "UGW4",
        "model_in_eol": false,
        "model_in_lts": false,
        "model_incompatible": false,
        "name": "<redacted>",
        "outdoor_mode_override": "default",
        "port_overrides": [{
            "autoneg": true
        }, {
            "autoneg": true
        }, {
            "autoneg": true,
            "port_idx": 1
        }, {
            "autoneg": true,
            "port_idx": 2
        }],
        "provisioned_at": 0000000,
        "required_version": "4.3.2",
        "serial": "<redacted>",
        "site_id": "<redacted>",
        "syslog_key": "<redacted>",
        "two_phase_adopt": false,
        "type": "ugw",
        "unsupported": false,
        "unsupported_reason": 0,
        "usg_caps": 1835005,
        "version": "<IP_ADDRESS>87926",
        "x": 0000000,
        "y": 0000000,
        "device_id": "<redacted>",
        "state": 1,
        "start_disconnected_millis": 0000000,
        "last_seen": 0000000,
        "known_cfgversion": "<redacted>",
        "uptime": 3750552,
        "_uptime": 3750552,
        "locating": false,
        "start_connected_millis": 00000000,
        "connect_request_ip": "<redacted>",
        "connect_request_port": "<redacted>",
        "sys_stats": {
            "loadavg_1": "0.04",
            "loadavg_15": "0.05",
            "loadavg_5": "0.05",
            "mem_buffer": 64880640,
            "mem_total":<PHONE_NUMBER>,
            "mem_used": 352407552
        },
        "system-stats": {
            "cpu": "1",
            "mem": "3",
            "temps": {
                "Board (CPU)": "40 C",       <-------------
                "Board (PHY)": "37 C",       <-------------
                "CPU": "58 C",               <-------------
                "PHY": "63 C"                <-------------
            },
            "uptime": "3750530"
        },
        "guest_token": "<redacted>",
        "speedtest-status": {
            "latency": 18,
            "rundate": 000000000,
            "runtime": 26,
            "server": {
                "cc": "<redacted>",
                "city": "<redacted>",
                "country": "<redacted>",
                "lat": 000000,
                "lon": 000000,
                "provider": "<redacted>.de",
                "provider_url": ""
            },
            "status_download": 2,
            "status_ping": 2,
            "status_summary": 2,
            "status_upload": 2,
            "xput_download": 0000000,
            "xput_upload": 000000
        },

}

Is it possible to add these to the scraping process? Looks like it would need have some transformation applied.

UDM temps will be included in the next release. If you're on docker, try the events tag.
https://github.com/unifi-poller/unifi-poller/issues/225

Any news when the this feature will be released?

Any news when the this feature will be released?

How often do you release a new version?
Is it possible to test a Beta?

I started writing a new web server feature, got mad at it and haven't looked at this code in a long time. I'll get back to it soon...

Here's a beta. https://github.com/unifi-poller/unifi-poller/releases/tag/v2.0.2-beta1

Here's a beta. https://github.com/unifi-poller/unifi-poller/releases/tag/v2.0.2-beta1

Hi, I have now installed 2.0.2, but I cannot find any temperature for USG in InfluxDB.
Do you remember in what measurement it should be?

Well apparently I only added this for UDM Pro.

Ok, I see
No problem.
I will try to change the code myself, just for learning, maybe I put PR here :)

Got some temps.

The current release incorporates this feature: https://github.com/unifi-poller/unifi-poller/releases/tag/v2.1.0

Thank you, I have now tried it and I can collect Temp from USG 4 :)


fix: filter network dust amounts when sending all

Try out this version of Leather — download extension builds.

Any associated issue?

@kyranjamie  - can we merge and release this?