Add helper class with commonly used MediaType constants

This change set adds the helper class MediaTypes defining commonly used media types.
The class has been inspired by MediaType from JAX-RS and is intended to save users from typing or having to define commonly used media types by themselves again and again.
The selection of media types in MediaTypes is rather arbitrary but should be sensible.

Also, if I'd want to use only one constant from MediaTypes, for example MediaTypes.APPLICATION_JSON, device (Android in bad case) would have to compute all static values from MediaTypes just to load the class and this will cause multiple calls to MediaType.parse() which is quite complex method + memory allocations

I thought about that case (memory restricted devices) as well but I couldn't come up with a better idea. Having only String constants in MediaTypes kind of defeats its purpose.
Do you have a suggestion on how to prevent bad effects on restricted machines? The only solution I could come up with is by moving the constants into MediaType and use its private constructor (which would work since we know how to build proper media types there).

Upon thinking a little bit more about the issues I've moved the constants into the MediaType class and use the private constructor to build them.

@swankjesse I've updated the PR with your proposed changes.

Perfect. LGTM.
Please rebase & squash & I'll merge.
rebaseandsqua.sh

@swankjesse Done. Thanks!

I'm :-1: for this change.
The included media types will never cover everyone's use cases which still requires me to define my own (for example, we use protos almost exclusively which is not included here). This will result in subsequent pull requests for people wanting to add their own favorite media type of the week. Additionally, some endpoints (like GitHub) don't use standard media types despite serving JSON.
Conversely, if I only use, say, JSON, I still pay the cost of having all these objects be initialized and in the public API.
I'd personally just rather have a policy of "bring your own". A lot of the time I could use the ones in this PR, but I think operationally having zero is the better decision from the library's perspective.

I'm totally fine if this PR doesn't get merged and I can understand it from a library author's perspective. While OkHttp is a generic HTTP client, the choice of media types in this PR is still rather arbitrary (and based on my use cases).

Despite it not being merged, this was a good discussion & decision. Thanks for the pull request @joschi!


WidgetTester.sendKeyEvent(LogicalKeyboardKey.enter) does not trigger TextField.onSubmitted

Steps to Reproduce

Execute the first test below under code sample, and observe that it fails
Execute the second test below under code sample, and observe that it passes

Expected results:
WidgetTester.sendKeyEvent(LogicalKeyboardKey.enter) would call the onSubmit callback in a TextField
Actual results:
WidgetTester.sendKeyEvent(LogicalKeyboardKey.enter) can interact with buttons, but not form fields.

Code sample

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('Can submit form field via LogicalKeyboardKey', (tester) async {
    bool wasSubmitted = false;
    final app = MaterialApp(
      home: Material(
        child: Center(
          child: TextField(
            onSubmitted: ((value) => wasSubmitted = true),
          ),
        ),
      ),
    );
    await tester.pumpWidget(app);

    // Set initial focus to window.
    await tester.tapAt(const Offset(0, 0));

    // Move focus to first focusable widget via keyboard (TextField).
    await tester.sendKeyEvent(LogicalKeyboardKey.tab);

    // Press enter to submit
    await tester.sendKeyEvent(LogicalKeyboardKey.enter);

    expect(wasSubmitted, true); // <- THIS FAILS
  });

  testWidgets('Can submit button via LogicalKeyboardKey', (tester) async {
    bool wasSubmitted = false;
    final app = MaterialApp(
      home: Material(
        child: Center(
          child: ElevatedButton(
            onPressed: (() => wasSubmitted = true),
            child: const Text('Submit'),
          ),
        ),
      ),
    );
    await tester.pumpWidget(app);

    // Set initial focus to window.
    await tester.tapAt(const Offset(0, 0));

    // Move focus to first focusable widget via keyboard (ElevatedButton).
    await tester.sendKeyEvent(LogicalKeyboardKey.tab);

    // Press enter to submit
    await tester.sendKeyEvent(LogicalKeyboardKey.enter);

    expect(wasSubmitted, true); // <- THIS PASSES
  });
}

[✓] Flutter (Channel stable, 3.3.8, on macOS 12.6.1 21G217 darwin-x64, locale en-US)
    • Flutter version 3.3.8 on channel stable at /Users/nejrd/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (4 weeks ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/nejrd/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.2

[✓] 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)

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

Try this out!

Thanks for the report. Using code sample provided, seeing same behavior, ie, first test fails and other passes:

══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected: <true>
  Actual: <false>

When the exception was thrown, this was the stack:
#4      main.<anonymous closure> (file:///Users/dhs/Documents/NCFlutter/test_app/test/widget_test.dart:35:5)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from package:stack_trace)

This was caught by the test expectation on the following line:
  file:///Users/dhs/Documents/NCFlutter/test_app/test/widget_test.dart line 35
The test description was:
  Can submit form field via LogicalKeyboardKey
════════════════════════════════════════════════════════════════════════════════════════════════════

 stable, master flutter doctor -v
