[US] CRUD for required documents

Estimated story points: 8
Description

As a user I want to associate required documents with a contract type. Every required document has a name, a file and a boolean whether its also required for contract extensions.

Acceptance criteria

Required documents can be created, edited and deleted.

and a boolean whether its also required for contract extensions

What does it mean for "required documents" to not be required? Maybe their name is misleading

and a boolean whether its also required for contract extensions

What does it mean for "required documents" to not be required? Maybe their name is misleading

I think originally I planned to say one contract type consists of a "new contract" possibility and an "extend contract" possibility and not all documents are needed for the "extend contract". But I think it would be nicer if you just have two contract types one for new contract and one for extend contract.
The checkboxes are still needed to actually check off documents for each specific contract.

Closed by https://github.com/reform-org/reform/pull/185


F28069M (C2000), what does it take to have it working?

TMS320F28069M (C2000), what does it take to have it working?

You'd need to write your own driver that brings support for these TI chips. Read the documents for info about porting this library for your board.

You also have to change the memory related functions, like CO_memcpySwap2. This because the C2000 processor doesn't support uint8_t, it's smallest value is 16 bit.

This because the C2000 processor doesn't support uint8_t, it's smallest value is 16 bit.

There may be other incompatibilities in the stack for such chip. Probably they can be fixed, but there must be someone with knowledge about "smallest value is 16 bit" problem and testing capabilities.

We've had this some time ago... https://github.com/CANopenNode/CANopenNode/pull/186

I'm closing this issue for now. If there will be a real interest for this chips, we can try to support them too.

Do you have any updates on this? I've found a demo for 28335 but it's being done with SYS BIOS (TI's RTOS). I'm looking into a bare metal implementation.


Tree view click only works when tree view items are visible on the screen

For example if there is a tree view that is very long so that it includes a scroll bar so you can select items that are off screen. When using pywinauto you can only click items in the tree view that are visible on the screen.  Here is my sample code. I'm trying to automate a 64 bit application with a 64 bit version of python 2.7
from pywinauto.application import Application

app = Application().Start(cmd_line=u'"PATH TO APPLICATION" ')
windowsformswindowappeccrad = app[u'APPLICATION WINDOW NAME']
windowsformswindowappeccrad.Wait('ready')
systreeview = windowsformswindowappeccrad.TreeView
tree_item = systreeview.GetItem([u'Parent', u'Child'])
tree_item.Click()

TreeView item has method tree_item.EnsureVisible() or tree_item.ensure_visible() in 0.6.0+.
Yeah, this method is not called automatically inside click() or click_input(). Do you think it should?

Thanks! Perfect. Yes I think it should be. It will only save one line of code, but might reduce likelihood for confusion when dealing with a longer tree view.


Unable to build project after adding audioplayers dependencies

There isn't enough information on this issue for us to act on. Please edit this following the issue template.

I have the same issue even using v0.19.0 of this package, after upgrading Flutter to the latest version.
Error received on build is:
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: /.gradle/caches/transforms-2/files-2.1/24fa3aa8d2270e5eb067bbe36e9b7563/jetified-kotlin-stdlib-1.5.10.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /.gradle/caches/transforms-2/files-2.1/4d4ccf1034ba5937e6e7ba3aa34d2661/jetified-core-ktx-1.6.0-beta02-api.jar!/META-INF/core-ktx_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: /.gradle/caches/transforms-2/files-2.1/77bab1911042ab2c6d5cc0b2e2ee053c/jetified-kotlin-stdlib-common-1.5.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: C:\xampp\htdocs\flutter.pub-cache\hosted\pub.dartlang.org\audioplayers-0.19.0\android\src\main\kotlin\xyz\luan\audioplayers\AudioplayersPlugin.kt: (18, 32): Unresolved reference: mutableMapOf
e: C:\xampp\htdocs\flutter.pub-cache\hosted\pub.dartlang.org\audioplayers-0.19.0\android\src\main\kotlin\xyz\luan\audioplayers\AudioplayersPlugin.kt: (25, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
And so on, hundreds of lines with the same error.

@lulacanci check https://github.com/luanpotter/audioplayers/issues/908

same issue

same issue, please fix.
thanks.

upgrade to ext.kotlin_version = '1.4.21'
will fix the issue .


Confirmation of the QSO

Hello,
Every time I have a QSO i try to check if activator logged me. You know, sometimes QSO is really hard and I not sure that it was everything ok.
If there would appear some kind of star or tick next to the "My chases" positions it will be very nice. I think everybody will have more fun with this.
What do you think? It is possible to add such as this feature?
73

Hello! What you are describing sounds exactly like a feature that once was present in the SOTA database, but got removed because people deliberately modified their logs to get the "asterisk" if the other party made a mistake logging them. See the discussion at https://reflector.sota.org.uk/t/the-chaser-confirmation-asterisk/14166
So it's unlikely to be added to SOTLAS.

Hello! What you are describing sounds exactly like a feature that once was present in the SOTA database, but got removed because people deliberately modified their logs to get the "asterisk" if the other party made a mistake logging them. See the discussion at https://reflector.sota.org.uk/t/the-chaser-confirmation-asterisk/14166
So it's unlikely to be added to SOTLAS.


[Improvement] Clean up this fork before final release

Some parts of this fork need cleaning up before being pushed into the compiler.
The util file would be a good place to start!

For exmaple:
this comp time pram is an issue if im reading from a file!
https://github.com/Polyscape-Research/hbml-html-parser/blob/f697678be93fc6a9fd63cd38cb17154157118501/src/util.zig#L96C1-L106C2


Add Mono Icons

Belgian company @mono-company just released https://icons.mono.company. It would be nice if they could be added.
https://github.com/mono-company/mono-icons

Added


Fix the margins between buttons on mobile view.

The header looks really cluttered on smaller screen sizes.
Fix the margins between buttons and other elements.

I'd like to work on this.

Assigned to @nikita-1801!

I want to work on this issue

I've completed working on this issue and am just about to make a PR


Adding build/release image status, interval updates and long press actions

I have added several new features to the button.

Show status for the build definition
Support for multiple build/release definitions
Interval status update

Interval 0 disables updates

On tap and long-press action (configurable)

Do nothing
Update status (default for tap)
Start build/release (default for long press)

When definition ID is empty/0

Show status of last running or currently in progress definition ID
On run, run all of the definitions for the project

NOTE: I still need to fully implement release functionality but build is done.
The Release functionality should be done by the end of the week but you're welcome to review the rest (there should only be some minor changes in AzureDevOpsService).
UPDATE: Done, releases are included. 😊
Linked to #1

Just a few notes on the code.
There is no BasicAction that gives you tap, long-press, background update, etc, so we can later add more buttons with similar functionalities.
And most of the logic is moved to a service because it required a bit more code and the original action would have a lot of code to handle all of the scenarios.
Builds do not support waiting for approval because there are no APIs.
Releases do not support waiting for approval because I don't have releases atm that have that to properly test it.

After triggering the build or release the top right icon is set to OK, should it be maybe set to in progress, because it is most likely that the pipeline is going to be in progress state?

After triggering build with long push and setting the short push to show build status. The short push always shows OK icon in top right, even though that the build is still in progress.

Yeah, it shows the real status and you need to wait for a few seconds to see the build/release to be queued or in progress
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Panu Oksala @.>
Sent: Sunday, November 14, 2021 8:30:18 PM
To: panuoksala/streamdeck-azuredevops-plugin @.>
Cc: Jernej Kavka (JK) [SSW] @.>; Author @.>
Subject: Re: [panuoksala/streamdeck-azuredevops-plugin] Adding build/release image status, interval updates and long press actions (PR #2)
After triggering build with long push and setting the short push to show build status. The short push always shows OK icon in top right, even though that the build is still in progress.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/panuoksala/streamdeck-azuredevops-plugin/pull/2#issuecomment-968264200, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNLCZPH7TO6RS63EDZMYPLUL6FTVANCNFSM5H2OWYJQ.

Tomorrow I'll set it to be waiting image so that next update will show the right status.
Any other changes needed?

Done, it will show "wait" status instead of current status. :)
It's wait status (full circle) as opposed to in progress (circle with gaps) as we don't know if the build will be picked up right away or if it's going to be queued. Based on my testing, it takes ~5 seconds before Azure DevOps shows the correct status.

Sorry I didn't have yesterday more time to test, but I will test new features today and then merge if everything is ok.

One more thing. Currently the BackgroundTask is polling Azure DevOps all the time. Even though that there is no build to poll and I think that is a bit bad by design.
I would start the BackgroundTask when build is initialized and continue polling until the build is completed.
If two builds are initialized by pressing the button twice, then the later would be used...

Maybe just limit the minimum to 10 seconds to avoid flooding of polling actions (for example 10 buttons with 5 second interval)? What do you say?

min="10" into property_inspector.html update_status_every_second should do the trick.

I think you have done astonishing job. I will actually merge this in and fix the min value by myself.

Thanks for merging the code. :)
I agree with minimum 10 seconds should be reasonable but I'm if we should limit it in case somebody really wants it. (also lots of DevOps dashboards are polling at a pretty high rate from lots of places, I wouldn't worry about it)
Also, keep in mind that 0 = no polling and we would need add a checkbox to disable background polling if we want to add this feature back.
I would be against stopping the polling because the great thing about this button is that I can see when my teammates are pushing deployments. For instance, our build is ~40 minutes and I do 10-minute polls so that I can be on top when new stuff is coming in.
That being said, I like the idea of increasing the rate of polling when a build/release is in progress.
I wonder if that should be a separate interval, though.
My a solution architect and my motivation is to build a mini dashboard of projects and I'm responsible for but not necessarily working on that day. (which is why I have created lots of "issue" features so that I don't forget what I want to implement)
My use case is more toward passive observation over running tasks but I don't want others to lose that ability, which is why I put the extra effort to accommodate both use cases. 😊


Fast scroll not showing current section

If fast scroll is enabled on a standard ListView, the current section of the list displays as you scroll:

However, if we use the same adapter with StickyListHeadersListView and enable fast scrolling on the wrapped ListView the current section does not display:

@lukesleeman I have edited AdapterWrapper class by implementing SectionIndexer and override
@Override
public int getPositionForSection(int section) {
return ((SectionIndexer)mDelegate).getPositionForSection(section);
}
@Override
public int getSectionForPosition(int position) {
return ((SectionIndexer)mDelegate).getSectionForPosition(position);
}
@Override
public Object[] getSections() {
return ((SectionIndexer)mDelegate).getSections();
}
doesnot solve fast scroll issue

@aniketsphinx - Not sure what is going on there.  Did you have a look at the pull request that Christian posted above?  Is are you working with a version of the sticky list header which includes Christians fix?

@lukesleeman yes, I go through the Christians fix and I have used latest sticky list header.


Opflow fails ((Z^I)@(X^X))@(Plus^Plus), but works with Aqua operators opflow

With Aqua and Terra latest versions from main branches:
Here is what I find. Using Aqua operators, just looking at the first part as we see a difference that helps understand the final failure
>>> ((Z^I)@(X^X))
PauliOp(Pauli('YX'), coeff=1j)

using Terra opflow
>>> ((Z^I)@(X^X))
PauliOp(Pauli('iYX'), coeff=1.0)

Now Aqua - adding the @(Plus^Plus) to the expression to complete it as per the failure
>>> ((Z^I)@(X^X))@(Plus^Plus)
CircuitStateFn(<qiskit.circuit.quantumcircuit.QuantumCircuit object at 0x7fbb1947ada0>, coeff=1j, is_measurement=False)

where using Terra opflow it fails
qiskit/opflow/primitive_ops/pauli_op.py", line 323, in to_circuit
    gate = PAULI_GATE_MAPPING[pauli_str]
KeyError: 'i'

this is in some to_circuit logic where the i is not managed since it seems to only expect X,Y,Z I in the mapping and in mapping each element it goes wrong. In Aqua it was just XY with the i being part of coeff. Now it moved to iXY and the to_circuit fails.

Thanks. I see. This is caused by Pauli symplectic refactoring.


add java call go examples and docs

add java call go examples and docs

Can one of the admins verify this patch?


Pre commit

Fixing black python version issue in pre-commit

Codecov Report

Merging #25 (494509b) into main (45e6cb5) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           12        12
  Lines          361       361
=========================================
  Hits           361       361

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45e6cb5...494509b. Read the comment docs.


CupertinoTextField placeholder was clipped to ellipsis when maxLines > 1

When I set maxLines over 1, for example 10, and give CupertinoTextField a long placeholder string, then i see that long placeholder string was clipped to ellipsis, such as below image:
source code:

result:

after that , i went to see the source file ->>> text_field.dart
and i found this:

it means that whatever how large the maxLines i set, the placeholder string only show one single line, and will be clipped to ellipsis if it's overflowed!!!
in my opinion，when user need their textfield to be multi lines, at least the placeholder can also support multiline, and if the placeholder string is limited to only one line, then the limit on the length of this string is too big.
[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.13.4 17E199, locale zh-Hans-CN)
• Flutter version 1.2.1 at /Users/gitkeer/env/flutter
• Framework revision 8661d8aecd (9 weeks ago), 2019-02-14 19:19:53 -0800
• Engine revision 3757390fa4
• Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/gitkeer/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/gitkeer/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode9.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.4
• CocoaPods version 1.5.2
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 31.3.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.2)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 32.0.2
• Dart plugin version 183.4886.3
[✓] VS Code (version 1.33.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 2.25.0
[✓] Connected device (2 available)
• iPhone 6 Plus • XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX     • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-1 (simulator)

Issue doesn't reproduce
Code Sample
import 'package:flutter/cupertino.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
      title: 'Cupertino App',
      home: CupertinoPageScaffold(
        navigationBar: CupertinoNavigationBar(
          middle: Text('Cupertino App Bar'),
        ),
        child: Center(
          child: CupertinoTextField(
            maxLines: 10,
            placeholder:
                "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,",
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, v1.16.3, on Mac OS X 10.15.4 19E266, locale en-GB)
    • Flutter version 1.16.3 at /Users/taha/Code/flutter_dev
    • Framework revision be3a4b37b3 (4 days ago), 2020-03-26 18:08:05 -0700
    • Engine revision b2bdeb3f0f
    • Dart version 2.8.0 (build 2.8.0-dev.17.0 1402e8e1a4)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

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

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

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

[✓] Connected device (5 available)
    • SM M305F      • 32003c30dc19668f          • android-arm64  • Android 10
      (API 29)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.4
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E266
    • Chrome        • chrome                    • web-javascript • Google Chrome
      80.0.3987.149
    • Web Server    • web-server                • web-javascript • Flutter Tools

• No issues found!

if you're still experiencing this problem, please create a new issue and provide the information required in
the template.
Thank you


Edges don't get rendered properly on first load

Hi,
we are using react_flow to visualize an existing taskflow.
There is an issue for us where the edges don't fir at all on the first load of the component. (It is inside a Modal)
If the Modal gets opened the second time the edges all fit.
Do you have any clue why this is happening?
firstload

secondload

Please feel free to re-open if the issue still occurs.


google drive of training dataset failed

@Arthur151 thanks for your great job of ROMP, but the google drive of training dataset failed by now, please check it out

It's all right. Thanks for your timely response!
---Original---
From: "Yu @.>
Date: Tue, Oct 12, 2021 22:40 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [Arthur151/ROMP] google drive of training dataset failed (#87)
@liangwx All files will be uploaded to the new google drive by tommorro morning. Thanks for bug report!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Added Root module & meta data yaml file

Added Root module & meta data yaml file

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Error : from_db_value() missing 1 required positional argument: 'context'

### Steps to reproduce the problem:
Install latest version from github.
python setup.py build
python setup.py install
Create a project and manage.py createdb
The createdb will throw error regarding 'six' which is coming from filebrowser_safe. If you get the latest code and build your self, that error will be gone.
Run the server and try to browse localhost:8000
This will throw following error:
TypeError at /
from_db_value() missing 1 required positional argument: 'context'
Exception Location:
python3.8/site-packages/Django-3.1.1-py3.8.egg/django/db/models/sql/compiler.py, line 1100, in apply_converters
Error during template rendering
In template lib/python3.8/site-packages/Mezzanine-0.0.dev0-py3.8.egg/mezzanine/core/templates/base.html, error at line 67
{% block navbar_dropdown_menu %}{% page_menu "pages/menus/dropdown.html" %}{% endblock%}

Hello!
So this is only an issue when using filebrowser_safe from PyPI? If that's the case then that's the expected behavior: development versions of Mezzanine should be used with development versions of grappelli_safe and filebrowser_safe

Thanks for the response. Unfortunately no! This issue is not related to filebrowser_safe. The filebrowser_safe shipped with development version has 'six' issue. That can be fixed by using development version of filebrowser_safe.
The error from_db_value() missing 1 required... is still there even if you move past filebrowser_safe's 'six' issue.

Note this error is also triggered when MultiChoiceField is used.
In mezzanine/core/fields.py:
def from_db_value(self, value, expression, connection, context):
The context arg needs to be removed.


About data collect

Description
After import Sentry_flutter, our app was rejected by China XiaoMi market. This is the reason

Why Sentry collect sensor?
How do I resolve this?

@anchaoLu can you translate for us and give more context?
See our docs page related to that https://docs.sentry.io/product/security/mobile-privacy/

Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated.
Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it.
Cheers!


xml node attribute name is always “*”

The following javascript code works well and get "id" as expected on JVM. But when I run it on android with this library, I always get "*". Is it caused by the diffs between JVM and android? How can I get the expected result ? Or any other ways to get the attribute name of xml node?
 (<xml id="foo"></xml>).attributes()[0].name()

This is not a problem of this library. The scope of the project is to allow the use of optimization levels other than 0, and the use of JavaAdapter.
The Problem you describe also exists with base rhino on android.

OK, I have opened a issue on base rhino repo.


Events forEach problem

I've tryed also with the commented line and it does not work.
frameworkVersion: '3'

What is - msk? Shouldn't it be - kafka?

Just for reference:
https://www.serverless.com/framework/docs/providers/aws/guide/serverless.yml/#msk

I'm trying this:
msk_event:
  handler: src/handler.msk_event_handler
  environment: ${file(envs/env.${sls:stage}.yml)}
  timeout: 29
  layers:
    - { Ref: PythonRequirementsLambdaLayer }
  package:
    patterns:
      - "!./**"
      - "src/**/*.py"
  events:
    - $forEach:
        iterator: $split(${file(./envs/env.${sls:stage, 'dev'}.yml):topicsNames}, ',')}
        # iterator: ${ops:custom.topicsNames}
        template:
          - msk:
            arn: "${file(envs/env.${opt:stage, 'dev'}.yml):KAFKA_CLUSTER_ARN}"
            topic: $forEach.value
            batchSize: 10
            maximumBatchingWindow: 10
            startingPosition: LATEST

Now template indentation seems not correct
msk_event:
  handler: src/handler.msk_event_handler
  environment: ${file(envs/env.${sls:stage}.yml)}
  timeout: 29
  layers:
    - { Ref: PythonRequirementsLambdaLayer }
  package:
    patterns:
      - "!./**"
      - "src/**/*.py"
  events:
    - $forEach:
        iterator: $split(${file(./envs/env.${sls:stage, 'dev'}.yml):topicsNames}, ',')}
        template:
          - msk:
              arn: "${file(envs/env.${opt:stage, 'dev'}.yml):KAFKA_CLUSTER_ARN}"
              topic: $forEach.value
              batchSize: 10
              maximumBatchingWindow: 10
              startingPosition: LATEST

msk_event:
  handler: src/handler.msk_event_handler
  environment: ${file(envs/env.${sls:stage}.yml)}
  timeout: 29
  layers:
    - { Ref: PythonRequirementsLambdaLayer }
  package:
    patterns:
      - "!./**"
      - "src/**/*.py"
  events:
    - $forEach:
        iterator: $split(${file(./envs/env.${sls:stage, 'dev'}.yml):topicNames}, ',')}
        template:
          - msk:
              arn: "${file(envs/env.${opt:stage, 'dev'}.yml):KAFKA_CLUSTER_ARN}"
              topic: $forEach.value
              batchSize: 10
              maximumBatchingWindow: 10
              startingPosition: LATEST

Still:

Make sure iterator is an array. I do not know what the $split is but it's likely that it's doing its thing after serverless-plugin-for-each, so it's not an array from the plugin perspective.

Same thing mate!

The $split comes from: https://www.npmjs.com/package/serverless-plugin-utils

Did you add the plugin to the list in serverless.yml? Does your console output has Found and replaced XXX $forEach matches?

Hum...
That is it...
I'm new to serverless so I thought it isn't necessary.
- serverless-plugin-for-each
I shound put like this right?

Yes, just add it to the list of plugins


FunctioncallSpaceFixer - do not touch function declarations.

FunctioncallSpaceFixer should not 'fix' function declarations.
Fixes issue described here: https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1498

do we have a fixer for removing that space?

do we have a fixer for removing that space?

we do, function_declaration will take care of that :)

