Handle multiple staging hubs per cluster in our CI

@yuvipanda this also deviates from an (unwritten) policy that we tend to have a 1:1 mapping of clusters and staging hubs (2i2c GCP cluster being the exception but mostly for our demos, not serving communities). We should evolve that policy if multiple staging hubs per cluster is something we want to take on and codify it somewhere.

Originally posted by @sgibson91 in https://github.com/2i2c-org/infrastructure/issues/3984#issuecomment-2074471659
We already have a few places where there are multiple staging hubs per cluster:

ucmerced and ucmerced-staging in the 2i2c shared cluster
r-staging and r-prod, along with a staging and prod in the utoronto cluster
https://github.com/2i2c-org/infrastructure/issues/3984

I believe the current assumption is 'one staging hub per cluster'. Instead, we should move to a model where a hub can possibly have a staging hub associated with it, rather than a cluster having a staging hub associated with it.

Instead, we should move to a model where a hub can possibly have a staging hub associated with it, rather than a cluster having a staging hub associated with it.

I've written a few things async below to help know what I'm thinking about here, but I'm not ready to commit to an unplanned async followup discussions since its unplanned work that I do very inefficiently async - happy to chat unplanned sync about this though!
Undefined expectations for both engineering and community
This is the key feedback I have - what does it mean to have a staging hub for a community hub in a dedicated/shared cluster respectively, as compared to having just "another hub" in the cluster - I'd like to see this more cleary defined.
Misc complexity thoughts
Continuous deployment complexity
The assumptions on the cluster wide staging hub for is that it should block deployment of prod hubs if it fails. What is the expectations for r-staging though? Should r-staging block failure block r-prod deploy - it doesn't currently. To support functionality like this in our current CD setup is very complicated or impossible without compromising notably on total execution time.
Cloud cost complexity
The assumption I guessed in shared billing for ucmerced-staging and ucmerced (GCP) in 2i2c's shared cluster was that costs gets combined into a single hub's cloud costs. This wasn't causing unfairness for other communities, but if ucmerced + staging was in AWS, each hub adds pods which in the end forces additional core nodes adding costs - making it an actual cost to have an almost entirely idle hub.
To have a staging hubs for hubs also adds some administrative costs and complexity.

My main concern in implementing this is around the CI/CD setup as well. Right now if any staging hub (where there are multiple) fails, then no production hubs will be deployed. So if we go ahead with this, then we need to figure out a sensible way to link a staging and prod hub together, and also what that conceptually means.


Python 3.6 support

I have to use PyCharm instead of your wonderful editor cause of bad support of python 3.6 in an intellisense.

Cool. I'm happy for PyCharm. But this issue not related to editor. By default VS Code does not provide intellisense for Python – you must use extension

Various issues are tracking this for the extension: https://github.com/DonJayamanne/pythonVSCode/search?q=3.6&type=Issues&utf8=✓


Exporting xml file

very new to this so not sure if it's something I am doing wrong if I could be pointed in the right direction ill really appreciate it thank you.

see last line, you model have more 65k vertices


Added egpOrderAbove/Below

Fixes #1218
Fixes #1057

Fixed some of them. However, I only fixed those affected by this PR. To fix the rest of the coding style mismatches, is a whole other problem and should be in its own PR

@AbigailBuccaneer pls

Alright you're taking way too long


New web initialization script prevents listening to browser events

Issue type: Regression
Repository with 3 samples - sidrao2006/flutter-error-sample

web_2105

Flutter version: 2.10.5 (stable)
Status: ❌

web_2130_pre_1013

Flutter version: 2.13.0-0.0.pre.1013 (master)
Status: ❌

web_2130_pre_1013_old

Flutter version: 2.13.0-0.0.pre.1013 (master)
Status: ✅
Criteria:
If the Console output reads:
[JS] PWA is installable!
[Dart] PWA is installable!

then it means that the dart code is being loaded fast enough to register the listener before the BeforeInstallPrompt is emitted.
Otherwise, it it reads:
[JS] PWA is installable!

It means that the dart event listener was registered after the event was emitted.
Steps:

Clone sidrao2006/flutter-error-sample
Run flutter build web in all 3 subdirectories
Serve build/web directory of all 3 samples
Open browser devtools -> Console

Code sample
main.dart
import 'dart:html';

void main() {
    window.addEventListener('beforeinstallprompt', (event) => print('[Dart] PWA is installable!'));
}

index.html
<script>
...flutter initialization code
</script>
<script>
  window.addEventListener('beforeinstallprompt', (event) => console.log('[JS] PWA is installable!'));
</script>

Hi @sidrao2006, please provide a complete minimal reproducible code sample, preferably in a repo that we can clone and just run to verify this.
Thank you

I've updated the issue description with the required details. Please let me know if more details are required.

@sidrao2006 thank you for providing sample code. But even I tried to deploy the code and verify the log, there is only [JS] PWA is installable! log inside console. Can you please send to me your current deployed site then I can verify it?

Demo

2105
2130_pre
2130_pre_old

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 2.10.5 at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (3 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Android Studio
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/203.7185775/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.67.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 101.0.4951.54

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 2.13.0-0.0.pre.1020, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 2.13.0-0.0.pre.1020 at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fa8575d888 (82 minutes ago), 2022-05-10 21:54:03 -0400
    • Engine revision b0d68d49af
    • Dart version 2.18.0 (build 2.18.0-102.0.dev)
    • DevTools version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[!] Android Studio
    • Android Studio at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/203.7185775/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.67.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 101.0.4951.54

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


Publisher stops shortly after starting

The latest version of the precanned deployment script seems to have an issue with the publisher.  It stops after a very short amount of time.  Here is the publisher log.  What other logs do you need?
OpcPublisherLog.txt

Can you please retry with version 2.7.130? I cannot replicate the issue now.

Closing - please re-open if this still occurs on 2.7.130 or later.


Update itk modules

There should be a pre-commit hook which run a python JSON beautifier. Apparently, that has not always happened. The second commit in this PR, notes beatification style changes that occur with this batch processing of the JSONs.

Got it. Thanks for the clarification.


Added code to reading-files

Please fill in this pull request template before submitting
1. This pull request resolves #19
2. Description
Added code to the file reading-files to read a file and display the contents
3. Fill in checklist by marking [x]

[x] I've read the CONTRIBUTING.md
[x] I was assigned to this issue
[x] My code is formatted using required linting
[x] I've run my code locally and checked it works

@funbeedev Please check my PR

Sorry I have added the integers file to this PR by mistake I am issuing another commit which reverts the changes

@funbeedev Review the changes to the reading-files.py file

I am opening a new PR with fewer commits. This PR has become clumsy

replaced by PR #69


Support for Web

This is an amazing package thank you so much! Its way better than any of the other and the levels of customisation is amazing. My app though needs to support web as well. Do you have any plans to build in web support?

Hi Adam! Thank you for your kind words. Unfortunately, I don't have any plans to update this package in the near future. This package was originally part of my Notes project, but I've decided to discontinue that project.

Somehow the new update on flutter allows it to work on the web using the new webkit? So doesn't seem to be too big of a deal that there is no web support. This means I can make use of it my current project, again thank you so much for your work! I love using it with my team! Hope someone can maybe take it over for you.

Ironically, I didn't realize this did not have official web support. However, I had forged ahead as though it did, and it seems to work almost perfectly! The ONLY issue I have seen so far is that content in table cells is not wrapping. Otherwise, it seems perfect. Am I missing some concern that would be an issue with my using it for web in production?

The ONLY issue I have seen so far is that content in table cells is not wrapping.

I believe the fix should be fairly simple, requiring modification of the table cell rendering to use Expanded or Flexible widgets with Text widgets that have soft wrap enabled. (I don't really know how to "contribute" yet, LOL! But this seemed like maybe a quick one for you?! )


ETag set on child resources when listing from container.

Etag is fetched from properties on GetBlobs and is provided to the existing etag lock on the client resources.

API change check
API changes are not detected in this pull request.


Server could not parse Url at Microsoft.Azure.Documents.Client.ClientExtensions.

PublicMessage:
Server could not parse the Url., documentdb-dotnet-sdk/1.20.2 Host/64-bit MicrosoftWindowsNT/10.0.16299.0
Error:
{{
"code": "NotFound",
"message": "Server could not parse the Url."
}}
ActivityId: "936912eb-7d8d-4a76-9012-24bbf1a974ad"
InnerException: null
Stack Trace:
at Microsoft.Azure.Documents.Client.ClientExtensions.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Documents.GatewayStoreModel.<>c__DisplayClass10.<b__f>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Documents.BackoffRetryUtility1.<>c__DisplayClass2.<<ExecuteAsync>b__0>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.Azure.Documents.BackoffRetryUtility1.d__1b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Azure.Documents.BackoffRetryUtility1.<ExecuteRetry>d__1b.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.Azure.Documents.BackoffRetryUtility1.d__a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Documents.GatewayStoreModel.d__1f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Documents.GatewayStoreModel.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Documents.Routing.ClientCollectionCache.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Documents.BackoffRetryUtility1.<>c__DisplayClass2.<<ExecuteAsync>b__0>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.Azure.Documents.BackoffRetryUtility1.d__1b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Azure.Documents.BackoffRetryUtility1.<ExecuteRetry>d__1b.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.Azure.Documents.BackoffRetryUtility1.d__a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Documents.Common.AsyncCache2.<GetAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.Azure.Documents.Common.CollectionCache.<ResolveCollectionAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.Azure.Documents.Query.DocumentQueryExecutionContextFactory.<CreateDocumentQueryExecutionContextAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.Azure.Documents.Linq.DocumentQuery1.d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.Documents.Linq.DocumentQuery1.<ExecuteNextPrivateAsync>d__2e1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()    at Microsoft.DataTransfer.DocumentDb.Client.Enumeration.AsyncEnumeratorBase2.d__11.MoveNext() in E:\Work\1804\EC.VL.FUL.LicensingAPI\src\Core\DataTransferKit\Microsoft.DataTransfer.DocumentDb\Client\Enumeration\AsyncEnumeratorBase.cs:line 60
(client side calls)
Some more details about the exception:

@bchong95 please look into this.

Hi,
I was able to figure out the issue. It was a code error. The Uri was incorrectly formed.
So, this is not a SDK issue.


CEO-463 Update edit widget colors to official ones

Purpose
Change from bootstrap colors to CEO colors for action buttons.
Submission Checklist

[x] Included Jira issue in the PR title (e.g. CEO-### <title>)
[x] Code passes linter rules (npm run eslint/clj-kondo --lint src)

Testing

Given..., When ..., Then ....

Screenshots

Should the yellow button have white text to match the other dialoge?
src/js/widgetLayoutEditor.js
191, 207, revert these changes.  The correct key name is required for the rest (...) value to correct.
286, 287, 289, 290, revert these changes.  Use 1 indent for multi line expressions

Indentation/formating should be reverted. There might not be enough contrast between the yellow and white for it to be readable. It would look like this
 What do you think?


Can we detect how many people in camera?

Hi, im a newbie and i'm working on an attendance app. I just wanna know can we detect how many people inside the photo? right now i use google ml kit like this, so i can count how many people there like this:
 final List<Face> faces = await faceDetector.processImage(inputImage);
Can I do something similar to directly count people? I just need to tell users if there's more than one person detected.
Thanks!

You can see here func will get face on face_camera plugin
If want u can inheritance this class for custom what you want.
this Plugin just implement google ml face detect like

thanks tanpham


Added OK button to Constraint match dialog

... when constraint matches are disabled (GNOME3 doesn't render a close button). There's no way to close the dialog when that happens, except Alt+F4, which is a bad UX.
See: http://stackoverflow.com/questions/26162178/jdialog-not-showing-minimize-close-button

Thanks Ondrej! :)


Fix couchdb2-single image

@klaemo This fixes the issue with the previous build.
The problem was that the original git clone code did a shallow clone, which only grabbed the one latest commit. When I changed the COUCHDB_VERSION to a commit ID, it failed after that commit was no longer the latest commit (since that commit would not be in the shallow clone).
This now no longer does a shallow commit (so it is slower), but still uses --single-branch so it doesn't perform as poorly as a complete clone. I've tested this updated build and it appears to work again.

makes sense, thank you so much! :)

Happy to help!

It has built successfully on Docker Hub :)


[SMALLFIX] Remove unnecessary empty line

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9006/
Test PASSed.

Merged build finished. Test PASSed.

LGTM


lookup hardware profiles by hardwarename

Hi all
I had a client request to implement an app that would lookup hardware profiles (that would contain price and release date as properties) based on one of the following inputs:
a) hardwarename
b) a combination of hardwarevendor + hardwaremodel
c) a combination of hardwarevendor + hardwarename
There are 2 cases:

hardwarevendor + hardwaremodel/hardwarename is detected from the incoming request / browser environment on the device itself
hardwarename (or other combinations) are input directly by the user.

UAParser can help to detect the hardwarevendor + hardwaremodel + hardwarename + price + release on the current device, but it is incapable to lookup hardware profiles based on the user input of say hardwarename.
I saw an example in the device-detection-node: https://github.com/51Degrees/device-detection-node/blob/master/fiftyone.devicedetection.cloud/examples/cloud/nativemodellookup-console/nativeModelLookup.js  - it allows to do a lookup based on nativemodel, however trying to use query.hardwarename instead does not yield results.
I also tried to use cloud.51degrees.com API directly providing it hardwarename as evidence parameter in the get request - similarly it does not yield results.  Seems that only nativemodel is supported but not hardwarename lookups.  Is there a way or a workaround in some of 51degrees products to implement hardware profile lookups by the input combinations above?
Thanks.

Thank you for posting this issue. The solution to this issue is the .csv data file available as part of the 51Degrees 'Biggest' subscription. Please see 51Degrees Price Plans
Details of the .csv file are available here
This file includes all property values for all profiles (hardware, platform, browser, and crawler). This data may be used to lookup details using various keys such as TAC or the model name returned by native apps running on the device.


Assignment4

@NathanC0926 @thienantran010 please squash extra commits and ensure your branches are up to date with upstream/main. Look at the piazza note for more information.


Add Constant Wrappers

Fixes #10, #11

Due to a recent change in the main repo's travis script, travis-ci exists early.
Can you change this line https://github.com/symengine/symengine.rb/blob/b18621690aa20cb9cc1be0528851516547e3b3cd/.travis.yml#L41 to - bin/test_travis.sh

Everything else looks good. Maybe after this PR you can add a cconstant_init, that lets the user make his/her constants.

Could you please change the file names too. constants to constant.

Looks good to me. @abinashmeher999, any more comments?

Same here. +1 to merge.

@rajithv, thanks for the PR

@rajithv Thanks for your patience.

@isuruf @abinashmeher999 Thank you for the advices as well.

Thanks for the patch @rajithv.


Add Dependencies to packaged releases

Feature request
Add in Dependencies into deb files

What problem does this feature solve?
Makes sure that the linux distro has the correct files needed (in my case docker) when installing
What does the proposed API look like?
n/a
How should this be implemented in your opinion?
n/a
Are you willing to work on this yourself?
I can, I think it's an easy pull request but I don't want to break anything on your side as I'm actually not a developer
I had to install ibusb-1.0-0 libexpat1 libglu1-mesa libglib2.0-0 libfreetype6 these manually (when I created my docker image). Would simplify everything if I could avoid that step and simple apt install -y hyperhdr.deb file!
This might just be me not completely understanding everything though and maybe these dependencies are different on other debian systems?

Two more things:

Not saying to include these but just have them included as dependencies so they are automatically grabbed
xz-utils is also needed (missed it before but it's for the LUT tables?)

Cheers!

Hi
Thanks for the info! Yes, xz-utils is needed to decompress packed LUT table as without it that file has 150MB (and around 7MB packed with xy). The next version is almost finished while we still testing it but I'll include it in next maintenance release soon after. We are talking about deb for x64 Linux system of course? I must check that dependencies as once adding libCEC caused all non-x11 system to broke down (the cause was not directly libCEC but one of libraries that libCEC depends on).
Best regards :)

yes currently it's for x64 linux system, I'd like to do a 2 phase docker approach where I build the deb file and then copy it over into the actual docker image, but I think right now I'm a bit out of my league in this respect. I can build the source currently but it leaves the docker image far too big and I'm not sure how to actually package deb files.
The xy-utils thing makes sense but the deb file doesn't error out or fail installation, some people might not even realize they didn't get the LUT tables at all!

Yes, you've got the point. xz-utils are critical part for the installation although there are always errors/warning in the debug log about missing LUT file. And LUT table can be generated later on the page. But I agree it should be solved by making  xz-utils necessary for the process installation. Will try to change it in the incoming release at least for x64 deb.

After some tests it seems that libusb-1.0-0 libexpat1 libglib2.0-0 libfreetype6 xz-utils are already present in the minimal distro of Rasbpian so I included them as dependency.
libglu1-mesa is another story...it would cause massive ~500MB installation of packages and I can only suspect that users would lynch me ;) On Rpi libglvnd0 (already as dependency) takes its role as a stub.
Changes already included in just released version v14.


adapt to trussed-dev/littlefs2#24; rename to LOOKAHEAD_SIZE

see https://github.com/trussed-dev/littlefs2/pull/24
this is the lpc55 update for this PR to work

Looks good but let’s wait with merging this – if we release littlefs2 soon, we can directly bump the dependency.


feat: add ticktick

closes #1118

Because you need to fetch the url to get cookies but also fetch the filename and version from the head this is a little messy.
There is a function to fetch the filename in the definition which might be able to generalise but probably needs to be specific to the app download provider.


add support for mips-uclibc targets

These targets landed in rust-lang/rust#35734 but this crate doesn't properly support them. This
issue tracks adding support for them. Where "adding support" means updating the function signatures
and definition of "constants" (probably via new cfg blocks/code) to make the libc-ctest test suite
pass for these targets.
Here are instructions on how to run said test suite:
I've created a docker image (*) with all the stuff needed (e.g. cross toolchain) to run the test
suite. Launch a container with this image using the following command:
$ docker run --privileged -it japaric/rust-uclibc:2016-08-17

Then, inside docker container run this command:
$ curl -sL https://raw.githubusercontent.com/japaric/docker/master/rust-uclibc/libc-ctest.sh | bash -s -- $TARGET

(where $TARGET is mips-unknown-linux-uclibc or mipsel-unknown-linux-uclibc).
To cross compile std for $TARGET and to run the libc-test test suite. The test suite will fail
and then you'll be back to the shell. The libc crate will be available in ~/libc. That libc
checkout would have to be modified until the test passes. To run the libc-test test suite again run
these commands:
$ cd ~/lib/libc-test
$ cargo run --target $TARGET

UPDATE: The image is now up. Disregard the note below.

(*) NOTE: I'm still uploading the image and it may take a while. In the meantime you can build the image
yourself with these command (it will take a while):
$ git clone --depth 1 https://github.com/japaric/docker
$ cd docker
$ docker build -t $IMAGE_NAME:$IMAGE_TAG -f Dockerfile ..

