Pc/fastai integration

It seems really nice and simple.
Notebook ->
The only thing is that we could maybe show how those things look logged to Neptune with some images (and links to those dashboards) -> just in case someone doesn't want to run but just see it.
Not 100% sure here but I think it could be useful.


Adjust strftime formats

As mentioned in #188, some of the x-axis units were applied inconsistently. This change addresses that but also allows us to remove the special case for Windows systems.

Current coverage is 65.47% (diff: 100%)

Merging #1632 into master will not change coverage

@@             master      #1632   diff @@
==========================================
  Files            52         52
  Lines          5923       5923
  Methods           0          0
  Messages          0          0
  Branches       1163       1163
==========================================
  Hits           3878       3878
  Misses         1838       1838
  Partials        207        207

Powered by Codecov. Last update df344b9...aa360ec


Fixed GridList style broken in Safari

Flex require -webkit- prefix to work in Safari.
Fixed GridTile height: it was NaN if you set cellHeight using a 'px' value.

Looks fine to me. @shaurya947 ?

:+1:

Oups (https://github.com/callemall/material-ui/pull/1686#issuecomment-149927077)

Haha no worries. Feel free to merge #1686 too


[FLOC-4524] Add FlockerHub menu links

Fixes: https://clusterhq.atlassian.net/browse/FLOC-4524
Merging #2936 into master

Build failures are unrelated. Merging.


Inconsistent capitalization of buttons in Model Instance aggregation Schema Based Metadata

Buttons labels include "Add row", "Delete Last row", and "Object Properties" - all of which use a different capitalization strategy.  A consistent approach could significantly improve aesthetics.

@horsburgh and @goodalljl I believe this falls under Resource Model -> Model Instance aggregation. Labeling as an enhancement as it pertains to styling.

@pkdash This behavior is not seen anymore when using the SWAT_Schema_1.0.0.json provided by HydroShare. The "Model Parameters" field has now a few boolean and one string children fields and does not require user to use "Add row" to add the model parameters. But, I am not sure if this behavior can be reproduced if the users upload a new schema that has field with a specific field type that enables "Add row" and "Delete Last row" buttons. If it is the case, this issues should remain open until resolved.


Support ukait court URLs

Understand /ukait is a court URL

We want to find a better way to handle this as we expand coverage, but this is good for now.


Add package supporting proposed ASP.NET Core's MSBuild code generation features

The overall aim of in-progress work in ASP.NET Core 2.2 is to give customers simple ways to annotate their project files for automated code generation during every build (as source API descriptions change). See ASP.NET Core Mvc's feature/client.code.generation branch and the aspnet/Mvc#7947 high-level issue.
The ASP.NET Core work will not include the actual C# or TypeScript code generation. Instead, client code generation providers (such as NSwag) are encouraged to integrate their tooling into the feature.
Specific work in this repo would include:

Add a new package, perhaps with a name like NSwag.ApiDescription.Client
Include a dependency on Microsoft.Extensions.ApiDescription.Client and NSwag.MSBuild in that package
Include minimal .targets file (maybe a .props file too) necessary to wrap the swagger2csclient and swagger2tsclient commands as NSwagCSharpCodeGenerator and NSwagTypeScriptCodeGenerator MSBuild targets

a174a2c604
Thanks @RSuter!


Add the greedy vs brute-force image notebook with data

Hey @israelferrazaraujo I have added the test-data and the notebook that creates the image in the paper.
I hope this is helpful. Let me know if you need anything else.

Thank you, @carstenblank!


Major version change for kubernetes task

Drop down to select azure kubernetes cluster
Remove json input from registry inside create secret section. Just have registry name.
Remove output variable section from kubernetes task.
Not download kubernets cli with every task  execution instead use the kubernetes utility in Common.

When you create a new major version, you need to create a SxS folder named V2.

I see this is going from (0.) to (1.).  That means you just just rename the folder to KubernetesV1 as part of this change.  But, if you need to patch V0, you will need to create a KubernetesV0 folder when needed.  Your call on whether you just want to do it now.
Finally, new major versions need to start in preview (preview: true in task.json) and you need a marketing message on what the new major version brings (the UI will advertise, want to try new preview?  It's offers xxxx).

It's probably easier to rebase on latest master.


Adds Aspire Oracle EntityFrameworkCore Database component.

Thanks for this! Can you please log an issue that represents this work?

Thanks for this! Can you please log an issue that represents this work?

Of course, I created the issue #1307

Triggered package migration for the Oracle EF NuGet package to unblock the build.

@eerhardt PTAL for the component side of this?

@andrevlins we need APIs for the AppModel side of things are you planning on adding this? There isn't much point having a component API surface without the corresponding AppModel APIs :)
Take a look at the following for inspiration:
https://github.com/dotnet/aspire/tree/main/src/Aspire.Hosting/SqlServer

@andrevlins we need APIs for the AppModel side of things are you planning on adding this? There isn't much point having a component API surface without the corresponding AppModel APIs :)
Take a look at the following for inspiration: https://github.com/dotnet/aspire/tree/main/src/Aspire.Hosting/SqlServer

Yes I was doing this in another PR #1004
I brought the implementation from there and I will review it as there were some changes in the latest Aspire updates.

I brought the implementation from there and I will review it as there were some changes in the latest Aspire updates.

Yep, we made some changes to try and clarify a few things.
You don't need the Oracle connection type anymore - with have a WithReference(ConnectionString) extension method for that kind of thing.
You'll need to add OracleServerResource in addition to OracleContainerResource. OracleServerResource would emit oracle.server.v0 to the manifest and OracleContainerResource would emit as a container.v0 resource.
The IOracleResource would become IOracleParentResource and both the container and server resource types would implement it ... so that the AddDatabase(...) extension would work on both of them. Take a look at the Postgres implementation for concrete examples of how this was setup.
Apologies for the shifting API underneath you we are still shifting things around a bit. If we can get this change in though, it means that when we do future API changes we have to keep this up to date ;)

You don't need the Oracle connection type anymore - with have a WithReference(ConnectionString) extension method for that kind of thing.
You'll need to add OracleServerResource in addition to OracleContainerResource. OracleServerResource would emit oracle.server.v0 to the manifest and OracleContainerResource would emit as a container.v0 resource.
The IOracleResource would become IOracleParentResource and both the container and server resource types would implement it ... so that the AddDatabase(...) extension would work on both of them. Take a look at the Postgres implementation for concrete examples of how this was setup.

Thank you very much for the explanations, I believe I made all the adaptations mentioned.

Apologies for the shifting API underneath you we are still shifting things around a bit. If we can get this change in though, it means that when we do future API changes we have to keep this up to date ;)

No problem! It's been great to follow the evolution of this project.

I think we should merge this once preview 2 is out the door.

@eerhardt I will update the pr with the new updates to solve the build problems

@eerhardt I will update the pr with the new updates to solve the build problems

Ready


Applicants can create CVs

The current CV form http://yawik.org/demo/de/cvs/create (login as applicant/applicant) has to be fixed.

The Cv Entity should get a contact subcollection (as we have done for applications). The contact data should be prefilled with the users $user->getInfo() data.

If the users starts entering the cv it should look like:

By clicking on the icon or button, the relevant form should appear. This might look like this

The form is saved and the entered data is shown in display mode.

The first implementation is in the issue-214 branch.
Following issues are not solved:

Form elements as a DateSelect are not initialized by JS if are added by clicking the "+" link button
There is no way to clear a collection (except some ugly hack) using zend-form 2.6.x. The package zend-form has to be updated minimally to zend-form 2.7.x (I tested zend-form 2.8.3 with success)
The Core\Form\View\Helper\FormCollection does not render a "-" link button properly if a collection contains nested collections

I've fixed the version of zend-form to 2.6 , because of #192

@cbleek and me decided, that as a matter of consistency (look and feel and usability) we want following behaviour:

Collections are separated into dedicated forms to allow editing one single entry independent from the others.

The "Add" button should be below the last form of a collection. The "Delete" button should be in the upper right corner of an entry form (summary view) to the right of the "edit" button.

As an idea: What we need is a kind of dynamic form container that allows adding new forms to it via javascript (analogically to the  form collections with fieldsets.)
I don't know if it's possible to extend from ZF's form collection... (for reuse).
Another thing to consider is hydrating of the entitys' sub collection.. we will need a new Hydrator for that, i think.

OK, I will create a new form container allowing functionality described above. I will place it into Core package without affecting the current implementation of the form container.


Update howto-access-activity-logs.md to increase awareness on MS Graph API limits

It might help to highlight the limit on Graph API for this scenario. Customers/Partners may develop their monitoring solution using  Graph API and later get affected by the limits.

@shlipsey3
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@shlipsey3 - do you want your suggested edits committed before this is merged?

@shlipsey3 - i'm going to assume so and commit them :)


Fix 2605, Pass the CMAKE_PREFIX_PATH to targets

Checklist (Please check before submitting)

[x] I reviewed the Contributing Guide.
[x] I signed and emailed the appropriate Contributor License Agreement to<EMAIL_ADDRESS>and copied<EMAIL_ADDRESS>
Describe the contribution
Fixes 2605. This shall enable targets under the cFS build tree to find CMake target exported from outside of the cFS build tree
Testing performed
Steps taken to test the contribution:

Build steps

cp cfe/cmake/Makefile.sample Makefile
cp -r cfe/cmake/sample_defs sample_defs
make
make all
make install

Expected behavior changes
Should be backward compatible. Not foreseeing issues
System(s) tested on

Hardware: PC
OS: Ubuntu 22.04
Versions: Equuleus-rc1+dev18

Additional context
Can provide with example repository where I this feature is usefull
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Maxime Haselbauer (Personal)

Thank you @renn0xtek9 for your contribution! Would you be able to fill out a CLA (Contributor License Agreement) and email it to<EMAIL_ADDRESS>and copy<EMAIL_ADDRESS>Please let me know if you have any questions about the CLA.

Thanks for you feddback @dzbaker ! I have sent the CLA to<EMAIL_ADDRESS>on september 24th 2024. Let me forward the E-mail to<EMAIL_ADDRESS>and to you :+1:

Thanks for you feddback @dzbaker ! I have sent the CLA to<EMAIL_ADDRESS>on september 24th 2024. Let me forward the E-mail to<EMAIL_ADDRESS>and to you 👍

Excellent, thank you!


feat(test): set global info for suite tests

Ⅰ. Describe what this PR did
Optimize global info for suite tests:

Codecov Report

Merging #219 (2045971) into main (691493e) will increase coverage by 1.58%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #219      +/-   ##
==========================================
+ Coverage   41.82%   43.41%   +1.58%
==========================================
  Files          31       31
  Lines        5038     5038
==========================================
+ Hits         2107     2187      +80
+ Misses       2767     2683      -84
- Partials      164      168       +4

Impacted Files
Coverage Δ

pkg/bootstrap/server.go
61.45% <0.00%> (+6.10%)
:arrow_up:

pkg/ingress/kube/ingress/controller.go
60.50% <0.00%> (+7.04%)
:arrow_up:


improve selection

Fixes #7

Coverage increased (+0.6%) to 92.437% when pulling 512401df58bee2127685be1b7700d707f6e9dd07 on improve-selection into 1224b4fe11a4b427c30e2690ebc5464882f3b8c6 on master.