:+1:

Thank you @SpacePossum.

Damn it, not working at 2.x at all :/

wish I could help out here, but I don't have any useful hardware at hand to work the upcomming few days :(

isCandidate fails as you moved the T_STRING ;)
i hope you get good hardware soon !


[8.x] Use parallel testing when using database URL configuration

This PR fixes https://github.com/laravel/framework/issues/36189.
Right now when a database is configured using URLs (by using DATABASE_URL), parallel testing is not working. If we have this option in configuration, I guess it would be good to support it in parallel testing as well.
The Regex used in this pull requests covers these cases for database connection URL:

Sorry, for not adding tests for this implementation, but it's kinda difficult to test this trait specifically.

I've put this in draft while @nunomaduro investigates this. Thanks.

👍 Sure, let me know if you need any more help investigating this issue.


feat(graphql): Сheck that public database name doesn't exist

MolecularDB create/update mutations: check that a public database with the same name doesn't exist.

Doesn't this prevent having multiple versions of a public database?
Is this change actually necessary? Ideally we'd show which group a database comes from in the UI, so there shouldn't be any problems caused by using the same DB name in different groups...

Ideally we'd show which group a database comes from in the UI

Reckon this is an impeding issue, don't think the Element UI select component is adequate for this. I'd prefer to build one that orders/separates the list of databases by group.

@LachlanStuart

Doesn't this prevent having multiple versions of a public database?

I think I wrote this even before we agreed on name-version splitting of the existing public database names.

Is this change actually necessary? Ideally we'd show which group a database comes from in the UI, so there shouldn't be any problems caused by using the same DB name in different groups...

Okay, I wasn't completely sure whether we are going to implement this. If that's the plan, this PR isn't necessary I think.


Build the request response token link for in the Request item E-mail

https://jira.duraspace.org/browse/DS-3214
If an author was asked to allow or disallow a request for item the JSPUI send the request token hash and not a link using it. This PR fixes the problem.

+1 by inspection, but I'm biased: This comes from my colleague...

+1 obvious fix. Merging immediately. Thanks!


get interpreter for QuerySolution in Go function

Hello, how can I get the interpreter.QuerySolution call within the Go function func(_ *engine.VM, t engine.Term, k engine.Cont, env *engine.Env) *engine.Promise?
I would like to add new facts within the Go function, so I would like to call assertz(......) with my term.

Hi, the most straightforward way to incorporate assertz/1 with your Go predicate is to output terms from your predicate and feed them to assertz/1 like foo(In, Out), assertz(Out).
 It'll be something like:
if _, err := engine.Assertz(vm, engine.NewAtom("foo").Apply(engine.CharList("bar")), engine.Success, env).Force(context.Background()); err != nil {
	return engine.Error(err)
}