cc @felixalias

This is awesome - thanks for doing all of this for a relatively exotic platform!! :100:

I forgot to paste the errors I got from running this. For further reference: gist

I believe initial support has been added!

@japaric when I run curl -sL https://raw.githubusercontent.com/japaric/docker/master/rust-uclibc/libc-ctest.sh | bash -s -- mipsel-unknown-linux-uclibc, it can't find your libc repo:
try  + git clone --branch uclibc https://github.com/japaric/libc /home/rust/libc
Cloning into '/home/rust/libc'...
Username for 'https://github.com':

FYI we have no uclib tests upstream of any kind, so uclib support might not compile anymore. If anyone has an easy way to at least compile these targets using Xargo an script that does that would be awesome.


More flexible layout of gallery cards

The current single-column layout of the Cookbook Gallery works well on mobile devices but not so great on larger screens. I think the gallery will look better and also be easier to navigate  with a multi-column view of gallery cards that automatically collapses to single-column on smaller devices. Why not see all Cookbooks together on one screen if you're working on a larger display?
For comparison, take a look at the (mostly defunct) Pangeo gallery:
http://gallery.pangeo.io
That one defaults to a three-column layout on larger windows but seamlessly transitions to two- or one-column layouts in narrower windows.
The same comment applies to our single-column Resource Gallery. Both galleries are generated by very similar code, so there's scope to solve two problems simultaneously.

Just wanted to throw in another example:
https://unidata.github.io/MetPy/latest/examples/index.html

sphinx-design has markdown and rst syntax for creating responsive grids and cards in sphinx-generated sites (eg jupyter books.) Could be a low-barrier solution for this.


Issue 18314 - std.traits.getSymbolsByUDA only considers the first sym…

…bol of an overload set
This change expands overload sets such that each overload is considered separately.

And apparently I broke the auto-merge when I addressed the stuff that was mentioned above.

And apparently I broke the auto-merge when I addressed the stuff that was mentioned above.

Yes, it's not a bug it's a security feature.


fix(buffer): Offset error in ReadBuffer.get()

Revealed after #2 was merged, sorry...

Shouldn't we add the offset in every method of the read buffer? Maybe we can initialize n with the offset.

Exactly, you only need the offset when you bypass the view and go for the buffer directly

@tsne I have committed the requested change

@rmja I fixed the tests and updated the NPM version.


Block definitions should declare variants

Describe the issue
Currently, we define variations to be shown in the blocks drawer in drawer.js. We should have a general means of declaring variations on the block definition and remove the code from drawer.js. We may also want to think of a way to do this with component blocks more generally so that extension developers can hook into it as well.
Affects

[ ] Designer
[x] Blocks editor
[ ] Companion
[ ] Compiled apps
[ ] Buildserver
[ ] Other... (please describe)

@ewpatton i would like to work on the issue. i have already setup the repo, can you assign me the issue?

@adrijshikhar Thanks for looking into it. Please let us know if you have any questions.


Admin page

Meta table default values have been added. Admin stats page errors are now caught. The user table now has an approved field, which notes whether or not an admin has approved a user's account. Various bugs have been fixed.

LGTM!

LGTM!


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1771 ms

Resolved: Bofrost.at performance has improved in c215dd4.


Save pets system wide instead of per-workspace

Even better: Add a setting to switch between workspace or system wide save.
Reason
I don't want to re-configure my pets every time I switch project

This is a good idea, we just need to work out what happens for people who have different pets in different projects

We can keep both storage, and make the workspace storage a priority over the other


Minify_groupUri() not working and no way to remove querystrings from generated URIs.

Minify version: 2.1
PHP version: 5.2.6

Great job, guys! I love this project.

I noticed a couple issues installing your latest release. I'm not sure of
common bug reporting protocol but here's what I noticed ....

1) in utils.php
 static $cg = false;
should be
 static $gc = false;
2) the current README.txt references util.php not utils.php
3) in Build.php
 require_once 'Minify/Source.php';
should be
 require_once 'Source.php';
4) groupsConfig.php lacked a closing ?>
5) My understanding is that URL's with query strings (e.g. /min/?TIMESTAMP)
aren't supposed to be cached even if the query is the same (although IE &
FF ignore this, but others may not). Maybe there's a mod_rewrite option
that could avoid this.

Thanks!

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 5 Oct 2008 at 6:25

R250 allows the removal of querystrings from generated URIs (set
$forceAmpersand to
true in Minify_groupUri) and makes it clearer that min/lib needs to be in the
include_path before utils.php is included. I'd forgotten that Build.php
required
Source.php.

Original comment by<EMAIL_ADDRESS>on 5 Oct 2008 at 11:47

Changed title: Minify_groupUri() not working and no way to remove querystrings from generated URIs.
Changed state: Verified

re 4) oh, i see that's how you're ending all of the pages :P

Original comment by<EMAIL_ADDRESS>on 5 Oct 2008 at 6:38

1+2) Fixed in R249. Thanks for that catch.
3) It's correct as is.
5) Querystring URLs sent with Expires are indeed cached by all browsers and
this is
according to spec. The [http://www.stevesouders.com/blog/2008/08/23/revving-
filenames-dont-use-querystring/ limitation] is with the proxy Squid in its
default
configuration.
Right now Javascript in the builder app detects whether mod_rewrite works, but
there's no direct way to get this info to Minify_groupUri(). I guess I need to
add a
another config option.

Original comment by<EMAIL_ADDRESS>on 5 Oct 2008 at 10:53

Changed state: Fixed

re 3) with "Minify/Source.php", I get:

Warning: require_once(Minify/Source.php) [function.require-once]: failed to open
stream: No such file or directory in [omitted]/min/lib/Minify/Build.php on line
7

Fatal error: require_once() [function.require]: Failed opening required
'Minify/Source.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in
[omitted]/min/lib/Minify/Build.php on line 7

It appears that it's not included in my path.

After a little exploring, I see that you have $min_libPath in config.php and
that you
set the include path in index.php, but it looks like Build.php is required only
in
utils.php, and utils.php is only called before index.php is referenced by the
HTML
source.

So it seems, at least in my situation as per the README where I noticed util.php
should be utils.php, it's not in the path (at least, until later)...

Original comment by<EMAIL_ADDRESS>on 5 Oct 2008 at 11:50

Original comment by<EMAIL_ADDRESS>on 7 Oct 2008 at 3:36

Added labels: Release-2.1.0

OK :) Just to finish this issue, could you copy utils.php, Build.php from R250
and
verify that utils.php loads and Minify_groupUri() works for you as long as you
add /
min/lib to your include_path beforehand?

Original comment by<EMAIL_ADDRESS>on 6 Oct 2008 at 11:59

lol ... we were probably writing that at the same time.

Original comment by<EMAIL_ADDRESS>on 5 Oct 2008 at 11:52


system.parts is not filterable by partitions.

the following query return all database partitions.
SELECT
	partition,
	database,
	table
FROM
	system.parts
group by partition, database, table

but the following is returning nothing, while the first request is returning this partition.
but filtering on table name is working.
SELECT
	partition,
	database,
	table
FROM
	system.parts
WHERE
     partition = 'b710e103-3d07-481e-afc0-1687a8782b73'
group by partition, database, table

@ztlpn Clarification is needed.

We need to get rid of unnecessary quoting.

quoting removed in v18.16.0


update npm versions as part of release process

npm ERR! No compatible version found<EMAIL_ADDRESS>npm ERR! Valid install targets:
npm ERR! 0.5.6
npm ERR!
npm ERR!

+1

if you look at the package.json you will see I had to publish it as gridster.js because the previous fork   had the gridster name taken

Hi,
Thanks for the reply. Did you publish this to npm  or still working on it ?

I'm sorry I haven't been active in the project in almost a year as I have moved on to a devops postions and no longer do front end dev... As the wiki page says I'm interested in finding people who want to help maintain it.
Which is a long way of saying i got the ruby gem (https://rubygems.org/gems/gridster.js-rails) and the NPM package confused.  It does not appear I ever published it as an NPM package.


Make Container constructor private

Description
This felt ok based on my current understanding of the framework but I intended this more for gathering feedback from the rest of the team rather than an immediat "I want to get this change in" thing. Have we not done it for a specific reason? Are there actually use cases for the plain constructor (other than unit tests)?
Some unit tests already use the constructor directly and I can see that as an argument against making it private. My personal inclination is to do it anyway to keep the public API surface clean even if means a few more complications in our test code as long as those complications are not huge, which I think is the case here.
Alternatively, document the constructor as @internal and clarify that it should not be used in production code? Keeps our unit tests a bit simpler but doesn't prevent accidental misuse of Container, so I like the other option better.
Reviewer Guidance
General question: why should or shouldn't we do this?
Does this introduce a breaking change?
Yes.

Thanks @vladsud I think I'll merge this then, knowing that we might change tracks and re-expose it at some point. What you're envisioning is that we eventually remove the static Container methods, update the constructor so we can specify the scenario (empty new, new with state, load existing) and leverage LazyPromises or similar to keep the async workflows?

Thanks @vladsud I think I'll merge this then, knowing that we might change tracks and re-expose it at some point. What you're envisioning is that we eventually remove the static Container methods, update the constructor so we can specify the scenario (empty new, new with state, load existing) and leverage LazyPromises or similar to keep the async workflows?

It depends. I'd say first scenario that needs it will need to pave the way. If possible, I'd prefer not to have LazyPromises and either

Push async logic to helper function that does prep work and that instantiates an object of typeof Container (i.e. it gets a constructor functor, so it does not know for sure what it instantiates), OR have an async init() method that has to be called by that function to finish initialization of Container (and any derived classes).


Improve the secrets file handling on windows which throws some errors now

When we are not passing a secrets file, powershell handles the code this way:
 Get-Content: C:\Users\rhqp\pd-e2e\runner.ps1:123
Line |
 123 |          $properties = Get-Content $secretFilePath | ForEach-Object {
     |                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Unable to get content because it is a directory: 'C:\Users\rhqp\pd-e2e\'. Please use 'Get-ChildItem' instead.
----                 -------------         ------ ----

Also throws an error on the file removal (which should not happen).
Remove-Item: C:\Users\rhqp\pd-e2e\runner.ps1:342
Line |
 342 |  Remove-Item -Path "$resourcesPath/$secretFile"
     |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot remove the item at 'C:\Users\rhqp\pd-e2e\' because it is in use.
npm ERR!   in workspace<EMAIL_ADDRESS>npm ERR!   at location: C:\Users\rhqp\pd-e2e\podman-desktop-extension-bootc\tests\playwright
error Command failed with exit code 1.

Fixed by: https://github.com/odockal/pde2e-runner/commit/c3630688675a4637342e3ad7d88239d2ff0b1768
Working location:  C:\Users\rhqp\pd-e2e
Loading Variables passed into image
Input String: 'TEST_PODMAN_MACHINE=true'
Processing TEST_PODMAN_MACHINE=true
There is no file with secrets, skipping...
Installing node
v20.11.1
10.2.4
Installing yarn


Running Swift From Rust

This could just me missing some basic things, but I wasn't able to find in the book how to compile swift code to link and use in Rust. The book seems to focus heavily on calling Rust FROM Swift but not the other way around.
I'm currently going down the route to use a Swift Package (code is here https://github.com/lorenzolewis/tauri-ffi/tree/main/examples/swift-bridge/src-swift) to hold my Swift code. I don't see anything in the docs on how you're supposed to annotate Swift code to be exposed to Rust so I'm annotating functions with _cdecl which I've used from another implementation to text.
On the Rust side I'm using Tauri and have the Rust code here https://github.com/lorenzolewis/tauri-ffi/tree/main/examples/swift-bridge/src-tauri.
I'm assuming there's some sort of build/compile step I'm missing with Swift to generate the needed header files that I may have just missed in the docs?

Hey very sorry for the delay, July 21-Aug 1 is super hectic for me and then I'll be back to normal once I settle back in.

The book seems to focus heavily on calling Rust FROM Swift but not the other way around.

Yup totally. The reason for this is that my current use case mainly involves calling Rust from Swift, so I've mainly focused on supporting and writing documentation for that use case.
That being said we also want swift-bridge to make it easy to call Swift from Rust so I'd love to help with anything that you need here.

So you're trying to compile a Swift native library and then link to it from Rust?
If so, there's a very tiny example of this in the book right now (we still need to write a deeper walkthrough) https://github.com/chinedufn/swift-bridge/blob/a78e617ffbb9471224c4ee79a6e42f0498ed4c43/book/src/building/swiftc-and-cargo/README.md#rust-links-to-a-swift-native-library

You don't need to annotate Swift code to call it from Rust. swift-bridge generates the FFI bridge for you.
For example
https://github.com/chinedufn/swift-bridge/blob/master/crates/swift-bridge-ir/src/codegen/codegen_tests/opaque_swift_type_codegen_tests.rs#L5-L18
https://github.com/chinedufn/swift-bridge/blob/master/crates/swift-bridge-ir/src/codegen/codegen_tests/opaque_swift_type_codegen_tests.rs#L45-L52

I'm assuming there's some sort of build/compile step I'm missing with Swift to generate the needed header files that I may have just missed in the docs?

Yup it's that little blurb from the first link where you use the swift-bridge API or CLI to generate the header files. The CLI command doesn't exist yet, but I can add it for you if you need it (or give you step by step instructions on how to do it if you'd like to make a first contribution!)

Let me know if that helps.
I'd love to help make sure that all of your problems get solved here.
Our approach has been to add documentation as we go.. so once we get you sorted out I'll add some docs on this before closing out this issue.
Cheers!

Notes for myself...

[ ] We need to add an example of a Rust binary that links to and calls code from a Swift lib. Maybe examples/rust-binary-calls-swift-library

Update: I have a working example. Now I need to clean it up.

Whipped up an example of a Rust binary that calls a Swift package in https://github.com/chinedufn/swift-bridge/pull/104
You can view the example here -> https://github.com/chinedufn/swift-bridge/tree/23d60feaa0f8e92f2c854d8665868aa5573ef505/examples/rust-binary-calls-swift-package
Please feel free to re-open this if this example isn't enough for your use case.
Cheers!

Hey, not the OP but I also have questions in this space. If I have
class Foo {
  var x : Int

  init(x : Int) {
    self.x = x
  }

  struct Bar {
    var y: Int
  }

  func baz(bar: Bar) -> Int {
    return x + bar.y
  }
}

and I want to do something like
let foo = Foo(x: 1)
let bar = Foo.Bar(y: 2)
print("baz: \(foo.baz(bar: bar))")

but from rust, how would I write the bindings.
On another note, can I create bindings to access vars in swift classes from rust?


Update README.md to use Rust syntax highlighting

This micro PR updates the second code block in the README to use Rust syntax highlighting.

Thank you!


Can we also contribute to the documentation somewhere?

Hi there,
Thank you for your work.
It seems like the documentation still misses a lot of information. Is there a way to also contribute to the documentation? It doesn't seem to be located in this repository.

Ok found it here. Thanks!


Add tests for inheritance methods

Will review this after merging the inheritsHooksFrom PR

I'll have the changes ready in that PR within the hour.

Cool - this should be good to go.


[Auto] Bitcoin PR batch Mon Feb 16 11:30:32 2015

Contains:
getrawchangeaddress should fail when keypool exhausted + add tests
getblocktemplate: longpolling support (v2)
Bugfix: make CCoinsViewMemPool support pruned entries in underlying cache
Add missing FindNode prototype to net.h

Needs rebase

pokes @rnicoll with a stick

Rebased

ACK


Feature Request: add a way to override name of the resource group created by the management resources.

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
Is your feature request related to a problem?
No

Describe the solution you'd like
I am not sure if I can set this up, but I would like to change the name of the management resource group created by the module to be able to fit our naming convention.
The current behaviour is  a resource group with the name -mgmt.
It would be awesome to have it fit in with the azurecaf_name and azurecaf_naming_convention modules.

Additional context

Thank you for your request @ofbjansen.
You are currently able to do this with the following example configuration:
module "caf-enterprise-scale" {
  source  = "Azure/caf-enterprise-scale/azurerm"
  version = "0.3.1"

  root_parent_id = var.tenant_id
  root_id        = var.root_id
  root_name      = var.root_name

  library_path = "${path.root}/lib"

  deploy_core_landing_zones = true

  deploy_management_resources = true
  subscription_id_management = "00000000-0000-0000-0000-000000000000"
  configure_management_resources = {
    settings = {
      log_analytics = {
        enabled = true
        config = {
          retention_in_days                           = 30
          enable_monitoring_for_arc                   = true
          enable_monitoring_for_vm                    = true
          enable_monitoring_for_vmss                  = true
          enable_solution_for_agent_health_assessment = true
          enable_solution_for_anti_malware            = true
          enable_solution_for_azure_activity          = true
          enable_solution_for_change_tracking         = true
          enable_solution_for_service_map             = true
          enable_solution_for_sql_assessment          = true
          enable_solution_for_updates                 = true
          enable_solution_for_vm_insights             = true
          enable_sentinel                             = true
        }
      }
      security_center = {
        enabled = true
        config = {
          email_security_contact             = "security_contact@replace_me"
          enable_defender_for_acr            = true
          enable_defender_for_app_services   = true
          enable_defender_for_arm            = true
          enable_defender_for_dns            = true
          enable_defender_for_key_vault      = true
          enable_defender_for_kubernetes     = true
          enable_defender_for_servers        = true
          enable_defender_for_sql_servers    = true
          enable_defender_for_sql_server_vms = true
          enable_defender_for_storage        = true
        }
      }
    }
    location = null
    tags     = null
    advanced = {
      custom_settings_by_resource_type = {
        azurerm_resource_group = {
          name = "custom-rsg-name"
        }
      }
    }
  }
}

Hopefully this will give you the flexibility you're looking for.

Note: You can use this approach to modify the name and some other settings for each of the resource types deployed by the management child module, including:

azurerm_resource_group
azurerm_log_analytics_workspace
azurerm_log_analytics_solution
azurerm_automation_account
azurerm_log_analytics_linked_service

We're undecided on whether to document this feature in the Wiki, and as this is still in early development we may provide a slightly different experience in the future. Please keep this in mind if you're using this in a production environment. Any changes to impact this will be clearly documented in the release notes, and terraform plan will always make you aware of these changes when moving from one minor release to another (e.g. 0.3.1 to 0.4.0).
I will also take this to the team to see their thoughts on integrating this module with the azurecaf_name and azurecaf_naming_convention modules.

This is exactly what I am looking for.
Curious what else can be done with the advanced variable, but probably will be documented in feature releases.
Thanks.


Impossible to change Panic key.

Once you change the hotkey, it will activate the function immediately.

Thanks, I forgot this case and the easiest fix is to go with global bool being state of the hotkey

was testing git on priv repo with links, closing this


Narrow down the list of Node IPs to external interfaces only

Currently, the NodePorts that the client tries to connect to looks like:
(http://<IP_ADDRESS>:31036
http://<IP_ADDRESS>:31036
http://kubernetes-minion-group-3pvp:31036
http://<IP_ADDRESS>:31036
http://<IP_ADDRESS>:31036
http://kubernetes-minion-group-cnk6:31036
http://<IP_ADDRESS>:31036
http://<IP_ADDRESS>:31036
http://kubernetes-minion-group-j0qh:31036)

Each node shows up thrice with hostname, external and internal IPs. We should probably limit it such that we only go over external IP addresses of the nodes.

+1 this would alleviate a lot of unnecessary failover between hosts that are known to never function.  For example we would never be able to access the internal IP addresses from the submitter so those should be filtered at a minimum.
@foxish you suggest just external IP instead of the hostname -- do you expect to have problems with the hostname and that's why you suggest just using external IP?

The hostname won't work with GCE, GKE, etc typically. The external IP is pretty reliable on the other hand.


💡[FEATURE]: Hedge Fund Strategy Optimization

Is your feature request related to a problem? Please describe.
Optimize hedge fund strategies using historical data to enhance performance and reduce risk.
Describe the solution you'd like
Deep learning Algorithms :
LSTM,BiLstm,Rnn
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@Akshat111111 assign it me I'm Gssoc'24 contributor


Simplify

Removes some of the more opinionated directory structures and files, and adds some opinionated stuff of our own:

base conda and pip requirements
Apache license
catalogs directory

Suspect this wasn't meant to be PRd here.

Whoops, that's embarrassing. Thanks


OSS Supply Chain Risk WG - Oct 10 2023 meeting

Date
10/10/2023
Untracked attendees

Name
Firm
Comment

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene, roll call, welcome new people
[ ] Approve previous meeting minutes
[ ] Review DevOps SIG project board
[ ] Add Items Here
[ ] AOB, Q&A & Adjourn (5mins)

Decisions Made

[ ] Decision 1
[ ] Decision 2
[ ] ...

Action Items

[ ] Action 1
[ ] Action 2
[ ] ...

Zoom info
Join Zoom Meeting

https://zoom.us/j/95521041942?pwd=dHgwREU2TzBsS242ak1zYWZsUW9OUT09
Meeting ID: 955 2104 1942
Passcode: 443820
Find your local number: https://zoom.us/u/aesEqmNODb

Github Repo: https://github.com/finos/devops-automation/
Project Board: https://github.com/orgs/finos/projects/33
Mailing List: Email<EMAIL_ADDRESS>to subscribe to our mailing list

amol shukla/morgan stanley

Mimi Flynn / Morgan Stanley

James McLeod / FINOS

Information on the SPDX Build Profile:

Overview and use cases: https://spdx.dev/learn/areas-of-interest/build/
Meeting information: https://github.com/spdx/meetings#sub-groups-for-specific-topics
Spec (note - we're going to have a more readable version in a couple work): https://github.com/spdx/spdx-3-model/tree/main/model/Build

SPDX Functional Safety profile meetings: https://github.com/spdx/meetings/tree/main#functional-safety-profile-group-meetings


[Feature Request] Support async-validator suppressWarning option

Existing Component
Yes
Component Name
Form
Description
Currently, when a Form validation is not valid, a console warning produced by async-validator is shown (e.g. async-validator: ["key value test as does not match pattern /^[\w]*$/"]). This can be annoying if the validation takes place frequently, like on model change.
It would be great to have the possibility to disable it since a recent release of async-validator allows it:

https://github.com/yiminghe/async-validator/releases/tag/1.11.3
https://github.com/yiminghe/async-validator/commit/e5dba0e927b580d079f88f5ce3b77396bf703e31

added to 3.0

added to 3.0

Really like to add this option, when would v3 be released on?


Add GRAV_VERSION to twig variables

Fix #3142

Function calls are faster? I am happy to fix that, if you think it is better. Is there also a function to get the version of a plugin? If the function could also do grav.version('plugin.form'). That'd be nice!

Function calls are faster? I am happy to fix that, if you think it is better. Is there also a function to get the version of a plugin? If the function could also do grav.version('plugin.form'). That'd be nice!

Method call is not faster. But having 1000 array merges with quadzillion extra variables surely costs more, especially as this is something that will likely be called only a single time per request. :)
Plugin versions are in the plugin blueprints, there's method to get those.

Method call is not faster. But having 1000 array merges with quadzillion extra variables surely costs more, especially as this is something that will likely be called only a single time per request. :)
Plugin versions are in the plugin blueprints, there's method to get those.

Fixed in https://github.com/getgrav/grav/commit/c7dcb9144c0aed147c32dfa124f38bb2e1204e6c , use grav.version to access it.

Nice!


Workflow cannot load settings.gd after new change.

No idea what's going on here. Will investigate further later.

There was a bad path in the case.gd file where it was trying to load wat/settings instead of WAT/settings which only became a problem in linux container (my dev machine is my windows laptop)
Introduced in d661b4867990ccb4dd69f825fe623dbcc956a6f9
Fixed in #ef0234bf23fc5bff1e51de408f348edc1c8d24cb
Also had to make these changes for the files to pass
2908ed0de4e6d94fedc7f02f20b191f20f022ba3
fb5e05c0ada7434655239d795d36f35e9b149930


Provide tooltip timing customization

Here is my plunker: https://plnkr.co/edit/63CT3SHxP0AbYKDB0AVX?p=preview
There are at least two issues with the tooltips:

When drag and move the range, the tooltip shows up in the middle of the range
As I hover over and move along the ticks, the tooltip is blocking my current min and max value.

For #1, is there a setting to turn off tooltips when dragging the range?
For #2, is there a way to show a tooltip only during x (like 3 to 5) seconds when hover happens?  The tooltip should disappear when the mouse is stationary after x seconds.

Same as #388


error in your 'express-example.js' not start

Hello,
Waterline version: 0.13.1-9
Node version: 8.9.3
NPM version: 5.6.0
Operating system: Mac os 10.13.2
END VERSION INFO
======================================================
GREAT! - Now read carefully
(Sailsbot will know if you don't)!
Before you submit an issue for Waterline, please make sure you have read the Sails issue contribution guide (http://bit.ly/sails-issue-guide) carefully, and then verify the following by typing an X in between each set of [ ] brackets below (don't make any other changes to the text!):
BEGIN PLEDGE

[ ] I am experiencing a concrete technical issue with Waterline (ideas and feature proposals should follow the guide for proposing features and enhancements (http://bit.ly/sails-feature-guide), which involves making a pull request).  If you're not 100% certain whether it's a bug or not, that's okay--you may continue.  The worst that can happen is that the issue will be closed and we'll point you in the right direction.

[ ] I am not asking a question about how to use Waterline or about whether or not Waterline has a certain feature (please refer to the documentation(http://sailsjs.org), or post on http://stackoverflow.com, our Google Group (http://bit.ly/sails-google-group) or our live chat (https://gitter.im/balderdashy/sails).

[X] I have already searched for related issues, and found none open (if you found a related closed issue, please link to it in your post).

[X] My issue title is concise, on-topic and polite.

and finally...

[X] I can provide steps to reproduce this issue that others can follow.

Ideally, this involves creating a new repo that demonstrates the problem (see instructions at http://bit.ly/waterline-issue-repo).  Even though your issue may seem so simple to reproduce that a new repo is unnecessary, you'd be surprised how many solutions present themselves when you start from sails new and attempt to recreate your issue from scratch in a new app.  This ensures that the real issue isn't in your user code or in a third-party module.  If you're absolutely convinced that a new repo is unnecessary, provide clear, concise and specific steps to reproduce the problem in your post (not "create a model then do blueprint create").
END PLEDGE

I use like in 'express-example.js' and when launch it failed :
Could not start up the ORM:
 Error: The adapter for datastore `default` is invalid: the `registerConnection` method must be renamed to `registerDatastore`.
    at /Users/far-paul/Sites/lucy/crous78/server3/node_modules/waterline/lib/waterline.js:655:21
    at /Users/far-paul/Sites/lucy/crous78/server3/node_modules/waterline/node_modules/async/dist/async.js:3047:20
    at eachOfArrayLike (/Users/far-paul/Sites/lucy/crous78/server3/node_modules/waterline/node_modules/async/dist/async.js:1002:13)
    at eachOf (/Users/far-paul/Sites/lucy/crous78/server3/node_modules/waterline/node_modules/async/dist/async.js:1052:9)
    at Object.eachLimit (/Users/far-paul/Sites/lucy/crous78/server3/node_modules/waterline/node_modules/async/dist/async.js:3111:7)
    at Object.initialize (/Users/far-paul/Sites/lucy/crous78/server3/node_modules/waterline/lib/waterline.js:650:11)
    at Function.module.exports.start (/Users/far-paul/Sites/lucy/crous78/server3/node_modules/waterline/lib/waterline.js:913:9)

I use Express 4 :
Waterline.start({

  adapters: {
    'sails-disk': DiskAdapter,
    'sails-mysql': MySQLAdapter
  },

  datastores: {
    default: {
      //adapter: 'sails-disk'
      adapter: 'sails-mysql',
      url: 'localhost/crous78'
    },
    customerDb: {
      adapter: 'sails-mysql',
      url: 'localhost/crous78'
    }
  },

  models: {
    role: {
      attributes: {
        libelle: { type: 'string' }
      }
    },
    user: {
      attributes: {
        firstName: { type: 'string' },
        lastName: { type: 'string' },
        email: { type: 'string', required: true },
        password: { type: 'string' },
        role: { collection: 'role' }
      }
    }
  },

  defaultModelSettings: {
    primaryKey: 'id',
    datastore: 'customerDb',
    attributes: {
      id: { type: 'number', autoMigrations: { autoIncrement: true } },
    }
  }

}, function(err, orm){
  if(err) {
    console.error('Could not start up the ORM:\n',err);
    return process.exit(1);
  }

  // ORM is now running!
  ....
}

Thanks

ok, fixed!

ok, fixed!

ok, fixed!


Implementation of np.ldexp and np.frexp

As per #70, add ldexp and its inverse function frexp.
Related links:
https://docs.scipy.org/doc/numpy/reference/generated/numpy.ldexp.html#numpy.ldexp
https://docs.scipy.org/doc/numpy/reference/generated/numpy.frexp.html#numpy.frexp
https://en.cppreference.com/w/cpp/numeric/math/frexp

Hi @hawkinsp, could you take a look at the PR again? Thank you!

I updated this PR for some changes to Github head and made few small cleanups.

Thanks for the PR! Sorry it took us so long to merge it.


CSS: Fix for #737

Closes: https://github.com/jquery/qunit/issues/771
Before:

After:

@jzaefferer Please Review

Thanks! I've updated the commit message, take a look please, especially at the ticket references.


README example incorrect

Please see https://hazelcastcommunity.slack.com/archives/C015QA2U9C2/p1606401283084000?thread_ts=1606307362.080000&cid=C015QA2U9C2
README examples needs to be updated.
Trying out some baby steps with the beta, I cannot compile the IT example from README.md:
    for (const auto &entry : personnel.entry_set().get())
personnel is a std::shared_ptr so I assume calling personnel->entry_set() is more viable,  yet this still doesnt work since entry_set is a template member function and there is no default/automatic deduction for this case.
So i eventually tried to provide the expected K-V types
    for (const auto &entry : personnel->entry_set<std::string, std::string>().get()) {

fixed by #715


more robust way to extract relevant data

fixes bugged extraction of monitor data, fixes #54

Nice pattern. Unfortunately it's really slow.
1000000 passes
execution speed: 647ms
execution speed: 171217ms

You should only "optimize performance" if you have a performance problem. In this case, this pattern will be executed n times per window focus change, where n is the amount of bars displaying the bspwm module. I really don't see this as critical.


ModuleMap's handling of devices

At the moment, ModuleMap takes a device at initialization and there is no way to change it later. However, this does not correspond to idiomatic torch, where modules can be moved from and to devices. Since Labels cannot be registered as part of a torch.nn.Module, I think the only possibility for now is to move the Labels to the correct device during the forward function. Another option would be to override the to function of ModuleMap so the Labels are moved as well, but I do not know how difficult this would be.
@agoscinski @jwa7 @abmazitov @Luthaf

I think this is what https://github.com/lab-cosmo/metatensor/pull/496 was trying to fix?


User ACL/TAG - VMware Networks

Currently we can usage TAGs to restrict users to access some components in VMware Infrastructure (folders, vms, datastore), but there is no UIoption to create TAG VLAN networks (Port Groups created in vSwitch). Is is possible do it by CLI code.
http://talk.manageiq.org/t/user-acl-tag-vmware-networks/3734/4
Is is possible add UI option for it ?!
Best regards

It appears that your question was answered here: http://talk.manageiq.org/t/user-acl-tag-vmware-networks/3734/4
Since this question really belongs on talk.manageiq.org please close this issue.

@miq-bot close_issue


hyprctl: add handler to report all connected monitors

Describe your PR, what does it fix/add?
I added a way to show all monitors, not just the active ones.
I use this to see which monitor is connected to which output before changing the config.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
nope
Is it ready for merging, or does it need work?
ready for merge

I'd rather add a flag to hyprctl and a field called enabled or something. This just adds tons of duplicate code.

I'd rather add a flag to hyprctl and a field called enabled or something. This just adds tons of duplicate code.

Would the code not be almost the same or even more? we iterate a different collection and also print other information (because disconnected monitors have less info)
I mean I can change it to use a field, should I then try to reuse the current print function and just add fallbacks for the not existing code?

yes


NO-ISSUE: Move Prometheus components to e2e-extras

Since the Prometheus server is for development purposes, it makes more sense to place it in e2e-extras than the core flightctl helm chart.

it looks good although now it needs a rebase.


test: add dbt basic functional tests

Description
Add the basic dbt test suite to the functional tests as outlined in the docs. This should make it easier to validate that new changes don't break existing functionality.
Some of the tests are skipped, because they don't work (yet). The snapshot tests will be added in another PR. I'm not sure why the TestBaseAdapterMethod test fails.
Models used to test - Optional
/
Checklist

[x] You followed contributing section
[x] You added unit testing when necessary
[x] You added functional testing when necessary

should close https://github.com/dbt-athena/dbt-athena/issues/142


pdfx web - bouncing behaviour is quite annoying when scrolling

Describe the bug
When scrolling a lager PDF with the mouse (especially with smaller wheel spin) the scrolling behavoiur with it's bouncing is quite annoying.
As you can see here in this animation you even get stuck sometimes on the same place (e.g. at page break):

To Reproduce
I'm taking a fileBase64Decoded PDF but this shouldn't matter though. It just needs to be multiple pages.
I tried playing around a bit with pageSnapping and the physics but there was no real satisfiying result.
Behaviour is same in Chrome and Edge.
PdfController? pdfController = PdfController(
              document: PdfDocument.openData(fileDecoded),
            );

PdfView(
  controller: pdfController!,
  scrollDirection: Axis.vertical,
  pageSnapping: !kIsWeb,
  physics: PageScrollPhysics(),
  builders: PdfViewBuilders<DefaultBuilderOptions>(
    options: const DefaultBuilderOptions(),
    documentLoaderBuilder: (context) => Center(
      child: CircularProgressIndicator(
        valueColor: AlwaysStoppedAnimation(Theme.of(context).primaryColor),
      ),
    ),
    pageLoaderBuilder: (context) => Center(
      child: CircularProgressIndicator(
        valueColor: AlwaysStoppedAnimation(Theme.of(context).primaryColor),
      ),
    ),
  ),
);

Expected behavior
pageSnapping: false should actually not pageSnap
OR
Based on the given ScrollPhysics an according scrolling behaviour, e.g.

bouncing when BouncingScrollPhysics
maintaining the amount of overscroll or underscroll when RangeMaintainingScrollPhysics

OR
it would actually be nice to have a scrollbar available, like already mentioned in #81.

Maybe it would also be worth a try to implement it's own ScrollController to kinda control the scroll behaviour on your own. But it seems like this whole scrolling stuff is somewhere deep in related packages like photo_view_gallery.
My idea was to create some sort of controller like here in this package and wrap the PdfView with it:
https://pub.dev/packages/smooth_scroll_web

Are there any news regarding this issues. We still have this behavior.
Do you have planned to provide a fix for it?
Many thanks for your response.

I would like to push resolution of this issue 🙏 I like the library but this bounding behaviour while viewing PDF will probably make me search for another library if not resolved soon.


Cannot switch to PUI - None shown in browser

Please verify that this bug has NOT been raised before.

[x] I checked and didn't find a similar issue

Describe the bug*
When prompted to switch to PUI during login, if link is clicked no UI is loaded.
This is not affected by the browser or machine accessing it. It happens with inventree.localhost too, with and without SSL certification.
No error report is shown in the admin console. Unsure where the log files are located with DEBUG disabled.
Steps to Reproduce

From the login screen, click the link to PUI switch.

Expected behaviour
The UI is switched from CUI to PUI, as in the demo. A new login page appears.
Deployment Method

[ ] Docker
[x] Package
[ ] Bare metal
[ ] Other - added info in Steps to Reproduce

Version Information
Version Information:
InvenTree-Version: 0.17.0 dev
Django Version: 4.2.14
Database: sqlite3
Debug-Mode: False
Deployed using Docker: False
Platform: Linux-5.10.0-33-amd64-x86_64-with-glibc2.31
Installer: None
Active plugins: [{'name': 'InvenTreeBarcode', 'slug': 'inventreebarcode', 'version': '2.1.0'}, {'name': 'InvenTreeCoreNotificationsPlugin', 'slug': 'inventreecorenotificationsplugin', 'version': '1.0.0'}, {'name': 'InvenTreeCurrencyExchange', 'slug': 'inventreecurrencyexchange', 'version': '1.0.0'}, {'name': 'InvenTreeLabel', 'slug': 'inventreelabel', 'version': '1.1.0'}, {'name': 'InvenTreeLabelMachine', 'slug': 'inventreelabelmachine', 'version': '1.0.0'}, {'name': 'InvenTreeLabelSheet', 'slug': 'inventreelabelsheet', 'version': '1.0.0'}, {'name': 'DigiKeyPlugin', 'slug': 'digikeyplugin', 'version': '1.0.0'}, {'name': 'LCSCPlugin', 'slug': 'lcscplugin', 'version': '1.0.0'}, {'name': 'MouserPlugin', 'slug': 'mouserplugin', 'version': '1.0.0'}, {'name': 'TMEPlugin', 'slug': 'tmeplugin', 'version': '1.0.0'}, {'name': 'KiCadLibraryPlugin', 'slug': 'kicad-library-plugin', 'version': '1.4.3'}]
Please verify if you can reproduce this bug on the demo site.

[ ] I can reproduce this bug on the demo site.

Relevant log output
13:32:35 server inventree-web-1.service[2275]: Manifest file not found
Oct 29 13:32:35 server inventree-web-1.service[2275]: <IP_ADDRESS> - - [29/Oct/2024:12:32:35 +0000] "GET /platform HTTP/1.0" 200 401 "http://<IP_ADDRESS>/accounts/login/?next=/" "Mozilla/5.0 >
Oct 29 13:32:35 server inventree-web-1.service[2281]: <IP_ADDRESS> - - [29/Oct/2024:12:32:35 +0000] "GET /favicon.ico HTTP/1.0" 302 0 "http://<IP_ADDRESS>/platform" "Mozilla/5.0 (Windows NT 1>
Oct 29 13:32:35 server inventree-web-1.service[2274]: <IP_ADDRESS> - - [29/Oct/2024:12:32:35 +0000] "GET /accounts/login/?next=/favicon.ico HTTP/1.0" 200 8517 "http://<IP_ADDRESS>/platform" ">
lines 980-1002/1002 (END)

You may not have compiled the frontend code when updating - this may be skipped depending on your setup.
Run the following command:
invoke update --frontend

And then restart the server. LMK if you see the frontend code then

Hi, thanks for the fast response.
Unfortunately it didn't work. invoke update does run without errors, but the issue remains the same.
I also tried stopping the service inventree before invoking, still no luck.
Maybe a general update would benefit it?
I used the provided installer for the initial setup btw.

Does the web browser provide any error / warning information in the console?

No, there's only a generic warning regarding COOP headers being ignored due to the fact that I don't use HTTPS. This message is common to both CUI and PUI, and it doesn't seem to have any impact.

@Keybored02 can you please provide the full log from invoke update --frontend ?

Sure, full console log here https://pastebin.com/2BP3fWMS
syslog https://pastebin.com/DkP0eSKm
Let me know if you need anything else (and possibly the path to get it, it's all a bit dispersed)

If the console log is a complete trace of the command requested by @matmair  then this shows a problem - the install command has failed part way through:

This means that the process has not continued - and copied across the required static files to render the frontend. Additionally there are other crucial steps that would have been bypassed also

You're right that might be the issue. I'm not sure whether bypassing or manually uninstalling it would be an option?

@Keybored02 pleawe try running sudo inventree run cli update --uv

Here it is https://pastebin.com/tsaM6k8s (issue still persists)

Are you running a development version?

Yes, [0.17.0 dev]. The default from the installation script.

The installer script defaults to the stable channel. Dev builds do not come with a frontend so this is to be expected.

Sorry, isn't the production installer script separated for the developer setup? I didn't use the latter ofc: https://docs.inventree.org/en/latest/start/installer/
I'll try to replicate it on a clean machine.

Started am install on a fresh VM and it did in fact default to stable and version 0.16.8. No idea what went wrong here, as i used the same steps as before.
Any suggested way to rollback? I definitely can do a backup and reinstall, but would it be backwards compatible?

We do not guarantee backwards migrations so waiting is probably for the best. Just running the installer script should be enough to migrate to stable.

@Keybored02 glad you got it working :)


Update needed on teleportation with Leap Motion

In the teleoperation part of user manual, you have the following instructions:
LEAP Motion [Remote PC] Connect LEAP motion to the remote PC via Bluetooth.  [Remote PC] Install packages for teleoperation using LEAP motion.
Can you please show me more details on how to accomplish this task? I think we need a package to build up the communication between Leap Motion and turtlebot3? But I don't see it anywhere in the github page. Can you please update it?

Hi buddy,
I am on it and will show you my own node soon. Just a quick question. Do you know how I can get a better understanfing of ROS leap diver? Before you told me, I didn't even know that I need to use leap_hands.cpp file and subscribe to marker. How did you find out that leap_hands.cpp is the file we need to use? Why not the python files in script folder? How can I learn more about marker? Thanks with no end.

Btw, can you please show me the difference markers and markers arrays messages? I think I am going to figure it out first. Thanks

Hi man,
i   don't think I am capable of making this node. coz I don't really understand the leapros pkg. Can any of you experts give me a favor? since you've done this before. I simply want to teleoperate my turtlebot 3 as you showed in your manual which is not working now. Would you consider updating it in your e-manual?
Cheers


Add policy command

Feel free to address those comments in follow up PRs, as this one is already merged.


chore: add lint task

Description
This PR adds lint task.
This PR don't fix eslint errors. It can be solved if the reviewers ask for it.
Currently lint runs only on webpack build. This way all *.spec.js files dont are checked by eslint, because those files aren't imported in development code.
resolves #143

Your checklist for this pull request
:rotating_light: Please review this items for a good pull request. :four_leaf_clover:

I've read the project's Contributing Guidelines
My commits are well written and follow pagarme/git-style-guide
My changes are well covered by tests and logs
I've updated the project docs (if needed)
I fell safe about this implementation

In a good pull request, everything above is true :relaxed:

Será que não faz sentido adicionar no .travis.yml para verificar o linter na build do CI?

Eu concordo com o @otaviopace

fechei esse PR por que tinha feito em um fork, subi um outro (#156) em um branch no repo


Update README.md

Adding a cost section and adjusting the format to follow a common pattern.

I think what github does is to hide blocks that don't have changes at all. If you look to the left you will see the commit starts in line 20. Try clicking the "up arrow icon"  and you should see the intro. It worked for me that way. let me know how it goes.


Unnecessary read query on ORM insert

This goes way back to 2008: 2e955b498e0438bbe24f953f6e670cf069794339...
In order to correct a mistaken update query that should be an insert, there's an extra read query to check if the value is already in the database. This isn't efficient.
Instead, this should probably use the Database::affectedRows() instead.

so
$affected = 'INSERT IF NOT EXISTS'
if (!$affected) { 'UPDATE' }
Right?

It's the other way around - it needs to convert an update query to an insert one.
The other approach would be to remove this switch-over altogether and just assume that an update is correct. I think that it's probably a band-aid over other ORM bugs.

I've created https://github.com/silverstripe/silverstripe-framework/pull/7073. affectedRows() didn't seem to work but I suspect that the whole feature might be unnecessary.

During my dbal work I found this strange also. I think it's pretty much the only reason we have the ability to turn an insert into a select, which is also a strange api which is, unsurprisingly, missing from dbal.

I've hit a few test failures on this. I think the use-case its catering to is:

create a page, set title
write
convert to blogpage, set author
write

Writing an existing blogpage should be UPDATEs, not INSERTs. However, at the time of class conversion I don't know that the blank record is created. So the updates, if they fail, switch over to an insert.
The other, better, way of fixing this would be to generate the missing records at the time they're needed.
A couple of situations come to mind:

dev/build creates a new subclass table
changing the class of an existing record

Note: using affectedRows() doesn't seem to work; I think it returns 0 if you try to re-write the same data.

$affected = 'INSERT IF NOT EXISTS'
if (!$affected) { 'UPDATE' }

The weakness of this approach is that it still executes 2 queries in the normal case. Given the 2nd query is an edge-case for when data is inconsistent, I don't think that's good.
An UPSERT query, if the backend allows, would be better, but even that I suspect is slower than an UPDATE

An initial read suggests that MySQL does an upsert and PostgreSQL does not, and that under the hood they're pretty hard things to do. So fixing the root cause is likely the best approach here.


[BUG] Unable to dump eeprom

Describe the bug
Unable to dump eeprom from the dump menu, it ends with 'sed' error : "invalid option -- z".
I'm using latest master.
Screenshots

Firmware(please complete the following information):

Brand: VW
Hardware-type: MIB2High Harmann
Version: MHI2_ER_VWG13_P4521

Look into your folder. The dump should be there. There is just a bug with the inline showing of the content withing the script execution

Maybe fixed with latest commit

Same problem here. After performing dump I have two files in backup. A eepromdump.bin with 1kB with no content and a eepromdump.txt. This file seems to be a saved eeprom, just as txt. Is this the saved eeprom, only in txt? If yes, is there a possibility to convert it to *.bin file?

I'll look into this. The txt file has the hex contents of the file. Paste the hex data in a hex editor like 010 editor.

Ok, thank you :)


Display information about the TLS cipher used

Signed-off-by: Pascal Bach<EMAIL_ADDRESS>

PR updated to be independent of the ciphers supported by go. This should make it work with older go versions too.

The project has moved to https://github.com/rakyll/hey. Closing the PRs on this legacy repo.


odb: support schema versions in code generator

@maliberty is there anyway to skip the format check for the impl.cpp file? it's a template for jinja and cannot be formatted.

Add an exception for codeGenerator to https://github.com/The-OpenROAD-Project/OpenROAD/blob/master/.github/workflows/github-actions-format-on-push.yml (there are already several)


feat: add a package for React components library

Pull Request checklist
🚨 Please review the guidelines for contributing to this repository.

[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Don't request your main!
[x] Make sure you are making a pull request against the main branch (left side).
[x] Check the commit's or even all commits' message styles matches our requested structure.
[x] Check your code additions will fail neither code linting checks nor unit test.

Description
Add a React components library.
Does this introduce a breaking change?

No

❤ Thank you!

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: lauthieb:x: Anthony-dktYou have signed the CLA already but the status is still pending? Let us recheck it.

This is the source code of dktunited/vitamin-web. I think the contributors should be cited.


[Lesson 3] Image missing

On the lesson 3, there is an image missing under "Hallucinations" section.

Due to your internet speed image was not appaired in front of you.

Thanks @rizwanshoukat3324 , we will look at using lower quality images to accommodate lower internet speeds

I'm not sure my issue was related to internet speeds....

@koreyspace you're already using webp here (image is 60Kb). The image path is a little weird.

Thanks for looking into this further @cmaneu , I will take a look at the image path to see if that is the source of the issue.

Cannot repo this issue on Codepaces or GitHub.dev as such closing the issue


for redux store - save the propURI instead of the propLabel as the unique ID

https://github.com/LD4P/sinopia_editor/pull/246#discussion_r241599197

Fixed by #266, #261


[Very Simple Request] Notification window.focus ();

window.focus ();
Can you add this to the notification popup... Reason being I'm ingame want to click on it to pull that chrome up on other monitor.

Should probably work now.


Enhance ability to detect live publications with imported whitehall d…

Trello: https://trello.com/c/vAsVUGzV/245-import-hasliveversionongovuk-from-whitehall
These changes are about enhancing the importing task for whitehall records to they are better able to determine if a document has any edition that is already live.
A document will have a live edition of some kind if it meets one of two
criteria:
(1) the publication state of the imported document record is 'published'
(2) it has at least two editions.
If it has a live edition, these flags must be set properly:

publication_state must be set to 'sent-to-live'
has_live_version_on_govuk must be set to true
review state must be set to 'reviewed'

Previously the code was only checking for criterion (1).
Main changes:

add document as parameter to methods that determine flag states and
use the edition count method to support criterion (2)
modify tests to accommodate criterion (2)
modify most tests so they also check for has_live_version_on_govuk state
change wording of test case descriptions because now we have three
states to check which seem linked

Nice 👍


fixers.py: should not crash on "from fontTools.ttLib.tables.D_S_I_G_ import SignatureRecord"

Running

~/…/kurale$ /usr/local/bin/fontbakery-check-ttf.py

should not result in a backtrace from fixers.py ending with:

from fontTools.ttLib.tables.D_S_I_G_ import SignatureRecord

This is likely dependent on the particular version of fonttools installed.  Possible solutions are to try: … except: the import and/or to validate the availability before import—either based on version, or preferably on just trying to do it and failing gracefully at point of use, instead of point of import.
import statement at:

https://github.com/googlefonts/fontbakery/blob/master/bakery_cli/fixers.py#L29

Are you running latest fonttools from GitHub.com/behdad ? :)

(No, but) neither is our average user when trying to install this on $random_machine…

however, the README does say that one needs to
pip install git+https://github.com/behdad/fontTools.git

but maybe Paul is right, it could be made more explicit.

I've tacked on another line to the summary to (try) and make it clearly that this is about the software trying to help the guide the user towards a solution
This the extreme case that could well be a combination of the suggestions above leading to something like "The 'foo.ttf' font does not have an existing digital signature proving its authenticity so Fontbakery needs to add one.  To do this requires version N.NN of Fonttools to be installed.  Please upgrade at.…"

Generally I think at this point we should forget entirely about any use who
isn't us and actually get this working for us. At that point we can
consider growing the user base.
Specifically here I'm very keen that we don't spend time making stuff with
on the 2.4 version that is years old but widely packaged. There is an open
issue on behdads issue tracker for pypi packaging and if you think it is
important to run on a released version not git HEAD then let's help make a
new release

It might make sense to see what else I/we turn up; and then do a mid-year point-release of known-good "look here's the set of things we're working with and know work" on ~1 July 2015.  (That might then give a clear baseline).

Oh I see - sorry my last reply was drafted offline before I saw your update to the summary; I agree that would be great


CB-2682-Initialize SMM Discovery FQDN

Initialize SMM cm.metrics.host property to "Instance Discovery FQDN".
Closes #6429

Please add this to the rc-2.14 branch too?

@smaniraju Please rebase it to rc-2.14
@benyoka is right, your previous change has been landed there https://github.com/hortonworks/cloudbreak/pull/6414 and also need this fix on rc-2.14.

Closing this since I am getting merge conflicts on rebase. Will cherry pick this commit onto a new rc-2.14 branch.


Detection might not be accurate

The isRooted method detects some false positive sometimes, we used the SuperSU app to determine if the phone is rooted or not, as compared to RootBeer and it gave a more accurate result. We did this on a brand new Galaxy S10+

In the upcoming release we've removed busybox from the default root checks, this should hopefully fix many of the problems with false positives. I'm closing this issue but please re-open if you get a false positive with 0.0.8 onwards.
Thanks!


Way to import a default color from preset-mini?

In tailwind[1] or windi[2], it is common to override default gray color to more specific variant of gray in order to keep the overall tone of website constant.
Unocss defines its default color palette in preset-mini, but I can't find a way to import a default color from there.
[1] https://tailwindcss.com/docs/customizing-colors#aliasing-color-names
[2] https://windicss.org/utilities/general/colors.html#reuse-colors

Try to use import { colors } from '@unocss/preset-mini'
https://github.com/unocss/unocss/blob/cceb4a95e4d6b2ca42e216b57641657f2908ccbd/packages/preset-mini/package.json#L43-L46


[Class statistics] Courses tab: Fix substitutions

When substitutions are included, some courses are missing the gray checkmark even when it should be there. This issue is more apparent when using the student number filter.
The issue should be resolved by returning course statistics for all courses in the curriculum.

d3e484100a17c6be2a6cd3bccc60cbef21745dbd


Visualscript Node Suggestion

I have a new visualscript node suggestion Called the Formula Node
The Formula Node inputs a string and multiple variables:
This node could simplify the workflow from creating complicated calculations with multiple operator nodes, to simply typing a formula on a node with inputs and an output
the number of arguments (a,b,c.....) will depend on an exported integer value
So you could go from this:

To this:

Isn't there an Expression node that does just that already?

@akien-mga oops, my bad


Broken link Start Microsoft 365 E5 Trial

Link was referring addDomainToM365.md instead of startM365E5Trial.md

Thank you very much @manuelhauch ! 👍


Plugins disabled in Kubernetes

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I'm trying to enable and install plugins.
What did you see instead?
time="2023-05-25T14:36:04Z" level=error msg="Plugins are disabled because an error has occurred." error="mkdir plugins-storage: read-only file system"

In the configuration snippet below, I have mounted an emtpyDir volume in /usr/local/bin, because the documentation states that the plugins are expected to be found within the same directory as the binary. Note that this error occurs also if there is no volume mount at all, or if it is pointed at any arbitrary location.
What version of Traefik are you using?
~ $ traefik version
Version:      2.10.1
Codename:     saintmarcelin
Go version:   go1.20.3
Built:        2023-04-27T14:52:35Z
OS/Arch:      linux/amd64

image: docker.io/traefik:v2.10

What is your environment & configuration?
--accesslog
--api.dashboard
--api.insecure
--entrypoints.metrics.address=:9100/tcp
--entrypoints.traefik.address=:9000/tcp
--entryPoints.web.address=:8000/tcp
--entrypoints.web.forwardedHeaders.insecure
--entrypoints.web.ProxyProtocol.insecure
--entrypoints.websecure.address=:8443/tcp
--entrypoints.websecure.http.tls=true
--global.checknewversion=false
--global.sendanonymoususage
--log.level=INFO
--metrics
--metrics.prometheus
--metrics.prometheus.entrypoint=metrics
--ping
--providers.kubernetescrd
--providers.kubernetesingress
--providers.kubernetesgateway
--experimental.kubernetesgateway
--experimental.plugins.geoBlock.modulename=github.com/PascalMinder/geoblock
--experimental.plugins.geoBlock.version=v0.2.5
--experimental.plugins.addTraceId.modulename=github.com/trinnylondon/traefik-add-trace-id
--experimental.plugins.addTraceId.version=v0.1.5
--experimental.plugins.correlationId.modulename=github.com/soulbalz/correlationid
--experimental.plugins.correlationId.version=v1.0.0
--tracing.zipkin
--tracing.zipkin.httpEndpoint=http://jaeger-collector.observability:9411/api/v2/spans
--certificatesresolvers.http.acme.email=REDACTED
--certificatesresolvers.http.acme.storage=/data/acme.json
--certificatesresolvers.http.acme.httpchallenge.entrypoint=web
--certificatesresolvers.dreamhost.acme.dnschallenge.provider=dreamhost
--certificatesresolvers.dreamhost.acme.email=REDACTED
--certificatesresolvers.dreamhost.acme.storage=/data/acme.json
--certificatesresolvers.linode.acme.dnschallenge.provider=linode
--certificatesresolvers.linode.acme.email=REDACTED
--certificatesresolvers.linode.acme.storage=/data/acme.json

Add more configuration information here.
Volumes:
          volumeMounts:
            - name: data
              mountPath: /data
            - name: plugins
              mountPath: /usr/local/bin/plugins-storage
            - name: tmp
              mountPath: /tmp
      volumes:
        - name: data
          emptyDir: {}
        - name: plugins
          emptyDir: {}
        - name: tmp
          emptyDir: {}

If applicable, please paste the log output in DEBUG level
No response

Hello,

mkdir plugins-storage: read-only file system

Your volume is read-only then the plugins cannot be stored.
For help on your configuration, please join our Community Forum and reach out to us on the Traefik v2 section.

Sorry, but this issue is not resolved.

The software's error message doesn't provide anything remotely resembling useful information on troubleshooting the plugin directory that could not be created. What would be useful is knowing in which directory "plugins-storage" is trying to be created.

The software erroneously attempts to create a directory that has already been provided.

The software does not provide a way to configure a directory to store the plugins, so that, in this specific case, when a read-only container volume is used, a writable directory can be provided.

These can all be considered bugs.

The software's error message doesn't provide anything remotely resembling useful information on troubleshooting the plugin directory that could not be created.

We can try to see if we can improve this message.

The software erroneously attempts to create a directory that has already been provided.

Traefik doesn't try to remove the directory, it just tries to create it.

The software does not provide a way to configure a directory to store the plugins, so that, in this specific case, when a read-only container volume is used, a writable directory can be provided.

The path to the directory is not configurable by design.