[✓] Flutter (Channel stable, 3.3.9, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.3.9 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (12 days ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.7.0-4.0.pre.48, on macOS 12.2.1 21D62 darwin-x64,
    locale en-GB)
    • Flutter version 3.7.0-4.0.pre.48 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eefbe85c8b (19 minutes ago), 2022-12-08 22:32:07 -0600
    • Engine revision 8d83b98c55
    • Dart version 3.0.0 (build 3.0.0-0.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

@justinmc @dkwingsmt

I believe the key events for text inputs are handled by the framework.
The correct way to trigger onSubmitted is by sending an input action.
  testWidgets('Can submit form field via LogicalKeyboardKey', (WidgetTester tester) async {
    bool wasSubmitted = false;
    final Widget app = MaterialApp(
      home: Material(
        child: Center(
          child: TextField(
            onSubmitted: (value) {
              wasSubmitted = true;
              print('onSubmitted: $value');
            },
          ),
        ),
      ),
    );
    await tester.pumpWidget(app);

    // Set initial focus to window.
    await tester.tapAt(Offset.zero);

    // Move focus to first focusable widget via keyboard (TextField).
    await tester.sendKeyEvent(LogicalKeyboardKey.tab);
    await tester.pumpAndSettle();

    // Send done action to submit form field.
    await tester.testTextInput.receiveAction(TextInputAction.done);
    await tester.pumpAndSettle();

    expect(wasSubmitted, true); // <- THIS PASSES
  });
}

@TahaTesser is right.  I think the real problem here is that the docs don't explain this very well.  I've opened a PR that adds a small section about testing to the onSubmitted docs: https://github.com/flutter/flutter/pull/117550


QA & Cert: Flow RATA Run Checks

The scope of this ticket is to address the following Flow RATA Run Checks
QA and Certification Data Checks

[ ] RATA-114 - Reported Average Velocity With Wall Effects Valid
[x] RATA-124 - Flow RATA Record Valid

Test Case: TC1029

RATA-114 not working properly. Bug ticket Bug: QA & Cert: Flow RATA Run Checks - RATA-114 #4424


testing: race detected in goroutine can report an error in an unnamed test

Test case:
package foo_test

import (
	"fmt"
	"testing"
)

func makeRace() {
	var x int
	c := make(chan bool)
	go func() {
		x = 1
		c <- true
	}()
	fmt.Println(x)
	<-c
}

func TestFoo(t *testing.T) {
	makeRace()
}

Running this test with go test -race -test.v prints
=== RUN   TestFoo
0
==================
WARNING: DATA RACE
Write at 0x00c000014288 by goroutine 8:
  command-line-arguments_test.makeRace.func1()
      /home/iant/foo_test.go:12 +0x33

Previous read at 0x00c000014288 by goroutine 7:
  command-line-arguments_test.makeRace()
      /home/iant/foo_test.go:15 +0x10c
  command-line-arguments_test.TestFoo()
      /home/iant/foo_test.go:20 +0x1c
  testing.tRunner()
      /home/iant/go/src/testing/testing.go:1595 +0x238
  ??()
      -:0 +0x5243c4

Goroutine 8 (running) created at:
  command-line-arguments_test.makeRace()
      /home/iant/foo_test.go:11 +0xfc
  command-line-arguments_test.TestFoo()
      /home/iant/foo_test.go:20 +0x1c
  testing.tRunner()
      /home/iant/go/src/testing/testing.go:1595 +0x238
  ??()
      -:0 +0x5243c4

Goroutine 7 (running) created at:
  testing.(*T).Run()
      /home/iant/go/src/testing/testing.go:1648 +0x835
  testing.runTests.func1()
      /home/iant/go/src/testing/testing.go:2054 +0x84
  testing.tRunner()
      /home/iant/go/src/testing/testing.go:1595 +0x238
  testing.runTests()
      /home/iant/go/src/testing/testing.go:2052 +0x896
  testing.(*M).Run()
      /home/iant/go/src/testing/testing.go:1925 +0xb57
  main.main()
      _testmain.go:47 +0x2bd
==================
    testing.go:1465: race detected during execution of test
--- FAIL: TestFoo (0.00s)
=== NAME
    testing.go:1465: race detected during execution of test
FAIL
FAIL	command-line-arguments	0.007s
FAIL

Note the === NAME near the end.  A === NAME line should be followed by the name of the test.  Omitting the name is confusing and can break code that is parsing the test output.

cc @bcmills

I think this is plausibly correct? The empty NAME line could mean “this line is independent of the individual tests”, which is true for race reports in general (albeit perhaps not this specific case).

I tend to think that an empty NAME line is confusing and unhelpful.  If we want to say that the report is independent of individual tests, let's say that.

I believe it is currently necessary in order for cmd/test2json to correctly interpret the output, but perhaps it could be omitted (or changed) when -test.v is not set to test2json.

Can you expand on that?  test2json currently doesn't seem to count race detector reports at all.

Hi! While we're at it, let me point out a related "weird" pattern in race error messages for tests. Unlike other errors, these get propagated to all the ancestors of the subtest that generated the race, and the same hardcoder error message (testing.go:1465: race detected during execution of test) is printed for all of them. [Since the ancestors include the "root" test that encapsulates the whole suite, and which has an empty name, this causes the === NAME line to be printed.]
Just wanted to mention this before I forgot. It's a different problem (if we want to call it that) from the subject of this issue, in the sense that fixing any of them won't solve the other. Maybe it's worth filing another bug for this?

@cip999 Thanks, I was just looking at that.

The reason for that is how race errors are counted:

Total number of race errors (race.Errors()) is logged right before running the (sub)test.
(Sub)test is run.
Total number of race errors is logged again, and if greater than the previous one the race detection error is thrown.

(By the way, for some reason this is done by storing the negative of the first number, adding the second number, and checking whether the result is greater than 0. I'm confused.)
It shouldn't be difficult to fix it.

Using the negative count and then adding to it is because the number of race detector errors is monotonically increasing.  We want to do the right thing when we run multiple tests, and some have race errors.

Yes, my confusion was about why not storing the first error count (not its negative) and comparing it to the second one. But I think I figured it out, it's to handle the counting for parallel tests. Anyway, I'll stop diverging from the main subject. :)

Following up on this comment thread, I investigated the way race errors are handled and reported in parallel tests.
There are a couple notable points.

Parallel tests are run after the parent test has finished. Most importantly, the order of the events is the following: parent test function returns -> race errors for parent test are counted (and possibly reported) -> parallel subtests are released.
This means that direct parents of parallel tests aren't affected by this issue: if a race happens inside a parallel test, by that time its parent will have already logged the number of races. However, the race will be reported for the parent's parent (unless the parent is also run in parallel) and all previous ancestors.
As a concrete example, if we call t.Parallel() inside TestFoo in the proof of concept above, we no longer get the === NAME line and the race is reported only once.

[Incidentally, the semantics of T.Parallel is a bit counterintuitive; but let's not go there.]
Now, what happens with the proposed change? What I said in the comments isn't exactly true. Parallel tests will still be "deferred" to when race errors for the parent have been already reported, so the parent won't be affected at all. However, the parent's parent (and all previous ancestors) will be: if a race happens during parallel execution of two or more sub-sub-tests, the race count will be decremented by 2 or more (instead of 1). Then, if another race happens outside the subtests, it won't be detected. (Disclaimer: I haven't verified this, I'm too lazy to patch the CL...)
Admittedly, sub-sub-tests are seldom a thing (if ever). Still, something that works "by chance" is not super solid.

CL is being reverted.


Remove version: Jackett.Jackett version 0.20.1819

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.20.1819/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 917)


Add PodMonitoring support to falco-exporter

Motivation
Use falco-exporter with GCP's Managed Service for Prometheus
Currently Falco uses ServiceMonitor object from the API monitoring.coreos.com/v1 that works with the Prometheus-operator
That object is not compatible with GCP's Managed Service for Prometheus.
Feature
Add support for PodMonitoring (API: monitoring.googleapis.com/v1)
Additional context
In my GKE I am using the below two helmcharts to deploy Falco and store its alerts in Prometheus:

https://github.com/falcosecurity/charts/falco
https://github.com/falcosecurity/charts/falco-exporter

I am also using GCP's Managed Service for Prometheus,
To make the two work together I had to manually add my PodMonitor object to the falco-exporter chart. It would be tremendous to be able to simply choose which object I want to use from my values.yaml..

Hi @bzaleski578, falco-exporter will be deprecated soon: https://github.com/falcosecurity/evolution/issues/420.
It would be best if you used the metrics exposed by Falco itself.

@bzaleski578, thank you for the explanation.
While we understand the value of leveraging managed services like Google Cloud Managed Service for Prometheus, our charts are community-owned and designed to remain open and vendor-neutral. This approach ensures that they are usable across a wide range of Kubernetes environments, whether on-premises, multi-cloud, or with any managed Kubernetes service.
As a result, we focus on supporting open-source standards, such as the Prometheus Operator’s PodMonitor and ServiceMonitor CRDs, which provide broad compatibility and are not tied to specific cloud providers.
Anyway, let's hear the other maintainers' thoughts: @falcosecurity/core-maintainers

+1 for Aldo's comment

Can't say it makes me happy, but I totally agree with your motivation :)
And once again - thanks for timely responses!


Incorrect inferred type when using oneOf and objects

Hi
See this example below.  The inferred type is not as you would expect.  It is missing the second type in the OneOf array
const sourceFields = types.oneOf([
    types.object({
        source: types.constant(['API'], { required: true })
    }),
    types.object({
        source: types.constant('METRIC', { required: true }),
        definitionId: types.objectId({ required: true })
    })
]);

type SourceFields = typeof sourceFields;

Expected inferred SourceFields type:
 type SourceFields = {
    source: 'API';
 } | {
  source: 'METRIC'
  definitionId: ObjectId
 } | undefined

Actual inferred SourceFields type:
 type SourceFields = {
    source: string;
 } | undefined

The problem resolved itself - unclear how

This works...
const sourceFields = types.oneOf([
    types.object({
        source: types.constant('API' as const, { required: true })
    }),
    types.object({
        source: types.constant('USER_METRIC' as const, { required: true }),
        definitionId: types.objectId({ required: true })
    }),
    types.object({
        source: types.constant('RULE' as const, { required: true }),
        ruleId: types.objectId({ required: true })
    }),
    types.object({
        source: types.constant('IMPORT_OPERATION' as const, { required: true }),
        operationNonce: types.string({ required: true })
    })
]);


Code-Generator: Add support for custom elements

We would like to add support for custom elements in the CodeGenerator. We would like to handle webpages that are build with ExtJS and if you look at for example their drop down list. You will see that the default implementation is not going to work.
For us to be able to use our best practices for web automation we would like to have custom element in the CodeGenerator that can handle this kind of non default behavior.
Proposed implementation:
Add a property to the Code-Generator which accepts a comma separated list of java classes. Based on the parameters we can add the imports and create getters and setters in the generated Pages. Example "com.rlux.test.elements.ExtJSSelectList,com.rlux.test.elements.ExtJSTable"
Output:
import com.rlux.test.elements.ExtJSSelectList;

private ExtJSSelectList categoryExtJSSelectList;

public ExtJSSelectList getCategoryExtJSSelectList() {
    return categoryExtJSSelectList;
}

public void setCategoryExtJSSelectList(ExtJSSelectList categoryExtJSSelectList) {
    this.categoryExtJSSelectList = categoryExtJSSelectList;
}

Any concerns for such functionality, and any feedback what to focus on if we would want to implement it?

Closing this issue. #91 is tracking the outstanding documentation need for this enhancement


Error messages printed to stdout not stderr

Related Issues:
https://github.com/ashleygwilliams/wasm-pack/issues/117
https://github.com/ashleygwilliams/wasm-pack/issues/119
We ran into some confusing behavior with wasm-pack while using wasm-bindgen. We made an assumption that this error message would be printed to stderr not stdout as it is indeed an error that aborted execution of wasm-bindgen-cli.
Is this intended behavior? If not there's an easy workaround on our end, that I still think we'll end up implementing anyways to avoid this issue if we integrate other tools at some point for whatever reason

Awesome thanks for the quick response!


Max retries exceeded with url: /chain-runs

Hi,
I keep getting the below warning every time the chain finishes.
WARNING:root:Failed to persist run: HTTPConnectionPool(host='localhost', port=8000): Max retries exceeded with url: /chain-runs (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001B8E0B5D0D0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Below is the code:
import os

from flask import Flask, request, render_template, jsonify

from langchain import LLMMathChain, OpenAI
from langchain.agents import initialize_agent, Tool
from langchain.chat_models import ChatOpenAI
from langchain.memory import ConversationSummaryBufferMemory

os.environ["LANGCHAIN_HANDLER"] = "langchain"

llm = ChatOpenAI(temperature=0)

memory = ConversationSummaryBufferMemory(
    memory_key="chat_history", llm=llm, max_token_limit=100, return_messages=True)

llm_math_chain = LLMMathChain(llm=OpenAI(temperature=0), verbose=True)
tools = [
    Tool(
        name="Calculator",
        func=llm_math_chain.run,
        description="useful for when you need to answer questions about math"
    ), ]

agent = initialize_agent(
    tools, llm, agent="chat-conversational-react-description", verbose=True, memory=memory)

app = Flask(__name__)

@app.route('/')
def index():
    return render_template('index.html', username='N/A')

@app.route('/assist', methods=['POST'])
def assist():
    message = request.json.get('message', '')

    if message:
        response = query_gpt(message)
        return jsonify({"response": response})

    return jsonify({"error": "No message provided"})

def query_gpt(message):
    response = 'Error!'
    try:
        response = agent.run(input=message)
    finally:
        return response

Am I doing something wrong here?
Thanks.

I also encountered this error. It appears to be caused by the os.environ["LANGCHAIN_HANDLER"] = "langchain"
line, which is present in several parts of the documentation but not explained directly. It appears to be a requirement for using cloud-hosted LangChain installations, which is not the case for this example, or any of the applications I was debugging:
https://python.langchain.com/en/latest/tracing/hosted_installation.html
Removing that line clears up the error, and the code runs as before.

Yes, removing the line helped. Thanks @mgc8. This applies for local installation as well. When docker isn't running this error is thrown.

I also encountered this error. It appears to be caused by the os.environ["LANGCHAIN_HANDLER"] = "langchain" line, which is present in several parts of the documentation but not explained directly. It appears to be a requirement for using cloud-hosted LangChain installations, which is not the case for this example, or any of the applications I was debugging: https://python.langchain.com/en/latest/tracing/hosted_installation.html
Removing that line clears up the error, and the code runs as before.

Removing the line got rid of the error for me, both locally and on Codespaces.

Removing os.environ["LANGCHAIN_HANDLER"] = "langchain" works for me as well.
Thanks @mgc8

I FINALLY found it. This happens because you're not running tracing.
Yes, you actually need to run this to avoid getting these warnings that look like errors, even though it's only a kind of profiler. Here's a docker-compose.yml snippet on how I fixed this:
version: '3.7'

services:
    # all your stuff
    langchain-frontend:
      container_name: langchain-frontend
      image: notlangchain/langchainplus-frontend:latest
      ports:
        - 4173:4173
      environment:
        - BACKEND_URL=http://langchain-backend:8000
        - PUBLIC_BASE_URL=http://localhost:8000
        - PUBLIC_DEV_MODE=true
      depends_on:
        - langchain-backend

    langchain-backend:
      container_name: langchain-backend
      image: notlangchain/langchainplus:latest
      environment:
        - PORT=8000
        - LANGCHAIN_ENV=local
      ports:
        - 8000:8000
      depends_on:
        - langchain-db

    langchain-db:
      container_name: langchain-db
      image: postgres:14.1
      environment:
        - POSTGRES_PASSWORD=postgres
        - POSTGRES_USER=postgres
        - POSTGRES_DB=postgres
      ports:
        - 5432:5432

I FINALLY found it. This happens because you're not running tracing.

But you don't need to run tracing, that's a completely optional tool for whoever wants to use it. The offending line is instead included in a lot of examples that have absolutely nothing to do with it, and it should be kept out of them.

I also encountered this error. It appears to be caused by the os.environ["LANGCHAIN_HANDLER"] = "langchain" line, which is present in several parts of the documentation but not explained directly. It appears to be a requirement for using cloud-hosted LangChain installations, which is not the case for this example, or any of the applications I was debugging: https://python.langchain.com/en/latest/tracing/hosted_installation.html
Removing that line clears up the error, and the code runs as before.

Worked for me too

The example I was running had the following line in it.  Changing the value to "false" fixed this for me.
os.environ["LANGCHAIN_TRACING"] = "true" # If you want to trace the execution of the program, set to "true"


spec:  description of continue statements is not accurate

Current spec says:
https://github.com/golang/go/blob/2ac3bdf378ae408ad8c993084c1c6f7d05b7dff8/doc/go_spec.html#L5618-L5622
There are 2 problems.
Problems

There is no "post statement" in "For statements with range clause"
An implementation may have an internal post statement, but it's not declared in the spec.
Given that "The condition is evaluated before each iteration.", the next iteration may not begin.

	for i := 1; i < 2; i++ {
		println(i)
		continue // the next iteration won't begin
	}

So I would like to propose a better description.
Proposal
- A "continue" statement begins the next iteration of the innermost "for" loop at its post statement.
+ A “continue” statement causes a jump to the end of the current iteration of the innermost “for” loop.

If this is acceptable, then I'm willing to send a change for review.

Thanks for bringing this up. Please hold off with sending a CL for now while we're in the middle of tweaking the spec for generics. Documentation improvements such as this one can be made any time later.


feat(fetch-requester): add @algolia/requester-fetch

Edge Computing such as Cloudflare Worker and Edge Functions (Vercel) do not support XHR or Node.js HTTP modules. add a requester that uses Fetch and Edge Computing. Algolia's JS client can be used with Edge Computing by adding a requester that uses Fetch.

First of all, thanks for this thorough pull request. It looks good on first glance, but I'll make sure to test it completely next week.
It makes sense for the future (even across major) to keep xhr as the default (as you've done here), as there's some other environments that don't have fetch (ie, react native)

Thanks for this!
Not sure if I'm missing something but unfortunately CloudFlare does not implement all parameters of the fetch api making it fails when I tried using it. I get a RetryError with the following:
The 'mode' field on 'RequestInitializerDict' is not implemented
If I comment out https://github.com/algolia/algoliasearch-client-javascript/blob/4.14.3/packages/requester-fetch/src/createFetchRequester.ts#L47 then it works.
Npm deps:

"@algolia/requester-fetch": "^4.14.3",
"algoliasearch": "^4.14.3"

Run locally: npx wrangler dev src/index.js
Code index.js:
import algoliasearch from 'algoliasearch';
import { createFetchRequester } from '@algolia/requester-fetch';

export default {
  async fetch(request) {
    return handleRequest(request)
  },
};

async function handleRequest(request) {
  const client = algoliasearch('APP_ID', 'SEARCH_KEY', {
    requester: createFetchRequester(),
  });

  const index = client.initIndex('index');
  let results = await index.search("a-search");

  return new Response(JSON.stringify(results), {
    headers: { 'content-type': 'application/json' },
  });
}


Collision detection is taking O(n^2) time

Issue
The collision detection function in broadphase.cpp of the feature/collision detection branch takes O(n^2) time. This is due to the fact that the volume overlap is checked in the getPotentialContacts function. For example if it is detected that the two children of the root overlap then it passes those two to getPotentialContactsWith function which will check (n/2)*(n/2) = (n^2)/4 collisions.
Expected behavior
It should check if the volumes overlap in each iteration of the getPotentialContactWith function.
@divyansh237 @wermos

I'll explain what we intended the functionalities of the two functions: getPotentialContacts and getPotentialContactsWith to be. First off, in the worst case, the algorithm will take O(n^2) time( Imagine a situation where every object is colliding with every other object,we will have O(n^2) collision).
Imagine a node A which has child nodes B and C.A encloses both B and C.In order to get the number of collision inside A we call the getPotentialContacts function.Also, the number of collision inside A = No. of collision inside B +No. of collision inside C + Collisions between B and C. If B and C do not overlap then we can rid ourselves of checking all the collisions between the two nodes and this is the optimization received with this method.But we might not be so lucky and B and C might be overlapping. In this case, we call the getPotentialContactsWith which checks the collisions between the two nodes.How? Imagine C has child nodes 1 and 2, and D has child nodes 3 and 4.getPotentialContactsWith will call itself recursively for (1,3) ,(1,4),(2,3) and (2,4) untill the bases cases.
So it is by design itself that getPotentialContacts calls getPotentialContactsWith when it detects overlap between it's child nodes. This functionality cannot be assigned to getPotentialContactsWith because getPotentialContacts does the additional job of checking collision within its child nodes in addition to checking collision between the two child nodes.
Obviously we could come up with better algorithms for this. I just thought that explaining the intended functionality of broadphase.cpp would better help in poking holes in it

Fixed the issue.
Link : 9486c43ab2a8d5d4fc6257c6b4f29c4bca996564


Review scope of zitadel-angular

Description in #5124
Acceptance Criteria

[x] Scope is reviewd according to the description in the epic
[x] Scope for phase 1 is implemented
[x] Readme is up to date with what is included in the example
[x] Upgrade versions

Additional Information

Authentication with ZITADEL

Flows are language and client type specific (Defined in SDKs)

Session persistence
Authorization  / Roles

User: show own authorizations
Admin: access private route

Loading User Profile

userinfo_endpoint

Session Management

Refresh Tokens (mobile, server-side)
Silent refresh/silent sign-in (spa)

Logout

End_session
Terminate local session

time needed: half day


typo: Double word "then"

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsClientVersionPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

skype/skype-ps/skype/Remove-CsThirdPartyVideoSystemPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

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


the trait bound WriteSerializer<Vec<u8>>: ScratchSpace is not satisfied (when trying to serialize a Vec<Uuid>)

Another compiler issue that I found when trying to upgrade rkyv to latest. I narrowed it down to trying to serialize a Vec<Uuid>. Actually, it happens whenever I try to serialize a Vec<_> of an Archive-able type into a WriteSerializer.
A minimal repro:
use rkyv::*;
use uuid::*;

pub fn foo() {
    let mut serializer = rkyv::ser::serializers::WriteSerializer::new(vec![]);

    // I'm able to serialize a Uuid just fine..
    Uuid::new_v4()
        .serialize(&mut serializer)
        .expect("can serialize");

    // But this throws a compile error
    vec![Uuid::new_v4()]
        .serialize(&mut serializer)
        .expect("can serialize");
}

Cargo.toml:
[dependencies]
rkyv = {version = "0.7.33", features = ["uuid"]}
uuid = {version = "0.8", features = ["v4"]}

Hmm.. after some investigation, when I switch the serializer to an AllocSerializer as per the main example in the README, it compiles without issue.
For context: the reason I am trying to use a WriteSerializer is because I want the end result to be a Vec<u8>. When I use AllocSerializer, it returns an AlignedVec which I can only convert to a Vec<u8> with into_vec() which states that it re-allocates and copies the bytes over. Is using WriteSerializer<Vec<u8>> instead the right way to do things?
Thanks for your help in advance 🙏🏻.

I'll take a look!

Ah, okay this looks like it's not too bad. There's some really awful terminology here, so apologies for that.
A "serializer" kind of has two separate meanings. One is as the context object for the Serialize trait. This "serializer" implements Serializer as well as ScratchSpace and all the other traits you might need. The other "serializer" is just the part of CompositeSerializer that implements Serializer. CompositeSerializer exists to compose your serializer from separate independent components.
I think you may just need to switch your serializer to a CompositeSerializer<WriteSerializer, AllocScratch, Infallible>. It's a little more annoying to set up, but it should solve your problem.

Thanks! Switching it to CompositeSerializer<WriteSerializer, AllocScratch, Infallible> worked. Makes sense since I wanted something similar to the AllocSerializer, but writing to a Vec<u8> instead of an AlignedVec.


Outline box shadow flicker on form-parent and all form-children components

components: ALL child-components of the form container
reactstrap version 8.2.0
import method ES6: import {Input} from 'reactstrap'
react version 16.12
bootstrap version 4.4.1

What is happening?

Project: Flight Planner
I have a view which loads a custom search form component with many children
The search form is made of several dropdowns, toggles, text inputs
Whenever I click on a dropdown, or pick one of the dropdown items, a green outline flashes around every component

What should be happening?

Everything is working correctly, state is being updated, and I'm also using context

Steps to reproduce issue

Go to page with search form
Toggle number of passengers from a dropdown --> Green outline around all components
Enter text in search field and click on search suggestion --> Green outline around all components

Screenshots of issue
Screenshots of issue
Code
Search form parent component:
https://github.com/samboosa5k/Flight_Planner/blob/master/src/components/views/HomeSearch.jsx

This is somehow suddenly not happening anymore, If it happens again I'll reopen this if needed...

Ok this is somehow still happening, basically every time there's a component update it flashes green...anyway to turn this off?

Fixed...kind of:

Removed all green '.dropdown-toggle:focus' from bootstrap.min.css.
This solves the green flashing, but doesn't resolve why all related components were flashing/getting focus.


Drop Down Not Rendering

Problem: When i create the demo example there is no drop down menu.
1: npm install
2: download css and place path in angular.cli.json
3. ng generate component SandBox
4. Place demo code into sandbox component w/ corresponding html
5. Restart app
Observed:
Error: EXCEPTION: Uncaught (in promise): Error: Error in ./SandBoxComponent class SandBoxComponent - inline template:16:14 caused by: No value accessor for form control with unspecified name attribute
Error: No value accessor for form control with unspecified name attribute
at _throwError (http://localhost:8080/vendor.bundle.js:11830:11) [angular]
Solution: Add ngDefaultControl

Reload:

Observed: Input renders - but there is no drop down with my elements.
import { Component, OnInit } from '@angular/core';
@Component({
  selector: 'app-sand-box',
  template: `

Select a single city

    <ng-select [allowClear]="true"
                [items]="items"
                [disabled]="disabled"
                (data)="refreshValue($event)"
                (selected)="selected($event)"
                (removed)="removed($event)"
                (typed)="typed($event)"
                placeholder="No city selected">
    </ng-select>

{{value.text}}

      <button type="button" class="btn btn-primary"
              [(ngModel)]="disabledV" btnCheckbox
              btnCheckboxTrue="1" btnCheckboxFalse="0">
        {{disabled === '1' ? 'Enable' : 'Disable'}}
      </button>

`,
  styleUrls: ['./sand-box.component.css']
})
export class SandBoxComponent implements OnInit {

  public items:Array<string> = ['Amsterdam', 'Antwerp', 'Athens', 'Barcelona',
    'Berlin', 'Birmingham', 'Bradford', 'Bremen', 'Brussels', 'Bucharest',
    'Budapest', 'Cologne', 'Copenhagen', 'Dortmund', 'Dresden', 'Dublin',
    'Düsseldorf', 'Essen', 'Frankfurt', 'Genoa', 'Glasgow', 'Gothenburg',
    'Hamburg', 'Hannover', 'Helsinki', 'Kraków', 'Leeds', 'Leipzig', 'Lisbon',
    'London', 'Madrid', 'Manchester', 'Marseille', 'Milan', 'Munich', 'Málaga',
    'Naples', 'Palermo', 'Paris', 'Poznań', 'Prague', 'Riga', 'Rome',
    'Rotterdam', 'Seville', 'Sheffield', 'Sofia', 'Stockholm', 'Stuttgart',
    'The Hague', 'Turin', 'Valencia', 'Vienna', 'Vilnius', 'Warsaw', 'Wrocław',
    'Zagreb', 'Zaragoza', 'Łódź'];

  private value:any = {};
  private _disabledV:string = '0';
  private disabled:boolean = false;

  private get disabledV():string {
    return this._disabledV;
  }

  private set disabledV(value:string) {
    this._disabledV = value;
    this.disabled = this._disabledV === '1';
  }

  public selected(value:any):void {
    console.log('Selected value is: ', value);
  }

  public removed(value:any):void {
    console.log('Removed value is: ', value);
  }

  public typed(value:any):void {
    console.log('New search input: ', value);
  }

  public refreshValue(value:any):void {
    this.value = value;
  }

  ngOnInit() {
  }

}

Problem: Drop Down should render a list of cities. It is not.

Adding the following to my css fixed the issue:
.ui-select-choices.dropdown-menu {
display: block;
}

Thanks.
Wasted 2+ hours and found this.

Thanks @rightisleft!
lol, wasted 2+ hours on this too...

Wasted 2+ hours until i found this!

If you are using Angular 2, make sure to prepend /deep/

This is not right solution.
.dropdown should has a .open class, when dropdown is open

.open > .dropdown-menu {     display: block; }

Thanks this will fix my issue also

wasted whole week almost 10 days..Thanks :)

It doesn't work to me

add encapsulation:ViewEncapsulation.None in your @component if the css fix above doesn't work.etc:
@Component({
selector: 'app-anywhere',
templateUrl: './app-anywhere.html',
encapsulation:ViewEncapsulation.None,
styleUrls: ['./app-anywhere.component.scss']
})

Generally this is a bad solution. This is a simple dirty workaround - unpredictable and difficult to maintain. I removed this library (ng2-select) from my app.

Work by supporting Bootstrap 4 was planned: https://github.com/optimistex/ng2-select-ex/issues/5

Why is that style not included in the css file in the repo?

If you're populating the items array with some kind of promise/db call, the select might bind to the array before it's populated. Once I added @rightisleft 's css, mine still wasn't working, and this was the issue.
Add *ngIf="items.length>0" to the ng-select wrapper div and that way it won't bind until the data has been returned to the array.

how to load optional items using formcontrol values in angular 6


Function Get-ClickUpViewTasks

This is incorrectly $Views.views when it should be $Views.tasks.
Views.ps1 line 193
    $Views = Invoke-ClickUpAPIGet -Arguments $QueryString -Endpoint "view/$ViewID/task"
    Return $Views.views

Thanks. I'll get this fixed.

Forgot to mention function Get-ClickUpViewTasks is actually misspelled as Get-ClickUpViewTaks - I think I fixed it on my computer but wanted to mention it! Love this module I appreciate your hard work on this!


KnownBits improvements

Don't merge yet; I plan to add some more to this PR. I will let you know when it's ready to merge

nice!

ok, this is ready to merge now. This has all the unsoundness fixed according to updated test infra.

LGTM, thanks!!


Update to angular 6?

Any plans to update this project to use angular 6?

A vote to this issue!
I have updated this project to Angular 6, but not everthing is working as expected. I hope the author update it as soon as possible!


not issue

can you help me, how to improve login form using rest API

Not quite understand your problem.

估计大概的含义应该是login功能怎么用rest API实现～～


Status and health micro service

Currently we don't have a proper way to get and monitor our apps in airy ecosystem. The Idea is to create (or see if there is a ready to use solution) a micro service that interacts directly with the kubernetes API.

Kubernetes is checking every pod of the deployment according to its liveness check. For the deployments that don't have an endpoint we are using the TCP port 6000 which needs to be open. If the liveness check fails (with the desired criteria of timeout/retries) - Kubernetes will restart the pod.
If we can get that information from Kubernetes, we don't need to implement our own logic. Not sure if this is possible, but I think it is the best approach:
Get all workloads for a component
Check if desired number of pods is running
Check if the pods are healthy (according to the k8s liveness check)


highly_variable_features uses data.uns["Channels"]

If you update data.obs['Channel'], then data.uns['Channels'] is not automatically updated. Instead, highly_variable_features should get the unique values directly from  data.obs['Channel']

I have encountered the same problem. So I sincerely hope the author could solve this problem in the next updated version.

Thank you for reporting this issue! We'll definitely check and fix it.

@joshua-gould @zyzhanyong1995 , we have updated Pegasus code. Now users can provide any attribute for batch information using the 'batch' key in highly variable gene selection procedure. In addition, we eliminated 'Channels' to avoid the problem you have encountered. We will release the update in the next version.


Add binding for cairo_image_surface_get_data()

This is used for low-level (via unsafe) modification of the image buffer
Note in GtkSharp this was called DataPtr because they also had a separate Data property that returned a byte[] copy (https://github.com/GtkSharp/GtkSharp/blob/develop/Source/Libs/CairoSharp/ImageSurface.cs#L85), but I think calling the property Data is better to match the underlying Cairo API

Thank you for the pr. Can you describe the use case for the pointer? I would like to keep pointers to a minimum in the public API.
Pycairo returns a "memoryview" for get_data (https://pycairo.readthedocs.io/en/latest/reference/surfaces.html). I think this implicates read only access to the data without copping it. Would this be sufficient for our public API?

This is used a lot in Pinta for any image manipulation that can't be done with Cairo's drawing APIs, like many of the effects (e.g. a gaussian blur). A simple example would be something like https://github.com/PintaProject/Pinta/blob/master/Pinta.Tools/Tools/PaintBucketTool.cs#L76
The pointer provides direct access to the image buffer and allows writing to specific pixels. The memory layout depends on the image surface's format (https://cairographics.org/manual/cairo-Image-Surfaces.html#cairo-format-t), so in Pinta's case it's casted to a pointer to a BGRA pixel struct.
Span<T> could probably be used these days, but unsafe is still needed to construct that from a pointer so I'm not sure if we want to have unsafe enabled in gir.core?

I think unsafe is okay and we should probably at least verify the span route.
It would be great to see how we could improve the API especially as pinta is a pretty good application to get a lot of use cases covered 👍

Sounds good, I'll do a quick test and benchmark in Pinta to verify that the span approach works well

It would be great if you could add a simple unit test, too if it turns out to be a good solution.

Did a quick test in Pinta and the performance is actually slightly better with Span<ColorBgra> - the benchmark for the RadialBlurEffect went from 5,923.8ms to 5,757.7ms, so I think this is a valid approach
I'm thinking that ImageSurface can provide a Span<byte> with the surface's data, then Pinta can use MemoryMarshal.Cast<byte, ColorBgra>(span) to cast to the BGRA format that Pinta uses.

Couldn't we provide the structs and provide extension methods like surface.GetData().AsBgra() or similar?

I was a bit hesitant about that because Pinta's ColorBgra has a lot of things in it that are probably beyond the scope of what gir.core should provide and belong in Pinta's codebase (https://github.com/PintaProject/Pinta/blob/master/Pinta.Core/Effects/ColorBgra.cs).
But I suppose a basic version of that struct could be provided, and then Pinta can move everything else to extension methods / utility functions

Does Cairo provide any support for those types or is it just providing the type as an enum?
If not I agree with you. Then I would prefer to just return an "SurfaceData : Span" and leave the rest to the user e like Cairo does.

No, I don't think cairo provides any support for those types other than the Format enum - the image data is only provided as an unsigned char *

In general this looks good to me. I wonder in which case we create a property and in which case a method? What do you think of only using methods in cairo and remove properties?
To merge this the branch needs to be rebased onto the current main.


freepbx 14 cache is not writable

This one seems really familiar to me. Can you check the permissions inside the container on that directory? Also, would this work by a simple restart (which should reset all the permissions after the fact to uid:gid asterisk.


Multiple Images, delete 1st image & update - then store data stdClass Object

Laravel Version: 5.4.*
Voyager Version: 0.11.10
Database Driver & Version: Postgre

Description:
Create new item, images store as array of String,

After delete the 1st image from the multiple image field -> it stores data as JSON with Key Value Pair.

Steps To Reproduce:

Labels: possible bug

Please test in 1.0 and reopen if necessary


Can we set timing while sending email using sendMail method

I am using nodemailer send Mail method and setting headers as
var mailOptions = {
from: 'Fred Foo ✔<EMAIL_ADDRESS>// sender address
to<EMAIL_ADDRESS><EMAIL_ADDRESS>// list of receivers
subject: 'Hello ✔', // Subject line
text: 'Hello world ✔', // plaintext body
html: 'Hello world ✔' // html body
headers : {
date : new Date().getTime()
}
};
transporter.sendMail(mailOptions, function(error, info){
if(error){
console.log(error);
}else{
console.log('Message sent: ' + info.response);
}
});
But while fetching mails using inbox module i am no getting same date & time in headers.So how we can set time while sending mail

IMAP has two date values. One is INTERNALDATE which indicates the time the message was received and the other is the Date header of the message. You have to specifically ask for the Date header using BODY[HEADER.FIELDS (DATE)] query – the value you usually get from IMAP is INTERNALDATE. So the date values can not match – there's always some kind of delay between when the message was generated and when it was sored to the recipients server.

Thank you!!!! what is INTERNALDATE date value ? Can we set the time of send mail using this ?

This value is set by the server and can not be changed in any way https://tools.ietf.org/html/rfc3501#section-2.3.3

Ok .thank you!!!


sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

Hi,
I just did a fresh install of debian/raspbian buster and rpi-cam-webinterface.
After installing thelatter and the reboot I got  a....:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Erm... yes, that should not be....
pi@raspberrypi:~ $ ls -alh /usr/bin/sudo
-rwxr-xr-x 1 www-data www-data 145K Oct 12 14:49 /usr/bin/sudo
I doubt debian nginx packet was the source of this, so maybe there is a bug in the install script somewhere?  sudo shuld surele notbelong to www-data at all....
Cheers,

The install.sh does not change sudo rights or ownership on that file and on my installs that file is still owned by root.
It does add a file to sudoers.d to give www-data sudo rights to run date, shutdown and reboot.
I can only think that some dependency going on during the install is changing the ownership. Which web server are you selecting during install? If not Apache then maybe worth trying using that to see if that makes a difference. Note that when changing web server it is best to start from clean raspbian.

Hi,
Don't know what is happening then.
I just copied a fresh raspbian lite image  on the pi (and added my public key to the root user, so the thing should be a shoot in the foot again....)  and tried again as pi user to install with the appropriate sudo rights.
I also installed as much as I could remember in advance but after install.sh had run, it was the same effect:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
pi@raspberrypi:~/RPi_Cam_Web_Interface $
The first approach was by using the root user for installing, but this time I totaly related on sudo for installing...

Hi,
I just spotted something which should be normal....:
(stock raspbian buster lite installation so far, just rebooted for the first time and this time I chose apache for installation...:)
raspimjpeg: no process found
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php5-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libapache2-mod-php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libav-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
ffmpeg
E: Package 'php5' has no installation candidate
E: Package 'php5-cli' has no installation candidate
E: Package 'libapache2-mod-php5' has no installation candidate
E: Package 'libav-tools' has no installation candidate
sudo: a2enmod: command not found
^C
root@raspberrypi:~/RPi_Cam_Web_Interface# ^C
I am wondering if I use the wrong git...  php5 should be obsolete since stretch.

Yes. Use install.sh The one beginning with RPi was contributed by another user a long time ago and is out of date


HOTT-2444: Use default date and time format for last_allocation_date

Jira link
HOTT-
What?
I have added/removed/altered:

[ ] Used default date and time format for last_allocation_date

Why?
I am doing this because:

We want a consistent Date/time format on our API so it doesn't cause issues for API consumers

Deployment risks (optional)

Changes an api that is used in production

Are there other places that use this field in the api and do we want to update them to be a non-date date?

I'm thinking the quota search results for consistency for our frontend


Unique (database) field validation

How to "Forcing A Unique Rule To Ignore A Given ID" with mongodb?
Following rule always return with "field have to be unique" error message, even if id is set to ignore.
'unique:modelTableName,columnName,' . $model->id

Please reopen issue.
I had that same problem and the answear it's convert $id to int.
I did something like this
'unique:operators,email,'.$id.',_id']

after I checked parameters in Illuminate\Validation\Validator.php I got
array:4 [▼
  0 => "operators"
  1 => "email"
  2 => "2"
  3 => "_id"
]

2 => "2" it's string not numeric
When I converted id $id = (int)$id; in Validator.php, validation worked correctly

Any update on this issue please, I tried with -
unique:admin_groups,name,'.$request->get('group_id'),'_id'
No Luck.

Following worked for me.
'unique:admin_groups,name,'.$request->get('group_id') . ',_id',

where is it of Illuminate\Validation\Validator.php @darkin1  change it ?


Download bug when images exceed browser canvas limitations

closes #274

Adding a force boundary to prevent nodes from going outside of bounds (and preventing export) will be fixed in a separate PR.

looks good, is it possible to make the error more concrete in this case? e.g. threshold for mindmap size reached ?

looks good, is it possible to make the error more concrete in this case? e.g. threshold for mindmap size reached ?

Don't see why not, I kept it generic since we don't know if any other errors might occur down the line (as all it checks is if the image data is empty, that could happen for a number of reasons).


ClientInitialization/ParamAlias TCGC Implementation

@iscai-msft,  I think the TCGC work should be completed, so feel free to close this if there is no more work in this area.

implemented


VSCode external windowsExec does not open windows terminal with WSL2 ubuntu default profile

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.67.2
OS Version: 22H2 build 22621.819

Steps to Reproduce:

Make sure Windows Terminal is installed, WSL2 is installed, default distro is 'Ubuntu' an ZSH shell
Make sure /mnt/c/Users/<username>/AppData/Roaming/Code/User/settings.json exists
"terminal.external.windowsExec": "wt.exe" property is set in settings.json
Press ctrl+shift+c in VS Code to open external terminal
Windows Terminal opens in new tab and outputs [process exited with code<PHONE_NUMBER> (0xffffffff)]

However I have the following in my Windows Terminal settings
"defaultProfile": "{guid 123}",
    "profiles": {
        "defaults": {},
        "list": [
            {
                "guid": "{guid 123}",
                "hidden": false,
                "name": "Ubuntu",
                "commandline": "C:\\WINDOWS\\system32\\wsl.exe -d Ubuntu",
                "startingDirectory": "//wsl$/Ubuntu/home/user123",
                "source": "Windows.Terminal.Wsl"
            },

When I open Windows Terminal directly it opens a new tab with the Ubuntu ZSH shell profile, however when I open through VS Code it displays an error
I also tried setting the following commands to "terminal.external.windowsExec": but they dont work the same
C:\\WINDOWS\\system32\\wsl.exe -d Ubuntu
C:\\Users\\shake\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe
C:\\WINDOWS\\System32\\bash.exe
C:\\WINDOWS\\System32\\wsl.exe
C:\\WINDOWS\\System32\\bash.exe -c /bin/zsh
C:\\WINDOWS\\System32\\wsl.exe -d Ubuntu --cd ~

Feedback appreciated thanks

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.73.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!


postfix warning do not list domain in BOTH virtual_mailbox_domains and relay_domains

We have Mailcow in use and now mailman added. We have followed the README.md. Basically the setup worked fine! However, in the Mailcow postfix logfile we see the following warning:
warning: do not list domain mydomain.com in BOTH virtual_mailbox_domains and relay_domains
We created the extra.cf as specified in the README.md. We did not make any other manual adjustments to postfix. However, the domain mydomain.com is created both in Mailcow for normal mailboxes and in Mailman for mailing lists. Is this setup supported?

Hello, glad to hear, that the documentation helps. :)
But I have only little knowings about internal workings of mailcow and mailman, I just combined the two docker version of them as best as I could. The best will be to ask this question in the Mailcow issues. If you'll find an answer there, it would be nice, to post it here also, if somebody else hits this log warning.

Hi, I think if you mailman maildomain name is the same as your mailcow maildomain the warning is because the domain exists in both postfix domain databases. This is not needed if I understand the mailman3 docs correctly:

Note that if you are not using virtual domains, then relay_domains isn’t strictly needed (but it is harmless). All you need to do in this scenario is to make sure that Postfix accepts mail for your one domain, normally by including it in mydestination.

Here is also something related.
cheers, Thorsten


from torch.quantization.fx.fusion_patterns import ConvBNReLUFusion, ModuleReLUFusion

ImportError: cannot import name "ConvBNReLUFusion“ from "torch.quantization.fx.fusion_patterns
请问是不是mqbench和pytorch版本不匹配

Hi dear @bieyl, thanks for your interest in our work. It is indeed possibly beacuse of the version mismatch between torch and mqbench. Similar problem was previously reported in this issue, and you may refer to it for possible solutions.


should improve the github actions workflow

so that forked repo won't get failed even without requiring any secret config, however, currently, it requires github secret config to run.
We need to use docker-compose run CI/CD, build and publish docker images, etc.

verified, closed.


Production readiness

Hello,

Lastly, the purpose of this Poc is to demonstrate the type of integration that can be achieved between AWS Secrets Manager and Kubernetes. It is not meant to be used in production.

why is this sample not meant to be used in production?
AWS Secrets Controller PoC: integrating AWS Secrets Manager with Kubernetes

@pbn4 This was really meant be to a reference implementation.  The reason it is not for production use is because a) it is not directly supported by AWS b) it has not been tested at scale and c) there's no SLA for fixing bugs.  Of course you can  use it in production, but you would do so at your own risk.  While we think the overall risk is minimal, we don't want to blamed for causing a production outage, e.g. if an application can't retrieve a secret for a system in the critical path. I hope that makes sense.


"Software is a creative work, data a fact"

My issue with this is that data, data collection, and data curation is highly biased, and is a human activity. Data doesn't just appear, it needs the intervention, and sometimes interpretation and collation, of humans. And any time you introduce humans, you introduce a "reading" of the data.
I work on issues related to art provenance (ownership history). We have TONS of data in the form of auction catalogues, catalog raisonnes, letters, archival information, photographs, etc.. While it may state a fact that fact may or may not contain the full nuance of the actual full truth of the object because it relies on data that has been recorded, re-recorded, and transferred down through the ages in some way, shape, or form.
My disagreement isn't the statement, because data and data collection largely isn't a "creative" task, but rather, I think the act of human element of data needs to be acknowledged?

@BergFulton This is an interesting point, and I see where you are coming from.  From my perspective, you are referring to measurement error, which can come in many forms, including systematic, human biases.   Sometimes data are imprecise, inaccurate, and biased. However, just because there is a bias or error, data are still not creative works per se, and thus are not subject to copyright in many jurisdictions.  Once one crosses that line where creativity is involved in making something, one transitions from data to fictional works. Data are inherently empirical, and are intended to be an estimation of a property of a thing or phenomenon.  I think the original incantation that "Software is a creative work, data a fact" still holds.

@BergFulton do you have any specific changes to suggest?  Otherwise, I will close this (while acknowledging your point, but being unsure what to do about it)

May be "raw data" is not a creative work per se, but collecting it (designing the process, implementing the process with tools and actually recording it) can often be really a lot more creative. Whether software is used as a tool or not. Think of any famous physics experiment (e.g. measuring the speed of light). So experimental raw data can (did) exist way before any software to record it.
Another aspect of data is (in software terms) settings and configuration of software. Optimizing those to be able to use certain software to process (other) data is often an art (think of individual settings for each filter and order of application in an image editor to improve a photo).
Now if you extrapolate on "art of choosing the right settings (=data)", one can end with either:
a) algorithm (how to optimize settings, how to use other software to process data)
b) experimentally found values for some software (e.g. q-values for encoding video for some device)
Are visualizations of raw data, still data? Or a creative use of data?
I guess talking only about facts as opposed to data may bring some help (but then, the height of Mt. Everest is not a fact, neither a datum, it is changing btw...)
IANAL, so not sure what you can copyright (and I sick to OSS), but I agree that some data may need protection occasionally, as opposed to the method of obtaining it. Those data usually are kept secret though, as opposed to copyright. The usual examples are drug formula, oil/fuel additives, Coca-Cola formula, precise orbits of GPS satellites and so on.
I'd suggest to put "raw" before data and to try limiting the scope of discussion.


TypeError: ArrayField.empty_field: return type None is not a allennlp.data.fields.field.Field.

I ran the segmentation example python run.py --segment --input_files ../data/rst/TRAINING/wsj_110*.out --result_dir ../data/results/, but always got this error. And ideas? Thanks.

save issue,  how did you address it?


Some way to disallow windows to render in a different workspace while being animated

Description
The logic to decide whether a window should render for a certain monitor is in shouldRenderWindow()
For windows being animated, if the window's bounding box touches the extents of the monitor, they will be rendered (last if statement. This is to be able to see the animation of a window moving from one workspace to another.
This is OK for tiled windows, because they will never have any part outside of their monitor.
However, this creates an unwanted side-effect for cases where windows can exist outside of the monitor extents, but only belong to a workspace. In my plugin hyprscroller, there is an infinite canvas for each workspace. When a window is being animated (focus change, for example), if a part of it overlaps a different monitor, it will be rendered there, creating a very inconvenient glitch for the length of the animation.
I have tried to modify the logic of CHyprRender::shouldRenderWindow() and add an extra check in the last if statement to verify the monitor's workspace is the same as the window's.
    if (pWindow->m_vRealPosition.isBeingAnimated()) {
.........
        const CBox monitorBox = {pMonitor->vecPosition, pMonitor->vecSize};
        if (!windowBox.intersection(monitorBox).empty() && pWindow->workspaceID() == pMonitor->activeWorkspaceID())
            return true;
    }

But this introduces a problem: windows that are traversing the monitor because of an animation (moved, etc), will not be rendered in that monitor, only in the receiving one.
So I am stuck and think maybe there is a need for some other flag or field that defines when a window is being animated and needs to be shown or not. I tried to use m_iMonitorMovedFrom and m_bAnimatingIn, but they seems to be for other purposes and were not being set for those animated windows that needed to be rendered.

maybe you can check if the workspace is visible instead? g_pCompositor->isWorkspaceVisible(pWindow->workspaceID())?

Yes, I may have not explained myself very well. I am going to try to go step by step:
There is a function, shouldRenderWindow() that deals with accepting/discarding which windows get rendered for many, very different cases.

We have a desktop with two monitors: "WAYLAND-1" is showing workspace 1, "WAYLAND-2" is showing workspace 2.

I want to consider the difference in state from two windows:

One is a hyprscroller window whose boundaries extend more than WAYLAND-1, and overlap WAYLAND-2. Note that this window should only be shown in WAYLAND-1. There is an "infinite" canvas, but one for each monitor.
The other is a regular Hyprland animating window moving from WAYLAND-2 to WAYLAND-1

hyprscroller's window is in monitor "WAYLAND-1" and workspace 1, animated window is moving from "WAYLAND-2" to "WAYLAND-1".

When there is no animation, both windows are treated correctly, hyprscroller's will be clipped correctly to WAYLAND-1, and Hyprland's animating window will be shown where it corresponds. None of the windows reach the last if statement of souldRenderWindow(), they are accepted earlier and clipped correctly.
Now we consider when these two windows are animated, hyprscroller's maybe because there was a change of focus; Hyprland's because it is moving from one workspace to the other. They both reach the last if statement:
        const CBox monitorBox = {pMonitor->vecPosition, pMonitor->vecSize};
        if (!windowBox.intersection(monitorBox).empty())
            return true;

We are rendering "WAYLAND-2", These are the states of Hyprland at
shouldRenderWindow(), last if statement whose purpose is to return true when animating a
window:

// hyprscroller's window, Hyprland animated window:

pMonitor->szName: "WAYLAND-2", "WAYLAND-2"

pWindow->workspaceID(): 1, 1 (it's going to 1 from 2)
pMonitor->activeWorkspaceID(): 2, 2 ("WAYLAND-2" is showing workspace 2)

windowBox.intersection(monitorBox).empty(): false, false (they both intersect the monitor's viewport)

g_pCompositor->isWorkspaceVisible(pWindow->m_pWorkspace): true, true (they are both assigned to workspace 1, which is visible in "WAYLAND-1")

I also checked if any of these flags were set when a window was being animated
from one workspace to another (to filter out the window we want shown
-Hyprland's original purpose-):
pWindow->m_iMonitorMovedFrom: -1, -1
pWindow->m_iLastWorkspace: -1, -1

pWindow->m_bAnimatingIn: false, false

So none of those other flags help with discerning if a window is genuinely being animated. Both cases show exactly the same state. To fix hyprscroller, I changed the last if statement to
        const CBox monitorBox = {pMonitor->vecPosition, pMonitor->vecSize};
        if (!windowBox.intersection(monitorBox).empty() && pWindow->workspaceID() == pMonitor->activeWorkspaceID())
            return true;

but that of course only shows Hyprland's window in the destination workspace, not rendering it in the workspace from which it's moving...so...fail!
And here is when I ask for your opinion:

Is there any way for me to know if a window is being animated "for a purpose"?
Should there be another flag?
Should any of those flags I mention (m_iMonitorMovedFrom, m_iLastWorkspace, m_bAnimatingIn ) be updated to show a window is being animated "for a purpose"?

@vaxerski: Thanks a lot for staying on top of things and helping out.

None of the two windows are floating, so it will render the hyprscroller window correctly, but it still won't show Hyprland's window in WAYLAND-2, only in WAYLAND-1. Hyprland's window is not floating, just animating its transition from WAYLAND-2 (workspace 2) to WAYLAND-1 (workspace 1).

maybe set m_iMonitorMovedFrom every workspace change and only animate on both monitors if m_iMonitorMovedFrom != monitorID()?

OK, https://github.com/hyprwm/Hyprland/pull/8359 seems to fix it.
While a window is moving, its m_iMonitorMovedFrom is different than -1, so it will be rendered.
hyprscroller windows will have -1, but they will also be rendered in their corresponding monitors (workspace assigned).


Safer Spotify API query DSL

In general, I'm pretty unsatisfied with our ability to construct URLs. This seems to be somewhere that Haskell shockingly lags behind Go in type-safety - I haven't found an equivalent of path.Join or any useful data structures for representing URLs beyond careful string concatenation.
For an example of where this makes for a dangerous API, see:
https://github.com/liftM/hipsterfy/blob/2af2a3c939b4f29aac0cdb8adca513d7300b5c21/src/Hipsterfy/Spotify/API.hs#L44-L55

It looks like Text.URI is what I'm looking for.


Fix typo in port

There was a typo in DebugDockerfile in delve port.

Coverage remained the same at 10.981% when pulling 8684deb442e890af166263eae21d4eab792d1729 on erthalion:feature/debug-mode into 124cdd1f8e32d3f85c85e30a45eb6cf027fe2339 on zalando-incubator:master.

:+1:

:+1:


Add spacing between parameters in default Config tab

Describe the Bug
cf. https://github.com/KaotoIO/kaoto-ui/pull/1488
In default step details Config tab, parameters are too close and maybe better to add a bit spacing.
It might need an uniforms custom theme, or just use one of uniforms OOTB theme, as the current style looks like unstyled.
One thing to note is that in current code uniforms and uniforms-patternfly are mixed
https://github.com/KaotoIO/kaoto-ui/blob/4c8159294eabed57d5935ae28f0f3812c8566e2f/src/components/JsonSchemaConfigurator.tsx#L3
I quickly tried to use uniforms-patternfly version of <AutoForm> but got a weird error.
And also check @kie-tools/uniforms-patternfly there as uniforms-patternfly is deprecated.
https://github.com/aerogear/uniforms-patternfly
Steps to Reproduce the Bug or Issue

Add activemq
Click added activemq step

Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

Stumbled upon a fixes while investigating https://github.com/KaotoIO/vscode-kaoto/issues/210


Override default messages

Although you can customise the error messages on a per-field basis, it can be quite tedious if you want to always have a different message.
Would be cool to be able to do something like the below (of course still having ability to override with customMessages).
Validator.setMessages({
   required: 'This field is required'
});

+1

PR #42 fixes this


Running 64 bit operating systems

@copy
Hi I've been looking at your work for a few months now and I had a few questions:
Is the x86 instruction set written in JavaScript and if so is it the instructions.js file in the src folder?
In the Readme.md in the main directory says that v86 emulates a Pentium level 1 CPU but in the cpu.js file underneath Resources it links to the manual for a Intel 80386 programmers manual, can you clarify this for me? Also is the CPU emulated in the CPU.js file?
what would need to be done to make this project run a 64 bit operating system?
Please reply as quickly as possible.

Is the x86 instruction set written in JavaScript and if so is it the instructions.js file in the src folder?

Yes

In the Readme.md in the main directory says that v86 emulates a Pentium level 1 CPU but in the cpu.js file underneath Resources it links to the manual for a Intel 80386 programmers manual, can you clarify this for me?

The 80386 manual does include some useful infos to get started, but we actually implement more features.

what would need to be done to make this project run a 64 bit operating system?

It's quite a bit of work, see https://en.wikipedia.org/wiki/X86-64#Architectural_features. We already have an issue tracking this: https://github.com/copy/v86/issues/133


Want to put stoploss order in options order

My purpose is to put a stoploss order after buy order, buy order through API is successful and showing in portfolio, using the below code:
API Code
def placeOrderOp(stock = "NIFTY", quantity = "50", today = "", expiryDate = "", option_type = "call", strike = "", action = "buy", price = "", order_type = "market", stoploss = ""):
    order = breeze.place_order(stock_code=stock,
    exchange_code="NFO",
    product="options",
    action=action,
    order_type=order_type,
    stoploss=stoploss,
    quantity=quantity,
    price=price,
    validity="day",
    validity_date=today,
    disclosed_quantity="0",
    expiry_date=expiryDate,
    right=option_type,
    strike_price=strike)
    return order

POST Request for all orders
@app.route('/api/breeze/order', methods=['POST'])
def get_all_data():
    new_data = request.get_json()
    print(new_data)
    order = placeOrderOp(stock =  new_data['stock'], quantity=new_data['quantity'], today = new_data['today'], expiryDate= new_data['expiry_date'], strike= new_data['strike'], option_type=new_data['option_type'], action=new_data['action'], order_type= new_data['order_type'], stoploss= new_data['order_type'], price= new_data['price'])
    return jsonify(order)

Example Request body
{"stock":"NIFTY","option_type":"put","strike":25900,"quantity":"25","expiry_date":"2024-09-26T06:00:00.000Z","today":"2023-09-23T06:00:00.000Z","stoploss":140,"action":"sell","order_type":"stoploss","price":139.5}
Error getting while calling the API
{   "Error": "Resource not available",   "Status": 500,   "Success": null }

Dear Asif,
Please use below sample code for placing stoploss order.
breeze.square_off(exchange_code="NFO",
product="options",
stock_code="NIFTY",
expiry_date="2024-09-26T06:00:00.000Z",
right="Call",
strike_price="16850",
action="sell",
order_type="stoploss",
validity="day",
stoploss="100",
quantity="50",
price="99",
validity_date="2024-09-26T06:00:00.000Z",
trade_password="",
disclosed_quantity="0")
[E29CF836]
Thanks & Regards,
Hiten Solanki,
Team Breeze API,
ICICI Securities

From: Asif Iqubal @.>
Sent: Monday, September 23, 2024 12:32 PM
To: Idirect-Tech/Breeze-Python-SDK @.>
Cc: Subscribed @.***>
Subject: [Idirect-Tech/Breeze-Python-SDK] Want to put stoploss order in options order (Issue #141)
CAUTION: This email originated from outside the organization! Do not click links, open attachments or reply, unless you recognize the sender's email address! Use 'Report suspicious Email' button in the toolbar to report Phishing mails. Beware!
My purpose is to put a stoploss order after buy order, buy order through API is successful and showing in portfolio, using the below code:
API Code
`def placeOrderOp(stock = "NIFTY", quantity = "50", today = "", expiryDate = "", option_type = "call", strike = "", action = "buy", price = "", order_type = "market", stoploss = ""):
order = breeze.place_order(stock_code=stock,
exchange_code="NFO",
product="options",
action=action,
order_type=order_type,
stoploss=stoploss,
quantity=quantity,
price=price,
validity="day",
validity_date=today,
disclosed_quantity="0",
expiry_date=expiryDate,
right=option_type,
strike_price=strike)
return order
POST Request for all orders
@app.route('/api/breeze/order', methods=['POST'])
def get_all_data():
new_data = request.get_json()
print(new_data)
order = placeOrderOp(stock = new_data['stock'], quantity=new_data['quantity'], today = new_data['today'], expiryDate= new_data['expiry_date'], strike= new_data['strike'], option_type=new_data['option_type'], action=new_data['action'], order_type= new_data['order_type'], stoploss= new_data['order_type'], price= new_data['price'])
return jsonify(order)`
Example Request body
{"stock":"NIFTY","option_type":"put","strike":25900,"quantity":"25","expiry_date":"2024-09-26T06:00:00.000Z","today":"2023-09-23T06:00:00.000Z","stoploss":140,"action":"sell","order_type":"stoploss","price":139.5}
Error getting while calling the API
{ "Error": "Resource not available", "Status": 500, "Success": null }
—
Reply to this email directly, view it on GitHubhttps://github.com/Idirect-Tech/Breeze-Python-SDK/issues/141, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3TQZ464CW6CVKTNO6VFBPTZX64JZAVCNFSM6AAAAABOVM5QO2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DCNZUGY2TSNA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Print this mail only if absolutely necessary. Save Paper. Save Trees." "The information contained in this e-mail and any attachments to this message are intended for the exclusive use of the intended recipient and may contain proprietary, confidential or legally privileged information. If you are not the intended recipient, please note that you are not authorised to disseminate, distribute or copy this e-mail or any parts of it or act upon/rely on the contents of this e-mail in any manner. Please notify the sender immediately by e-mail and destroy all copies of this e-mail and any attachments. Please also note that ICICI Bank or its subsidiaries and associated companies, (collectively "ICICI Group"), are unable to exercise control or ensure the integrity of/over the contents of the information contained in e-mail transmissions and that any views expressed in this e-mail are not endorsed by/binding on the ICICI Group unless the sender does so expressly with due authority of ICICI Group. Before opening any attachments please check them for viruses and defects and please note that ICICI Group accepts no liability or responsibility for any damage caused by any virus that may be transmitted by this email. Any unauthorized use of this email or any attachment(s) may be treated as infringement of right(s) including right of privacy under the applicable laws of India including Information and Technology Act, 2000. Thank you for your cooperation. Regulatory Disclosures are available on https://www.icicisecurities.com (for institutional business) and www.icicidirect.com (for retail business).

Working properly thanks for the support


Affinity for nfs and conda-store

Partially fixes #321
Related to https://github.com/Quansight/qhub-terraform-modules/pull/39
These PRs add affinity for nfs-server and conda-store pods to general nodes to prevent pods from migrating to other more expensive user or worker nodes.

@brl0 unsure of why there are merge conflicts. I had to change the base to dev since we are going to soon cut a release. If you fix the merge conflit by Friday we should be able to add this to the release. Again thanks for all your help! This release should have the newest dask-gateway

@costrouc, I resolved the conflict.  Thanks for the great project and all the hard work!


[BUG] Some text is unreadable

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

Add a song to your playlist.
Look at the popup

other way:

go to settings
click on one of the dropdown menus

Screenshots
If applicable, add screenshots to help explain your problem.
added song to playlist popup

settings dropdown menu

Setup

OS: Windows 11
spicetify Version: 2.23.2
Spotify Version: <IP_ADDRESS>6.ge7a7b92f
Enabled Extensions: none (except marketplace)

I've been maintaining a fork which fixes most visual glitches, it could maybe fix your issues!
The repo link is: https://github.com/socuul/ziro-aura


Modify code to export joint VCF

This added (on top of VCF header PR #608):

a function to get joint filters from exomes and genomes filters annotations;
workarounds on fields that don't exist in joint HT;
Test run: 5547c86f934e4c64af196761b1b6e41b

Back to you!


Prepare a common setup for further development

Summary

Have a common setup for SDL

Made it!
Ya me abre la ventana!

Made it too !


[stable/prometheus-operator] update dependencies

Signed-off-by: Kyle von Bredow<EMAIL_ADDRESS>
What this PR does / why we need it:
Updating the dependencies to incorporate the change to prometheus-node-exporter which allows the user to specify affinity and nodeSelector objects.
Which issue this PR fixes
Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped

@kvonbredow, have you tested these changes? Disregarding only minor version change in grafana they introduced some breaking changes. From what I see they should not break this chart, however it should be tested before going live for everyone.

I tested the changes in my own cluster, and the changes themselves should only be additive (it added optional objects to the helm values).  After taking a look, it seems someone simply got in before me and the chart version was hitting a merge conflict.  I've caught my branch up with a merge and the tests are passing.

@jessesuen done!

@davidkarlsen, could you please merge this one?

/retest

/lgtm


Refactor test helper

Deduplicate logic when testing file.
mediawiki_schema and parse_comments were sharing the same behavior.

Thank you! :+1:


[wip] Continuous Integration, integration and pre-release builds

This PR is  :construction: territory, there will be a lot of 2-steps forward, one step back garbage commits which will be :fire:  before merge time.

[ ] Implement x-plat build story (potentially using FAKE)
[ ] Split RxUI into ReactiveUI.sln (all targets, used with vs+xamarin business edition), ReactiveUI_Windows.sln (all standard windows targets, including Winforms/WPF/UWP/WP8.x), ReactiveUI_Xamarin.sln (all xamarin targets), ReactiveUI_XamarinAndroid.sln (xamarin android only target),  ReactiveUI_XamariniOS.sln (xamarin ios only target) and ReactiveUI_XamarinMac.sln
[ ] Integrate with AppVeyor (Windows) and Bitrise (Xamarin/Mac)
[ ] MyGet.org (during WIP) and NuGet.org (after merge) pre-release packages of RxUI.
[ ] Update .nuspec to be brand consistent.
[ ] SourceLink integration - https://ctaggart.github.io/SourceLink/

AppVeyor can build the Xamarin projects (except for Mac w/o the ref assms). If we can get the Mac refs, then AppVeyor should be able to build all of it.
For source linking, https://github.com/GitTools/GitLink may be better as it's more tied to GitHub. It's also super easy to use from AppVeyor.


hydroquebec component issue : "unkown CAD"

Home Assistant release (hass --version):
0.42.3
Description of problem:
Current period bill = unknown CAD
Expected:
a known CAD :)
Traceback (if applicable):
Don't know if it is relevant
17-04-13 07:12:25 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.HydroQuebec_period_total_bill fails
Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
    None, self.update)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/hydroquebec.py", line 157, in update
    self._state = round(self.hydroquebec_data.data[self.type], 2)
TypeError: type NoneType doesn't define __round__ method

today, all values are unknown.