I don't think you need to access the interpreter from a Go predicate but if you really need to, you can use closure:
p := prolog.New(nil, nil)
p.Register0(engine.NewAtom("foo"), func(_ *engine.VM, k engine.Cont, env *engine.Env) *engine.Promise {
	if err := p.QuerySolution(`true.`).Err(); err != nil {
		return engine.Error(err)
	}
	return k(env)
}

ah okay, so i use the "normal" interpreter, thanks


Bun with Elysia SIGHUP when reading file

.get("/file", () => Bun.file("./src/halo.json"))
then open that path on the browser
immediately exit
error: script "dev" exited with code 1 (SIGHUP)
how to do simple bun reading file

seems to be an issue with bun https://github.com/oven-sh/bun/issues/5960

Closing as the issue seems to be on Bun not Elysia.


Split anvil and nbt into crates

The fastnbt crate could be much lighter if it only contained the nbt parser and deserialiser. Can split the anvil work to fastAnvil. Would also reduce the dependencies of fastnbt.

Done.


chore(main): release 5.9.1

:robot: I have created a release beep boop
5.9.1 (2024-12-18)
Bug Fixes

use version of htmlrewriter which does not make use of asyncify, which looks to have a potential memory leak under high load (#2721) (4d7ad97)

This PR was generated with Release Please. See documentation.

🤖 Created releases:

v5.9.1

:sunflower:


BED-4229: St Bernard Build Command Prototype

Description
Adds a new build command to St Bernard, the first step in replacing our existing builder
Properly wires up generate for code generation
Bonus: new just commands for code generation and automating code review preparations
Motivation and Context
St Bernard is our future build tool, and this is the first of several features needed in order to replace Beagle
How Has This Been Tested?
Locally validated outcomes are in line with expectations
Types of changes

[x] Chore (a change that does not modify the application functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] Documentation updates are needed, and have been made accordingly.
[ ] I have added and/or updated tests to cover my changes.
[x] All new and existing tests passed.
[ ] My changes include a database migration.

Thanks, I'm actually going to close all these PRs, because the changes between some of them and the final version I'm wrapping up are really big and odd, so it'll be easier to review all at once. Will keep them around as closed PRs for anyone that wants to see the evolution, but planning on having a proper group review of the final code soon.


How to do custom routing?

[What if I want to have custom routing instead of load balancer routing?]

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

ID: 2b8e780c-8b2b-f579-d380-a33cb76f0e82
Version Independent ID: e666a3fc-cb2e-30a8-c4ab-b8db700e05cb
Content: IaaS: Web application with relational database - Azure Architecture Center
Content Source: docs/high-availability/ref-arch-iaas-web-and-db.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @Maggsl
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#299612

@kudlatiger thanks for the question; can you say more about your situation?
I'll take a stab at your question, but I might be off the mark here without the added context.  Let me know.
Thought 1:
Azure Application Gateway can perform layer-7-based traffic routing needs, of course if the destination of that decision in AAG is Azure Load Balancer, you're simply routing to a uniform set of services, on a specific port, by design. What you put behind there would be up to you.  If it's directly your service, well, then you're port-bound there.  If instead you routed to an ingress controller that was making even more complex decisions (ARR, Traefik, nginx, etc), then you can do so to the extent of the router's capabilities.
Thought 2:
Maybe however you're talking more about traffic shaping (x% here, y% there), if so that logic can be handled by an ingress service behind the Load Balancers. OR, you can add that ingress service in front of the load balancer, but then each of your services would be exposed to the load balancer on a different port.  For traffic treatment, Azure Front Door has some helpful profiles you can build to apply routing rules to your traffic, but you'd still need to handle the "last mile" of ingressing through AAG, and into your LB'ed services.
I could keep guessing at what specifics you might have here, but I'll hand it back to you here at this point to provide some more context around what scenario that we could cover a bit more in this guidance.

Thanks @ckittel . Let me add a real-time use case.
I have a database which has mapping as shown below
Customer ID            App Gateway IP      Region
1 to 100               <IP_ADDRESS>                      West US
100 to 200           <IP_ADDRESS>                      West US
201                      <IP_ADDRESS>                      West Europe

When customer type  www.myappplicationdotcom in the browser, I will redirect him to AAD, and authenticate him
Once authenticated, I want him to redirect him to the load balancer based on above lookup table

That's why I call this custom routing 👍
Why do I isolate customer to different infrastructure?
Some Customer does not want to share their data with other customers.  (like customer 201 )
Some Customer does not buy premium package, hence they do not get premium storage (like customer 100 to 200)

@kudlatiger did you get resolution on this issue? I see that it is reasonably old.

closing due to no repsonse.


Support SWR

When using a SWR option in routeRUles, the nonce-header does not match the one served from the server:
Version
nuxt-security: 1.3.2
nuxt: 3.11.x
Steps to reproduce
enable swr on all routes:
routeRules: {
    "*": {
      swr: process.env.NODE_ENV === "development" ? false : parseInt(process.env.SWR_TTL ? process.env.SWR_TTL.toString() : "60"),
    },
  },

What is Expected?
The header should use the generated nonce value

What is actually happening?
The header uses the new nonce, but the html served is using the nonce that was used when generating the page

Thanks for the investigation @vejja
I would probably go for the second option but maybe @danielroe would have a better idea? :)

Let me investigate better because I actually think we can support natively without moving to hash mode

@MarijnFK would you be able to share a minimal Stackblitz repro of a basic use case ?
I'd like to check that we can indeed support SWR on a relevant setup

@vejja I've made a very simple stackblitz, it's not really a use-case but it shows the problem.
stackblitz
The top date shows the ssr-date. It should update every 10 seconds.
The bottom date should be hydrated, but doesn't  because the script is blocked from executing

@vejja have you maybe checked if this new solution of yours works with the stackblitz repro providede by @MarijnFK ?

Yes, I included an equivalent example in the playground under the /swr page there, it is testable with yarn dev and then going to localhost:3000/swr

@vejja Good to hear, looking forward to the update! Thanks for the (quick!) responses


Can't download the weight?

When I train the model with "configs/e2e_cascade_rcnn_R-101-FPN_1x_gn.yaml", it shows such errors:

INFO io.py:  67: Downloading remote file https://s3-us-west-2.amazonaws.com/detectron/ImageNetPretrained/47592356/R-101-GN.pkl to /tmp/detectron-download-cache/ImageNetPretrained/47592356/R-101-GN.pkl
Traceback (most recent call last):
File "tools/train_net.py", line 132, in
main()
File "tools/train_net.py", line 101, in main
assert_and_infer_cfg()
File "/home/test/Detectron-Cascade-RCNN/detectron/core/config.py", line 1127, in assert_and_infer_cfg
cache_cfg_urls()
File "/home/test/Detectron-Cascade-RCNN/detectron/core/config.py", line 1136, in cache_cfg_urls
__C.TRAIN.WEIGHTS = cache_url(__C.TRAIN.WEIGHTS, __C.DOWNLOAD_CACHE)
File "/home/test/Detectron-Cascade-RCNN/detectron/utils/io.py", line 68, in cache_url
download_url(url, cache_file_path)
File "/home/test/Detectron-Cascade-RCNN/detectron/utils/io.py", line 114, in download_url
response = urllib2.urlopen(url)
File "/home/dl/anaconda3/envs/caffe2_py2/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/home/dl/anaconda3/envs/caffe2_py2/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/home/dl/anaconda3/envs/caffe2_py2/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/home/dl/anaconda3/envs/caffe2_py2/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/home/dl/anaconda3/envs/caffe2_py2/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/home/dl/anaconda3/envs/caffe2_py2/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

And I try to “wget https://s3-us-west-2.amazonaws.com/detectron/ImageNetPretrained/47592356/R-101-GN.pkl”， it also failured.
Can anyone show me where is the model "https://s3-us-west-2.amazonaws.com/detectron/ImageNetPretrained/47592356/R-101-GN.pkl"?

find the weight : https://github.com/facebookresearch/Detectron/


Change event is fired using Reactive form

    <ckeditor (change)="onDetailDataChanged()" formControlName="guidance" class="ckeditor" [config]="ckeConfig"
          debounce="500">
        </ckeditor>

  public onDetailDataChanged(): void {
    console.log(this.formGroup.getRawValue(), this.formGroup.dirty);
  }

// res.data is loaded from server side
              this.formGroup.patchValue({
                ...res.data,
                lookupTypeId
              }, { emitEvent: false });

after calling patch value, the change event is fired? Why ?
How to solve the problem?

Do you change the value of guidance formControl with .patchValue?

Do you change the value of guidance formControl with .patchValue?

Yes. And I found that the  (change) event of ckeditor triggered after I input some text instead of triggered after losing focus like <input (change)="changed($event)" /> does

This is an expected behaviour. Change event trigger after the value has change. With debounce="500" you can add a delay when updating your value. If you wish to trigger an event after the focus change you use (blur)="onBlur($event)" instead of (change)="onDetailDataChanged()" event.

This is an expected behaviour. Change event trigger after the value has change. With debounce="500" you can add a delay when updating your value. If you wish to trigger an event after the focus change you use (blur)="onBlur($event)" instead of (change)="onDetailDataChanged()" event.

Thanks for replying. I've decided to use onBlur event!


Added script for rename multiple files in folders

Description
This script help for batch renaming files with structure
Environment:
Script on one's own detecting OS.
Tested in Python version 3.11.2.
Fixes #(issue_no)
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Documentation Update (README file included in script's folder)

Checklist:

[ ] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[ ] My documentation follows Template for README.md
[ ] I have added the project meta data in the PR template.
[ ] I have created the requirements.txt file if needed.

Project Metadata
none
Category:

[ ] Calculators
[ ] AI/ML
[ ] Scrappers
[ ] Social_Media
[ ] PDF
[ ] Image_Processing
[ ] Video_Processing
[ ] Games
[ ] Networking
[ ] OS_Utilities
[x] Automation
[ ] Cryptography
[ ] Computer_Vision
[ ] Fun
[ ] Others

Title: <write script title here>
Folder: <type the folder name that contains your script>
Requirements: <none>
Script: <main.py>
Arguments: <none>
Contributor: <@xinitd>
Description: <Script help for batch renaming files with structure>

Please create an Issue for the same, and Link it to the PR. @xinitd

@avinashkranjan, done. https://github.com/avinashkranjan/Amazing-Python-Scripts/issues/3152


Fix #2083: add kamel bind command

Fix #2083
This works, but I'm looking for better ways..
Current syntax is like:
# Unqualified references default to "kamelet:"
kamel bind telegram-source broker:default -p source.authorizationToken=xxx
# Bound elements can also be full refs and Camel URIs
kamel bind kafka.strimzi.io/v1beta1:KafkaTopic:test log:info

So there's a single "-p" option with properties that need to be prefixed with source. or sink..
This avoid having to define e.g. --source-property and --sink-property, which is the other option I've considered.
But both approaches fail when it comes for steps. It's easy to add a --step to add other endpoints, but how to specify their related properties? Like: -p step-0.prefix=World -p step-1.prefix=Hello?

Release Note
NONE

Wonder if they can be considered somehow as URI
kamel bind telegram-source?options broker:default=options --step step1?options


version updated

Do the checklist before submitting the PR:

[x] Have you read the guidelines mentioned in CONTRIBUTING.md?
[x] Have you squashed your commits?

Q: Provide the Live Link!
A:
Q: Mention the Issue Number! (e.g. Fixed #8)
A: Fixed #5

Give additional information regarding the PR below:

version updated in navbar,package.json & package-lock.json, tagline changed.

I changed the package.json & package-lock.json file. But they were not staged automatically while other changes did, I noticed it after I made the pr. I want to know the possible why did this happen?


Parallel with BlockOperator and BlockMatrix

Hi,
I'm working on a nonlinear advection-diffusion-reaction problem. It is a system with 5 unknowns. I wrote the reaction part with BlockNonlinearFormIntegrator to construct the Jacobian. So my Jacobian looks like NonlinearForm->GetGradient + Diffusion + Advection. And the Jacobian is set by blocks, for instance, Jacobian->SetBlock(0,0) = NonlinearForm->GetGradient->GetBlock(0,0) + diffusion. In this way, I used BlockOperator for BlockNonlinearForm and BlockMatrix for diffusion. My code works great on serial and now I'm working on parallel version. I went through the examples and found out you used BlockOperater in parallel version instead of BlockMatrix in serial version. So my question are:

In the Mult function of Operator class, I used BlockNonlinearForm->Mult(k,y); BlockMatrix->AddMult(k,y);. And in your parallel examples, you used ParNonlinearForm->Mult(k,y); ParBlinearForm->AddTrueMult(k,y). I'm wondering what should I do with this. I used ParBlockNonlinearForm->Mult(k,y); BlockOperator->Mult(k, w); y+=w;. Is this the correct way? Or I need to construct in another way.
In regard to my Jacobian on the GetGradient function in Operator class, how should I construct my Jacobian in parallel version. I tried with ParBlockNonlinearForm->GetLocalGradient(u)->GetBlock and this did not work. Can I still construct my Jacobian by blocks? Or is there another way I need to do to construct it.

Best,
Ting

@jamiebramwell or @rcarson3, do you think you can help @yantingsa?

Hi,
I've fixed this problem. But I do have new problem in 1103. It would be great if you can help me with that. Thank you so much.


Yolov4 tiny conversion to tflite

Hi, thanks for this! I used AlexeyAB yolov4-tiny cfg, trained for 1 class. When trying to convert weights to tflite I get:
2020-07-16 08:15:29.339406: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1241] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 13962 MB memory) -> physical GPU (device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5)
loc(callsite("YOLOv4Tiny/PANetTiny/up_sampling2d/resize/ResizeBilinear"("/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/layers/convolutional.py":2245:0) at callsite("/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/base_layer.py":927:0 at callsite("/usr/local/lib/python3.6/dist-packages/yolov4/model/neck.py":236:0 at callsite("/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py":309:0 at callsite("/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/base_layer.py":927:0 at callsite("/usr/local/lib/python3.6/dist-packages/yolov4/model/yolov4.py":110:0 at callsite("/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py":309:0 at callsite("/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/base_layer.py":927:0 at callsite("/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/saving/saving_utils.py":132:0 at "/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/def_function.py":441:0)))))))))): error: 'tf.ResizeBilinear' op is neither a custom op nor a flex op
error: failed while converting: 'main'
Ops that can be supported by the flex runtime (enabled via setting the -emit-select-tf-ops flag): ResizeBilinear.
Traceback (most recent call last):
  File "/usr/local/bin/toco_from_protos", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/tensorflow_core/lite/toco/python/toco_from_protos.py", line 93, in main
    app.run(main=execute, argv=[sys.argv[0]] + unparsed)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow_core/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "/usr/local/lib/python2.7/dist-packages/absl/app.py", line 300, in run
    _run_main(main, args)
  File "/usr/local/lib/python2.7/dist-packages/absl/app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "/usr/local/lib/python2.7/dist-packages/tensorflow_core/lite/toco/python/toco_from_protos.py", line 56, in execute
    enable_mlir_converter)
Exception: /usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/layers/convolutional.py:2245:9: error: 'tf.ResizeBilinear' op is neither a custom op nor a flex op
        interpolation=self.interpolation)
        ^
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/base_layer.py:927:19: note: called from
                  outputs = call_fn(cast_inputs, *args, **kwargs)
                  ^
/usr/local/lib/python3.6/dist-packages/yolov4/model/neck.py:236:9: note: called from
        x1 = self.upSampling18(x1)
        ^
/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py:309:7: note: called from
      return func(*args, **kwargs)
      ^
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/base_layer.py:927:19: note: called from
                  outputs = call_fn(cast_inputs, *args, **kwargs)
                  ^
/usr/local/lib/python3.6/dist-packages/yolov4/model/yolov4.py:110:9: note: called from
        x = self.panet_tiny(x)
        ^