Coverage increased (+0.7%) to 92.562% when pulling cc607faf7ecaf9e93f25ebb91fffa6a41346a808 on improve-selection into 1224b4fe11a4b427c30e2690ebc5464882f3b8c6 on master.

Nice! The convenience methods add a lot of clarity.


{AKS} az aks create/update: Update the default value of option --max-pods and --node-osdisk-size to None

Related command

az aks create
az aks update

Description

Update the default value of option --max-pods and --node-osdisk-size to None. As the type of these two options is int, their default values were set to 0 previously, but this does not match the definition of the corresponding attribute.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

AKS

Please add test for az aks create/update with not inputting --max-pods/--node-osdisk-size to check if the response meets your expectation.

/azp run


Apply #5498 for Polygons too

Extend the fix on #5498 to handle Polygons with empty arrays.

Is there any plan for when this will be part of a release? I am using the canvas renderer for polygons and getting JS errors due to this fix not being in 1.3.1.


Fix usage of both options useStickyClasses and stickyBitStickyOffset in same time

@serhiyzablotskiy thanks for the PR!!! Your time is very much appreciated. 🙏
Could you submit the work in this PR into separate PRs with clean commit messages and no merge commits?

The 3 (or more) PR's within this PR that I see:

gulpfile update—update rollup nomenclature

the changes in this PR look really good. They just need to be broken out cleanly = THANK YOU!

variable declaration update—use ES6

the changes in this PR look really good. They just need to be broken out cleanly = THANK YOU!

Fix usage of both options useStickyClasses and stickyBitStickyOffset in same time

this changes in this PR will be up for deeper review and architecture conversation = work in this PR will need to be updated or discussed. 👌

I really appreciate it and am happy to help.
Thanks again!
~Jeff


incompatible pc version error

Gives me an incompatible pc version error I am on the latest windows 10 with the latest .NET frame updates already installed

@FaithfuL11 try to check https://github.com/gabrielefilipp/SmartHunter/issues/12

@gabrielefilipp works like a charm thanks so much for keeping this project alive


Log member information for gossip timeout

In the case of a gossip timeout for a member that is still in the cluster. we should log additional data for this.
e.g. logging member id. address etc.

done


can not use nodejs build-in module in production

Reproduction
<script lang="ts" setup>
import path from 'path'
console.log("path",path)
</script>
...

dev

production

did you try import path from 'node:path'?

did you try import path from 'node:path'?

Still not work. My node version is 18.8.0.


Errror while reSignIPA

I tried to resign ipa and got following error:
/var/folders/y8/2htjmh5n7hl95kvbjpmr1yd0000086/T/tmpsbl7a9ze/Payload/Test.app: replacing existing signature
Traceback (most recent call last):
  File "/usr/bin/cavejohnson", line 9, in <module>
    load_entry_point('cavejohnson==1.0.1', 'console_scripts', 'cavejohnson')()
  File "/usr/local/lib/python3.4/site-packages/cavejohnson/__init__.py", line 518, in main_func
    args.func(args)
  File "/usr/local/lib/python3.4/site-packages/cavejohnson/__init__.py", line 117, in uploadITMS
    upload_itunesconnect(args.itunes_app_id, args.itunes_username, args.itunes_password, args.ipa_path)
  File "/usr/local/lib/python3.4/site-packages/cavejohnson/__init__.py", line 124, in upload_itunesconnect
    data = load_plist_ipa(ipa_path)
  File "/usr/local/lib/python3.4/site-packages/cavejohnson/__init__.py", line 283, in load_plist_ipa
    assert len(info_plists) == 1
AssertionError

Any idea how to fix this problem?

Is it possible for you to email me an affected IPA?
It's caused by, essentially, an unexpected configuration of Info.plist files, so it's not sure where to get the app's data.  With a sample case I could produce something better.

Sadly I can't send IPA (it's not my own project).
I can send you Info.plist (I will change some crucial data).

In that case I'll need a "cleanroom" test project.  This issue is caused by the configuration of the (multiple) Info.plists and their paths in the IPA.  It's not isolated to 1 plist.
That being the case however, it should be very straightforward to produce a test project that exhibits the issue.  It just needs to create plist files in the same locations, with roughly the same contents.  As long as it does that, you should get the same error, and I can work from that.

I'm clearing the milestone assignment, since no test case has been produced and I don't want to hold the release waiting indefinitely.


add citest script and defconfig support on sim and qemu.

Summary
add open posix and cmocka test cases on qemu and sim on CI
Impact
CI run
Testing
local host

let's fix lint warning:
./tools/checkpatch.sh -f path/to/file

Please try add these line to sim-01.dat:
-Darwin,,sim:citest

please rebase and remove the merge

please rebase and remove the merge

done

let's fix lint warning:
./tools/checkpatch.sh -f path/to/file

done


BccButton disabled doesn't work in combination with the :is component param

Describe the bug

When setting the BccButton to disabled while using the is to enter in the component that the button is supposed to be, the disabled state is not taken into account.
Expected behavior
The styling and functionality of the disabled state should continue working when using the RouterLink component as BccButtons param.
root cause: commit_id

This is because the :disabled modifier is used to set the styles, but the disabled attribute only works on a button not an a element (even though it is set, it doesn't take effect). https://github.com/bcc-code/bcc-design/blob/main/design-library/src/components/BccButton/BccButton.css#L4


Trasaction size limits

What is the size of read/write transaction here ?

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

ID: 99e4ed29-a7ca-55fe-b867-cff017e0bba8
Version Independent ID: 1a2f3279-8721-bf00-897f-2dbd6a95c8b3
Content: Standard storage for Windows VM disks on Azure | Microsoft Docs
Content Source: articles/virtual-machines/windows/standard-storage.md
Service: virtual-machines-windows
GitHub Login: @yuemlu
Microsoft Alias: yuemlu

@guptapuneet Thank you for your feedback! We will investigate and get back to you with our findings.

@guptapuneet  I'd recommend checking the following thread:
"it depends on if you are using page or block blobs. It also depends on what library you are using to upload the blob. For block blobs, the storage client has a default value of the maximum size of the block being uploaded (32MB) and will split the file into n blocks - each block will be a transaction (see Understanding Block Blobs and Page Blobs. You will also need to consider retries, and as you point out, listing, deleting etc."
I will also assign this to the author for further clarification and affirmation.

#please-close @guptapuneet thank you for the feedback! I've created a work item for the author to clarify the transaction size limits in the doc.

@guptapuneet We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Can we expect this SDK to ever support local device communication?

Cloud issues are becoming frequent and an official local device communication would be a great addition to these devices.

I will not be buying any more tuya devices until this is implemented and I'm tempted to replace old ones with non tuya ones. Tuya cloud has been way too unreliable for me.


@emotion/react ThemeProvider not working

To reproduce:
Simple example from the rebass documentation and create-react-app: https://rebassjs.org/getting-started
import React from 'react';
import './App.css';
import {Heading} from 'rebass'
import { ThemeProvider } from '@emotion/react'
import styled from '@emotion/styled'

const theme = ...

function App() {
  return (
      <ThemeProvider theme={theme}>
        <div className="app">
          <Heading fontSize={7}>Hello</Heading>
        </div>
      </ThemeProvider>
  );
}

Expected behavior:
Theme is not applied to Rebass components
Environment information:

react version: 4.0
@emotion/react version: 11.4

Instead of @emiton/react, emotion-theming": "^10.0.27" does work for me, though I agree the behavior is not intended/poor.
Rebass seems dead though :(

Same issue with theme-ui provider, styles are not being applied. works with older version of theme-ui


how to access rgb camera data in client python code?

how should I access rgb camera data in client python code? For example, if I want to run image recognition for the rgb data captured from the camera? Is there an example?
Thanks!

https://carla.readthedocs.io/en/stable/connecting_the_client/

@varunjammula hi, thanks. but I can't find the client_example.py. I tried to give manual_control.py "--images-to-disk" option but it gave me "manual_control.py: error: unrecognized arguments: --images-to-disk". error. Is this option a new one added in 0.9.6? I'm trying to acess the image data while the client is running, not anaylzying the image after the simulation has finished. But I could find it out if this --images-to-disk option works. I'll try accessing the pygame.Surface data. (the HUD is displaying the image on the pygame.Surface object)

in my debug windown, I tried this
(Pydb) dir(world.camera_manager.surface)
['class', 'copy', 'delattr', 'doc', 'format', 'getattribute', 'hash', 'init', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', '_pixels_address', 'blit', 'blits', 'convert', 'convert_alpha', 'copy', 'fill', 'get_abs_offset', 'get_abs_parent', 'get_alpha', 'get_at', 'get_at_mapped', 'get_bitsize', 'get_bounding_rect', 'get_buffer', 'get_bytesize', 'get_clip', 'get_colorkey', 'get_flags', 'get_height', 'get_locked', 'get_locks', 'get_losses', 'get_masks', 'get_offset', 'get_palette', 'get_palette_at', 'get_parent', 'get_pitch', 'get_rect', 'get_shifts', 'get_size', 'get_view', 'get_width', 'lock', 'map_rgb', 'mustlock', 'scroll', 'set_alpha', 'set_at', 'set_clip', 'set_colorkey', 'set_masks', 'set_palette', 'set_palette_at', 'set_shifts', 'subsurface', 'unlock', 'unmap_rgb']
maybe if I could use a method of this world.camera_manager.surface,..
I'll try later.

What is the type(img) or typ(imgdata)?

Take a look at PythonAPI/examples/tutorial.py. I found it to be a good starting point to extract some images. Not as complex code wise as manual_control.py or so.

@cassfalg how would you write a code so that my ego-vehicle just don't move when it sees another vechicle? For example I want to access the bounding box sensor result. The tutorial.py doesn't give any clue regarding the usage of the sensor data. (I've seen how to set the control and apply it to my car)

@varunjammula sorry, on second observation, for my command
img = world.camera_manager.get_image()
I got
AttributeError:"'CameraManager' object has no attribute 'get_image'"
and for my command
imgdata = pygame.surfarray.array_3d(img)
I got
AttributeError:"'module' object has no attribute 'array_3d'"

in manual_control.py in CameraManager class,
_parse_image(weak_self, image) function, the image is accessed in else loop as an array line 764-767.


TLS support for bootstrap server configuration

Currently it seems there is support to use TLS for bootstrapServers. We have Kafka brokers where TLS and authentication enabled to connect the broker server.
Can we have this support, so that we can use this helm chart to publish Kafka logs on Sumologic.

TLS support is already available.
The extra volumes example refers to the truststore/keystore mounts needed and the settings just need to be put into the conf identified by endpointsSecret
https://github.com/SumoLogic/sumologic-kafka-push/tree/main/helm#extra-volumes

you would include something like:
akka: {
  kafka.consumer: {
    security.protocol: SSL
    ssl.truststore.location: /opt/kafka/config/kafka.truststore.jks
    ssl.truststore.password: trustore_password
    ssl.keystore.location: /opt/kafka/config/client.keystore.jks
    ssl.keystore.password: keystore_password
    ssl.key.password: key_password
    ssl.enabled.protocols: TLSv1.2,TLSv1.1,TLSv1
    ssl.client.auth: required
  }
}

Hi Vijit,
Thanks a lot for response.
Do we have option to override “akka” configuration in helm chart, I have not seen this.
If you can share the helm chart actual configuration that will help a lot.
Regards,
Anup
From: Vijit Singhal @.>
Date: Monday, April 25, 2022 at 8:55 AM
To: SumoLogic/sumologic-kafka-push @.>
Cc: Anup Kumar Shrivastava @.>, Author @.>
Subject: Re: [SumoLogic/sumologic-kafka-push] TLS support for bootstrap server configuration (Issue #41)
you would include something like:
akka: {
kafka.consumer: {
security.protocol: SSL

ssl.truststore.location: /opt/kafka/config/kafka.truststore.jks

ssl.truststore.password: trustore_password

ssl.keystore.location: /opt/kafka/config/client.keystore.jks

ssl.keystore.password: keystore_password

ssl.key.password: key_password

ssl.enabled.protocols: TLSv1.2,TLSv1.1,TLSv1

ssl.client.auth: required

}
}
—
Reply to this email directly, view it on GitHubhttps://github.com/SumoLogic/sumologic-kafka-push/issues/41#issuecomment-1108753132, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABG2JZYDJHNGOZF43NFFECDVG257RANCNFSM5TPCEZDA.
You are receiving this because you authored the thread.Message ID: @.***>

Thanks a lot Vijit,
I will work on it and will update on this thread for sure.
Regards,
Anup
From: Vijit Singhal @.>
Date: Monday, April 25, 2022 at 9:31 AM
To: SumoLogic/sumologic-kafka-push @.>
Cc: Anup Kumar Shrivastava @.>, Author @.>
Subject: Re: [SumoLogic/sumologic-kafka-push] TLS support for bootstrap server configuration (Issue #41)
you can take a look at: https://github.com/SumoLogic/sumologic-kafka-push/blob/main/helm/README.md#configuration
Basically, the additional conf needs to be put in a file and that file will be specified at endpointsSecret parameter in the helm chart.
—
Reply to this email directly, view it on GitHubhttps://github.com/SumoLogic/sumologic-kafka-push/issues/41#issuecomment-1108791008, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABG2JZ5ZRE5L5KALKBBWB4LVG3CEZANCNFSM5TPCEZDA.
You are receiving this because you authored the thread.Message ID: @.***>

were you able to run helm upgrade successfully after the changes that you made?

On pod startup you should see in the logs the kafka consumer configuration. Does it match with what you are setting in the endpointsSecret? The secret should also be formatted as follows:
{
"application.conf": "{"akka":{"kafka.consumer": { ... } }"
}

Please have a look at https://github.com/SumoLogic/sumologic-kafka-push/pull/45

@vsinghal13 Have applied the same configuration as what you have mentioned in your PR. But still the SSL configuration dont works in our environment. We have other applications as well on our cluster which uses the same SSL configuration and it does work on them.
Also did performed the troubleshooting steps as well and all looks correct from that front.
So can you please advise as what might be going wrong ?
Logs:
`2022-06-24 11:28:34 INFO  [.default-dispatcher-3]  a.e.s.Slf4jLogger - Slf4jLogger started
2022-06-24 11:28:35 INFO  [.default-dispatcher-7]  a.k.i.SingleSourceLogic - [066ce] Starting. StageActor Actor[akka://sumo-push-main/system/Materializers/StreamSupervisor-0/$$c#97301754]
2022-06-24 11:28:35 INFO  [default-dispatcher-10]  o.a.k.c.c.ConsumerConfig - ConsumerConfig values:
allow.auto.create.topics = true
auto.commit.interval.ms = 5000
auto.offset.reset = earliest
bootstrap.servers = [10.2x0.x.27:9093, 10.2x0.x.40:9093, 10.2x0.x.137:9093, 10.2x0.x.178:9093]
check.crcs = true
client.dns.lookup = use_all_dns_ips
client.id = consumer-kafka-push-logs-1
client.rack =
connections.max.idle.ms = 540000
default.api.timeout.ms = 60000
enable.auto.commit = false
exclude.internal.topics = true
fetch.max.bytes = 52428800
fetch.max.wait.ms = 500
fetch.min.bytes = 1
group.id = kafka-push-logs
group.instance.id = null
heartbeat.interval.ms = 3000
interceptor.classes = []
internal.leave.group.on.close = true
internal.throw.on.fetch.stable.offset.unsupported = false
isolation.level = read_uncommitted
key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
max.partition.fetch.bytes = 1048576
max.poll.interval.ms = 300000
max.poll.records = 500
metadata.max.age.ms = 300000
metric.reporters = []
metrics.num.samples = 2
metrics.recording.level = INFO
metrics.sample.window.ms = 30000
partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor]
receive.buffer.bytes = 65536
reconnect.backoff.max.ms = 1000
reconnect.backoff.ms = 50
request.timeout.ms = 30000
retry.backoff.ms = 100
sasl.client.callback.handler.class = null
sasl.jaas.config = [hidden]
sasl.kerberos.kinit.cmd = /usr/bin/kinit
sasl.kerberos.min.time.before.relogin = 60000
sasl.kerberos.service.name = null
sasl.kerberos.ticket.renew.jitter = 0.05
sasl.kerberos.ticket.renew.window.factor = 0.8
sasl.login.callback.handler.class = null
sasl.login.class = null
sasl.login.refresh.buffer.seconds = 300
sasl.login.refresh.min.period.seconds = 60
sasl.login.refresh.window.factor = 0.8
sasl.login.refresh.window.jitter = 0.05
sasl.mechanism = GSSAPI
security.protocol = SSL
security.providers = null
send.buffer.bytes = 131072
session.timeout.ms = 10000
socket.connection.setup.timeout.max.ms = 127000
socket.connection.setup.timeout.ms = 10000
ssl.cipher.suites = null
ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1]
ssl.endpoint.identification.algorithm = https
ssl.engine.factory.class = null
ssl.key.password = [hidden]
ssl.keymanager.algorithm = SunX509
ssl.keystore.certificate.chain = null
ssl.keystore.key = null
ssl.keystore.location = /etc/ssl/certs/kafka/truststore.jks
ssl.keystore.password = [hidden]
ssl.keystore.type = JKS
ssl.protocol = TLSv1.3
ssl.provider = null
ssl.secure.random.implementation = null
ssl.trustmanager.algorithm = PKIX
ssl.truststore.certificates = null
ssl.truststore.location = /etc/ssl/certs/kafka/truststore.jks
ssl.truststore.password = [hidden]
ssl.truststore.type = JKS
value.deserializer = class com.sumologic.sumopush.serde.KubernetesLogEventSerde$
2022-06-24 11:28:35 WARN  [default-dispatcher-10]  o.a.k.c.c.ConsumerConfig - The configuration 'ssl.client.auth' was supplied but isn't a known config.
2022-06-24 11:28:35 INFO  [default-dispatcher-10]  o.a.k.c.u.AppInfoParser - Kafka version: 2.7.0
2022-06-24 11:28:35 INFO  [default-dispatcher-10]  o.a.k.c.u.AppInfoParser - Kafka commitId: 448719dc99a19793
2022-06-24 11:28:35 INFO  [default-dispatcher-10]  o.a.k.c.u.AppInfoParser - Kafka startTimeMs:<PHONE_NUMBER>704
2022-06-24 11:28:35 INFO  [default-dispatcher-10]  o.a.k.c.c.KafkaConsumer - [Consumer clientId=consumer-kafka-push-logs-1, groupId=kafka-push-logs] Subscribed to pattern: 'v2dev-instaclustr.*-logs'
2022-06-24 11:28:36 WARN  [default-dispatcher-24]  o.a.k.c.NetworkClient - [Consumer clientId=consumer-kafka-push-logs-1, groupId=kafka-push-logs] Bootstrap broker <IP_ADDRESS>:9093 (id: -1 rack: null) disconnected
2022-06-24 11:28:37 WARN  [default-dispatcher-25]  o.a.k.c.NetworkClient - [Consumer clientId=consumer-kafka-push-logs-1, groupId=kafka-push-logs] Bootstrap broker <IP_ADDRESS>:9093 (id: -3 rack: null) disconnected
2022-06-24 11:28:37 WARN  [default-dispatcher-10]  o.a.k.c.NetworkClient - [Consumer clientId=consumer-kafka-push-logs-1, groupId=kafka-push-logs] Bootstrap broker <IP_ADDRESS>:9093 (id: -4 rack: null) disconnected
`

@ddaughertysl any suggestions on this?

i think this shows progress in that the ssl settings are now being applied and the security protocol is SSL. The question is why aren't they working. Which is a bit harder for us to answer without comparing both the settings that work in your other applications and the sumo-push settings.  Also i notice that your ssl.protocol is set to TLSv1.3 and ssl.enabled.protocols don't include that value.  So you might also try including v1.3 in the list of enabled protocols.

@ddaughertysl Did the requested change but still the issue persist.
2022-07-01 09:27:03 INFO  [.default-dispatcher-3]  a.e.s.Slf4jLogger - Slf4jLogger started
2022-07-01 09:27:05 INFO  [.default-dispatcher-5]  a.k.i.SingleSourceLogic - [f1e6a] Starting. StageActor Actor[akka://sumo-push-main/system/Materializers/StreamSupervisor-0/$$c#-38628872]
2022-07-01 09:27:05 INFO  [default-dispatcher-10]  o.a.k.c.c.ConsumerConfig - ConsumerConfig values:
allow.auto.create.topics = true
auto.commit.interval.ms = 5000
auto.offset.reset = earliest
bootstrap.servers = [10.x.27:9093, 10.x.40:9093, 10.x.100:9093, 10.x.92:9093, 10.x.137:9093, 10.x.178:9093]
check.crcs = true
client.dns.lookup = use_all_dns_ips
client.id = consumer-kafka-push-logs-1
client.rack =
connections.max.idle.ms = 540000
default.api.timeout.ms = 60000
enable.auto.commit = false
exclude.internal.topics = true
fetch.max.bytes = 52428800
fetch.max.wait.ms = 500
fetch.min.bytes = 1
group.id = kafka-push-logs
group.instance.id = null
heartbeat.interval.ms = 3000
interceptor.classes = []
internal.leave.group.on.close = true
internal.throw.on.fetch.stable.offset.unsupported = false
isolation.level = read_uncommitted
key.deserializer = class org.apache.kafka.common.serialization.StringDeserializer
max.partition.fetch.bytes = 1048576
max.poll.interval.ms = 300000
max.poll.records = 500
metadata.max.age.ms = 300000
metric.reporters = []
metrics.num.samples = 2
metrics.recording.level = INFO
metrics.sample.window.ms = 30000
partition.assignment.strategy = [class org.apache.kafka.clients.consumer.RangeAssignor]
receive.buffer.bytes = 65536
reconnect.backoff.max.ms = 1000
reconnect.backoff.ms = 50
request.timeout.ms = 30000
retry.backoff.ms = 100
sasl.client.callback.handler.class = null
sasl.jaas.config = [hidden]
sasl.kerberos.kinit.cmd = /usr/bin/kinit
sasl.kerberos.min.time.before.relogin = 60000
sasl.kerberos.service.name = null
sasl.kerberos.ticket.renew.jitter = 0.05
sasl.kerberos.ticket.renew.window.factor = 0.8
sasl.login.callback.handler.class = null
sasl.login.class = null
sasl.login.refresh.buffer.seconds = 300
sasl.login.refresh.min.period.seconds = 60
sasl.login.refresh.window.factor = 0.8
sasl.login.refresh.window.jitter = 0.05
sasl.mechanism = GSSAPI
security.protocol = SSL
security.providers = null
send.buffer.bytes = 131072
session.timeout.ms = 10000
socket.connection.setup.timeout.max.ms = 127000
socket.connection.setup.timeout.ms = 10000
ssl.cipher.suites = null
ssl.enabled.protocols = [TLSv1.3, TLSv1.2, TLSv1.1, TLSv1]
ssl.endpoint.identification.algorithm = https
ssl.engine.factory.class = null
ssl.key.password = [hidden]
ssl.keymanager.algorithm = SunX509
ssl.keystore.certificate.chain = null
ssl.keystore.key = null
ssl.keystore.location = /etc/ssl/certs/kafka/truststore.jks
ssl.keystore.password = [hidden]
ssl.keystore.type = JKS
ssl.protocol = TLSv1.3
ssl.provider = null
ssl.secure.random.implementation = null
ssl.trustmanager.algorithm = PKIX
ssl.truststore.certificates = null
ssl.truststore.location = /etc/ssl/certs/kafka/truststore.jks
ssl.truststore.password = [hidden]
ssl.truststore.type = JKS
value.deserializer = class com.sumologic.sumopush.serde.KubernetesLogEventSerde$
2022-07-01 09:27:05 WARN  [default-dispatcher-10]  o.a.k.c.c.ConsumerConfig - The configuration 'ssl.client.auth' was supplied but isn't a known config.
2022-07-01 09:27:05 INFO  [default-dispatcher-10]  o.a.k.c.u.AppInfoParser - Kafka version: 2.7.0
2022-07-01 09:27:05 INFO  [default-dispatcher-10]  o.a.k.c.u.AppInfoParser - Kafka commitId: 448719dc99a19793
2022-07-01 09:27:05 INFO  [default-dispatcher-10]  o.a.k.c.u.AppInfoParser - Kafka startTimeMs:<PHONE_NUMBER>750
2022-07-01 09:27:05 INFO  [default-dispatcher-10]  o.a.k.c.c.KafkaConsumer - [Consumer clientId=consumer-kafka-push-logs-1, groupId=kafka-push-logs] Subscribed to pattern: 'v2dev-instaclustr.*-logs'
2022-07-01 09:27:06 WARN  [default-dispatcher-24]  o.a.k.c.NetworkClient - [Consumer clientId=consumer-kafka-push-logs-1, groupId=kafka-push-logs] Bootstrap broker 10.x.27:9093 (id: -1 rack: null) disconnected
2022-07-01 09:27:07 WARN  [default-dispatcher-23]  o.a.k.c.NetworkClient - [Consumer clientId=consumer-kafka-push-logs-1, groupId=kafka-push-logs] Bootstrap broker 10.x.100:9093 (id: -3 rack: null) disconnected
2022-07-01 09:27:07 WARN  [default-dispatcher-24]  o.a.k.c.NetworkClient - [Consumer clientId=consumer-kafka-push-logs-1, groupId=kafka-push-logs] Bootstrap broker 10.x.137:9093 (id: -5 rack: null) disconnected
2022-07-01 09:27:08 WARN  [default-dispatcher-23]  o.a.k.c.NetworkClient - [Consumer clientId=consumer-kafka-push-logs-1, groupId=kafka-push-logs] Bootstrap broker 10.x.40:9093 (id: -2 rack: null) disconnected

have you configured your security.protocol and sasl.mechanism as follows? https://kafka.apache.org/documentation/#security_sasl_scram_clientconfig

@ddaughertysl thanks again. it has worked now. But log parsing is failing now with below error. Do we need to configure serdeClass ?
Error Logs:
2022-07-06 18:19:16 ERROR [default-dispatcher-28]  c.s.s.a.LogProcessor$ - unable to parse log message payload: Jul 01 13:42:06 8f844057-a8f5-4f0d-9b66-3347d9815750 [2022-07-01 13:42:06,957] INFO [SocketServer listenerType=ZK_BROKER, nodeId=2] Failed authentication with /<IP_ADDRESS> (Unexpected Kafka request of type METADATA during SASL handshake.) (org.apache.kafka.common.network.Selector)
java.lang.Exception: payload: Jul 01 13:42:06 8f844057-a8f5-4f0d-9b66-3347d9815750 [2022-07-01 13:42:06,957] INFO [SocketServer listenerType=ZK_BROKER, nodeId=2] Failed authentication with /<IP_ADDRESS> (Unexpected Kafka request of type METADATA during SASL handshake.) (org.apache.kafka.common.network.Selector)
at com.sumologic.sumopush.serde.KubernetesLogEventSerde$.deserialize(KubernetesLogEventSerde.scala:15)
at com.sumologic.sumopush.serde.KubernetesLogEventSerde$.deserialize(KubernetesLogEventSerde.scala:8)
at org.apache.kafka.common.serialization.Deserializer.deserialize(Deserializer.java:60)
at com.sumologic.sumopush.serde.LogEventSerde.deserialize(LogEventSerde.scala:8)
at org.apache.kafka.clients.consumer.internals.Fetcher.parseRecord(Fetcher.java:1387)
at org.apache.kafka.clients.consumer.internals.Fetcher.access$3400(Fetcher.java:133)
at org.apache.kafka.clients.consumer.internals.Fetcher$CompletedFetch.fetchRecords(Fetcher.java:1618)
at org.apache.kafka.clients.consumer.internals.Fetcher$CompletedFetch.access$1700(Fetcher.java:1454)
at org.apache.kafka.clients.consumer.internals.Fetcher.fetchRecords(Fetcher.java:687)
at org.apache.kafka.clients.consumer.internals.Fetcher.fetchedRecords(Fetcher.java:638)
at org.apache.kafka.clients.consumer.KafkaConsumer.pollForFetches(KafkaConsumer.java:1272)
at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1233)
at org.apache.kafka.clients.consumer.KafkaConsumer.poll(KafkaConsumer.java:1206)
at akka.kafka.internal.KafkaConsumerActor.poll(KafkaConsumerActor.scala:549)
at akka.kafka.internal.KafkaConsumerActor$$anonfun$regularReceive$1.applyOrElse(KafkaConsumerActor.scala:296)
at akka.actor.Actor.aroundReceive(Actor.scala:537)
at akka.actor.Actor.aroundReceive$(Actor.scala:535)
at akka.kafka.internal.KafkaConsumerActor.akka$actor$Timers$$super$aroundReceive(KafkaConsumerActor.scala:205)
at akka.actor.Timers.aroundReceive(Timers.scala:56)
at akka.actor.Timers.aroundReceive$(Timers.scala:41)
at akka.kafka.internal.KafkaConsumerActor.aroundReceive(KafkaConsumerActor.scala:205)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:577)
at akka.actor.ActorCell.invoke(ActorCell.scala:547)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270)
at akka.dispatch.Mailbox.run(Mailbox.scala:231)
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.lang.Thread.run(Thread.java:829)
Caused by: org.json4s.ParserUtil$ParseException: unknown token J
Near: J
at org.json4s.native.JsonParser$Parser.fail(JsonParser.scala:236)
at org.json4s.native.JsonParser$Parser.nextToken(JsonParser.scala:324)
at org.json4s.native.JsonParser$.$anonfun$astParser$1(JsonParser.scala:188)
at org.json4s.native.JsonParser$.$anonfun$astParser$1$adapted(JsonParser.scala:145)
at org.json4s.native.JsonParser$.parse(JsonParser.scala:133)
at org.json4s.native.JsonParser$.parse(JsonParser.scala:71)
at org.json4s.native.JsonParser$.parse(JsonParser.scala:50)
at org.json4s.native.Serialization$.read(Serialization.scala:71)
at org.json4s.Serialization.read(Serialization.scala:25)
at org.json4s.Serialization.read$(Serialization.scala:25)
at org.json4s.native.Serialization$.read(Serialization.scala:32)
at com.sumologic.sumopush.model.KubernetesLogEventSerializer$.fromJson(KubernetesLogEvent.scala:47)
at com.sumologic.sumopush.serde.KubernetesLogEventSerde$.deserialize(KubernetesLogEventSerde.scala:13)
... 27 common frames omitted

Yes you should be using the JsonLogEventSerde but it also looks like your messages aren't in Json format. Can you fix that?

Yes per the docs https://github.com/SumoLogic/sumologic-kafka-push#supported-message-formats we only support json format at this time.

Yes. I had to adjust resource configuration.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Vijit Singhal @.>
Sent: Tuesday, April 26, 2022 6:16 PM
To: SumoLogic/sumologic-kafka-push @.>
Cc: Anup Kumar Shrivastava @.>; Author @.>
Subject: Re: [SumoLogic/sumologic-kafka-push] TLS support for bootstrap server configuration (Issue #41)
were you able to run helm upgrade successfully after the changes that you made?
—
Reply to this email directly, view it on GitHubhttps://github.com/SumoLogic/sumologic-kafka-push/issues/41#issuecomment-1110427592, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABG2JZ4KTZE5VTAI2GFX7PDVHCIP7ANCNFSM5TPCEZDA.
You are receiving this because you authored the thread.Message ID: @.***>


RmsProp stochastic optimization in Neural Nets

From issue #2967
Implemented RmsProp training algorithm from optimization/RmsPropUpdater.h to Neural Networks, in NeuralNetwork.cpp.
Default values of the hyper parameters are the standard default values: epsilon=1e-6 and decay_factor=0.9.
I also wrote a simple unit test to make sure rmsprop works, based off the regression unit test.

In the gradient_descent unit test, I set the values of epsilon and decay_factor as 1.0 and 0.99 respective. This ensures that rmsprop has minimal effect in learning and doesn't interfere.
Ideally, decay_factor should be 1.0, but that's not permitted. I will later send a PR proposing to change its range from [0,1) to [0,1], if you guys will allow that.

If would be great if you can squash the indentation commits into the main one.

I fixed up:

proper documentation for grouping members together
using Latex for the formulae
remove some unnecessary '@'s

I'm sorry for the trouble - it's my first PR and I was careless.
I'll now get onto squashing the 5 commits into 1.
Thanks :)

Thanks to you for getting back with the fixes swiftly :-)

@lisitsyn @iglesias @arasuarun
We should use an interface for optimizers instead of a specific optimizer (eg, rmsprop).
Please consider the following case:
if users want to use ADAM/ADGRAD optimizer, it seems that we have to modify the code according to this PR.
@arasuarun  correct me if I am wrong.

@yorkerlin That's completely right. Now that you mention it, since they all derive from the class DescendUpdaterWithCorrection and have the same members/interface, it makes more sense to have a general implementation.
I raised #2967 some time back (and didn't get any response, so I went ahead with it :P ). I think we can continue the discussion there.

news?

Sorry for the late response @karlnapf, I missed your ping among the various the notifications. I now get a taste of how you guys must feel. :)
Reg. this, considering we have PR #2973, this is no longer required. I'll go ahead and close this. Thanks.


”Teliucu Inferior” is listed in the drop-down menu

Description:
"Teliucu Inferior" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Teliucu Inferior" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Teliucu Inferior, HUNEDOARA".


Config file is ignored when run ruff from the plugin

Describe the bug
Several users have pointed out a problem with config information in pyproject.toml and ruff.toml not being read.
However, the config information is applied when the ruff command is invoked directly from the terminal.
I could not reproduce the problem in my environment, so I have created this issue to sort out and resolve the issue.
To Reproduce
Steps to reproduce the behavior:

Add configs as pyproject.toml or ruff.toml in a project.
Write code that violates the rules.
See wrong warning

Expected behavior
The plugin doesn't show wrong waring (respect configs)
Screenshots
I can't reproduce the problem
Environments (please complete the following information):

IDE: PyCharm 2023.3 EAP (Professional Edition)
OS: Ubuntu 22.04.3 LTS
Ruff Version 0.0.292
Plugin version 0.0.24

Related Issues
https://github.com/koxudaxi/ruff-pycharm-plugin/issues/277
https://plugins.jetbrains.com/plugin/20574-ruff/reviews#review=91176-91183
https://plugins.jetbrains.com/plugin/20574-ruff/reviews#review=90927-91184

@xyxz-web
Thank you for sharing the example.
I have tried the config.
But, It works fine in my local.
Could you please share the plugin version, ruff version, and ruff config?
my environment are
IDE: PyCharm 2023.2.1 (Professional Edition)
OS: macOS 14
Ruff Version 0.1.1
Plugin version 0.0.24

I did upgrade several dependencies

After the dependencies are installed, and PyCharm has re-detected the package, the plugin will re-set the path to the ruff.

restart PyCharm after activating the ruff-lsp option.

ruff-lsp is not enabled before restarting PyCharm.
Should we show a popup dialog to restart? :thinking:

I think the pyproject.toml discovery differs between the plugin and running ruff via command-line.
https://docs.astral.sh/ruff/configuration/#pyprojecttoml-discovery
(Note that passing the configuration file explicitly via --config disables the intelligent auto-discovery of the closest configuration file to the subject python file)
I observed the subject issue within a Pycharm project where the content root doesn't contain the .idea directory. Something like this:
~/PycharmProjects/foo-project/.idea/
~/dev/foo/ # this is the content root
~/dev/foo/.venv/ # virtual environment with ruff binary used by the Ruff plugin

"Ruff config file" was left empty in the plugin configuration.
I placed ruff.toml both in ~/PycharmProjects/foo-project/ and in ~/dev/foo/, and tried to format some python files in ~/dev/foo/:

Ruff plugin used ~/PycharmProjects/foo-project/ruff.toml
ruff binary from command-line used ~/dev/foo/ruff.toml, regardless of current working directory

I have the same issue. In the pyproject.toml file in the section tool.ruff.lint.per-file-ignores I have an entry "__init__.py" = ["PLC0414"], which in the Pycharm show me an error PLC0414. But when I run ruff with CLI everything is ok. Is it any update to this issue?

I am also having the same issue as above i.e. [tool.ruff.lint.per-file-ignores] rules are being ignored from pyproject.toml when using the PyCharm plugin, where other settings are working correctly e.g. [tool.ruff.lint].
Running ruff via the command-line detects the [tool.ruff.lint.per-file-ignores] settings and hence the issue appears isolated to (1) the ruff-plugin and (2) per-file-ignores settings specifically.
Environment:
OS: RHEL9
PyCharm: 2024.2.3 (Community Edition)
ruff version: ruff 0.6.9
ruff-plugin: 0.0.41


Test Algolia V3 update DO NOT MERGE TO MASTER

Test Algolia V3 update
https://deploy-preview-638--dita-ot.netlify.app/algolia test page that uses Algolia v3
DO NOT MERGE TO MASTER

Closing after successful tests.


Elb sg https redirect

opening 80 on edge security group

@viviandarkbloom why are edge nodes open to the world? I was assuming they would only be open to ELB traffic


Pack dumped regs more tightly

This helps show more logging context when something goes wrong at boot and you have no serial
Signed-off-by: Graham MacDonald<EMAIL_ADDRESS>

They are on one line, tab separated.  E.g.


add flag mutable

Please, could you accept this PR. I had to uninstall the plugin for my app to continue working

Similar to #466 and #477

Already included in https://github.com/chariotsolutions/phonegap-nfc/pull/460, thus this PR could be closed as duplicate.


Run on Travis CI Ubuntu 14.04 (Trusty) image

Run with more modern Trusty images on Travis CI.
https://docs.travis-ci.com/user/trusty-ci-environment/

Confused with that change, is it only travis config ? If so what is all other changes about ? (Already accepted a pull request for test fixes)

@ferhatsb Yes, that's only for trying out if the build failures (i. e. the OS killing the Maven build on Travis CI) could be fixed with a different image.
It didn't work, so I'll simply close this PR. Thanks for looking into it!


bump default version to 0.49.1 (or greater)

There is an open CVE for rubocop versions less than 0.49.1.
see https://github.com/bbatsov/rubocop/issues/4336

This would be great.

Or create a channel for 0.49.1, please!

any progress on this?
codeclimate seems to be contradicting local rubocop offences because of the version difference

Notably I'm receiving errors for mismatching Style/PercentLiteralDelimiters rules, something fixed in a more recent version of rubocop. bbatsov/rubocop#4039

I saw chatter on the rails/rails repo this weekend about how the Rubocop config on CodeClimate is dated. Lack of this update is wasting a lot of time for folks. What gives?

One of the main reasons I'm paying for CodeClimate for several people at my company is to have accurate rubocop on PRs. Please fix this soon! cc: @brynary

@olbrich @jondkinney et al. Thanks for bringing this to our attention. This appears to have fallen through a gap in our processes here and we're now teeing this up for engineering. We will post updates here.

@brynary Any update on this?  It's been a week since your last comment.  Is there an ETA for when Rubocop 0.49.1 will be available?

HI @petergoldstein,
we started working on this, should have it done by next week. Thanks!

This has been released, thanks to @pointlessone !

@katwchen You reopened this because the new channel still needs to be made available, right?

@deivid-rodriguez Yes. I will close this issue when the channel will be available on CC and in the CLI.

Ok, thank you! :heart:

rubocop-0-49 channel is available both on CC and in CLI. It runs RuboCop 0.49.1.

How to get the updated version? When i use the codeclimate cli it still downloads a 3 month old codeclimate-rubocop, which has 0.46:
codeclimate/codeclimate-rubocop  latest  4aa21887caac  3 months ago  189MB

@sullerandras 👋 hi there. Are you explicitly setting your channel to rubocop-0-49?


Error on hreference link

on the Quick form control Methods table the "getcontrol" and "getcontroltype" has the same hreference link.

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

ID: ba409176-ddca-d985-291a-35782fa66e21
Version Independent ID: c3719607-83fc-78cf-559e-ab2eb09b2ce7
Content: formContext.ui.quickForms (Client API reference) in model-driven apps - Power Apps
Content Source: powerapps-docs/developer/model-driven-apps/clientapi/reference/formContext-ui-quickForms.md
Service: powerapps
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

@danielftk Thanks for the feedback. We have updated the docs with the correct information and pushed to live. Closing the issue.


order shipping inventory source #7281

Issue Reference
#7281

@rachana-webkul
This is working fine, Please find the screenshot Here

@devansh-webkul
done changes in submit function,please verify


Separating the Vault status in the vault table: accepting issues requests and collateral levels

Is your feature request related to a problem? Please describe.
In the Vault table( e.g., https://kintsugi.interlay.io/dashboard/vaults), we show a "Status" column that mixes collateral levels and the Vault's setting to accept issue requests.
However, this does not work well as we have combined states such as (ACCEPT_ISSUE_FALSE && BELOW_SECURE_THRESHOLD).
In the screenshot below, Vault a3fxCi...669v6eN is below the secure threshold but also not accepting new requests.

Describe the solution you'd like
I would like to adjust the table as follows:

Collateralization column currently shows the actual collateralization with a color coding.

Add the worded collateral status as an enum that says one of "Above Secure Threshold", "Above Premium Redeem Threshold", "Above Liquidation Threshold", or "Liquidated"
Link in the tooltip to the collateralization threshold docs: https://docs.interlay.io/#/vault/overview?id=collateral-thresholds

Rename the Status column to Accepting new iBTC and only track if Vaults accept new issue request or not. Possible states: "Active", "Inactive", "Liquidated".

Describe alternatives you've considered
If adding the worded version of the collateral thresholds as proposed in point 1 above makes the table cluttered, possibly this can just be added in an extra column
Additional context
n/a

I personally prefer the "Below XX threshold" because that's what people worry more about. Saying "Above XX threshold" requires people to be intimately familiar with the different possible thresholds and states in order to know what negative state they're already in. ("Above Liquidation Threshold" sounds fine. But "Below Premium Redeem Threshold" immediately tells you Uh Oh!)

Please incorporate the vaults' "custom secure collateralization threshold" into considerations everywhere in the UI because it changes how the vault behaves. Specifically for this discussion, if custom threshold is 300% and vault is at 270% then a status of "below custom secure threshold" is more important than "above secure threshold" which is irrelevant (vault won't issue any more).

A single status column instead of two might still be ok. Basically what users need to know is "can I mint iBTC with this vault? If not why not?". I'd prioritize "below threshold" states over "Issuing Disabled" states.
So

"Active" or "Issuing Disabled" if vault collateral above 260% and custom threshold.
"Below custom secure threshold"
"Below secure threshold"
"Below premium redeem threshold"
"Liquidated"  -- btw might be useful to flag why, like collateralization vs "theft"


router.isActive to validate trailing params

I'm trying to check routes with Router.isActive
If the current route is /animals/edit
(router.isActive('/animals/edit')
is true.
But if the current route is /animals/edit/23
(router.isActive('/animals/edit/')
is false.
How can I make a route that encompasses trailing params?
eg. /animals/edit/1, /animals/edit/0201, animals/edit/1212 should all be true if the router has animals/edit/ in it.

isActive only works on the exact pathname, including parameters. You should check routes in some other way, most likely.


As a user I should be able to submit transfers unrelated to just money (0 value calldata)

There are cases where users want to send calldata but don't care about the transfer of funds. In this case assetIds, amounts, etc don't matter, and we should bypass these checks in the contracts.

This is tested as a forge test in #1240

Closed by #1240


Update docs for frame rate limits in Indigo's config

It has been noticed by many people that the frame rates in Indigo are all over the place.
The advice is to not set a frame limit in Indigo's config.
By default you will be limited anyway by the browser / electron, and the frame rate generated at that level will be smooth and accurate.
The only use of the framerate limiter in the GameConfig is to globally prevent excessive updates - but they cannot by an accurate framerate, or even be on par with the browser. Sounds crazy but it's true.
Example of when you might want to use it:
If you disable the framerate limiter in electron, with a modern version of electron and a simple enough game, it's plausible to get  > 1000 fps - at which point (on my machine at least) the browser goes nuts trying to keep up. So for sanity you could enable a limit. But better yet - just don't disable the electron limiter in the first place!
Here is an example of why it will never be accurate.
Indigo uses requestAnimationFrame under the covers. If your browser gives a framerate of 144 fps (like mine does), then at best, you have an interval of 1000/144=6.9ms. Let's do the simple maths:
Browser frame duration = 1000 / 144=6.9ms
60fps is our desired FPS = 1000 / 60 = 16.7ms
Great, let's wait for a frame:
6.9ms = 6.9ms - wait for it...
6.9ms + 6.9ms = 13.8 ms - wait for it...
6.9ms + 6.9ms = 20.7 ms - OH HECK WE'RE LATE

20.7ms is an FPS of = 1000/20.7=48fps

Every. Single. Time.

But wait! Just disable the limit right? Then we'll get an interval smaller than 6.9ms. Maybe. But it still won't be 'accurate', and for the record that a) does not work for me, and b) causes other problems like the toggle dev tools crashing the game because the browser is screaming along at 1000fps. :rofl:
So the advice is: Let the browser limit the frames, disable the frame limiter in Indigo's config, code animation to account for time, if you do need to limit the rate of update, do so in your game on-purpose.

This may now not be necessary with PR #474 - it's looking pretty solid - of course mileage may yet vary across devices and so on...


Field list

in the same way that django admin propose a list_display array of fields to display in the object list view, it would be nice to have a history_list_display array of fields to display in the object history list view. That way, we could track easily which field has changed (typically one important like an object status) without having to open the details one by one.
Seems to do exactly what I want when I pull it in my project. It's way less complex than the django admin object list, but I think the complexity is not needed here (or could be added later).
Note: I'm in the mountain with limited internet. I was unable to run the test suite (I still coded one), maybe because it's trying to run it against django 1.10 that is not supported. In any case, I haven't looked further into testing it yet. Let me know if you find issues.

There are errors on 3 builds in travis, but they don't seem to be related to my changes

OperationalError: no such table: tests_historicaltrackedwithmultipleabstractbases

I'll let you advise

Current coverage is 96.71% (diff: 90.90%)

Merging #256 into master will decrease coverage by 0.14%

@@             master       #256   diff @@
==========================================
  Files             9         11     +2
  Lines           445        456    +11
  Methods           0          0
  Messages          0          0
  Branches         56         57     +1
==========================================
+ Hits            431        441    +10
  Misses            7          7
- Partials          7          8     +1

Powered by Codecov. Last update 6580dde...9f2e150

any comments ? should I simply resolve the conflicts?

I upped the code coverage.
Can you let me know what you think about it?
Thanks

I think I understand what this change does but I'm not certain. Seeing a screenshot of this would be helpful.
I would also be open to adding a screenshot to the documentation if you think it makes sense.

Here it is:
The visualization of the history is pretty dull by default. You don't get to see what has changed. And in a model that changes quite a bit, finding a point in time where some changes were made is challenging.

With the change, you can control which columns are visible in the history list view, and therefore get a quick glimpse at when some information was modified

I'll see to add that to the documentation

and here you are

@gbataille cool! This change looks good to be. 👍
I think this will be good for merging after the current merge conflicts are resolved with master.

done

Thanks @gbataille!


fix: Encoded the url before passing to faraday

This is to avoid failure when the url is valid but not encoded
Checklist
🔑

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
The url metada in iTunes Connect can contain a non encoded url, like in our case, https://moneytree.jp/個人情報保護方針/ that is a valid url. But running bundle exec fastlane precheck returns a failure.
issue: https://github.com/fastlane/fastlane/issues/9798
Description
In unreachable_url_rule.rb, passing a non encoded url when initializing Faraday throws an exception. This exception is caught and a failure with unreachable url is returned.
irb(main):013:0> url = 'https://moneytree.jp/個人情報保護方針/'.to_s.strip
=> "https://moneytree.jp/個人情報保護方針/"
irb(main):014:0> request = Faraday.new(url)
URI::InvalidURIError: bad URI(is not URI?): https://moneytree.jp/個人情報保護方針/
	from /Users/RenD/.rbenv/versions/2.0.0-p576/lib/ruby/2.0.0/uri/common.rb:176:in `split'
	from /Users/RenD/.rbenv/versions/2.0.0-p576/lib/ruby/2.0.0/uri/common.rb:211:in `parse'
	from /Users/RenD/.rbenv/versions/2.0.0-p576/lib/ruby/2.0.0/uri/common.rb:747:in `parse'
	from /Users/RenD/.rbenv/versions/2.0.0-p576/lib/ruby/2.0.0/uri/common.rb:996:in `URI'
	from /Users/RenD/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/gems/faraday-0.12.1/lib/faraday/utils.rb:266:in `call'
	from /Users/RenD/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/gems/faraday-0.12.1/lib/faraday/utils.rb:266:in `URI'
	from /Users/RenD/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/gems/faraday-0.12.1/lib/faraday/connection.rb:318:in `url_prefix='
	from /Users/RenD/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/gems/faraday-0.12.1/lib/faraday/connection.rb:77:in `initialize'
	from /Users/RenD/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/gems/faraday-0.12.1/lib/faraday.rb:67:in `new'
	from /Users/RenD/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/gems/faraday-0.12.1/lib/faraday.rb:67:in `new'
	from (irb):14
	from /Users/RenD/.rbenv/versions/2.0.0-p576/bin/irb:12:in `<main>'

I signed it!

Thanks @mpirri . Sorry for the delay signing CLA. I just signed it.


Error installing

Hi.
I'm trying to get this running in the latest version of Home Assistant (HassOS) and I'm getting the following error pop up:

Failed to install add-on
The command '/bin/ash -o pipefail -c wget "https://github.com/daoudeddy/zerons-addon/releases/latest/download/zeronsd-${BUILD_ARCH}.tar.gz" -O zeronsd.tar.gz' returned a non-zero code: 8

Running:
HA 2023.1.5
HassOS 9.4
Any ideas how I can fix it?
Thanks

I'm having a huge headache trying to cross compile this project to support multiple architectures with no success.

Looks like it has installed successfully. :-)
Will try some config and see how I get on.

Updated to latest version.
Installs perfectly, settings entered.
Fails to start. Log returns:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
Add-on: ZeroNS
ZeroNS is a name service centered around the ZeroTier Central API
Add-on version: 20230120
You are running the latest version of this add-on.
System: Home Assistant OS 9.4  (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.1.5
Home Assistant Supervisor: 2022.12.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[21:48:01] INFO: Configuring timezone (Europe/London)...
s6-rc: info: service base-addon-timezone successfully started
Log level is set to INFO
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/zerons.sh
/package/admin/s6-overlay-<IP_ADDRESS>/etc/s6-rc/scripts/cont-init: 20: /etc/cont-init.d/zerons.sh: Permission denied
cont-init: info: /etc/cont-init.d/zerons.sh exited 126
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Fixed for now, can you update and try again?

Looking better, but...
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
Add-on: ZeroNS
ZeroNS is a name service centered around the ZeroTier Central API
Add-on version: 20230121
You are running the latest version of this add-on.
System: Home Assistant OS 9.4  (aarch64 / raspberrypi4-64)
Home Assistant Core: 2023.1.6
Home Assistant Supervisor: 2022.12.1
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[10:03:15] INFO: Configuring timezone (Europe/London)...
s6-rc: info: service base-addon-timezone successfully started
Log level is set to INFO
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/zerons.sh
cont-init: info: /etc/cont-init.d/zerons.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun zerons (no readiness notification)
s6-rc: info: service legacy-services successfully started
zeronsd: /lib/aarch64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by zeronsd) zeronsd: /lib/aarch64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by zeronsd)
zeronsd: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by zeronsd)
s6-svscanctl: fatal: unable to control /var/run/s6/services: No such file or directory
Last four lines repeat indefinitely.

Can you try now?

Sorted.
Thank you! :-)


Statistical driver information of today cannot be requested when specifying specific date

Describe the bug
In the get_driving_statistics function it is possible to retrieve the specify a 'day'-interval with the 'from_date' of today. In that case no statistics are returned but error_code 2 is being returned.
if however the same function is called with the same 'day'-interval, but with the default 'from_date' (None), the day statistics of today are being returned.
This seems to be related to the line 391 of client.py, where a check is done if the requested date is today, and then the actual retrieval is skipped.
To Reproduce
>>> print(asyncio.run(client.get_driving_statistics(car['vin'], 'day', from_date="2022-02-13")))
[{'error_mesg': 'No data available for this period. (day)', 'error_code': 2}]
>>> print(asyncio.run(cl.get_driving_statistics(car['vin'], 'day')))
[{'bucket': {'year': 2022, 'dayOfYear': 44, 'unit': 'metric', 'date': '2022-02-13'}, 'data': {'tripCount': 1, 'totalDistanceInKm': 14.937, 'totalDurationInSec': 1313, 'idleDurationInSec': 98, 'highwayDistanceInKm': 0.0, 'nightTripsCount': 0, 'hardAccelerationCount': 4, 'hardBrakingCount': 3, 'averageSpeedInKmph': 40.95448, 'totalFuelConsumedInL': 8.703220191470844, 'maxSpeedInKmph': 93.0, 'highwayDistancePercentage': 0.0}}]

Expected behavior
I would expect that even if a specific date for today is passed, the statistical information of that day is being returned.
Additional context
A very related problem is present when no specific date is specified for the 'week'-interval, and it is requested on a Sunday. In that case no data is being returned, even though statistical information is present on the Toyota servers. This problem is also causing problems with some unittests if they are being performed on a Sunday :-(

I would like to suggest that the if from_date == today: is removed, because why wouldn't it be possible to retrieve the statistics of today? The MyT application can also show the information of today.
I'm however unaware of the reason why this check was added. It could be that there was a valid reason for it.
Could this also partially fix the 'known issue' that is included in the README.md? It would be nice if we could resolve that 'known issue'. :-)
@DurgNomis-drol Do you know why the today-check is present in the get_driving_statistics function?

I still have to further investigate and test this by implementing the proposed change and testing it with the actual MyT servers. There is however a strong suspicion that this problem is also breaking the latest unittests if they are performed on a Sunday (because the first day of an 'isoweek') or on a Monday (because the first day of a 'week').
Need a few days to test this correctly and implement the correct fix (if any).

I tried to retrieve the statistical information from the current date, which is also the first day of the week.
The toyota API replied with the error:
mytoyota.exceptions.ToyotaApiError: HTTP: 400 - {"timestamp":1648411795908,"status":400,"error":"Bad Request","message":"from '2022-03-27' parameter needs to be before to '2022-03-27' parameter ","errorCode":"CMA400"}

It seems to indicate that there is also a 'to' parameter, that can be specified in the get_driving_statistics_endpoint.  Further investigation is needed.

I have never been able to make this work, i have also tried many different combinations and it will always return that error when requesting data on the the first date of an given periode.

@joro75 @DurgNomis-drol Hi there, I have a similar error coming from a different problem: While trying to retrieve data from a specific day (16th June 2022) with the interval = "day" I get the error ToyotaApiError: HTTP: 400 - {"timestamp":1669044183252,"status":400,"error":"Bad Request","message":"maximum difference between from & to can be 60 days for Day Interval and 120 days for Week Interval","errorCode":"CMA400"}
Which also suggests there's a parameter to non set on the  get_driving_statistics_endpoint
Would you like me to open a separate bug report or is this the right place for it?

@martarho Yes it indeed seems that there must be a to parameter, but I have never found out how to use it. Please post all the info you have about the to parameter and what is needed to make it work

I'll open a PR then!

We have recently released a beta version for the new API endpoints and will be focussing our work on this in the future.
Please check if your issue still applies to the new version.

This behaviour should be fixed with mytoyota >= 1.0.
Ex:
pp.pprint(f"Summary for specific day: {await car.get_summary(from_date=date(2023, 8, 5), to_date=date(2023, 8, 5), summary_type=SummaryType.DAILY,)}")

should now give you a
("Summary for specific day: [average_speed=18.231 countries=['DE'] "
 'duration=0:11:39 distance=3.54 ev_duration=0:04:38 ev_distance=1.041 '
 'from_date=2023-08-05 to_date=2023-08-05 fuel_consumed=0.098]')

that also works if you use e.g Arrow.now().date() instead of a specific date.


[Map] MH-UnNamed(NM)

This appears to be an early version of KrallCellars - it lacks the upper level - it also lacks anything to 'fight' - plenty of playerstarts, some weapons, and a nicely designed and textured map but no monsters and no MonsterEnd. So nothing to do in it other than wander around for a bit.  Not a playable MH map in the full sense - possibly best categorised as a Test/Demo?

URL: https://unrealarchive.org/maps/unreal-tournament/monster-hunt/U/mh-unnamednm_86392946.html
Hash: 86392946f382d1567b88ad916de00c591fb21c82
Current name: MH-UnNamed(NM)

Moved to demos category.


Lost Several Receiving Addresses

I had added a number of receiving addresses for services I operate.
I received a number of payments to those addresses.
My HD where the wallet lived died, unrecoverable, also wiped out rolling backups... I know...
I opened Multibit with a longterm backup I had.
All the new receiving addresses are missing and not repopulating as I expected.
Funds paid to those addresses are inaccessible to me.
Does this mean that those keys were created with a private key that I no longer have?
Is it possible to add those public keys back to my wallet?
I tried decrypting the wallet with openssl to see what was in there, but I keep getting "error opening input file" which I think has to do with versioning from what I read.
Please let me know if I will be able to recover these coins or not.

We're revisiting old support issues. Were you able to recover any more private keys in the end?

Why you closed this topic Mr Gary .
More and more people have big problems with Multibit and you have not done nothing .
You remember me , 3 years ago Multibit eat my BTC ( APROX 1 BTC ) and noone gived me an explication .
İ know who are you and trust me , i have not forget what you and your friend done .
You have any solution for my problem or i need to take other actions ??
Thank you


chore: bump detypes

fix: https://github.com/radix-vue/shadcn-vue/issues/520#issuecomment-2095341687
The<EMAIL_ADDRESS>has supported remove types from vue template

@Dunqing  I see that some of the tests are failing, especially for test/utils/transform-css-vars.test.ts and test/utils/transform-import.test.ts, can you have a look and see if this is the expected changes?


CKeditor4 Error [ CKEDITOR] Error code: invalid-lts-license-key.

CKeditor4 Getting Error on console * [ CKEDITOR] Error code: invalid-lts-license-key.
how can we fix that ?

Found composer.lock  "version": "4.23.0", doesnt work correctly ,
Also previous project on  composer.lock "version": "4.22.1", work correctly.

Tryed new install and see   - Locking ckeditor/ckeditor (4.23.0) ... how can i change to 4.22.1 ?
Solution

i copied on previous project public/vendor/open-admin-ext folder to new one , its working now

But on all new project CKeditor wont work.

@kaanakyuz  any luck finding a solution for new projects?

Is there any substitute for editor if yes please update the docs thanks

i'm still facing this issue . is there any solution to this. or is there any way to implement any open source editor in the open admin panel which works well.

@vneet2057 @AliHassan002 I've integrated Quill editor with open-admin

@vneet2057 @AliHassan002 I've integrated Quill editor with open-admin, you can use quill's cdn libraries to implement it directly into the open admin textarea component. You can find them in the vendor/open-admin/ folder.

@vneet2057 thanks for the help. is there any guide on how to integrate it with admin panel, it will be of great help.

@priyanshiisingh thanks for the help. is there any guide on how to integrate it with admin panel, it will be of great help.

There isn't any guide available I've configured it by my own for now. The catch with it is I'm unable to create 2 textareas in a single form. So, If you want to editors in a single form you'll have to create new named components for the same.
I can share my code if you want.

@AliHassan002 There isn't any guide available I've configured it by my own for now. The catch with it is I'm unable to create 2 textareas in a single form. So, If you want to editors in a single form you'll have to create new named components for each of them.
I can share my code if you want.

@AliHassan002 There isn't any guide available I've configured it by my own for now. The catch with it is I'm unable to create 2 editors in a single form. So, If you want 2 editors in a single form you'll have to create new named components for each of them in the root vendor/open-admin-org/ folder.
I can share my code if you want.

The official website says that from version 4.23 you need to buy a license. Update the package at public/vencor/open-admin-ext/ckeditor to version 4.22.0/4.22.1 and everything will work for you.

@all sorry for the late reply.
@aleksandro-del-piero thanks for the research. I locked the version at 4.21.
4.22 was also giving some weird request error.


Spaces before casts

Closure Compiler requires type annotations in comments.
JSLint sees the type annotation comment as undesired spacing.
    if (node.nodeType === 1) {
        handleNode(/**@type{!Element}*/(node));
    }

Unexpected space between '(' and '('.

Thanks. Please try it now.

Fix confirmed. Thanks.
I use Closure Compiler as an additional linting step.  Yes, the type annotations are ugly.


docs(README.md): notice regarding the project status

Signed-off-by: Leonardo Grasso<EMAIL_ADDRESS>

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hey @mstemm
This PR should be ok now, PTAL :pray:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, mstemm
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr,mstemm]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add tests/teardown.sh

This is useful when executing tox outside a CI environment; if tests
fail nothing is cleaned up. While that might be desirable, let's provide
a way to manually tear everything down.
Signed-off-by: Zack Cerza<EMAIL_ADDRESS>

I think we can ignore the lint bash for this one.


Issue with eccodes_jll v2.36.0+0

I am investigating recent failures in the integration test (https://github.com/JuliaGeo/CommonDataModel.jl/actions/runs/10672550987). The error is reproducible, when I install the current main version of GRIBDatasets.jl (4f138719ec5c1443baa06c33aed221fd82ac3740) is an empty environment.  This could lead to unexpected
│                 behaviour.
└ @ GRIBDatasets ~/.julia/dev/GRIBDatasets/src/variables.jl:160
variable indexing with redundant level: Error During Test at /home/abarth/.julia/dev/GRIBDatasets/test/dataset.jl:120
  Got exception outside of a @test
  The key `u10` was been found in the dataset. Available keys: ["lon", "lat", "hybrid", "heightAboveGround", "heightAboveGround_2", "valid_time", "u", "v", "etadot", "t", "sp", "q", "lsp", "acpcp", "sshf", "iews", "inss", "ssr", "avg_sd_m", "avg_msl", "tcc", "avg_10u", "avg_10v", "mean2t", "avg_2d", "avg_z", "lsm", "sdor", "cvl", "cvh", "avg_fsr"]
  Stacktrace:
    [1] error(s::String)
      @ Base ./error.jl:35
    [2] Variable(ds::GRIBDataset{Float64, 6, Missing}, key::String)
      @ GRIBDatasets ~/.julia/dev/GRIBDatasets/src/variables.jl:174
    [3] cfvariable(ds::GRIBDataset{Float64, 6, Missing}, varname::String; maskingvalue::Missing)
[...]

Independently of the test suite, the issue can be reproduced with the sample file ENH18080914:
using GRIBDatasets:  GribFile
grib_path = "/home/abarth/.julia/dev/GRIBDatasets/test/sample-data/ENH18080914"
f = GribFile(grib_path)
m = collect(f)[end]
@show m["cfVarName"]
# output "avg_fsr" for eccodes_jll v2.36.0+0
# output "sr" for eccodes_jll v2.28.0+0

Is this a known problem? Thank you for your insights!

Would a PR pinning the version of  eccodes_jll  (indirect dependency via GRIB.jl) be helpful?
Ref: https://github.com/weech/GRIB.jl/issues/19

After a bit of digging. This page has a list of some of the changed variable names. https://confluence.ecmwf.int/display/MTG2US/Changes+in+ecCodes+version+2.36.0+compared+to+the+previous+version
It looks like, they don't considering changing the short names breaking. This is not good since GRIBDataset.jl clearly relies on the short names.

paramID
Old shortName
New shortName

235080
mrsn
avg_rsn

235081
mcvl
avg_cvl

235082
mcvh
avg_cvh

235083
mci
avg_ci

235084
msst
avg_sst

235085
mlai_lv
avg_lai_lv

235086
mlai_hv
avg_lai_hv

235087
mtclw
avg_tclw

235088
mtciw
avg_tciw

235089
m2sh
avg_2sh

235090
mlmlt
avg_lmlt

235091
mlmld
avg_lmld

235092
m2r
avg_2r

235093
mfscov
avg_fscov

235094
msot
avg_sot

235131
mu
avg_u

235132
mv
avg_v

235134
msp
avg_sp

235136
mtcw
avg_tcw

235137
mtcwv
avg_tcwv

235141
msd_m
avg_sd_m

235151
mmsl
avg_msl

235157
mr
avg_r

235165
m10u
avg_10u

235166
m10v
avg_10v

235168
m2d
avg_2d

235186
mlcc_frac
avg_lcc_frac

235187
mmcc_frac
avg_mcc_frac

235188
mhcc_frac
avg_hcc_frac

235238
mtsn
avg_tsn

235243
mfal_frac
avg_fal_frac

235244
mfsr
avg_fsr

235245
mflsr
avg_flsr

Hi!
Indeed, the error comes from the change in those short names. It's because the tests are still using the old variable name. Here's the error with a higher level test:
u10 = ds2["u10"]
ERROR: LoadError: The key `u10` was been found in the dataset. Available keys: ["lon", "lat", "hybrid", "heightAboveGround", "heightAboveGround_2", "valid_time", "u", "v", "etadot", "t", "sp", "q", "lsp", "acpcp", "sshf", "iews", "inss", "ssr", "avg_sd_m", "avg_msl", "tcc", "avg_10u", "avg_10v", "mean2t", "avg_2d", "avg_z", "lsm", "sdor", "cvl", "cvh", "avg_fsr"]

Which is much more explicit :-)
I'll fix that!
BTW, I'm sorry I'm not really active anymore, I changed my job and I don't really use Julia anymore (unfortunately)

Hi @tcarion

BTW, I'm sorry I'm not really active anymore, I changed my job and I don't really use Julia anymore (unfortunately)

This is completely understandable. I really appreciate what you have done with the package so far. GRIBDataset.jl is useful for me in my work and I hope that I can contribute more to it in the future. That being said, I will probably not be able to do any significant contribution to the package the next 6 months but I hope I can do it after.
BTW, I have made a PR to pin eccodes_jll to make the variable names stable.

I would like to second @lupemba's appreciation of your work :-)
Maybe, it would be useful to look-up the variable by the CF standard names?
using GRIBDatasets
using CommonDataModel: @CF_str
ds = GRIBDataset("/home/abarth/.julia/dev/GRIBDatasets/test/sample-data/era5-levels-members.grib");
ds["isobaricInhPa"]
#isobaricInhPa (2)
#  Datatype:    Int64 (Int64)
#  Dimensions:  isobaricInhPa
#  Attributes:
#   units                = hPa
#   stored_direction     = decreasing
#   long_name            = pressure
#   axis                 = Z
#   standard_name        = air_pressure
#   positive             = down

ds["isobaricInhPa"][:] == ds[CF"air_pressure"][:]
# returns true

This assumes that there is only one variable with a given standard_name but it is often the case.
The CF standard names are probably more stable than the eccodes, but it is maybe a bit annoying to use the CF prefix all the time.

Thank you very much both!
Good idea, I will try to update the tests to use the CF standard names, and I agree this change in eccodes should be breaking


support the new batch api

Your issue may already be reported!
Please search on the issue tracker before creating one.
Is your feature request related to a problem? Please describe.
OpenAI launched batch API: https://community.openai.com/t/batchapi-is-now-available/718416
could be very useful and it would be good if the library supports it
https://platform.openai.com/docs/api-reference/batch/create
Describe the solution you'd like
support of the batch api
Describe alternatives you've considered
n/a
Additional context
n/a

I too think this is very much needed and extremely useful!!!


What is the different between "gemma-instruct", "gemma-text" and "gemma". Same to other models.

Check the template definition. Instruct can be used for conversation the text for completions.
https://ollama.com/library/gemma:latest As you can see "gemma" is actually gemma-instruct which the uploader decided it would match best for most users.


Creates a notebook for batch-prediction pipeline with BQ I/O on a custom-tabular model

This PR creates a notebook in the notebook/official/pipelines/ folder under the name "`custom_tabular_train_batch_pred_bq_pipeline.ipynb`". The notebook mainly focuses on creating a Vertex AI pipeline for:

Loading a tabular dataset with BigQuery source.
Training a model using custom python package.
Running batch prediction job on the custom model with BigQuery input and output.

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[x] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

Looks like notebook was previous reviewed and issues resolved


[T6A1][W15-C3]

@marcusngwj @turtle96 @Mamtha3005 @ZuoZhuolin
Some comments added. Please ack & close the PR after reading comments.

Noted. With thanks.


RunPod template not working with network volumes, /workspace/axolotl empty

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
Other users also encountered this: https://github.com/OpenAccess-AI-Collective/axolotl/issues/467
According to the RunPod discord, one needs to explicitly rsync in the docker image, like here:
https://github.com/runpod/containers/blob/main/official-templates/stable-diffusion-webui/pre_start.sh

Current behaviour
The /workspace/axolotl directory is sometimes empty
Steps to reproduce
Use the official axolotl main-latets image on runpod.
Config yaml
No response
Possible solution
No response
Which Operating Systems are you using?

[ ] Linux
[ ] macOS
[ ] Windows

Python Version
N/A
axolotl branch-commit
N/A
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

You can avoid this problem if you change the runpod template's persistent volume mount point from /workspace to /workspace/axolotl/data. It appears the runpod template doesn't live in the repository or I'd be happy to open a PR for the change. I chatted some with @winglian in discord and they have access to change the template. @winglian also suggested we also change the output_dir in the example yml files. I haven't tried axolotl with any other cloud GPU providers. Does changing the output_dir make sense on other cloud GPU providers? If so, I can open a PR for that change.

Just one caveat to this, an older issue wanted the HF models+datasets to be downloaded to the volume. If you change the above, the user should override these values:
https://github.com/OpenAccess-AI-Collective/axolotl/blob/89134f2143cd3325802813eb97cd05c783932201/docker/Dockerfile-cloud#L4-L7


Cleanup 20230626

https://github.com/openshift-kni/numaresources-operator/pull/594 was merged a bit too hastily

/remove label do-not-merge/work-in-progress

/hold

/remove-label work-in-progress

urgh, managed to get a stale label I can't remove :
will file a clean PR with the same content, sorry for the noise


First draft of a doc for Tracing in networking

Summary
Adds a new page for Tracing as part of Networking.
Work to be done:

[ ] Needs TOC changes
[ ] Needs a page listing the trace sources for networking (and other libraries)
[x] We probably need to simplify the corresponding page for Metrics to use Aspire and link out for graphana usage

Internal previews

📄 File
🔗 Preview link

docs/fundamentals/networking/telemetry/metrics.md
docs/fundamentals/networking/telemetry/metrics

docs/fundamentals/networking/telemetry/tracing.md
docs/fundamentals/networking/telemetry/tracing

@antonfirsov - how are you doing with a reference page for the new spans?

Closing in favor of #44063.


OCCM doc: manage-security-groups not needed when Octavia is used

What this PR does / why we need it:
More description for manage-security-groups when using Octavia.
Which issue this PR fixes: fixes #
Special notes for your reviewer:
Release note:

/approve

/lgtm


solution for bogo sort

http://rosettacode.org/wiki/Sorting_algorithms/Bogosort
Should I refactor is_sorted and check_sort since they are practically the same pieces of code? I was thinking of doing something like assert!(super::is_sorted(v)) but I'm not sure if I should.

Yeah, since it's the same code I think it makes sense to use super::is_sorted.

Thanks, I didn't know about git rebase -i but it definitely is useful for prettifying commit history. Anyways, it should look good now.

Not quite, you pulled in some commits from master. You need to update your branch before you rebase.

Like that?

Oh, okay. I'll try it.

I moved the order of the commits around, how about now?

Almost! You still need to remove "Update readme for #494" from the branch, because that's an empty commit. You should be able to get rid of that by deleting the line when you git rebase -i master.

Oops, my bad on that.

Yep! Looks great. I'm going to let the CI finish and then I'll merge. Thanks for the contribution and your patience!


Accessing the Main Context From Subroute

Hi,
How do I access the root context from my subroute? For example, if I have a Session defined in Context, how do I access from /admin/index?
Accessing "Session" causes a "runtime error: invalid memory address or nil pointer dereference"
See code below.
Context
type Context struct {
    Session map[string]string
}

type AdminContext struct {
    *Context
    CurrentAdmin *User
}

Route Handler
func (ac *AdminContext) Index(rw web.ResponseWriter, req *web.Request) {
    fmt.Println(ac.Session["key"]); //runtime error: invalid memory address or nil pointer dereference
}

Server.go
rootRouter := web.New(Context{})
adminRouter := rootRouter.Subrouter(AdminContext{}, "/admin")
adminRouter.Get("/reports", (*AdminContext).Index)

My guess is that you are not initializing your Context object fully. gocraft/web should allocate an instance of AdminContext and assign the embedded pointer to reference an instance of Context if I recall correctly.
Try changing your route handler to something like
func (ac *AdminContext) Index(rw web.ResponseWriter, req *web.Request) {
    ac.Session = make(map[string]string)
    fmt.Println(ac.Session["key"]); //runtime error: invalid memory address or nil pointer dereference
}


fix conversion script

Current version of conversion script to instance.json is not working. This PR will automatically overwrite with all annotation to RLE format

https://github.com/bytedance/coconut_cvpr2024/pull/4/files
Found out that this PR is really similiar to above

thanks for the PR contribution, since I just updated the repo so I fix the bug based on my recent updates.

@xdeng7 You should also need to update the rle part of conversion since byte type is not compatible to json format.


write section 14.1.2 (survey item types)

Please write Section 14.1.2 (survey item types).
https://github.com/idea-analytics/r_and_a_manual/blob/cbc9c53415dd0e8507080196a4e0b83bc6076598/10-Platforms.rmd#L21-L23

issue pushed to October


⚠ Spryr has degraded performance

In 7469cb1, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3266 ms

Resolved: Spryr performance has improved in 153c228 after 8 minutes.


error while training with database_dstc2.json

Hi!
An error hapens when I fill sqlite dabase by launching comand
"python -m deeppavlov train database_dstc2.json".
Could you help?

2019-04-04 12:29:44.588 INFO in 'deeppavlov.dataset_readers.dstc2_reader'['dstc2_reader'] at line 113: [loading dialogs from /home/yvi/.deeppavlov/downloads/dstc2/dstc2-trn.jsonlist]
2019-04-04 12:29:44.766 INFO in 'deeppavlov.dataset_readers.dstc2_reader'['dstc2_reader'] at line 113: [loading dialogs from /home/yvi/.deeppavlov/downloads/dstc2/dstc2-val.jsonlist]
2019-04-04 12:29:44.905 INFO in 'deeppavlov.dataset_readers.dstc2_reader'['dstc2_reader'] at line 113: [loading dialogs from /home/yvi/.deeppavlov/downloads/dstc2/dstc2-tst.jsonlist]
2019-04-04 12:29:45.75 WARNING in 'deeppavlov.core.models.serializable'['serializable'] at line 51: No load path is set for Sqlite3Database!
2019-04-04 12:29:45.76 INFO in 'deeppavlov.core.data.sqlite_database'['sqlite_database'] at line 63: Loading database from /home/yvi/.deeppavlov/downloads/dstc2/resto.sqlite.
2019-04-04 12:29:45.107 INFO in 'deeppavlov.core.data.sqlite_database'['sqlite_database'] at line 63: Loading database from /home/yvi/.deeppavlov/downloads/dstc2/resto.sqlite.
2019-04-04 12:29:45.108 INFO in 'deeppavlov.core.commands.train'['train'] at line 236: Testing the best saved model
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/yvi/projects/DP_agent/DeepPavlov/deeppavlov/main.py", line 3, in
main()
File "/home/yvi/projects/DP_agent/DeepPavlov/deeppavlov/deep.py", line 86, in main
start_epoch_num=start_epoch_num)
File "/home/yvi/projects/DP_agent/DeepPavlov/deeppavlov/core/commands/train.py", line 242, in train_evaluate_model_from_config
show_examples=train_config['show_examples'])
File "/home/yvi/projects/DP_agent/DeepPavlov/deeppavlov/core/commands/train.py", line 287, in _test_model
metrics = [(m.name, m.fn([outputs[i] for i in m.inputs])) for m in metrics_functions]
File "/home/yvi/projects/DP_agent/DeepPavlov/deeppavlov/core/commands/train.py", line 287, in
metrics = [(m.name, m.fn([outputs[i] for i in m.inputs])) for m in metrics_functions]
TypeError: accuracy() missing 2 required positional arguments: 'y_true' and 'y_predicted'

As result sqlite-dabase is filled with data from trn-file. But Data from val and tst files are absent.

Hi @vitalyuf !
Which version of deeppavlov do you use? Can't reproduce the error on the latest 0.2.0 release.
It is true that database is only updated with items present in trn file. It is expected behavior, cause model isn't designed to use any data from val or tst files.
If you want to construct database from all data, the easiest way seems to be to concatenate trn, val and tst files into one trn (do not forget to revert it back before training neural network model).

I tired to repeoduce on v 0.2.0.
There is no error.


RAM Problem. CRITICAL! PLEASE FIX!

Describe the issue
Whenever you set the ram to something and boot your VM, it does not use the ram you set.
I have reported this in the discord server (Sir Twitchy#9989) but no one is online since it's dead (sorta).
I have tried changing the ram of an android vm but it is so slow and still takes 10 minutes to boot no matter what I do. EVEN IF I CHANGE THE RAM IN THE CONFIG FILE TO 9379GB!
Configuration
UTM Version: Latest
OS Version: 11.0
Apple Silicon
Crash log
None
Debug log
None?
Upload VM
Kill me.utm.zip

Boot speed is unrelated to ram. Plus android is unsupported. If you’re able to boot windows or Linux and it shows the wrong amount of ram, feel free to reopen this.