BypassNGenAttribute needs AttributeTargetsAttribute

@johannesvogel1 commented on Thu Aug 08 2019
The Codesample for the BypassNGenAttribute is not valid, because the AttributeTarget is missing.
namespace System.Runtime
{
[AttributeUsage(AttributeTargets.Method)]
public class BypassNGenAttribute
: Attribute
{
}
}

Dokumentdetails
⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

ID: 085ecaf8-233f-82eb-c564-b05137c899b9
Version Independent ID: e2088737-ec20-b083-0a26-c041003d12dd
Content: Ngen.exe (Native Image Generator)
Content Source: docs/framework/tools/ngen-exe-native-image-generator.md
Product: dotnet-framework
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

@srvbpigh commented on Thu Aug 08 2019
Hello, @johannesvogel1
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

Hi team,
I'm moving this here because the user is reporting an omision in the code sample
best regards

Thanks for moving this issue, @CeciAc. I've opened dotnet/samples#1148 to address it.


feature: add gitattribute file to denote which files should be treated like text for line endings.

reference: https://pablorsk.medium.com/be-a-git-ninja-the-gitattributes-file-e58c07c9e915

example: adding below to .gitattributes file will add line endings to below type of files automatically - something that editorconfig cannot do for conf or properties file.
*.java text
*.conf text
*.properties text


Added gpu node pool automation in terraform

I've launched GPU node pools by running the code. Here are the screenshots of launched node, logs and GPU setup i used for testing (e.g. GPU types).
https://docs.google.com/document/d/1FQB-KWGtcBKcfWUuj7U5E8HMc6gIeVSStqdcltiBBjk/edit?tab=t.0

Why did you add a GPU node pool variable in the TPU training guide?


UI blocker PR for new feature branch

Thread started in #36.

Thanks 👍

If i'm not mistaken, the frame parameter is missing from the method signature
/**
Create a activity indicator view with specified frame, type, color and padding and start animation.
 - parameter frame: view's frame.
 - parameter type: animation type, value of NVActivityIndicatorType enum. Default type is BallSpinFadeLoader.
 - parameter color: color of activity indicator view. Default color is white.
 - parameter padding: view's padding. Default padding is 0.
 */
public func startActivityAnimating(message: String? = default, type: NVActivityIndicatorView.NVActivityIndicatorType? = default, color: UIColor? = default, padding: CGFloat? = default)

Oh that was a typo in the documentation (copied and pasted too much). Instead of frame, it should be:
parameter message: message displayed under the animation

I fixed the documentation as well.

Sad. I did expect to be able to define the frame :) Because the size of the loading view is way to big by default. It would be great to have a parameter to define the loading view size.
I have start some work on it to be able to specify the loader size. Hope to provide a pull request soon

Cool, that's a good idea!
It should probably be with the global defaults since it should remain consistent within the same app and shouldn't change much.


when starting up new Embassy 0.2.x , no sounds, and 4 blinking green lights repeat sequence

Please fill out as much detail as possible:
Plugging in a new embassy 0.2.x, it will not beep on startup, and has a repeating sequence of 4 green lights.
The Red light is on solid and constant.
There are no external hard drives plugged into this unit.

Card was cracked in half.


[vite] server connection lost. polling for restart...

Thanks for this amazing tool!
Describe the bug
Page is always rebooting
[vite] server connection lost. polling for restart...
To Reproduce
Steps to reproduce the behavior:

Install with docker
Change port 9000 to 16000 in docker-compose.yaml
Try to use

Expected behavior
Normal behavior
Screenshots
https://github.com/incentius-foss/WhatTheDuck/assets/5442973/9c583460-5a89-4cd6-b06d-79b46b25e1c3
Desktop (please complete the following information):

OS: Ubuntu 24.04 LTS
Browser: Firefox
Version: 127.0.2

Smartphone (please complete the following information):
N/A
Additional context
N/A

Hi @floviolleau,
It should work I'm not sure may bi 16000 is used somewhere else as well?
Thanks,
Pratik Patel

Hi,
I took randomly 16000. It can be another random one and be configurable.
9000 is already in use on me side so I wanted to easily change it.
Kind regards.

Hi,
I took randomly 16000. It can be another random one and be configurable.
9000 is already in use on me side so I wanted to easily change it.
Kind regards.

Can you change to any other port and see if it works ?


Enable specific version for devspace upgrade

Is your feature request related to a problem?
Lately, the Loft team introduced some new versions with breaking changes on our side due to us leveraging generated.yaml as a file. Due to this issue until we fix it on our side we still want to use an older version. but intuitively our developers are upgrading to latest devspace version whenever there is a new one.
Which solution do you suggest?
Add version arg for devspace upgrade command
Which alternative solutions exist?
Manually download Devspace older version from Github releases
Additional context

/kind feature

@Chrislevi thanks for creating this issue! Yes we can add that, this is also useful if you would want to use a beta prerelease for example

Exactly! thanks for the fast development, I can see its part of 5.8.2 prerelease :)


Null check start and end date

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have checked my code and corrected any misspellings

https://app.shortcut.com/healthie/story/62077/native-mobile-apple-health-data-inserting-nil-data-into-object-crash


Use hostname instead of hardcoded "name" string

Proposal to use hostname instead of hardcoded string to allow for multiple proxies to be created.
In my use case I have multiple proxies: one for redis, another for a mock http server, etc.
With the current implementation, when I try to create the second proxy it fails with a "409 - proxy already exists".
This is because in the "getProxy" method we have the name of the proxy hardcoded to "name".
final Proxy proxy = client.createProxy("name", "<IP_ADDRESS>:" + toxiPort, upstream);
I am not sure if this requires a new test case with two proxies, and since it's the first time I'm contributing to this project I figured it would be better to get some feedback on the change before doing anything big.

Imagine creating multiple proxies for the same host, but different port
On Sat, 23 Mar 2019 at 15:21, worldtiki<EMAIL_ADDRESS>wrote:

@worldtiki commented on this pull request.
In
modules/toxiproxy/src/main/java/org/testcontainers/containers/ToxiproxyContainer.java
https://github.com/testcontainers/testcontainers-java/pull/1335#discussion_r268396308
:

@@ -86,7 +86,7 @@ public ContainerProxy getProxy(String hostname, int port) {
throw new IllegalStateException("Maximum number of proxies exceeded");
}

           final Proxy proxy = client.createProxy("name", "<IP_ADDRESS>:" + toxiPort, upstream);

           final Proxy proxy = client.createProxy(hostname, "<IP_ADDRESS>:" + toxiPort, upstream);

Hi @bsideup https://github.com/bsideup! Thanks for the suggestion.
Happy to accept it, but I'm not quite sure why we would want to have the
port as part of the name. Is the hostname not enough?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/testcontainers/testcontainers-java/pull/1335#discussion_r268396308,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAIit4-a0p4E8o0iJdIwh9bvRsnGdwWks5vZjh2gaJpZM4cE7tI
.

@worldtiki could you please add a test for this change?

Damn, this is a clear bug, sorry. The "name" string is obviously a placeholder that should have taken a proper value.
Thanks for identifying, @worldtiki.

I'll contribute a test to this, in the interests of time.

I've added a simple test - no need for you to add one @worldtiki.

@worldtiki thanks for spotting the bug and implementing the fix! 👍 We will release it today as a hotfix


{sublime4,sublime-merge}: fix updateScript and update dev packages

Description of changes
Running update-source-version with --system flag passes it to nix-build -A $attr.src, which requires that an appropriate builders are set on the system.
It works for me because I have aarch64-linux builder configured but it is broken for other users and r-ryantm.
cc @demin-dmitriy

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 186925 run on x86_64-linux 1

2 packages built:

sublime-merge-dev
sublime4-dev


Update GetHTTP.java

GetHTTP processor can not request GET url like this : "http://tp-restapi.amap.com/gate?sid=30002&serviceKey=5463C4C83002F66F1859812811CF5F4F&resType=json&encode=utf-8&reqData={"city":"510100","dateType":2}". It will throw this error: "Caused by: java.net.URISyntaxException: Illegal character in query at index 120: ". So, I have to change the code to use java.net.url to encode it first. It works and I want to share with you all.
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

You might want to add a unit test to show that your change fixes the problem and to help prevent the problem from reappearing.


Fix l3-dependent L4/L7 rules applying to CIDR egress traffic

Fixes: #3414

test-me-please

test-me-please

test-me-please

L3/L4 checks failed in CI but passed locally. I'm running all of the policies tests locally to see if anything crops up.

test-me-please


Render twig views from a plugin?

Is it possible to load twig views from a plugin. I can't seem to render these views in a theme.
Timber::$dirname = '/wp-content/plugins/custom-plugin/templates';
Can anyone please show me how this might work please?

You can specify a path to a twig file when running the render function. For instance:
Timber::render('path/to/your/template.twig', $context);