/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py:309:7: note: called from
      return func(*args, **kwargs)
      ^
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/base_layer.py:927:19: note: called from
                  outputs = call_fn(cast_inputs, *args, **kwargs)
                  ^
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/saving/saving_utils.py:132:7: note: called from
      outputs = model(inputs, training=False)
      ^
/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/def_function.py:441:9: note: called from
        return weak_wrapped_fn().__wrapped__(*args, **kwds)
        ^
<unknown>:0: error: failed while converting: 'main'
Ops that can be supported by the flex runtime (enabled via setting the -emit-select-tf-ops flag): ResizeBilinear.

Can you share your python script?

Oh, I used just your example:
from yolov4.tf import YOLOv4
yolo = YOLOv4(tiny=True)
yolo.classes = "/content/TensorFlow-2.x-YOLOv3/model_data/license_plate_names.txt"
yolo.make_model()
yolo.load_weights("/mydrive/yolo/backup/yolov4-tiny-obj_final.weights", weights_type="yolo")
yolo.save_as_tflite("yolov4.tflite")
yolov4-tiny-obj_final.weights:
https://drive.google.com/file/d/1-7W6dL49bu2u0gZTT_7Ooi9HvyEymoKb/view?usp=sharing
yolov4-tiny-obj.cfg:
https://drive.google.com/file/d/1wHyP2k6tW6qotuepE_tPsTLqrg3mG2HJ/view?usp=sharing
license_plate_names.txt contains just:
custom

python3 -m pip show yolov4

What is your version?

0.16.0

test.py
from yolov4.tf import YOLOv4

yolo = YOLOv4(tiny=True)

yolo.classes = {0:"custom"}

yolo.make_model()
yolo.load_weights("/home/hhk7734/Downloads/yolov4-tiny-obj_final.weights", weights_type="yolo")

yolo.save_as_tflite("yolov4.tflite")

python3 test.py

it successfully converted.
python 3.6.9 version
tensorflow 2.2.0 version

import tensorflow as tf
from yolov4.tf import YOLOv4

yolo = YOLOv4(tiny=True)

yolo.classes = {0:"custom"}

yolo.make_model()
yolo.load_weights("/home/hhk7734/Downloads/yolov4-tiny-obj_final.weights", weights_type="yolo")

converter = tf.lite.TFLiteConverter.from_keras_model(yolo.model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS,
                                       tf.lite.OpsSet.SELECT_TF_OPS]
tflite_model = converter.convert()
with tf.io.gfile.GFile("yolov4.tflite", "wb") as fd:
    fd.write(tflite_model)

It worked! Thanks!

Thanks for testing the code :)


No warning if additional clocks aren't configured

It's not uncommon for people to think that they can clock registers from generated clocks or different input pins, without adding the required configuration to the SDC file.
Currently, no obvious warnings are flagged if you do this, but it is likely your design won't work due to hold violations (setup violations might also be an issue, but would generally not be design breaking as you can just clock more slowly).  This is because STA doesn't understand the clocks you are using so doesn't know to check the paths between different registers in your addition clock domains.
I think this problem will be picked up by there being "unclocked" registers in the STA report.  So it might be a good idea to grep for
Warning: There are \d* unclocked register/latch pins.
in multi_corner_sta.checks.rpt and flag a warning on the action summary if this is present.

I've tested on it on tt06-factory-test, but I'm getting a warning:
===========================================================================
check_setup -verbose -unconstrained_endpoints -multiple_clock -no_clock -no_input_delay -loops -generated_clocks
===========================================================================
Warning: There is 1 unconstrained endpoint.
  _085_/D

Here is the relevant excerpt from the GL netlist:
  sky130_fd_sc_hd__conb_1 _094_ (
    .HI(_034_)
  );

  sky130_fd_sc_hd__dfrtp_2 _085_ (
    .CLK(clk),
    .D(_034_),
    .Q(rst_n_i),
    .RESET_B(rst_n)
  );

and relevant RTL:
	reg rst_n_i;
	reg [7:0] cnt;

	always @(posedge clk or negedge rst_n)
		if (~rst_n)
			rst_n_i <= 1'b0;
		else
			rst_n_i <= 1'b1;

Do you see any potential issue here?

Ah, I think think that's because of the async reset.  That's pretty normal so shouldn't be flagged - maybe restrict to startswith "Warning:" and contains "clock"?

Something along these lines?
        sta_checks = "runs/wokwi/reports/signoff/30-sta-rcx_nom/multi_corner_sta.checks.rpt"
        with open(os.path.join(self.local_dir, sta_checks)) as f:
            for line in f.readlines():
                if line.startswith("Warning:") and 'clock' in line:
                    warnings.append(line.strip())

Also, any idea where we would find this report in the outputs of OpenLane 2 run?
here's an example of such recent run: https://github.com/TinyTapeout/tt06-dffram-example/actions/runs/8591971841

Looks good.
In OL2 it looks like this is it: runs\wokwi\52-openroad-stapostpnr\nom_tt_025C_1v80\checks.rpt


bages + travis-ci + scrutinizer

To make it work correctly you will need to login and enable service for this repo on https://travis-ci.org and https://scrutinizer-ci.com (with github account)
Added some tranding wrappers for packages like Travis-CI autotests and Scrutinizer code metrics.
Benefits:

badges immidiately show all related to package metrics, so users will see what they are about to use, how many other users use this product and can they trust the code...

while commits and PR it's easy to see status, and check that everything is OK, and nothing would be broken.

Also small tweeks to running tests via composer.
Just close PR if you don't worry about all this.
Thanks.

:+1:
Why so long open?

Hi there! Instead of adding Travis CI, we'll be implementing GitHub Actions for this pull request.


Call trim on email address

What a timesaver this plugin is!
Just had a failure on an email address that had a trailing space, would be nice if it called trim on fields prior to import.
Thanks for building import.
John

I don't think we should. If you want to do this you can use one of the hooks to modify the data before it gets imported.


ONEMPERS-642: stop and hide results with 404 fixed

stop and hide results with 404 after 6 minutes delay - fix:

cache objects marked as markUnevictable(, true) to not remove them from cache
rtRemoteObjectCache.hpp header removed, require installation of all headers from rtRemote

Conflicting, will redo that for latest lgi-main-20220311 (our CI require one change only AFAIK)


Default start and end date background does not update

Hi, thanks for this awesome library but I have small problem
I am using calenderView for picking date range and like your fourth sample.
    private var startDate: LocalDate? = null
    private var endDate: LocalDate? = null

if initially startDate and endDate is null everything works perfectly but when I assign some default value, start and end views's backgrounds are not updated
textView.background = startBackground method runs but nothing happen
    private var startDate: LocalDate? = LocalDate.of(2019, 12, 20)
    private var endDate: LocalDate? = LocalDate.of(2019, 12, 25)

Here is my implementation of calendar. It is similar to sample four
        calendarView.dayBinder = object : DayBinder<DayViewContainer> {
            // Called only when a new container is needed.
            override fun create(view: View) = DayViewContainer(view)

            // Called every time we need to reuse a container.
            override fun bind(container: DayViewContainer, day: CalendarDay) {
                container.day = day
                val textView = container.textView
                val roundBgView = container.roundBgView

                textView.text = null
                textView.background = null
                roundBgView.setInvisible()

                if (day.owner == DayOwner.THIS_MONTH) {
                    textView.text = day.day.toString()

                    if (day.date.isBefore(today)) {
                        textView.setTextColor(ContextCompat.getColor(requireContext(), R.color.color_calendar_day_item_inactive))
                    } else {
                        when {
                            startDate == day.date && endDate == null -> {
                                textView.setTextColor(ContextCompat.getColor(requireContext(), R.color.color_calendar_day_selected_text))
                                roundBgView.setVisible()
                                roundBgView.setBackgroundResource(R.drawable.calendar_single_selected_bg)
                            }
                            day.date == startDate -> {
                                textView.setTextColor(ContextCompat.getColor(requireContext(), R.color.color_calendar_day_selected_text))
                                updateDrawableRadius(textView)
                                textView.background = startBackground
                            }
                            startDate != null && endDate != null && (day.date > startDate && day.date < endDate) -> {
                                textView.setTextColor(ContextCompat.getColor(requireContext(), R.color.color_calendar_day_selected_text))
                                textView.setBackgroundResource(R.drawable.calendar_continuous_selected_bg_middle)
                            }
                            day.date == endDate -> {
                                textView.setTextColor(ContextCompat.getColor(requireContext(), R.color.color_calendar_day_selected_text))
                                updateDrawableRadius(textView)
                                textView.background = endBackground
                            }
                            day.date == today -> {
                                textView.setTextColor(ContextCompat.getColor(requireContext(), R.color.color_calendar_day_item_active))
                                roundBgView.setVisible()
                                roundBgView.setBackgroundResource(R.drawable.calendar_today_bg)
                            }
                            else -> textView.setTextColor(ContextCompat.getColor(requireContext(), R.color.color_calendar_day_item_active))
                        }
                    }
                } else {

                    // This part is to make the coloured selection background continuous
                    // on the blank in and out dates across various months and also on dates(months)
                    // between the start and end dates if the selection spans across multiple months.

                    val startDate = startDate
                    val endDate = endDate
                    if (startDate != null && endDate != null) {
                        // Mimic selection of inDates that are less than the startDate.
                        // Example: When 26 Feb 2019 is startDate and 5 Mar 2019 is endDate,
                        // this makes the inDates in Mar 2019 for 24 & 25 Feb 2019 look selected.
                        if ((day.owner == DayOwner.PREVIOUS_MONTH
                                    && startDate.monthValue == day.date.monthValue
                                    && endDate.monthValue != day.date.monthValue) ||
                            // Mimic selection of outDates that are greater than the endDate.
                            // Example: When 25 Apr 2019 is startDate and 2 May 2019 is endDate,
                            // this makes the outDates in Apr 2019 for 3 & 4 May 2019 look selected.
                            (day.owner == DayOwner.NEXT_MONTH
                                    && startDate.monthValue != day.date.monthValue
                                    && endDate.monthValue == day.date.monthValue) ||

                            // Mimic selection of in and out dates of intermediate
                            // months if the selection spans across multiple months.
                            (startDate < day.date && endDate > day.date
                                    && startDate.monthValue != day.date.monthValue
                                    && endDate.monthValue != day.date.monthValue)
                        ) {
                            textView.setBackgroundResource(R.drawable.calendar_continuous_selected_bg_middle)
                        }
                    }
                }
            }
        }

How can update background with default dates?

Could you tell me how to replicate this issue using example 4 in the sample app? Should be easy for me to debug if I can reproduce it.

This is now fixed in example 4 in the master branch. Take a look.


Send related document info for files that require the file that is requested in pull diagnostics

Let's say I have 2 files in a split:
-- foo/init.luau
require(script.bar).baz()

-- foo/bar.luau
return {
  baz = function() end,
}

comment foo/bar.luau:3
an error is displayed for foo/init.luau:2 because baz does not exist
uncomment foo/bar.luau:3
the error is removed for foo/init.luau

That works on vscode, but it doesn't on neovim, but the hover works properly, when I hover .baz() it displays a type-error which is expected, however; the diagnostic does not appear.
I originally thought that it was a neovim fault, but it doesn't seem to be the case as servers like rust-analyzer or tsserver are working properly in this case.

I imagine this is to do with the fact that neovim and other clients use legacy push-based diagnostics, whilst VSCode uses pull-based diagnostics.
We are most likely not handling push diagnostics properly.

I checked the code and we do have something setup for push diagnostics.
However, it is behind a configuration: do you have either luau-lsp.diagnostics.includeDependents or luau-lsp.diagnostics.workspace enabled? If not, one of those needs to be enabled to propagate diagnostics (the former is more lightweight). If you do, then there is indeed a bug here.

I didn't touch any diagnostics setting, isn't luau-lsp.diagnostics.includeDependents enabled by default? I just tried both settings to true and the issue persists

I had this all wrong.
So neovim does use pull diagnostics, but slightly differently than the way vscode does it. Pull diagnostics essentially means the client requests the diagnostics from the server. The server can respond with diagnostics of the file, and of any "related documents" - in the spec, and the way that luau lsp does it, related documents are typically files the main file requires (importantly, not files that require the main file). The former is much easier to compute than the latter.
I don't know if that's what is actually expected by the spec (https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#relatedFullDocumentDiagnosticReport), or if it is just an example, but everything is technically "working as intended", and this is a feature request rather than a bug.
The reason why vscode "works" and neovim doesn't, is because vscode always does a diagnostic pull for all active opened editors whenever one editor changes. Neovim, however, seems to only request a diagnostic pull from the single editor (buffer?) that was edited, not all open buffers.
If neovim did what vscode did, then it should all work. Luau lsp could provide related document diagnostics for downstream consumers, but that is actually quite an involved change.
Alternatively, if you enable workspace diagnostics I imagine this would resolve too

No, enabling workspace diagnostics takes no effect

Then it will depend when neovim sends the workspace diagnostics request after the edit. You can see this in the LSP logs - after you edit, do you see a workspace diagnostics request (and response?). If you do, and the response doesn't contain the required diagnostics, then that's definitely our problem. If you don't see such a request, that's the client's issue

Was having a look at this, it turns out neither VSCode nor Neovim actually supports the relatedDocuments feature of pull request diagnostics, so even if we do implement this, it won't be used in those editors. Workspace diagnostics are the simplest alternative at the moment.


[CodeCamp2023-516]Add new configuration files for Cylinder3D

Motivation
Add new configuration files for Cylinder3D
Modification
Add one file in mmdet3d/configs/_base_/models called mmdet3d/configs/_base_/models/cylinder3d.py , and two file in mmdet3d/configs/cylinder3d which used to train and test.
Checklist

Passed Pre-commit.
Finished train and test on A4000-16G, only modify train batchsize to 2 as out of memory and epoch to 1.
The logs and epoch is available here:链接：百度网盘提取码：zee2
If there is anything to correct, please tell me.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

LGTM, add a  init.py in mmdet3d/configs/cylinder3d.

LGTM, add a __init__.py in mmdet3d/configs/cylinder3d.

Thanks for the reminder, sir.


[CLI] Add auto-update if non latest version detected at end of flow

This will ensure that all CLIs remain up to date without annoying prompts before users start commands.

Turned off in https://github.com/square/misk-web/commit/ef1324901b89aa1b97ce6a045505d1d0210d0961 because it was running on every command and determines the incorrect current version if unpkg.com caching hasn't invalidated.


Migrate makefiles and CI/CD

ref: https://github.com/cert-manager/makefile-modules/issues/3
Works as-is, but will be better linked with https://github.com/cert-manager/testing/pull/934/files (adds caching, go vendoring and new target names)

/retest

/retest

/retest

/retest

/retest

/retest

/retest

@wallrj I did remove the conditional CRDs from this PR, we will have to fix that later (when we want to use this library with trust-manager).
PTAL, all issues should be resolved now.

/retest

/unhold


epic jetpack move

About the PR

jetpacks now fly on grids!
Why / Balance

because unusable jets in zero gravity environment make no sense
Technical details

i added another check to see if gravitycomponent is enabled. that's it.
Media

https://github.com/space-wizards/space-station-14/assets/113782077/77ae687d-c028-47e2-90bc-013d7a5df966

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

tweak: Jetpacks are now usable on grids.

This been rejected a couple times now

This been rejected a couple times now

what why

#24672

See #24672 and #16056. Also, feature freeze.

See:
#24672
#14565
#16056
I think its one of those ideas that sounds good on paper (and makes logical sense) but is OP once you think about it!

it's also because it fatally errors whenever you turn off your jetpack

now that we have #29009 can it get merged?

or reopened at least


Revert failed attempt to support MacPort's g++

The support will require more work, and postpone for now.
This contributes to #1500, and removes #1474 and #1516.

If you are looking how to build with MacPort's g++, please refer to this comment.


Wrong file marked as primary in 5.0.2 Modrinth release

Hi there! I noticed that Cardinal Components 5.0.2 on Modrinth has cardinal-components-base-5.0.2.jar marked as the primary file—should that be cardinal-components-api-5.0.2.jar instead, as with previous releases? It seems to be causing clients that use Modrinth's API, such as packwiz, to grab the wrong file for most folks downloading it as a dependency.
Thanks for maintaining this!

Fixed, thanks.


Cannot create REST API using Swagger Definition in Integration Studio 8.2.0

Description
Cannot create REST API using Integration Studio 8.2.0
Steps to Reproduce
1.Go to Integration Studio 8.2.0
2.Create an Integration project
3.Try to create a REST API using Swagger definition option. Please create Swagger file using the shared file content. [HelloWorld_swagger.txt]

4.Note that nothing is generated .
5.Please add a forward slash(/) at the end of the server url as below and continue . It can generate the REST API without any issue
servers:
url: https://aci.aero/
NOTE: Please add content attached in txt file for yaml file.
HelloWorld_swagger.txt
Affected Component
Integration Studio
Version
8.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Public fix: https://github.com/wso2/carbon-mediation/pull/1683 has already been merged.


[TextField] Issue

Is the TextField.input not working and what’s the alternative?

TextField.Input part was removed and replaced with Root in 3.0
https://www.radix-ui.com/themes/docs/components/text-field


How long it will take for pretraining the model using A100(80G)?

I roughly remember we rented a 4xA100 for half a week.

got it. Thanks for your feedback.


[TFVC] Add Reconcile command

https://github.com/MicrosoftDocs/azure-devops-docs/issues/1066
https://github.com/MicrosoftDocs/azure-devops-docs/issues/1561

@DmitriyKirakosyan : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @DmitriyKirakosyan - New articles should be submitted in the private repo so that they can benefit from standard quality checks that aren't available in the public repo. It looks like you should have access to the private repo. Would you submit this in a pull request in the private repo? We'll close this PR. Note that the links to msdn are redirecting because MSDN content is no longer available. It'd be best to use the current links instead of relying on redirects in new content. Thanks!
If you need info about working in the private repo, let me know and I'll send it in email.
-Kristine, PR review team

cc @mijacobs

Thanks @ktoliver! I'll do that.


Plasma: prevent spawning fire

Hello.
Fluid Plasma (while placed in world, for example, by overheated reactor) very often spawns fire blocks in the fluid itself and and these blocks very rapidly disappear (because fire can't stay on fluid).
Placing and breaking block (and also updating light, produced by fire) causes update for block/chunk (I hope, you knew this). This behavior of plasma causes such huge lags (especially on client side), so anyone can't play in descent range around this fluid.
Please, remove this behavior from fluid plasma.
If you want some cool or realistic effets - look at such fluids like Pyrotheum and Cryotheum (from Thermal Foundation) and its effects.
Thank you for your work!
/*
MC 1.12.2
Forge 2491
NuclearCraft 2.5a
*/

Good point - I will instead only have fire spawn in air blocks.

Will probably make plasma act a little more like steam to be a little more realistic - hopefully will be much less laggy :)


Add specs for the generator

Generator is not tested yet, using Ammeter can help to cover that:
http://www.alexrothenberg.com/2011/10/10/ammeter-the-way-to-write-specs-for-your-rails-generators.html

see f943ee29a5e77c5e4f80b8a2e0a3a70c42ee4cfe and 9830c37b4608a6ac9adb2d07e1d79377e12cc658 commits


fix: HTML tags not work.

I get an error when surround a html tag.
E5108: Error executing lua .../packer/start/nvim-surround/lua/nvim-surround/buffer.lua:154: attempt to concatenate a nil value

After some tests, it was found that the format of the return value of get_tag was wrong.
So, I simply fixed it.

Thanks for the bug fix!


[Security] Pulsar client uses snakeyaml version and dependent on it libraries that have CVE-2022-1471

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Snakeyaml v1.32 used in jackson.dataformat.yaml, prometheus and direct pulsar dependencies has a security vulnerability described in https://avd.aquasec.com/nvd/cve-2022-1471
Solution
Update prometheus to 0.18.0, jackson libs to 2.15.0 and snakeyaml to 2.0
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

We can see that the branch-2.10 uses the 2.0 version of snakeyaml. Additionally, we can see that this modification is marked for release 2.10.5. What is the tentative release date for 2.10.5 (along with modifications to snakeyaml)?

https://lists.apache.org/thread/vqyth08gll71jv24oyrntl23lqxxdozb 2.10.5 is under voting. You're welcome to test it out and share your test result.
Closed as the issue fixed on the branch.

No. Jackson is not upgraded to 2.15.0 now.


[BUG] X-Forwarded-For containing multiple IPs does not respect inet data type

Describe the bug
When using DJANGO_REST_PASSWORDRESET_IP_ADDRESS_HEADER behind a proxy server, the actual value may contain multiple IPs, separated by a comma, with the first value being the client IP and the last being the last proxy server hit.
In such a scenario, inserting into the DB fails with an error because the data tried to be inserted is not of inet data type. Looking at the code, there is not split attempting to just use the client IP (first value). Alternatively, the model should be changed to not be inet
How to reproduce
Test behind a proxy server
Internal Server Error: /auth/password-reset/
REDACTED  | Traceback (most recent call last):
REDACTED  |   File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
REDACTED  |     return self.cursor.execute(sql, params)
REDACTED  | psycopg2.errors.InvalidTextRepresentation: invalid input syntax for type inet: "82.xx.xx.xx, <IP_ADDRESS>"

By the way, this is also wrong in the docs:

The variable should be DJANGO_REST_PASSWORDRESET_HTTP_USER_AGENT_HEADER


Updating to Chromium 102.0.5005.61

Chromium 102 will be released in some days
https://www.androidpolice.com/google-chrome-releases/#:~:text=Chrome 102 is filled with,stable on May 24%2C 2022.

Please refrain from spamming creating issues for ongoing and/or not yet concluded events.


pipenv is not usable for projects with production-only dependencies

Hi, we're running into some issues that make pipenv (which I really like by the way), unfortunately unusable for us.
The current "dev-packages" and "packages" mechanism, while enough for many simple use cases, does not allow to express dependencies that are only available in production, be it because of system dependencies (e.g. picamera can't be installed on a mac or windows), hardware dependencies (GPU dependencies on a laptop without a GPU), or simply because we do not want that dependency in dev.
I know there are a number of closed issues that relate to this very problem, however I don't think any of them mention packages that are production-only by design. This is a major hurdle and having a separate workflow for production seems to defeat the purpose of a package manager, at least for us.
Any chance a solution might be implemented in the short-term @kennethreitz ?

Thanks @techalchemy for the prompt and very detailed reply.

I'll give a try to the markers right away but it assumes the OS is different between prod and dev (which is luckily almost always the case for us). For the GPU issue, I could see this happening with "tensorflow" and "tensorflow-gpu". We're not having this issue at the moment because we need to build tensorflow tailored to the machine anyway (CPU, GPU, CUDA / cuDNN versions, etc...), but I could see that someone who simply wants to use the prebuilt "tensorflow-gpu" on their inference / training machines and "tensorflow" on their laptop could run into these problems. I'm not looking for a specific answer but that could be helpful if someone finds that post.

A google search redirected me to solutions that were not satisfying. I have no excuse for not seeing the marker example in this page https://docs.pipenv.org/advanced/#specifying-basically-anything

The marker that worked for me was: picamera = { version = "*", markers = "platform_system=='Linux'" }
Closing this ticket, thanks @techalchemy

I am also using tensorflow. Unfortunately, my dev and prod setups both run linux and are separated effectively only by the presence of GPUs. Having read PEP 508, I don't believe there is enough information in the markers language to distinguish these systems.  Is there some other way that future versions of pipenv can select dependencies? Perhaps through a prod-only section, or similar.
e.g.
...
[packages]
foo = "*"

[prod-packages]
tensorflow-gpu = "*"

[dev-packages]
tensorflow = "*"
...

where [prod-packages] are only installed if --dev is missing?


Unable to set Docker build-time variables

Docker provides an ability to specify build-time variables.
https://docs.docker.com/engine/reference/commandline/build/#set-build-time-variables---build-arg

You can use ENV instructions in a Dockerfile to define variable values. These values persist in the built image. However, often persistence is not what you want. Users want to specify variables differently depending on which host they build an image on.
A good example is http_proxy or source versions for pulling intermediate files. The ARG instruction lets Dockerfile authors define values that users can set at build-time using the --build-arg flag

Is there any support for this variables in s2i or any sane workaround to set proxy settings only during the build-time? I don't need this settings when i develop but i must have them set for CI system because it is behind proxy.

An alternative provided by Docker would be to configure docker client(~/.docker/config.json) like so:
       "proxies": {                 "default": {                         "httpProxy": "http://<proxy_host>:8080",                         "httpsProxy": "http://<proxy_host>:8080",                         "noProxy": "localhost"                 }         }
But the problem is that s2i doesn't read any of these when "build" is called.
https://github.com/openshift/source-to-image/blob/2a579ecd66dfaf9ee21bbc860fcde8e4d1d12301/pkg/cmd/cli/cmd/build.go#L112

We have the same issue as well and don't want to pollute the Dockerfile with usernames and passwords particular to specific environments.
Like the "-e" command line option, an "-a" (for ARG) command line option could set the "--build-arg" equivalent to docker build.

Hi,
I favor this feature. To me it looks like a potential security issue also.


Follow googlecartographer/cartographer#1352

@wally-the-cartographer merge

Merge requested by authorized user cschuet. Merge queue now has a length of 1.


silx.gui.hdf5.test.test_hdf5: forgot to add TestH5Item to suite

@vallsv  Locally I have this test failing (not sure if it is related to my changes).
======================================================================
ERROR: testSynchonized (silx.gui.hdf5.test.test_hdf5.TestHdf5TreeModelSignals)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/users/denolf/dev/silx/build/lib.linux-x86_64-3.8/silx/gui/hdf5/test/test_hdf5.py", line 440, in testSynchonized
    self.model.synchronizeH5pyObject(self.h5)
  File "/users/denolf/dev/silx/build/lib.linux-x86_64-3.8/silx/gui/hdf5/Hdf5TreeModel.py", line 613, in synchronizeH5pyObject
    self.synchronizeIndex(qindex)
  File "/users/denolf/dev/silx/build/lib.linux-x86_64-3.8/silx/gui/hdf5/Hdf5TreeModel.py", line 591, in synchronizeIndex
    self.insertFileAsync(filename, index.row(), synchronizingNode=node)
  File "/users/denolf/dev/silx/build/lib.linux-x86_64-3.8/silx/gui/hdf5/Hdf5TreeModel.py", line 679, in insertFileAsync
    qt.silxGlobalThreadPool().start(runnable)
RuntimeError: wrapped C/C++ object of type QThreadPool has been deleted

silxGlobalThreadPool is supposed to be global, so i don't really know how it could be released.

This could be protected even more by using the Qt API to check if the c++ object is still alive.What do you think @vincefn?
But i feel it weird anyway.

Looks weird indeed.
What context do you run the test in (PyQt5/PySide2 version, OS, python version)?
Only reason I can see for it to happen is if someone sets the QThreadPool parent and the parent is destroyed... but from a search in the code it doesn't seems to be the case (and it would fail everywhere).
This case could be prevented by using a subclass of QThreadPool to avoid someone to set the parent, something like:
class _SilxThreadPool(qt.QThreadPool):
    def __init__(self):
        super().__init__()

    def setParent(self, parent):
        if parent is not None:
            raise RuntimeError("Cannot set parent on silx global thread pool")
        else:
            super().setParent(parent)

python run_tests.py silx.gui.hdf5.test.test_hdf5

or
python bootstrap.py -m silx.gui.hdf5.test.test_hdf5

Python 3.8 (inside a venv), PyQt5 on Ubuntu 20.04.1 LTS
(py38) denolf@lindenolf:/home/denolf/dev/silx$ python ci/info_platform.py
Python 64 bits
      maxsize:<PHONE_NUMBER>854775807      maxunicode: 1114111
3.8.5 (default, Sep 15 2020, 11:23:56)
[GCC 9.3.0]

Platform: Linux-5.4.0-48-generic-x86_64-with-glibc2.2.5
- Machine: x86_64

Config: ["'--prefix=/users/denolf/.pyenv/versions/3.8.5' '--enable-shared' '--libdir=/users/denolf/.pyenv/versions/3.8.5/lib' 'LDFLAGS=-L/users/denolf/.pyenv/versions/3.8.5/lib -Wl,-rpath=/users/denolf/.pyenv/versions/3.8.5/lib ' 'CPPFLAGS=-I/users/denolf/.pyenv/versions/3.8.5/include '"]

Numpy 1.19.2
     include /users/denolf/virtualenvs/silx/py38/lib/python3.8/site-packages/numpy/core/include
     options {'edgeitems': 3, 'threshold': 1000, 'floatmode': 'maxprec', 'precision': 8, 'suppress': False, 'linewidth': 75, 'nanstr': 'nan', 'infstr': 'inf', 'sign': '-', 'formatter': None, 'legacy': False}

PyOpenCL platform:
 <pyopencl.Platform 'NVIDIA CUDA' at 0x558b17898240>
   <pyopencl.Device 'Quadro P1000' on 'NVIDIA CUDA' at 0x558b17897dd0> max_workgroup_size is 1024
 <pyopencl.Platform 'Portable Computing Language' at 0x7fe7bd7a0020>
   <pyopencl.Device 'pthread-Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz' on 'Portable Computing Language' at 0x558b1789c590> max_workgroup_size is 4096
Unable to import silx
Qt (from PyQt5): 5.15.1
SIP: 5.4.0

It is not related to you change, I reproduced with current master.

Ok then this can be merged (I forgot to add a test to the suite).


Add Privacy-preserving KYC blog post

This PR adds a reference to blog post section.

Thanks for submitting the PR!


Generate pick list and delivery tags for delivery days

Description
On delivery day, a delivery tag needs to be created with information about packing the delivery box

number of people in household by age ranges
address
Notes for exclusions - like allergies, food exclusions, etc.
QR code for scanning for an approved app to find the details about the delivery

Will address the pick list for orders separate from this issue, closing this one.


[turborepo] hashing is including .gitignored files when inputs are specified

What version of Turborepo are you using?
1.6.3
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Mac
Describe the Bug
When a task has no inputs specified - changes to the package excluding .gitignored files are correctly taken into account.
However, if inputs are specified - and those inputs overlap with anything in .gitignored - the .gitignored files which match the input are taken into account which I believe is not desirable.
For example.. consider this task..
    "build": {
      "inputs": ["**/*.txt"],
    },

with a package that has..
.
├── .gitignore
├── ignored.txt
└── src
    └── include.txt

In this situation - if i modify ignored.txt - there will not be a cache hit and the .gitignored file is taken into consideration.
In most cases - you won't hit an issue because your .gitignored files likely aren't going to change since its most likley cached output BUT there are scenarios where this file does change every build (e.g a file that generates a start/finish timestamp for example).  In this situation a rebuild will always result in a new fingerprint.
Expected Behavior
Inputs should always exclude .gitignored files.  The workaround of adding an exclusion .eg `:!/ignored.txt' does not work.
To Reproduce
An easy way to reproduce is for your build script to just output a random number to the .gitignored file.  Subsequent rebuilds will never cache hit because the .gitignored file is impacting the hash.
Reproduction Repo
No response

This intentional behavior. However, we've now added a microsyntax utility to make it easier to do exactly what you need!: https://turbo.build/blog/turbo-1-12-0#improved-inputs-ergonomics


Re-sorting of changed data

The Grid component saves the current sort in the Redux store. If changed data is passed to the grid component or the grid component is re-instantiated, the data is no longer sorted according to the stored sort. Does the Grid component support re-sorting of the data?

Currently when new data is passed to grid, it just replaces the data set with the new props. Not sure how the API would specify when new data should be resorted in a way that wouldn't feel unintuitive or buggy. One (not exactly ideal) option would be to sort the data before you pass it to the grid.


Pause doesn't work in Houdini/Solaris

It used to, something has regressed.

This is actually an issue with the houdini configuration in USDRenderers.json. The option "allowbackgroundupdate" : false was set. Removing this (Setting to true) fixed the issue.


Make plugins sandbox-agnostic

What problem or use case are you trying to solve?
Right now, CodeActAgent relies on installing some pip packages on the fly (e.g., jupyter) when the sandbox is initialized to work properly. But potentially, it could cause issues with, e.g., containers without Python and containers with different Python versions. Especially considering https://github.com/OpenDevin/OpenDevin/issues/1387
Describe the UX of the solution you'd like
We should make all the plugins or anything opendevin util-related (e.g., agentskills library https://github.com/opendevin/opendevin/pull/1941) that runs inside the sandbox to be sandbox-agnostic.
Do you have thoughts on the technical implementation?

We could potentially compile these python packages / dependencies into single binary that does not need installation and can be quite stable.
@Shimada666 suggests that we can create a OpenDevin-specific Python interpreter (and environment) inside each sandbox - and this is the interpreter that ALL plugins and agentskills uses and should be transparent to the user. We can initially pre-build sandboxes for most programming languages. Later we can provide a streamlined script that would install these plugins and agentskills in an arbitrary given docker images (on the fly, or adds a docker layer).

Describe alternatives you've considered
Additional context

Compiling dependencies into binary files may not be Python's strong suit. A better approach is to use a specific Python environment.
In fact, in the real world, I have done many similar things before. In one instance, I had to deal with a complex environment with different versions of CentOS 6, CentOS 7, and other systems. We needed to run Ansible using Python 3, so we directly embedded a Python 3 on all machines to serve as the Python runtime for Ansible, solving the issue.
Returning to this issue, in the short term, I believe we can use the current sandbox as the base image and then build different versions of language images on top of it, such as Node 18 sandbox, Go 1.20 sandbox, etc., to address most users' needs.
If we need OpenDevin to run on different operating systems, even on older systems like CentOS 6, at a lower cost, we would need to isolate a separate set of runtimes specifically for OpenDevin. I'm not very familiar with Miniforge, but I've heard it might be a good choice. We could consider using Miniforge to build our OpenDevin runtime, install Python 3 in Miniforge, most C library dependencies, and all pip dependencies to address issues with low versions of dependency libraries (glibc, gcc, etc.) in older operating systems, thereby improving the portability of OpenDevin. Essentially, it's similar to what Docker does - isolating a separate runtime environment.
Miniforge also provides us with the possibility to freely combine language runtimes. We can easily use Miniforge to install different language runtimes simultaneously, such as installing Python 3.11 and Node.js 18 at the same time. If this approach works out, I think this could be an ideal choice. We will be able to freely specify any runtime we need in the sandbox.

I think this was fixed by #2101.


Request: Build documentation without starting shell

I would the ability to generate documentation without opening a shell.
Motivation: I would like to cache the documentation in a docker image layer so I do not have to generate it every time I start the container.
Suggestion: A flag that builds documentation without starting the shell. aws-shell --no-prompt ?

Thanks for the suggestion!


[feature-1217][chunjun-connector] DateTime type conversion fails in different modes

DateTime type conversion fails in different modes

Purpose of this pull request

Which issue you fix
Fixes #1217
Checklist:

[x] I have executed the 'mvn spotless:apply' command to format my code.

[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[ ] I have checked my code and corrected any misspellings.
[x] My commit is only one. (If there are multiple commits, you can use 'git squash' to compress multiple commits into one.)

CR @PaddyMelody @yanghuaiGit @ll076110 @chaozwn

In my opinion, this code does not need to be modified. This code works fine in my environment,The mysql DateTime type should correspond to the java.sql.Timestamp. What version of mysql do you have?

My mysql version is 5.7.39-0ubuntu<IP_ADDRESS>-log, I have no problem in local mode, but in YarnSession mode, this kind of problem occurs.


Using an app that uses audio Exclusive Mode on windows causes an infinite amount of errors, only fixed via reset.

Godot version
4.2
System information
Godot v4.2.stable.mono - Windows 10.0.22621 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4090 (NVIDIA; <IP_ADDRESS>84) - AMD Ryzen 7 7700X 8-Core Processor (16 Threads)
Issue description
I use exclusive mode with Tidal in order to give audio controls to my amp, which sometimes does cause errors in some apps (like Unity). However, those errors are either once-and-done, or repairs themselves once I close Tidal. The issue is that Godot shoots hundreds of errors per second and doesn't stop even if the problem is fixed, requiring a restart.
In fact, it generates so many errors, it crashed another game I was playing because it was taking 43gb of RAM from sheer errors. If you don't notice it happening, it can be surprising.

Steps to reproduce

Have Godot opened in a project.
Use an app, like Tidal, with the ability to take Exclusive Mode of your audio source.
Make it take Exclusive Mode and wait a bit for Godot to register it.

Minimal reproduction project
Works on an empty project without audio playing.

Related: #77563


test/k8s: remove unused test manifests and TLS cert/key

Remove test manifests and a TLS cert/key that are unused in CI as of now. See commits for details.

/test

/test-1.16-4.9

/test-1.16-4.9


Feat: Add option in issue form records

Describe the feature
Currently, the lagging issue forms for all buttons could be resolved by including an option for contributors to indicate that they have searched existing issues. This addition would help prevent unintentional creation of duplicate issues.
Add ScreenShots
Something like this ⬇

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@dakshsinghrathore this issue is assigned to you.


mkcloud: support IPMI with libvirt nodes

This adds a BMC interface to the libvirt node definition through QEMU, which allows IPMI kernel drivers to be loaded, thereby letting crowbar discover information about the BMC interface while the node is being joined. The BMC properties (such as its IP address and credentials) are then managed by binding an ipmi_sim instance to a veth pair that connects the BMC interface to the admin network bridge. This will allow us to properly test the IPMI barclamp in CI, and will also be useful for testing the ironic barclamp with production-grade drivers such as pxe_ipmitool.

merged 1st commit. 2nd commit message has typo: s/tern/turn/

rebased it, added one commit to have a default nodenumbertotal value and added a fixup commit for using it again

Squashed the fixup commit, fixed the hard-coded BMC credentials, and made it able to deploy the pacemaker barclamp with ipmi as the stonith device. Still need to work out the networking bits.

Now uses the user-defined network instead of the default one for BMC addresses. The interface network config is read-only so the use_dhcp and ignore_address_suggestions barclamp params have no meaning, that's the next thing to fix.

Added a commit to implement write functionality in the BMC simulator so we can have crowbar actually change the IP address of a BMC. Last thing to do is somehow make the use_dhcp option useful, but that code path in crowbar is actually pretty small so it's not as useful to implement as you might think.

@cmurphy needs a rebase.

@toabctl done

Investigating whether I can replace the ipmi_sim parts with virtualbmc since it would be nice if this could be used to deploy nodes with ironic and I'm running into some incompatibilities with ironic and ipmi_sim (like https://sourceforge.net/p/openipmi/discussion/112995/thread/9135111d/, the fix for which isn't released in Leap yet)

Virtualbmc really doesn't implement enough of the IPMI spec to support crowbar's needs, so it's not worth pursuing here (I'm remembering why I discounted it early on).

Needs a rebase

@rsalevsky done

@dirkmueller fixed

@dirkmueller please rereview or can we dismiss your review?


Can give me Sorce Code of gps.so Plzzzzzz

I need to create more lib for gta sa Android
And tell How to Compile mean which ide use

Give sorce code c++ text file no compile plzzzzzz

Source code is available for all


_WD_Screenshot - better @error handling

Please also take a look on
Func __WD_Base64Decode($input_string)
as the description:
; Return values .: Decoded string
doesn't conatin information about Success/Failure/@error

@mlipok See last commit for some "stylistic" changes I made. Also, need to evaluate if $sResult would be more appropriately named $vResult.
Thoughts?