You can set additional template locations where Twig should look for template files. I’d load the absolute path to your templates folder in your plugin. The plugin_dir_path function might help. In the main file of your plugin, you could probably use something like the following:
add_action( 'init', function() {
	if ( ! class_exists( 'Timber\Timber' ) {
        return;
	}

    Timber::$locations = plugin_dir_path( __FILE__ ) . 'templates/';
} );

The folder would then be available when you render a view in your theme. The reason I’d add the folder in the plugin and not in the theme is that there’s not an easy way to determine the absolute path to a plugins directory from a theme (or maybe there is, but I couldn’t find one until now).

cc: @ericmikkelsen

For plugin overrides I think you need to list the theme location before the plugin location in Timber::$locations
Cache busting issues can be reported in a separate ticket if still relevant.
Closing this, but please reply if this issue is still relevant for you.


Support "~" to denote the user's home directory in the file chooser

As well as in any file system-aware file choosers.

Fixed by bobbylight/FifeCommon#9.


[type:refactor] added test of requestBody and more other test in SignPluginTest

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

added test of requestBody and more other test in SignPluginTest

Codecov Report

Merging #4281 (b68b451) into master (f1aaa20) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4281      +/-   ##
============================================
- Coverage     68.97%   68.92%   -0.06%
+ Complexity     7335     7332       -3
============================================
  Files           994      994
  Lines         28013    28004       -9
  Branches       2483     2480       -3
============================================
- Hits          19323    19302      -21
- Misses         7213     7222       +9
- Partials       1477     1480       +3

Impacted Files
Coverage Δ

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
68.75% <0.00%> (-31.25%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
21.27% <0.00%> (-6.39%)
:arrow_down:

...he/shenyu/plugin/grpc/client/ShenyuGrpcClient.java
8.00% <0.00%> (-4.00%)
:arrow_down:

...yu/common/dto/convert/rule/Resilience4JHandle.java
71.60% <0.00%> (-3.71%)
:arrow_down:

...he/shenyu/loadbalancer/spi/RandomLoadBalancer.java
87.87% <0.00%> (-3.04%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
52.12% <0.00%> (-1.07%)
:arrow_down:

...rg/apache/shenyu/plugin/hystrix/HystrixPlugin.java
75.86% <0.00%> (-0.81%)
:arrow_down:

...yu/admin/service/impl/PluginHandleServiceImpl.java
75.47% <0.00%> (-0.46%)
:arrow_down:

.../plugin/grpc/loadbalance/AbstractLoadBalancer.java
70.32% <0.00%> (-0.33%)
:arrow_down:

...enyu/plugin/sofa/cache/ApplicationConfigCache.java
69.44% <0.00%> (-0.29%)
:arrow_down:

... and 5 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Consider replacing org.instaslice/ resources with node selectors

InstaSlice needs a mechanism to constrain the scheduler to schedule a pod on the node chosen by InstaSlice for this pod. Currently this is achieved by injecting in the pod spec via webhook a resource request for a unique fake synthetic resource in the format org.instaslice/<uid>. InstaSlice then dynamically adds this synthetic resource to the targeted node capacity once it has made its decision.
Kubernetes permits adding node selectors to gated pods. See for instance here: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-scheduling-readiness/#mutable-pod-scheduling-directives.
Instead of fake resources, we could therefore rely on node selectors to force node selection, alleviating the need for directly mutating the node capacity. The key benefits are:

Replace a stateful mechanism with a stateless mechanism. In particular, we have observed situations where org.instaslice/<uid> resources are not collected as expected. This state also complicates the restart logic.
Replace an asynchronous, high-latency mechanism with a zero-delay mechanism.

This would probably require having the daemonset label the nodes at boot time to support single-node selectors.
We could also consider node affinity as an alternative to node selector, but the more general affinity mechanism does not seem required here.

/cc @sairameshv

/cc @asm582 @mamy-CS

Node selectors with static labels are less flexible than org.instaslice/<uid> resources, because we can control the creation and deletion of these resources. In particular, a pod cannot be scheduled before the resource is created. We may have to label nodes dynamically to achieve the same. However, scheduling gates should be enough to delay the scheduling of a pod, so it should be possible to use static labels. We need to look into this carefully.
One reason to drop org.instaslice/<uid> is for scalability reasons as we may end up with 8x7=56 such resources for node in the cluster. In contrast, labels are per node so less of a scalability issue even if we have to create them dynamically.

Solved by #141


[Bug]: You exceeded your current quota, please check your plan and billing details.

What happened?
use in laravel 9
<?php

namespace App\Http\Controllers;

use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Kambo\Langchain\LLMs\OpenAI;
use Kambo\Langchain\LLMs\OpenAIChat;

class TestController extends Controller
{
    public function webhook(Request $request)
    {
        $llm  = new OpenAIChat([
            'temperature'    => 0.9,
            'openai_api_key' => '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',
        ]);

        $text = "hello";

        echo $llm($text);
        //return response()->json($result, 200)->setEncodingOptions(JSON_UNESCAPED_UNICODE);
    }

}

How to reproduce the bug
not work
notice: You exceeded your current quota, please check your plan and billing details. this is a free account
Package Version
"kambo/langchain": "0.2.0-alpha",
PHP Version
8.2.6
Which operating systems does with happen with?
macOS, Linux
Notes
No response


Inconsistency in the BBB leaderboard

Describe your question.
The BBB_Martins leaderboard reports the top 4 values from Lantern RADR between auroc 0.928 and 0.962. However, based on both the linked paper and the linked github, the values range between 0.903 and 0.915.
I would like to ask why there is a discrepancy? Should the values on TDC's website be updated to reflect the values in the paper?

Hi, yes, the team contacted us regarding some discrepancies, please refer to the linked paper and GitHub versions. we are working on updating it.

HI it is fixed now: https://tdcommons.ai/benchmark/admet_group/07bbb/


Captcha Error

2024-10-21 22:55:43 | INFO     | 530 - Account-0 | Starting to play game...
2024-10-21 22:55:43 | INFO     | 533 - Account-0 | Attempts left: 6
2024-10-21 22:55:45 | INFO     | 581 - Account-0 | Attempt to solve captcha (ship)...
Traceback (most recent call last):
File "C:\Users\Mujjo\Desktop\New folder\moonbix-bot\bot\core\query.py", line 735, in run
await self.play_game(session)
File "C:\Users\Mujjo\Desktop\New folder\moonbix-bot\bot\core\query.py", line 613, in play_game
from bot.core.solver.captcha_solver import solve_captcha
ModuleNotFoundError: No module named 'bot.core.solver.captcha_solver'
2024-10-21 22:55:45 | ERROR    | 748 - Account-0 | Unknown error: No module named 'bot.core.solver.captcha_solver'

USE PYTHON 3.11.5 BRO PLEASE READ BEFORE USE


VS Code Cannot Detect Variables/Functions in other files.

Type: Feature Request

Behaviour
Create a file.py with a new variable foo. Add foo to a new python file2.py, vscode cannot locate foo for automatic imports.
XXX
Steps to reproduce:

Create a file.py with a new variable foo.
Add foo to a new python file2.py, vscode cannot locate (cmd+.) foo for automatic imports.

Diagnostic data

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Extension version: 2024.23.2024121003
VS Code version: Code 1.95.3 (Universal) (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Darwin arm64 23.6.0
Modes:

Thanks for the issue but this is by design at the moment. Variables aren't considered public exports so they're not listed in auto-imports.


bug(replicator): error: insert or update on table "messages" violates foreign key constraint "messages_fid_foreign"

What is the bug?
I have a lot of logs with foreign key contraint errors.
If this is not an error, it would be nice to not show them as error.
How can it be reproduced? (optional)
Fresh replicator sync
Hubble version: 1.10.5 (latest)
replicator version: 0.3.2 (latest)
Delayed queue has 17798 entries

Additional context (optional)
Here are some logs (I extracted between 08:47:24.544 and 09:02:33.491 UTC time). Unicode are already in issue #1753
  15290 Error processing message 0xNNNN (fid XXX): error: unsupported Unicode escape sequence
  15201 Job BackfillFidVerifications XXXXXX failed: unsupported Unicode escape sequence: error: unsupported Unicode escape sequence
   1358 Job ProcessHubEvent XXXXXX failed: or update on table "messages" violates foreign key constraint "messages_fid_foreign": error: insert or update on table "messages" violates foreign key constraint "messages_fid_foreign"
     89 Job ProcessHubEvent XXXXXX failed: unsupported Unicode escape sequence: error: unsupported Unicode escape sequence
      5 Job ProcessHubEvent XXXXXX failed: or update on table "signers" violates foreign key constraint "signers_fid_foreign": error: insert or update on table "signers" violates foreign key constraint "signers_fid_foreign"
      4 Job BackfillFidCasts XXXXXX failed: insert or update on table "messages" violates foreign key constraint "messages_signer_fid_foreign": error: insert or update on table "messages" violates foreign key constraint "messages_signer_fid_foreign"
      2 Job BackfillFidReactions XXXXXX failed: insert or update on table "messages" violates foreign key constraint "messages_signer_fid_foreign": error: insert or update on table "messages" violates foreign key constraint "messages_signer_fid_foreign"
      1 StatsD Error
      1 Job BackfillFidUserData XXXXXX failed: insert or update on table "messages" violates foreign key constraint "messages_signer_fid_foreign": error: insert or update on table "messages" violates foreign key constraint "messages_signer_fid_foreign"

Here is a sample:
[09:02:31.869] ERROR (1): Job ProcessHubEvent 12569693 failed: insert or update on table "messages" violates foreign key constraint "messages_fid_foreign": error: insert or update on table "messages" violates foreign key constraint "messages_fid_foreign"
    at /home/node/app/node_modules/pg/lib/client.js:526:17
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async PostgresConnection.executeQuery (/home/node/app/node_modules/kysely/dist/cjs/dialect/postgres/postgres-driver.js:72:28)
    at async /home/node/app/node_modules/kysely/dist/cjs/query-executor/query-executor-base.js:37:28
    at async #run (/home/node/app/node_modules/kysely/dist/cjs/driver/single-connection-provider.js:27:16)
    at PostgresConnection.executeQuery (/home/node/app/node_modules/kysely/dist/cjs/dialect/postgres/postgres-driver.js:91:69)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/node/app/node_modules/kysely/dist/cjs/query-executor/query-executor-base.js:37:28
    at async #run (/home/node/app/node_modules/kysely/dist/cjs/driver/single-connection-provider.js:27:16)
    at execute (/home/node/app/apps/replicator/build/db.js:129:50)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async storeMessage (/home/node/app/apps/replicator/build/processors/index.js:200:5)
    at async processMessage (/home/node/app/apps/replicator/build/processors/index.js:70:5)
    at async mergeMessage (/home/node/app/apps/replicator/build/processors/index.js:52:5)
    at async /home/node/app/apps/replicator/build/processors/index.js:292:9
    at async /home/node/app/apps/replicator/build/db.js:156:20
    at async /home/node/app/node_modules/kysely/dist/cjs/kysely.js:418:32
    at async DefaultConnectionProvider.provideConnection (/home/node/app/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20)
    at async executeTx (/home/node/app/apps/replicator/build/db.js:155:16)
insert into
  "messages" (
    "created_at",
    "updated_at",
    "fid",
    "type",
    "timestamp",
    "hash",
    "hash_scheme",
    "signature",
    "signature_scheme",
    "signer",
    "raw",
    "deleted_at",
    "pruned_at",
    "revoked_at",
    "body"
  )
values
  (
    '2024-02-29T09:02:31.859Z',
    '2024-02-29T09:02:31.859Z',
    375308,
    5,
    '2024-02-29T09:01:28.000Z',
    '\x6870e114e697e0f8b44ba6c316ecd8c4cf60b9d4',
    1,
    '\xad36b6c0106f0757933f3d79934b5fd53cee0d835bd8381aff0763a9be5fd7ff5c7a8aff0fe605aa7d33e9025069ea4af0e284cebc44de115491513095a64a0b',
    1,
    '\x38b3b05dedba61704724b8e1a3e78bf034b8463d49731f85a7b14d2806fd7a16',
    '\x0a1b0805108cf41618e8c3c72f2001720c0a06666f6c6c6f7718e9f51612146870e114e697e0f8b44ba6c316ecd8c4cf60b9d418012240ad36b6c0106f0757933f3d79934b5fd53cee0d835bd8381aff0763a9be5fd7ff5c7a8aff0fe605aa7d33e9025069ea4af0e284cebc44de115491513095a64a0b2801322038b3b05dedba61704724b8e1a3e78bf034b8463d49731f85a7b14d2806fd7a16',
    null,
    null,
    null,
    '{"type":"follow","targetFid":375529}'
  )
on conflict ("hash") do
update
set
  "updated_at" = '2024-02-29T09:02:31.859Z',
  "signature" = "excluded"."signature",
  "signature_scheme" = "excluded"."signature_scheme",
  "signer" = "excluded"."signer",
  "deleted_at" = null,
  "pruned_at" = null,
  "revoked_at" = null
where
  (
    "excluded"."signature" != "messages"."signature"
    or "excluded"."signature_scheme" != "messages"."signature_scheme"
    or "excluded"."signer" != "messages"."signer"
    or "excluded"."deleted_at" is distinct from "messages"."deleted_at"
    or "excluded"."pruned_at" is distinct from "messages"."pruned_at"
    or "excluded"."revoked_at" is distinct from "messages"."revoked_at"
  )
returning
  "hash",
  "updated_at",
  "created_at"
    at executeTx (/home/node/app/apps/replicator/build/db.js:161:50)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async processMergeMessageHubEvent (/home/node/app/apps/replicator/build/processors/index.js:291:5)
    at async processHubEvent (/home/node/app/apps/replicator/build/processors/index.js:250:13)
    at async Object.run (/home/node/app/apps/replicator/build/jobs/processHubEvent.js:11:9)
    at async /home/node/app/node_modules/bullmq/dist/cjs/classes/child-processor.js:69:33

Linked: #1696, #1556.
Seems solvable by simple constraints removal.

I would say that if constraints are not respected, something odd happened. Removing constraint just remove control of data integrity.
I resynced from scratch my db.
I still have theses errors about constraints.
looking at this constraint:
constraint messages_fid_foreign
            references public.fids
            on delete cascade

It means that every message should have a corresponding fid in the fids table.
These message events are missing a fid in the database.
If I remove the constraint, I would have inconsistencies on joins between messages and other tables.

I would say that if constraints are not respected, something odd happened. Removing constraint just remove control of data integrity.
I resynced from scratch my db.
I still have theses errors about constraints.
looking at this constraint:
constraint messages_fid_foreign
            references public.fids
            on delete cascade

It means that every message should have a corresponding fid in the fids table. These message events are missing a fid in the database. If I remove the constraint, I would have inconsistencies on joins between messages and other tables.

Indeed, I still experience same issue 3rd time (syncing from scratch as well) and agree that the linked issues provide rather a workaround and do not solve the actual problem.

One of the reasons we have some inconsistencies can be https://github.com/farcasterxyz/hub-monorepo/pull/1809

Calling out that this comment might help shed some light on what is being observed here. Appreciate your patience as we work through identifying a path forward.

Closing as we recommend using the Shuttle project instead of the old replicator (which has multiple issues).


Sometimes superhero is blocking page loading

https://support.mozilla.org/en-US/kb/warning-unresponsive-script#w_other-causes

Reopening, as this still occurs from time to time.


Add Cascadia Code font

Adding a new Cascade Code font: https://github.com/microsoft/cascadia-code.

Hey @cyntler — unfortunately, Carbon is no longer accepting new core fonts. If you want to use Cascadia code, please upload a custom font when using the app.


Fixing links to ghcr

Looks like the GH container registry links changed, and linkinator has been complaining about that. This PR fixes those.
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)
[x] Any necessary documentation is added, such as:

README.md
The docs/ directory
The docs repo

Fixes #

Still looks like it's impossible to access the GH Container Registry pages for all KEDA containers if you're not logged in.

@tomkerkhove I have skipped checks on the https://ghcr.io links to the interceptor, operator and scaler in this PR, since they don't seem to be accessible without being logged into GitHub. Let me know if you figure out a fix for that.


Native & Ergo-based testing for Accord Project templates

We are currently using chai/mocha for testing with tests written in JavaScript.
We should provide instead an Ergo-based testing infrastructure for portability and to allow template developers who write in Ergo, but are not JavaScript developers, to contribute.
Testing might also benefit from a "Behaviour Driven Development" approach. e.g., through something like https://docs.cucumber.io

There is now a Cucumber-based testing framework for Cicero. This makes the test specification language-independent.


Create Test Plan

There are a lot of create unit / integration tests in this project, but I should at least create a test plan for the most basic workflow. Just in case.

Test Plan
That's crazy. Even the most basic use cases are a lot to test for every release. Maybe even multiple times.
And it doesn't even contain a check for the preferences.
So now that the most basic test plan is finished, find a way to automate it:  #39
Automate Test Plan


Fix resolv.conf and hosts handling in sandbox

Two issues:

container resolv.conf getting regenerated even when no dns configs are passed
updateHosts should be skipped for host networking mode
incorrect check on dnsOptions

Signed-off-by: Alessandro Boch<EMAIL_ADDRESS>

LGTM

Thanks @aboch. LGTM


Native Rust Bindings

It would be great to see a Native Rust binding

https://github.com/JayKickliter/traildb-rs

this is great @syepes ! I believe @knutin was testing this. He may have more comments.

Yes, I have a fork of those bindings in a branch at https://github.com/knutin/traildb-rs which is has some bug fixes and support for multi cursors. I'm still polishing, but I think the project is now pretty complete for my use case.
Maybe we could eventually move this under the traildb org?

Yes, we could move it under the Traildb org if the original author(s) are ok with it.
Could you implement the basic example from the tutorial http://traildb.io/docs/tutorial/#part-i-create-a-simple-traildb and include it in examples/. I noticed there's a version of the Wikipedia sessions already, which is great.

Here's the basic example: https://github.com/knutin/traildb-rs/blob/misc-improvements/examples/simple.rs
I asked the original author his opinion on brining the project under the TrailDB organisation.

Original author gave thumbs up. How do we best do this?

I forked  https://github.com/knutin/traildb-rs/ to https://github.com/traildb/traildb-rs. Can we rename this to traildb-rust to follow the naming policy for bindings?


Filter by Video/Photos on main screen

Describe the enhancement you'd like
A clear and concise description of what you want to happen.
Add the hability to display only videos/photos (filtering).
Describe why this will benefit the LibrePhotos
A clear and concise explanation on why this will make LibrePhotos better.
Better organisation.
Additional context
Add any other context or screenshots about the enhancement request here.

#1051


Bug fix typo

Trying to merge

Changed footer from 2022 XYZ, Inc to 2021 XYZ, Inc.

alkasen:bug-fix-typo

#8301

bug-fix-typo

bug-fix-typo

bug-fix-typo

bug-fix-revert


Frames fixes, features, and more precision when enqueuing DVU

This PR does the following:
Add precision to which values need to rerun when upserting/orphaning components by caching the state of inferred connections and only rerunning what has been deleted/added/changed

When changes are made to a component tree, we now correctly capture the initial, in-between (in the case of upsert), and final state of the tree in terms of all of the various inferred connections.
Based on the deltas of state as we make changes to the tree, we calculate which input sockets have new/different/changed inferred connections to output sockets and enqueue them in DVU (forcing them to rerun)
For example, with a deep-ish nested tree, if you orphan a frame in the middle, the tree is split into two, and we need to walk both trees to find what needs to be rerun, as the orphaned frame might have had children that were taking inputs from an ancestor above the direct parent/child connection that was severed
Got schooled/saved by @nickgerace on some rust

Fix bug with nested propagation through up frames

We were incorrectly failing to proceed down to an up-frame's children if we're looking for which input sockets a given down frame is driving
For example, if a Down Frame -contains-> Up Frame -contains-> Component and the Component is taking a value from the Down Frame, when you change that value on the Down Frame, we were never finding the Component and you'd get left with stale data

Enable up frames to take inputs from parent down frames

When discussing with @keeb - this is highly desired and comes up a lot as you rarely have an Up Frame without a Down Frame in its ancestry
This enables, for example, a VPC Up Frame inside of a Region/Credential to infer the region/credential values, where previously we were not looking and forced the user to draw edges
This follows the same general intent as before - if there's ambiguity (for example, the VPC Up Frame is in a Region Down Frame, and also has a Region Component inside of it) - we don't infer any connection and force the user to resolve by drawing an edge

Adds some telemetry that was useful while figuring this out

connecting child/parent spans in Pinga/DVU so we see more of a connected waterfall in Honeycomb/Grafana
Adding workspace and changeset ids to DVU jobs (to make it easier to query by when debugging specific issues)

Tests!

Add a test for the new functionality for up frames
Add a test to increase confidence that we're handling nested frames correctly on orphaning

via grantkoltoons on GIPHY

bors try

bors merge


Fix typo

@jackcook, thanks for your PR! By analyzing the blame information on this pull request, we identified @ProbablePrime to be a potential reviewer


Version number and build date on site

We should add somewhere on site version number and build date, to let everyone (especially testers) to know which version they are using.
That will prevent from testing not deployed yet features.

We have to remember to change it also here.
https://github.com/DivanteLtd/vue-storefront/blob/8978d68f8ea0303207cca58750e06ad120a8138f/core/app.ts#L68

Lerna is updating package.json with curent version number when publishing to npm - I believe we should take it from there

yes, exactly version should be from package.json
also build date is very useful for final testing issues on develop, because there is no version change then


Convert services unit tests to the new pattern

Description
With #1377 / #1577 , there's a new standardized way to do epics unit async testing.
We should convert the services (path, monitoring) tests to use this new pattern. Check #1614 for the new flow. We should also convert the generic unit raiden.spec.ts on this issue.
New ensure* fixtures functions may be needed to ensure some common state.
Acceptance criteria

path.spec.ts is converted to the new tests fixtures
monitor.spec.ts is converted to the new tests fixtures
raiden.spec.ts is converted to the new tests fixtures

raiden.spec.ts was done a part of https://github.com/raiden-network/light-client/pull/1714#issuecomment-645091638


Package version creation fails when not specifying versionName

Summary
If creating a new package and the package does not have the versionName parameter in sfdx-project.json you get thrown an error.
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc

Create a new package using sfdx force:package:beta:create -n campaign -r campaign -t Unlocked -v myhuborg
Ensure to remove the versionName parameter from sfdx-project.json file so that it looks like follows:

    {
      "path": "campaign",
      "package": "campaign",
      "versionNumber": "0.1.0.NEXT",
      "default": false,
      "versionDescription": ""
    },

Try to create new version of the campaign package using sfdx force:package:beta:version:create -p campaign -w 20 -x -v myhuborg

Expected result
Package version successfully created
Actual result
You get the following bug:
sfdx force:package:beta:version:create -p campaign -w 20 -x -v myhuborg -f config/project-scratch-def.json --skipvalidation
Warning: The "force package beta version create" command has been deprecated. Use "package version create" instead.
Warning: The "--skipvalidation" flag has been deprecated. Use "--skip-validation" instead.
Error: Converting circular structure to JSON
    --> starting at object with constructor 'Timeout'
    |     property '_idlePrev' -> object with constructor 'TimersList'
    --- property '_idleNext' closes the circle
Version create.... done

System Information
- Which shell/terminal are you using? (e.g. bash, zsh, powershell 5, powershell 7, cmd.exe, etc.)
{
  "cliVersion": "sfdx-cli/7.186.2",
  "architecture": "darwin-x64",
  "nodeVersion": "node-v18.13.0",
  "pluginVersions": [
    "@dxatscale/sfpowerscripts 20.2.11 (user)",
    "@eon-com/eon-sfdx 1.9.4 (user)",
    "@oclif/plugin-autocomplete 1.4.2 (core)",
    "@oclif/plugin-commands 2.2.4 (core)",
    "@oclif/plugin-help 5.2.1 (core)",
    "@oclif/plugin-not-found 2.3.17 (core)",
    "@oclif/plugin-plugins 2.2.4 (core)",
    "@oclif/plugin-search 0.0.11 (core)",
    "@oclif/plugin-update 3.1.0 (core)",
    "@oclif/plugin-version 1.2.1 (core)",
    "@oclif/plugin-warn-if-update-available 2.0.23 (core)",
    "@oclif/plugin-which 2.2.9 (core)",
    "1commerce 0.0.10 (user)",
    "alias 2.1.19 (core)",
    "apex 1.4.3 (core)",
    "auth 2.3.12 (core)",
    "community 2.1.5 (core)",
    "config 1.4.23 (core)",
    "custom-metadata 2.0.16 (core)",
    "data 2.1.22 (core)",
    "generator 2.0.17 (core)",
    "info 2.3.5 (core)",
    "limits 2.2.3 (core)",
    "org 2.2.24 (core)",
    "packaging 1.12.4 (core)",
    "schema 2.2.3 (core)",
    "signups 1.2.12 (core)",
    "source 2.3.16 (core)",
    "telemetry 2.0.7 (core)",
    "templates 55.2.3 (core)",
    "trust 2.3.0 (core)",
    "user 2.2.1 (core)",
    "@salesforce/sfdx-plugin-lwc-test 1.0.1 (core)",
    "salesforce-alm 54.8.5 (core)",
    "sfdmu 4.26.2 (user)",
    "sfpowerkit 6.0.1 (user)"
  ],
  "osVersion": "Darwin 21.6.0",
  "shell": "zsh",
  "rootPath": "/Users/user/.local/share/sfdx/client/7.186.2-b2fe485"
}

Additional information
I got this issue first on 7.186.0, and I still have it on 7.186.1 & 7.186.2
The bug also occurs regardless of utilizing the sfdx force:package:version:create, sfdx force:package:beta:version:create or sfdx package version create commands

@shetzel @petter-eikeland
Hey guys, a little help from me in debugging:

the issue happens because the flag targethuborg or target-hub-org includes the objects that fail to serialize.
delete warnOptions.targethuborg added before this line resolves the issue. Tested locally.

Example of the targethuborg's content:
  targethuborg: Org {
    status: 'UNKNOWN',
    options: { aliasOrUsername: 'cw_prod', isDevHub: true },
    logger: Logger {
      logRotationPeriod: '1d',
      logRotationCount: 2,
      debugEnabled: false,
      uncaughtExceptionHandler: [Function (anonymous)],
      exitHandler: [Function (anonymous)],
      format: 0,
      bunyan: [Logger]
    },
    configAggregator: ConfigAggregator {
      envVars: {},
      localConfig: [Config],
      globalConfig: [Config],
      allowedProperties: [Array]
    },
    connection: Connection {
      _events: [Object: null prototype] {},
      _eventsCount: 0,
      _maxListeners: undefined,
      version: '56.0',
      loginUrl: 'https://login.salesforce.com',
      instanceUrl: '<redacted>',
      accessToken: '<redacted>',
      refreshToken: undefined,
      userInfo: undefined,
      limitInfo: [Object],
      oauth2: [OAuth2],
      sobjects: {},
      cache: [Cache],
      _callOptions: [Object],
      _maxRequest: 10,
      _logger: [Logger],
      _logLevel: undefined,
      _transport: Transport {},
      _sessionType: 'oauth2',
      _refreshDelegate: [SessionRefreshDelegate],
      'describe$': [Function],
      'describe$$': [Function],
      describeSObject: [Function],
      'describeSObject$': [Function],
      'describeSObject$$': [Function],
      'describeGlobal$': [Function],
      'describeGlobal$$': [Function],
      insert: [AsyncFunction: create],
      delete: [AsyncFunction: destroy],
      del: [AsyncFunction: destroy],
      process: [Process],
      describe: [Function],
      describeGlobal: [Function],
      analytics: [Getter],
      apex: [Getter],
      bulk: [Getter],
      bulk2: [Getter],
      chatter: [Getter],
      metadata: [Getter],
      soap: [Getter],
      streaming: [Getter],
      tooling: [Getter],
      hasResolved: false,
      options: [Object],
      username<EMAIL_ADDRESS>      logger: [Logger],
      maxApiVersion: '56.0',
      [Symbol(kCapture)]: false
    }

Thanks @PalGenadich and @petter-eikeland.  I don't think the warn options are interesting enough to log so I just removed them.  Should be in the next RC created (tomorrow).

Is it possible that there is a regression in 7.194.1? I'm still seeing this bug:
sfdx-cli/7.194.1 linux-x64 node-v18.13.0
Successfully authorized ******** with org ID 00D40000000Mw0SEAS
jwt grant succeeded to hub org

> create-scratch-org
> sfdx force:org:create -v HubOrg -s -f config/project-scratch-def.json -a ciorg -d 1 --wait 60

Error (1): Converting circular structure to JSON
    --> starting at object with constructor 'Timeout'
    |     property '_idlePrev' -> object with constructor 'TimersList'
    --- property '_idleNext' closes the circle


Never call -(void)dealloc?

Here it is:

It shows this line  [strongWebView stringByEvaluatingJavaScriptFromString:javascriptCommand]; use much memory.
Besides,if I connect UIWebView to bridge like:
    _bridge = [WebViewJavascriptBridge bridgeForWebView:_webView webViewDelegate:self handler:^(id data, WVJBResponseCallback responseCallback) {

    }];

it'll never call -(void)dealloc
but if I remove those code ,it will.
Do you know what's wrong with it? Thanks.

Your js call native handler that not exist ？
see pull request #179


Invalid index error

I cloned this repo this morn, set the variables in tfvars, and got a few Invalid index errors when I ran terraform plan.
My TF version is 0.12.13.
I hadn't seen these errors last week with the same repo and TF version! What might the issue be?
Error: Invalid index

  on modules\oke\nodepools.tf line 26, in resource "oci_containerengine_node_pool" "nodepools":
  26:   node_image_id = var.node_pools.node_pool_image_id == "NONE" ? data.oci_core_images.latest_images[count.index].images[0].id : var.node_pools.node_pool_image_id
    |----------------
    | count.index is 0
    | data.oci_core_images.latest_images is tuple with 1 element

The given key does not identify an element in this collection value.

Error: Invalid index

  on modules\policies\locals.tf line 10, in locals:
  10:   policy_statement = "Allow dynamic-group ${oci_identity_dynamic_group.oke-kms-cluster[0].name} to use keys in compartment ${var.oci_identity.compartment_name} where target.key.id = '${var.oke_kms.key_id}'"
    |----------------
    | oci_identity_dynamic_group.oke-kms-cluster is empty tuple

The given key does not identify an element in this collection value.

Error: Invalid index

  on modules\base\bastion\outputs.tf line 9, in output "bastion_instance_principal_group_name":
   9:   value = oci_identity_dynamic_group.bastion_instance_principal[0].name
    |----------------
    | oci_identity_dynamic_group.bastion_instance_principal is empty tuple

The given key does not identify an element in this collection value.

Ok, I've been able to reproduce this. Change your node_pool_os_version to "7.7" for the time being. A fix is coming

Ok, I've been able to reproduce this. Change your node_pool_os_version to "7.7" for the time being. A fix is coming

Thanks! After I made that change, the data.oci_core_images.latest_images is tuple with 1 element error doesn't occur.

For the oci_identity_dynamic_group.oke-kms-cluster is empty tuple error, I tried setting statements in modules/policies/policies.tf explicitly to ["Allow dynamic-group ${oci_identity_dynamic_group.oke-kms-cluster[0].name} to use keys in compartment ${var.oci_identity.compartment_name} where target.key.id = '${var.oke_kms.key_id}'"]instead of pointing it tolocal.policy_statement`, and the error went away.

And the last error oci_identity_dynamic_group.bastion_instance_principal is empty tuple occurs only when enable_instance_principal = false in tfvars. It appears that the output bastion_instance_principal_group_name in modules\base\bastion\outputs.tf needs to be conditionalized to depend on enable_instance_principal setting.

there's a fix for these in #92. but not tested yet by @narendradotg who reported it.
Can you please try it and see if that fixes it? see in #85 for how to test

fixed in #107


operator<< for geometry primitives in JSON format for debug purposes

Status
READY
Description
I added operator<< to the following primitives and collections:

Sphere & SphereCollection
Cylinder & CylinderCollection
Plane & PlaneCollection
Triangle & TriangleMesh

The output format is JSON which is also used within the node.
Type of Change

[ ] bug fix
[x] new features
[ ] documentation
[ ] other

How to test the PR
To test the output add something like
std::cout << cylinders << "\n";

to the test_cylinders test cases.
Checklist

[x] I have run the provided clang-format
[x] I have reviewed my code and commented if necessary
[ ] I have added the appropriate documentation
[ ] I have added tests to my new code
[x] All tests pass locally

Added debug output to BlazertScene, Ray and RayHit
next: add them to the corresponding EmbreeObjects

This is ready to be merged now. I have added output operators for the embree primitives as well.


Can you post the code?

Hi,
Can I use it as an alternative to Akaze?
Best Regards

The inference code will be release within this week, as detailed in this thread.
It will depend on the application. If the task is to calculate the relative pose between two images offline, then yes. If what you have in mind is a real-time SLAM system, it will take some engineering effort to 1) make LoFTR inference faster (currently at 116ms) 2) appropriately handle the large number of key point tracks across multiple images. We will also release more info about how to integrate LoFTR into a SfM pipeline in the future.


admin: add API for creating chunked handlers

Commit Message: The admin handler structure uses a single callback that is expected to fill in the entire response body, making it impossible to stream data out as it is generated. This PR refactors the internal admin structures to require a Handler object with a nextChunk method, to enable chunking. It defers to other PRs to

actually convert any handlers to use chunking (e.g. https://github.com/envoyproxy/envoy/pull/19693)
implement proper flow control in the AdminFilter to avoid generating chunks before clients are ready to receive them (https://github.com/envoyproxy/envoy/pull/19898)
Additional Description:
Risk Level: medium -- this is a pure refactor but not a trivial one. The same exact admin content should be generated before/after this change
Testing: //test/...
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

@krajshiva FYI

Thanks -- that's right on all counts and I'll clean up the comments in the next PR.
I think the next PR is working but I can't prove it yet; I think I need a test using HttpAsyncHandler or something.


nixos: fix bad mkEnableOption descriptions

Description of changes
Fix descriptions that don't account for (1) the "Whether to enable"
prefix or (2) the automatically added trailing dot.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Merging in 2 days, unless someone beats me to it.


Add support for batch user creation with passwords

Description

Add support for batch user creation with passwords

Must

[X] Tests
[X] Documentation (if applicable)

Need another review


Enable python3 support

This should enable python 3 support for the project.

@nir0s is there anything I can do to get these changes merged?

@nir0s Any feedback on this? Thanks again.


[Messages] Create message UI components

Figma link:
https://www.figma.com/file/JPcD0ljV8yyfLBnzkiqMVc/Flutter-UI-Component?node-id=140%3A42163&t=pVZdo6TCWYtyqXgK-1

I am interested in working on this.

can u assign me this issue

Sorry, but I have already started working on it.
On Thu, Feb 16, 2023 at 9:02 PM Pooja Prajapati @.***>
wrote:

can u assign me this issue
—
Reply to this email directly, view it on GitHub
https://github.com/Clueless-Community/flutter-ui-components/issues/82#issuecomment-1433275909,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATHB5KLWETDXZ6K55SBFGV3WXZCAVANCNFSM6AAAAAAUTP65QE
.
You are receiving this because you were assigned.Message ID:
@.***>


Support settind standard input for debugging

I'd like a feature like at ideone.com whereby standard input can be set and reused non-interactively whenever the code is run. Currently I work around it by creating a file and reading from it instead. But it requires very different code which is a disadvantage particularly when the finished programme is supposed to operate on standard input.

What debugger are you using?

Node.js. But this issue isn't language specific. I would likely need this functionality too when writing C#, Haskell or Python.


Driver Api Key Validation

[x] I have read and agree to the contributing guidelines.

Describe the issue
Missing API keys show up in logs/errors as timeouts/retries that require an interruption to proceed.
Describe the solution you'd like
Could we surface a "missing api key" error that halts the script execution?
Additional context
from griptape.structures import Agent
agent = Agent()
agent.run('What are the colors of the rainbow?')

Results in:
[12/17/24 09:47:05] INFO     PromptTask 688ec1b7830f4d6ebf2df8310b5c41e6
                             Input: What are the colors of the rainbow?
WARNING:root:<RetryCallState<PHONE_NUMBER>: attempt #1; slept for 0.0; last result: failed (OpenAIError The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable)>
WARNING:root:<RetryCallState<PHONE_NUMBER>: attempt #2; slept for 2.0; last result: failed (OpenAIError The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable)>
WARNING:root:<RetryCallState<PHONE_NUMBER>: attempt #3; slept for 4.0; last result: failed (OpenAIError The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable)>

...<interrupted>

Related to #1439, I wonder if the solution here is to just fail faster?

I think failing faster would be great - but also, it'd be nice to fail with a clear message. for some reason this:
WARNING:root:<RetryCallState<PHONE_NUMBER>: attempt #1; slept for 0.0; last result: failed (OpenAIError The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable)>

is really hard to read for users. I get lots of messages where people go "Your stuff is broken!" but when I look at the logs I see this message all over the place.
I wonder if we could clean up the message a bit.. even:
WARNING:root:IMPORTANT: OpenAI API key is missing or invalid. Set it by passing `api_key` to the client or defining `OPENAI_API_KEY` as an environment variable. Error Details: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

or if we want to get fancy..
WARNING:root:
  IMPORTANT: OpenAI API key is missing or invalid.
  To resolve this issue, set the API key by:
    1. Passing `api_key` to the client explicitly, OR
    2. Setting the `OPENAI_API_KEY` environment variable.

  Error Details: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable

Roger all that!


[BEAM-2377] Allow usage of scala 2.11 dependencies as well as cross compilation for flink runner

Flink allows being built against scala 2.11. But the Flink Runner did
not.
This commit alleviates that, as well as allowing for ensuring that
builds work against scala 2.11 dependencies for flink. It introduces a
flink.scala.version mvn property that is set to 2.10 as a default, as well as
a mvn profile that overrides the flink scala version to 2.11.
It would be nice if you could cross publish the flink runner for
scala-2.11 based on this pull request.

Coverage increased (+0.01%) to 70.7% when pulling 3e2564d65fb371abd0caf663785faee4f1f73120 on neurolabs:master into 27dd7a9e43d21ce5820473908bedf094c2dd29d9 on apache:master.

build fails in sdks/java/io/hadoop/jdk1.8-tests due to dependency issue. Investigating.

Cleaned up the pull request, there were unexplainable dependency problems with enabling cross compilation for spark/scala-2.11, so I removed that. My itch is scratched with support for flink-runner/scala-2.11.

R: @davorbonaci @aljoscha

@davorbonaci I commented on https://issues.apache.org/jira/browse/BEAM-2377. I'm wondering how we should integrate this with the snapshot release process and the actual release process.

@davorbonaci What do you think we should do for integrating different Scala versions into the release process? Create a new nightly snapshot Jenkins job that also deploys Scala 2.11 builds? And for actual releases we probably have to update the release instructions or do you think it's possible to automate this?

If Flink users choose a Scala version first and then a corresponding Flink version, I would very much like to support the Beam FlinkRunner working simply for these users. How is this done for Flink?

With Flink you have to use the right dependencies for your Scala version, i.e. with Scala 2.10 you would have flink-streaming-java_2.10 and with Scala 2.11 you would have flink-streaming-java_2.11. It is very unfortunate that our Scala dependency is shining through here and at some point we might be able to resolve that. But not now.

What I see as an open question is how releases would work. We use maven-release-plugin which does the publishing to maven, creating the release tag and updating the branch. If we want to release for several Scala versions we would have to do this several times, maybe? But only for the publishing-maven-artifacts part.

@neurolabs I'd like to finally merge this, however, I switched the roles of 2.10 and 2.11 in my local branch and I'd like it to merge like this. I amended your commit. Would that be ok for you?

Sure, go ahead.

@neurolabs Thanks for working on this! 😃

(And thanks @aljoscha for helping and pushing it across the finish line, despite the lack of response/action from me -- much appreciated.)

Jenkins presubmit runs are failing with the following error:

[EnvInject] - Variables injected successfully.
Parsing POMs
Downloaded artifact http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom
ERROR: Failed to parse POMs
java.io.IOException: remote file operation failed: /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_MavenInstall@2 at hudson.remoting.Channel@7b1b4155:beam7: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.apache.beam:beam-runners-flink_2.10:jar is missing. @ line 68, column 21
[WARNING] 'artifactId' contains an expression but should be a constant. @ org.apache.beam:beam-runners-flink_${flink.scala.version}:2.2.0-SNAPSHOT<EMAIL_ADDRESS>line 29, column 15

	at hudson.FilePath.act(FilePath.java:993)
	at hudson.FilePath.act(FilePath.java:975)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:985)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:690)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
	at hudson.model.Run.execute(Run.java:1735)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:405)
Caused by: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[...]

https://builds.apache.org/job/beam_PreCommit_Java_MavenInstall/14503/console
I would like to propose reverting this change to unblock presubmits and development at head.


Bootstrap 4 and navbar data-live-search="true" does not go to the search field

Here's is a demo of the problem:
The navbar select doesn't work but the body's select yes:
[]https://plnkr.co/edit/aIGT2Bj9LllhXoYr5QUq?p=preview

$(fieldSearch).on('shown.bs.select', () => {
            // add focus on input
            $('button[data-id=' + fieldSearchId + '] + div input').focus();
        });


[Automation] Generate Fluent Lite from communication#package-2020-08-20

[Automation] Generate Fluent Lite from communication#package-2020-08-20

service broken sable api-version, so re-release is beta


az login should not select the default subscription

Currently, az login chooses the first enabled subscription as the default subscription:
https://github.com/Azure/azure-cli/blob/e8efb791ea2f0ba5e4f172b26f75725fd8aa8079/src/azure-cli-core/azure/cli/core/_profile.py#L500-L502
The list and its item order returned by Tenants - List and Subscriptions - List can change, so the first/default subscription selected by az login can change. Without explicitly specifying the subscription, the user may accidentally perform operations on a wrong subscription. For example:

Running az group delete on a wrong subscription can cause production environment destruction.
Running az role assignment create can lead to permission leak.

Proposal
az login should not select the default subscription. In order to select the default subscription, one can

Run az account set
Run az login with --subscription (https://github.com/Azure/azure-cli/issues/14933)

See: IcM 418947258
Originally posted by @jiasli in https://github.com/Azure/azure-cli/issues/14933#issuecomment-1752567021

Thank you for opening this issue, we will look into it.

Running az role assignment create can lead to permission leak.

Even though #24753 has been solved by #27651 which now stops defaulting --scope to the default subscription, one can still use the current subscription to construct a scope:
$ sub=$(az account show --query id --output tsv)
$ echo /subscriptions/$sub
/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590

I would recommend using the az config set facility to set a default value such that az login can set it's default sub without requiring adding the --subscription <subscription> on every login.
Something like az config set defaults.subscription=00000000-0000-0000-0000-00000000 or az config set defaults.subscription=My-Default-Subscription
If that default subscription doesn't exist (or is invalid), an error is thrown by the az login command letting the user know explicitly that the subscription being used is stored in the config file and how to change/update it.


Can't update whois record

I can't update the whois information for deshawaroffice.com. I've been able to assign tags to the record but when I attempt to edit, I get "Failed to update":

For what it's worth, here is the information I am trying to add.
Domain Name: deshawaroffice.com
Registry Domain ID:<PHONE_NUMBER>_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.godaddy.com
Registrar URL: http://www.godaddy.com
Updated Date: 2019-03-14T11:56:22Z
Creation Date: 2019-03-14T11:56:21Z
Registrar Registration Expiration Date: 2020-03-14T11:56:21Z
Registrar: GoDaddy.com, LLC
Registrar IANA ID: 146
Registrar Abuse Contact Email<EMAIL_ADDRESS>Registrar Abuse Contact Phone: +1.4806242505
Domain Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited
Domain Status: clientUpdateProhibited http://www.icann.org/epp#clientUpdateProhibited
Domain Status: clientRenewProhibited http://www.icann.org/epp#clientRenewProhibited
Domain Status: clientDeleteProhibited http://www.icann.org/epp#clientDeleteProhibited
Registry Registrant ID: Not Available From Registry
Registrant Name: Registration Private
Registrant Organization: Domains By Proxy, LLC
Registrant Street: DomainsByProxy.com
Registrant Street: 14455 N. Hayden Road
Registrant City: Scottsdale
Registrant State/Province: Arizona
Registrant Postal Code: 85260
Registrant Country: US
Registrant Phone: +1.4806242599
Registrant Phone Ext:
Registrant Fax: +1.4806242598
Registrant Fax Ext:
Registrant Email<EMAIL_ADDRESS>Registry Admin ID: Not Available From Registry
Admin Name: Registration Private
Admin Organization: Domains By Proxy, LLC
Admin Street: DomainsByProxy.com
Admin Street: 14455 N. Hayden Road
Admin City: Scottsdale
Admin State/Province: Arizona
Admin Postal Code: 85260
Admin Country: US
Admin Phone: +1.4806242599
Admin Phone Ext:
Admin Fax: +1.4806242598
Admin Fax Ext:
Admin Email<EMAIL_ADDRESS>Registry Tech ID: Not Available From Registry
Tech Name: Registration Private
Tech Organization: Domains By Proxy, LLC
Tech Street: DomainsByProxy.com
Tech Street: 14455 N. Hayden Road
Tech City: Scottsdale
Tech State/Province: Arizona
Tech Postal Code: 85260
Tech Country: US
Tech Phone: +1.4806242599
Tech Phone Ext:
Tech Fax: +1.4806242598
Tech Fax Ext:
Tech Email<EMAIL_ADDRESS>Name Server: BEAU.NS.CLOUDFLARE.COM
Name Server: SARA.NS.CLOUDFLARE.COM
DNSSEC: unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
>>> Last update of WHOIS database: 2019-08-04T12:00:00Z <<<

For what it's worth, I was able to update top10tobuy.in just now, in the very same browser tab.

Needs some console poking from @Undo1 - prod log doesn't show anything, because the error gets caught.

Potentially due to there being two copies of that domain in MS. I also get an error when trying to edit duplicate domains locally.
Tasks to resolve:

[ ] We should be displaying full errors in the flash
[ ] We shouldn't have any duplicate domains, should we? There are only 8 currently. If I'm correct and we shouldn't have duplicates, @Undo1 would you mind manually de-duplicating?
[ ] Then we can add a unique index to avoid that happening again (I assume it's a result of a race condition, since there are so few and the IDs are so close).


bugfix: fix sql exception with postgresql in module console

[x] I have registered the PR changes.

Ⅰ. Describe what this PR did
Fix the sql exception, because in postgresql, sql statement like select count(1) ... order by ... is not supported.
Ⅱ. Does this pull request fix one issue?

fixes #4658
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #4661 (b97f5e8) into develop (959bd90) will decrease coverage by 0.39%.
The diff coverage is 50.00%.

@@              Coverage Diff              @@
##             develop    #4661      +/-   ##
=============================================
- Coverage      49.03%   48.63%   -0.40%
+ Complexity      4056     4044      -12
=============================================
  Files            734      734
  Lines          25577    25581       +4
  Branches        3156     3157       +1
=============================================
- Hits           12542    12442     -100
- Misses         11699    11804     +105
+ Partials        1336     1335       -1

Impacted Files
Coverage Δ

...n/src/main/java/io/seata/common/util/PageUtil.java
50.00% <50.00%> (ø)

...java/io/seata/server/metrics/MeterIdConstants.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/io/seata/server/metrics/MetricsSubscriber.java
14.78% <0.00%> (-14.79%)
:arrow_down:

.../java/io/seata/server/coordinator/DefaultCore.java
45.78% <0.00%> (-4.82%)
:arrow_down:

...o/seata/server/coordinator/DefaultCoordinator.java
44.48% <0.00%> (-4.49%)
:arrow_down:

...in/java/io/seata/server/session/GlobalSession.java
80.62% <0.00%> (-1.56%)
:arrow_down:

...io/seata/core/rpc/netty/AbstractNettyRemoting.java
12.98% <0.00%> (-1.30%)
:arrow_down:

...tasource/sql/struct/cache/MysqlTableMetaCache.java
78.88% <0.00%> (-1.12%)
:arrow_down:

...very/registry/zk/ZookeeperRegisterServiceImpl.java
61.02% <0.00%> (-0.74%)
:arrow_down:

...torage/file/store/FileTransactionStoreManager.java
56.77% <0.00%> (ø)

... and 3 more

@YSF-A  Please move the change log to the following:

https://github.com/seata/seata/blob/develop/changes/en-us/develop.md
https://github.com/seata/seata/blob/develop/changes/zh-cn/develop.md


Synchronising authorisations between the beacon and the T staking contract

Authorizations can be changed at various times and the sortition pool may be locked. Add data structures and functions for handling some of these cases by queuing updates when the pool is locked and processing the queue automatically when later updates are made.

Replaced by https://github.com/keep-network/keep-core/pull/2903.


all notebooks running with required changes for v0.10.0rc0

The example as committed to master has an incomplete requirements and installation procedure for it to run without errors. This commit is intended to enhance the example for all notebooks so it is compatible with the v0.10.0rc0 release of tensorflow.

used dtype=np.float32 on linspaces
enhanced requirements file
added installation instructions

Hope this helps.

That didn't happen to me when I ran pip install -r requirements.txt. what
is in the pr is exactly what was needed to get the example to work in a
virtualenv. The order matters also.
On Oct 15, 2016 04:26, "mouradmourafiq"<EMAIL_ADDRESS>wrote:

@mouradmourafiq commented on this pull request.
In requirements.txt
https://github.com/mouradmourafiq/tensorflow-lstm-regression/pull/13#pullrequestreview-4370879
:

@@ -1,4 +1,57 @@
+Jinja2==2.8

I think that we don't need to change the requirement file. All these
changes get installed automatically as they are just dependencies of the
required packages pandas, tensorflow, matplotlib and jupyter.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mouradmourafiq/tensorflow-lstm-regression/pull/13#pullrequestreview-4370879,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAY5LiT-EBR2q_E3PuhuGDKJAXs21L1nks5q0LhVgaJpZM4KXWk_
.

I just tried again, the correct requirements.txt should only contain these packages:
scipy==0.18.1
pandas==0.18.1
tensorflow==0.10.0rc0
matplotlib==1.5.1
jupyter==1.0.0
scikit-learn==0.18

I will try and report back.
On Oct 16, 2016 06:03, "mouradmourafiq"<EMAIL_ADDRESS>wrote:

I just tried again, the correct requirements.txt should only contain these
packages:
scipy==0.18.1
pandas==0.18.1
tensorflow==0.10.0rc0
matplotlib==1.5.1
jupyter==1.0.0
scikit-learn==0.18
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mouradmourafiq/tensorflow-lstm-regression/pull/13#issuecomment-254045640,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAY5Lmm1lRG7xxKefidfxiARR2R3VFvcks5q0iCSgaJpZM4KXWk_
.

@claytantor Thank you very much.


[BUG] Azure App Configuration client library for .NET Doc error

In Azure App Configuration client library for .NET document, example about how to delete a key value is described as following,
"
string connectionString = <connection_string>;
var client = new ConfigurationClient(connectionString);
var setting = new ConfigurationSetting("some_key", "some_value");
client.Set(setting);
ConfigurationSetting setting = client.Delete("some_key");
"
(https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/appconfiguration/Azure.ApplicationModel.Configuration#delete-a-configuration-setting)
But in code, the client delete action will return a Azure Response instead of ConfigurationSetting.
(https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/appconfiguration/Azure.ApplicationModel.Configuration/src/ConfigurationClient.cs#L455)

Fixed.


Post inheritance

[Originally proposed in this thread on hugo-discuss.]
This is a suggestion for a feature similar to archetypes. With this (so far nameless) feature, it would be possible to define a skeleton content file for a particular type. The frontmatter in this file would be inherited by any content of that type (though it would be possible to override any of the inherited variables).
The impetus behind this feature is to allow the writer to define in the skeleton file any variables that often have the same value so that they don't have to re-specify them in any piece of content where they'd just be left as default. For example, if the "post" type has a taxonomy of "tags," and the template to display these tags assumes that they are defined, the writer must write "tags = []" (or equivalent) for any post which doesn't have any tags. With this feature, they could simply put that declaration in the skeleton file.

I thought this was what content types were for. Now I realise I was wrong.
One might argue that being able to define content types in some way like you suggested would actually be more useful than having archetypes. In a lean world, archetypes could be dispensed with to keep things simple.
The difference is that archetypes are used only when the content is first created.  The content then diverges from its archetype as it gets edited.  Conversely, first-class content types would possibly have an impact for the entire lifetime of each post.  For example, if the content type defines some tags and a post does not override them, then the tags would change on the post if ever the content type were changed.

It would be handy to define that a theme level. That way if I ever updated my theme to add a new front matter variable, I wouldn't have to go back through all the prior .md files just to add in the default.

+1 for the use with the variables used by the theme

I'm skeptical that themes are the right place for this. Aren't themes meant
to specify general visual layout, not site hierarchy? I mean, they do some
of the latter, but I feel like (at least for me), when you use a theme you
use it primarily for the visuals.
On Fri, Feb 13, 2015 at 3:14 PM, Rasmus Stougaard<EMAIL_ADDRESS>wrote:

+1 for the use with the variables used by the theme
—
Reply to this email directly or view it on GitHub
https://github.com/spf13/hugo/issues/414#issuecomment-74319203.

@synful I agree. It would be a shame to muddle the conceptual model of Hugo.

I have a similar idea that the issue description with an additional twist.
Lets assume you have a "blog" section with a "posts" directory in it. The actual blog posts will be placed into the "blog/posts" directory for example: "blog/posts/some-content.md". Now, if you don't specify the type attribute in the some-content.md file then the type will be "blog" so the section name will be inherited, but lets assume you want to use the "blog_post" type here. The problem is, that if you want to use the same specific type under "blog/posts" you will have to specify the type attribute in every markdown file. So what I would like to say is that it would be very helpful if the some-content.md file could inherit not just regular attributes but even the type itself. I think the most straightforward way to do this would be to check the nearest _index.html file in the "ancestor directories". For example if there would be an _index.html file in "blog/posts/_index.html" that could specific a type attribute ("blog_post"), and every descendant content would inherit this attribute.


Simplify Judge class

Codecov Report

Merging #180 into master will decrease coverage by 0.06%.
The diff coverage is 80%.

@@            Coverage Diff            @@
##           master    #180      +/-   ##
=========================================
- Coverage   85.86%   85.8%   -0.07%
=========================================
  Files          57      57
  Lines        3162    3155       -7
=========================================
- Hits         2715    2707       -8
- Misses        447     448       +1

Impacted Files
Coverage Δ

atcodertools/tools/compiler.py
53.33% <0%> (ø)
:arrow_up:

atcodertools/tools/models/metadata.py
94.87% <100%> (ø)
:arrow_up:

atcodertools/common/judgetype.py
87.65% <100%> (-0.77%)
:arrow_down:

atcodertools/tools/setter.py
70.31% <50%> (ø)
:arrow_up:

atcodertools/executils/run_program.py
37.24% <75%> (+2.93%)
:arrow_up:

atcodertools/tools/tester.py
81.08% <81.81%> (-0.54%)
:arrow_down:

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 9ccab88...eb844a4. Read the comment docs.


directory_indexes generate duplicated content in Google Console

Hi,
I activated :directory_indexes for my website.
So now a site is reachable under:
/foo/index.html and
/foo
So this is bad for some SEO reasons and Google Console shows me that I have duplicated content on my page.
Therefore I created a robots.txt to prevent google from indexing the .html pages.
User-Agent: *
Allow: /

User-Agent: *
Disallow: /*/index.html$

User-Agent: *
Disallow: /index.html$

Still some analytics tools tell me that is considered as duplicated content and I should use
<meta name="robots" content="noindex">
Any suggestions or advice.
Best Manuel

You could use canonical URLs (https://support.google.com/webmasters/answer/139066?visit_id=1-636401750649320547-4089590398&hl=en&rd=1)
Add this in your template (change domain to suit your situation)
<link rel="canonical" href="https://www.yoursite.com/<%= current_page.destination_path.gsub('index.html','') %>"/>

thanks @eemi that helped me a lot.
In this post also found a different solution: https://forum.middlemanapp.com/t/when-making-dynamic-pages-with-local-data-is-it-possible-to-add-dynamic-content-to-the-frontmatter/1231/13
I added to config.rb
set :url_root, 'https://www.example.de'
and I added to my header:
<link href="<%= config.url_root %><%= current_page.url %>" rel="canonical" />
Best Manuel


Migrate out of Codacy

Codacy has multiple issues:

their assessment of pull requests is not reliable as their detection of new and closed issues tends to issues that are unrelated to the changes
the assessment takes quite a long time: codacy-bot generally comments on pull requests a long time after the PR is opened, which generates unwelcome notifications.
I haven't managed to turn off the spurious issues that are not useful to us
code coverage is not taken into account in the PR assessment, and is poorly displayed in the codacy UI (if at all)
they tend to have a fairly aggressive marketing and send out a lot of emails, the last one signalling me that they would stop OpenRefine's analysis if I don't log in to Codacy in a few days.

I propose that we migrate to a different service, focused on test coverage, such as Coveralls (which I know works well from other projects) or Codecov (which has an interesting diff coverage view).

Super big +1 and for the same reasons you gave.
There is also Sonarqube itself, which we use at Ericsson. And its available FREE for Open Source Projects in a hosted cloud platform that already integrates with Github with 1 click setup ... https://sonarcloud.io/about
You could try all 3 and then pick the one you most prefer... I am fine with any (since they all use the same backend plugins and db for Java/Javascript projects - cve, findsecbugs, etc.) So the only difference is in features and preferences.

I've deleted the Codacy account...as well as deleted the Webhook from our Github org settings.


DCOS-56352 refactor: groups data-layer

Removed the filter argument from the groups query in favor of filters on
the result stream for groups that have quota.
I introduced QuotaUtil and moved the new has QuotaLimit functions,
existing getQuotaLimit function and extracted code from the quota
resolver to the populateResourcesFromRole function. I did this to groups
quota related functions and easily unit test all of these functions.
I created groupHasQuotaLimit and quotaHasLimit as separate functions
so that the same logic could be used by the Overview component and the
resolver even though they were operating on related but different types.

Closes DCOS-56352

Testing

Start localhost and login.
Update your Config.dev.ts

uiConfiguration: {
...
  features: {
    quota: true
  }
},
  useFixtures: true,
  ...

Go to services page and open the quota tab.
Verify only group with quota limits shown

Trade-offs
I'm not crazy about all of the util function names, but I tried to make them relevant in context.
populateResourcesFromRole mutates the given ServiceGroupQuota object when returning it. I could of made a copy but it seemed like a waste. But I could easily be talked into changing that.
Dependencies
N/A
Screenshots

N/A

@TattdCodeMonkey , what do you mean with "Verify only group with quota limits shown"? I see 4 groups.

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


Replaced katdal with katpoint and added API section

You can go ahead and merge on your last day :-)


Ensure state is resolved before firing pickFiles onComplete callback

Describe your changes

Updates returned value of useRegisterBindings to be the value in state
Updates usePickFiles to invoke callback only when state is updated

Screenshots [Optional]
Issue ticket number and link
Closes #129
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have added tests

fyi @anserwaseem


TP2000-169 The edit measures journey doesn't support adding measure conditions

A draft to show a general idea of approach for adding conditions to a measure via measure edit form.
You can see a summary of the UI changes here  but basically I'm trying to add a conditions field to the bottom of the measure edit form accordion. This field should look almost identical to the form in conditions step of the MeasureCreateWizard and have the same logic for adding or removing conditions.
So far I've been able to display the formset as per the design and populate it with the correct initial data, but having issues extracting the data. I have two problems that I think might have related solutions:

The add or remove buttons trigger the measure edit form submit and formset validation is being skipped, with the result that the logic in measures.forms FormSet.is_valid() isn't triggered and the whole measure edit form is submitted when I just want to add or remove a form from the conditions formset.

When the measure edit form is submitted (either by the save button or by pressing add or remove, as mentioned above) I can see the correct conditions data, but it is being submitted as part of the whole measure edit form.data dict. Ideally I would be able to extract it as a list of dictionaries, in the same way that I pass in initial data to begin with.

I thought that using inline formset factory might offer me some out of the box help with this, as I think it's designed to solve a similar problem, but haven't been able to get it working with that either.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3aa23ae). Click here to learn what that means.
The diff coverage is 65.71%.

@@            Coverage Diff            @@
##             master     #524   +/-   ##
=========================================
  Coverage          ?   92.51%
=========================================
  Files             ?      301
  Lines             ?    18679
  Branches          ?     1505
=========================================
  Hits              ?    17280
  Misses            ?     1108
  Partials          ?      291

Impacted Files
Coverage Δ

measures/views.py
88.23% <40.00%> (ø)

common/views.py
78.97% <60.00%> (ø)

measures/forms.py
82.49% <67.30%> (ø)

measures/patterns.py
91.26% <100.00%> (ø)

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 3aa23ae...1600e81. Read the comment docs.


Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
HTTPS Corrected URLs

Was
Now

http://arstechnica.co.uk/security/2016/02/the-nsas-skynet-program-may-be-killing-thousands-of-innocent-people/
https://arstechnica.co.uk/security/2016/02/the-nsas-skynet-program-may-be-killing-thousands-of-innocent-people/

http://cacm.acm.org/blogs/blog-cacm/169199-data-science-workflow-overview-and-challenges/fulltext
https://cacm.acm.org/blogs/blog-cacm/169199-data-science-workflow-overview-and-challenges/fulltext

http://creativecommons.org/licenses/by/4.0/
https://creativecommons.org/licenses/by/4.0/

http://datascience.stackexchange.com/
https://datascience.stackexchange.com/

http://fivethirtyeight.blogs.nytimes.com/fivethirtyeights-2012-forecast/
https://fivethirtyeight.blogs.nytimes.com/fivethirtyeights-2012-forecast/

http://jvns.ca/blog/2014/06/19/machine-learning-isnt-kaggle-competitions
https://jvns.ca/blog/2014/06/19/machine-learning-isnt-kaggle-competitions

http://rayli.net/blog/data/coursera-machine-learning-review/
https://rayli.net/blog/data/coursera-machine-learning-review/

http://sebastianraschka.com/faq/docs/ml-curriculum.html
https://sebastianraschka.com/faq/docs/ml-curriculum.html

http://simplystatistics.org/2014/05/22/10-things-statistics-taught-us-about-big-data-analysis/
https://simplystatistics.org/2014/05/22/10-things-statistics-taught-us-about-big-data-analysis/

http://softwareengineeringdaily.com/2015/11/17/machine-learning-and-technical-debt-with-d-sculley/
https://softwareengineeringdaily.com/2015/11/17/machine-learning-and-technical-debt-with-d-sculley/

http://stats.stackexchange.com/questions/29713/what-is-covariance-in-plain-language
https://stats.stackexchange.com/questions/29713/what-is-covariance-in-plain-language

http://stats.stackexchange.com/questions/tagged/machine-learning?sort=frequent&pageSize=15
https://stats.stackexchange.com/questions/tagged/machine-learning?sort=frequent&pageSize=15

http://trendct.org/2016/08/05/real-world-data-cleanup-with-python-and-pandas/
https://trendct.org/2016/08/05/real-world-data-cleanup-with-python-and-pandas/

http://www.datascienceweekly.org/data-science-resources/data-science-moocs
https://www.datascienceweekly.org/data-science-resources/data-science-moocs

http://www.datascienceweekly.org/data-science-resources/the-big-list-of-data-science-resources
https://www.datascienceweekly.org/data-science-resources/the-big-list-of-data-science-resources

http://www.forbes.com/sites/anthonykosner/2013/12/29/why-is-machine-learning-cs-229-the-most-popular-course-at-stanford/
https://www.forbes.com/sites/anthonykosner/2013/12/29/why-is-machine-learning-cs-229-the-most-popular-course-at-stanford/

http://www.kaggle.com/competitions
https://www.kaggle.com/competitions

http://www.tamr.com/landing-pages/getting-data-right/
https://www.tamr.com/landing-pages/getting-data-right/

http://www.tensorflow.org/
https://www.tensorflow.org/

Other Corrected URLs

Was
Now

http://c2.com/cgi/wiki?DoSimpleThings
http://wiki.c2.com/?DoSimpleThings

http://conda.pydata.org/docs/_downloads/conda-pip-virtualenv-translator.html
https://conda.io/docs/_downloads/conda-pip-virtualenv-translator.html

http://nbviewer.ipython.org/github/ClickSecurity/data_hacking/blob/master/dga_detection/DGA_Domain_Detection.ipynb
http://nbviewer.jupyter.org/github/ClickSecurity/data_hacking/blob/master/dga_detection/DGA_Domain_Detection.ipynb

http://nbviewer.ipython.org/github/ClickSecurity/data_hacking/blob/master/java_classification/java_classification.ipynb
http://nbviewer.jupyter.org/github/ClickSecurity/data_hacking/blob/master/java_classification/java_classification.ipynb

http://nbviewer.ipython.org/github/ClickSecurity/data_hacking/blob/master/sql_injection/sql_injection.ipynb
http://nbviewer.jupyter.org/github/ClickSecurity/data_hacking/blob/master/sql_injection/sql_injection.ipynb

http://nbviewer.ipython.org/github/jmsteinw/Notebooks/blob/master/IndeedJobs.ipynb
http://nbviewer.jupyter.org/github/jmsteinw/Notebooks/blob/master/IndeedJobs.ipynb

http://nbviewer.ipython.org/github/ogrisel/notebooks/blob/master/Labeled Faces in the Wild recognition.ipynb
http://nbviewer.jupyter.org/github/ogrisel/notebooks/blob/master/Labeled Faces in the Wild recognition.ipynb

http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/things_in_pandas.ipynb
http://nbviewer.jupyter.org/github/rasbt/python_reference/blob/master/tutorials/things_in_pandas.ipynb

http://www.jacksimpson.co/materials-for-learning-machine-learning/
http://jacksimpson.co/materials-for-learning-machine-learning/

https://docs.google.com/document/d/1YN6BVdReNAYc8B0fjQ84yzDflqmeEPj7S0Xc-9_26R0/
https://docs.google.com/document/d/1YN6BVdReNAYc8B0fjQ84yzDflqmeEPj7S0Xc-9_26R0/edit

https://drive.google.com/folderview?id=0ByIrJAE4KMTtaGhRcXkxNHhmY2M
https://drive.google.com/drive/folders/0ByIrJAE4KMTtaGhRcXkxNHhmY2M

https://medium.com/machine-learnings/a-humans-guide-to-machine-learning-e179f43b67a0
https://machinelearnings.co/a-humans-guide-to-machine-learning-e179f43b67a0

https://www.coursera.org/specializations/jhudatascience
https://www.coursera.org/specializations/jhu-data-science

@ReadmeCritic Is there a way to get this to fire again on-demand? I missed the initial notification but the automated changes seem very nifty, would like to ensure it's up to date

no there is no automatic way to launch this.. sorry

for this pull request, is there a problem ? pls let me know

@ReadmeCritic Well the Travis CI is failing on this PR... This Travis CI is using awesome_bot to check the links, I remember that both awesome_bot and @ReadmeCritic are by @dkhamsing 😄 so just wondering which thing takes precedence. But, looking at the failure, it's actually just 1 URL that is failing, and it's not due to this PR. I know what to do now, thanks!

I fixed that one issue in master, did a little revision there too, and accidentally caused a merge conflict. But it's easy to resolve! So I'll do that now. Thanks again.


Added "feels".

Small changes in the sv lang...

Warnings

:warning:

Please include an updated CHANGELOG.md file.This way we can keep track of all the contributions.

  Generated by :no_entry_sign: dangerJS

hi @el97 as @atiris states there is an missing comma in your translation change. If you fix this and add an updated CHANGELOG I can merge your PR.
Thanks,

Please send a new PR to the develop branch.

you need to add it manually to the changelog file


Change tracking of entity, selected with conditional expression

Why ChangeTracker ignores changes of entity seleted this way?
var withUser = true;
var result = (from connection in _db.Connections
	 join user in _db.Users  on connection.UserId equals user.Id
	  select new
	  {
		  Connection = connection,
		  User = withUser ? user : null
	  })
	.FirstOrDefault();

result.User.Name = "123";
//_db.ChangeTracker.HasChanges() == false
result.Connection.Name = "123";
//_db.ChangeTracker.HasChanges() == true

Further technical details
Database Provider: ("Pomelo.EntityFrameworkCore.MySql": "1.1.0")

We think there is already an issue tracking this. @anpete to find the issue and close this as a dupe

Duplicate of #5008


File Conflicts

@Akash-Ramjyothi We are sorry to inform that the commits you made regarding the resolving conflicts have reverted due to technical issues.  We hope you can redo them, please take your time.

@Surveillance-NWB @Kavyapriyakp Please review, I have resolved the commit.

Appreciate the efforts! There are readme conflicts again from the PR #1 .  Kindly resolve them.
Please note that commits to the original readme will only be done by the admin, unless and until assigned to you.


flutter create --template=plugin now include objc unit test

Caveat
Because example dir is generated from the same app template, flutter create --template=app now will create a group with missing files
 . It does not break flutter build ios though, Xcode just won't be able to run unit test
Usage
Similar to https://github.com/flutter/plugins/pull/1036, this can be run both in XCode

and command line
xcodebuild \
  -scheme Runner \
  -workspace Runner.xcworkspace \
  -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES \
  -destination 'platform=iOS Simulator,name=iPhone 6' \
  -enableCodeCoverage YES \
  test

Sibling of #26456 (dart unit test)

This seems like a reasonable thing to do, but it should really have some kind of test (typically tests for this would verify that invoking a template would create expected files).  Can you add some tests for it so we can do a full review?

/cc @amirh @cyanglaz - you might find this interesting

@collinjackson

@truongsinh are you interested in continuing with this PR?

@zanderso unfortunately I can't have enough time to continue on this now. Moreover, Flutter recently change from ObjC to Swift as the default language for plugin, and a lot has changed since.

@amirh @collinjackson Would this test still be useful? If so it sounds like we'll have to find someone else to pick up this PR.

@cyanglaz is working on first-party plugin iOS tests at the moment.


Fix group_name from not existing ENV being wrongly interpreted

Fix failing smashbox test on drone -> https://drone.int.owncloud.com/qa/smashbox/26/429

Please provide a PR for the build branch as well, thanks.


image previewer doesn't work on https://clowder2.software-dev.ncsa.cloud/

To reproduce:
upload an image file and watch what happens
you can also manually submit a few files

Heartbeat is able to register this extractor
Messages are not consistent:

sometimes it cannot connected to message queue
other times it tries to write to metadata endpoint
there are error messages about

$ 2023-08-03 21:02:57 Started processing.$ 2023-08-03 21:02:57 (#1) Expecting value: line 1 column 1 (char 0)$ 2023-08-03 21:03:03 Started processing.$ 2023-08-03 21:03:03 (#2) Expecting value: line 1 column 1 (char 0)
--

it stuck in the resubmit loop

$ 2023-08-04 10:04:25 Uploaded thumbnail of type png
$ 2023-08-04 10:34:26 Downloading file.
$ 2023-08-04 10:34:27 Uploaded thumbnail of type png
$ 2023-08-04 10:34:27 Uploading file preview.
$ 2023-08-04 10:34:26 Started processing.

resolved in #440 . solution is to use internal network "http://clowder2-backedn:80" as api_host; otherwise there are network/proxy issue with multipart/form upload


Your API Key: cmwnv4027DeE92

Your API Key: cmwnv4027DeE92

Your API Key: cmwnv4027DeE92

You may want to hide this

gsuite.google.com 2.pdf

JEWC Gold Billionaire club


Support more options when running containers

I'd like to run containers requiring a more interesting set of arguments. For example, OpenShift Origin:
docker run -d --name "origin" \
        --privileged --pid=host --net=host \
        -v /:/rootfs:ro -v /var/run:/var/run:rw -v /sys:/sys -v /var/lib/docker:/var/lib/docker:rw \
        -v /var/lib/origin/openshift.local.volumes:/var/lib/origin/openshift.local.volumes \
        openshift/origin start

At the moment I cannot do this because it is not possible to indicate --privileged (see #221), --pid and --net.

You don't need --net=host when using Calico and see my comment on #221 but the --pid option should be useful.

Also, we don't yet support rw and ro flags on volumes, this would be nice.

Would that

https://github.com/jclouds/jclouds-labs/pull/240 be useful?


Build and deploy Dagster AMI

Updated the Dagster deployment to pre-bake an AMI and deploy using docker containers
Description
This adds code for building an AMI to run the Dagster data orchestrator using the containers being created as part of https://github.com/mitodl/ol-data-platform/pull/240 and updates the Pulumi code to use that new image for deployment
Motivation and Context
This is related to https://github.com/mitodl/ol-data-platform/issues/233
How Has This Been Tested?
The built image has been deployed and validated that the UI is accessible and pipelines render properly.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Enhancement (improves on existing behavior)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project. (Did you install and run the pre-commit hooks?)
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Closed #900

:+1: