project dependencies not generated for akka-actor-tests

to reproduce:

git clone git://github.com/jboner/akka.git
git checkout 1758a507891109d4cd2b1860d4c00e02ba205d22
change project/plugins.sbt to use sbteclipse-plugin 2.0.0-SNAPSHOT
run 'sbt eclipse'

The generated akka-actor-tests/.classpath is lacking a dependency to subproject akka-testkit.

If Uppsala had not been that cold and the drinks at Iulian's birthday party had not been that good, I would probably have been able to tell you this immediately: Your issue is a duplicate of #77. Which is a tricky one.
Workaround: Get rid of the funny configuration part ("compile;test->test") of the dependency in question. Or add the dependency manually each time you run eclipse :-(


Can't compile using opam package

In a clean directory I copied rectangle.ml and rectangle.html. Then I wrote a _tags file with the following contents "<*> : pacakge(js_of_ocaml), package(js_of_ocaml.syntax), package(d3)" and ran the following command to compile: "ocamlbuild -use-ocamlfind rectangle.byte" so as to use js_of_ocaml afterwards. However, trying to compile the ml file with the above instructions raises the following error.
$:ocamlbuild -use-ocamlfind rectangle.byte
+ ocamlfind ocamlc -c -package js_of_ocaml -package js_of_ocaml.syntax -package d3 -o rectangle.cmo rectangle.ml
File "rectangle.ml", line 24, characters 30-32:
Error: '##' is not a valid value identifier.
Command exited with code 2.
Compilation unsuccessful after building 2 targets (0 cached) in 00:00:00.

Is this expected? ocaml-d3 doesn't seem to provide compiling instructions and I'd like to use it.

Unfortunately this package has fallen behind the times. I just pushed a change that bumps the minimum version of js_of_ocaml to the latest version. Hopefully this will resolve your issues.


Remove support for external apps.

What does this do?
This removes support for all external apps, but keeps support for the three internal apps we have: amp, private-blogging & subscribers.
How?
First thing we do is only pass the internal apps be loaded and activated by the service. These apps never have to have their deps installed, so we can remove the dependencies module.
They also always have all permissions, so we can remove all support for custom permissions, dropping the permissions module - this in turn means we don't need a custom require method, which allows us to drop the proxy module.
What we have left is the minimal apps service needed to continue running our internal ones.
Review will be easier commit-by-commit.

Once these changes have been looked at & approved, we probably want to update the default settings to remove active_apps and installed_apps as they're no longer needed :thinking:


Allow for multiple packages

Currently, if someone builds a Pulumi provider or package, they have to be careful to namespace the package correctly. If someone else comes along and builds another package with the same name, they are effectively unable to contribute or publish their package.

Related: #1217

Yeah - I think this is a dupe of https://github.com/pulumi/registry/issues/1217. @jaxxstorm anytjing you were hoping to capture here outside of namespacing packages?


Exploiter Wizard can't merge spell books with Lich mythic path

Since it looked like you were fixing bugs with the game. I figured I would put in a feature request. It appears that the Exploiter Wizard can't merge his spell book with the Lich Mythic Path.

Also the case for Thassilonian Specialists.  Messing around with Toy Box it seems that Exploiter and each of the Thass specialists have their own spell books, separate from the "Wizard" spell book.  I'm guessing for whatever reason those never got flagged as being able to merge with Lich.
In a perfect world, it's just changing a 0 to 1 on "allow merge with Lich".  In reality it's probably more complex and terrible.

This sucks, i really like my exploiter wizard... also going lich, i guess i have to respec? does this imply that the arcanist has the same issue?

Just wanted to hop in and say huge thanks to Vek for doing what Owlcat couldn't be bothered to.

This has been fixed


Feature request - Make date/time format configureable

Option to show date as DD - MMM or MMM - DD (e.g 01 - Nov)

The format can now be configured precisely according to the strftime() format.
See https://github.com/BlueAndi/esp-rgb-led-matrix/tree/Development#how-to-configure-the-datetime-format


feat: Add new keyword to syntax definition file

https://github.com/flix/flix/issues/2904

Thanks!


Vtex/Product Details Page - Prevent malformed breadcrumbs when a category name contains slashes

When a categoy name contains slashes, the current process will build a malformed breadcrumb.

The new aproach solves that problem.

UP @AlanVncs

https://www.atau.com.br/vitrine-seca-gourmet-120-polofrio/p?skuId=3832


Add support for specifying selectors in Service from kplus

Description of the feature or enhancement:
I propose a feature to specify the selectors when using cdk8s-plus-17 and defining services
Use Case:
Suppose the following code:
import cdk8s_plus_17 as kplus

service = kplus.Service(
            self,
            "Service",
            type=kplus.ServiceType.NODE_PORT,
            ports=[
                kplus.ServicePort(
                    port=80, target_port=80, protocol=kplus.Protocol.TCP
                )
            ],
            metadata=cdk8s.ApiObjectMetadata(
                labels={
                    "name": "service-2048"
                }
            )
        )

This will generate the following manifest
apiVersion: v1
kind: Service
metadata:
  labels:
    name: service-2048
  name: test-service-c85b0531
spec:
  externalIPs: []
  ports:
    - port: 80
      protocol: TCP
      targetPort: 80
  selector: {}
  type: NodePort

As we can see, there is no way of defining the selector specifically
Proposed Solution:
The following code would handle:
import cdk8s_plus_17 as kplus

service = kplus.Service(
            self,
            "Service",
            type=kplus.ServiceType.NODE_PORT,
            ports=[
                kplus.ServicePort(
                    port=80, target_port=80, protocol=kplus.Protocol.TCP
                )
            ],
            metadata=cdk8s.ApiObjectMetadata(
                labels={
                    "name": "service-2048"
                }
            ),
            selector={"key": "value"}
        )

Other:

[x] :wave: I may be able to implement this feature request
[ ] :warning: This feature might incur a breaking change

This is a :rocket: Feature Request

@matheushent Apologies for the long delay.
Its true that you cannot configure custom selectors in the input properties, but you can do this post instantiation, using the the add_selector method:
service.add_selector("key", "value")

Is there any reason for not being able to specify it in the definition but it's possible to specify after?


Add additional types

Serialization and deserialization for the following types needs to be added:
bigint
Y.XmlFragment
Y.XmlElement
Y.XmlText

Y.Doc (subdocument)

Not sure how to support lazy-loading for subdocuments


Password with # character in MySQL/MariaDB Monitor

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
I have a stack with nginx proxy manager, mariadb, Adminer, phpmyadmin and uptime-kuma.
In mariadb this configures root with its own password, and an nginx user also with its own password.
Everything works correctly between NPM, mariadb, Adminer and phpmyadmin.
In both Adminer and phpmyadmin, I can connect to mariadb as root or as nginx user, using their respective passwords.
But I can't connect by creating a MySQL/MariaDB monitor through uptime-kuma, because it gives a connection error, after searching so much I discovered that it's the password I'm using.
Both passwords have 13 characters, and the last character is #
For some reason, uptime-kuma cannot correctly pass the password to access mariadb.
I tested by creating another user, with the same password with just the first 12 characters, and it connects normally.
Why do npn, adminer and phpmyadmin connect normally and uptime-kuma does not, using the # character?
Password that works:<PHONE_NUMBER>12
Password that doesn't work:<PHONE_NUMBER>12#
Remembering that I tried to pass the password using ASCII encoding: # = %23
But it doesn't work either.
Could it be a connection string bug?
👟 Reproduction steps
Use a password with the # character in the MySQL/MariaDB user that you will monitor in Uptime-kuma
Try monitoring the MySQL/MariaDB service with this user.
👀 Expected behavior
Connect to the database even using the # character
😓 Actual Behavior
Do not connect to the database using the # character
🐻 Uptime-Kuma Version
1.23.3
💻 Operating System and Arch
Debian 12
🌐 Browser
Chrome 118.0.5993.70
🐋 Docker Version
Docker version 24.0.6, build ed223bc
🟩 NodeJS Version
No response
📝 Relevant log output
2023-10-14 23:24:31 305 [Warning] Access denied for user<EMAIL_ADDRESS>(using password: YES)

From what I saw, it's an error/bug in node-mysql2 used by uptime-kuma.
Is there a possibility of getting around this problem?
It seems that the people at node-mysql2 are not very excited about fixing this problem at the moment.
https://github.com/louislam/uptime-kuma/issues/3221
https://github.com/sidorares/node-mysql2/pull/1621

I actually want to split password into a standalone input field. Let me fix it.


CSS @apply rule should be removed

This was never an official W3C CSSWG standard. And I don't believe that an idea sketched out in a personal git repo would count for inclusion on Can I Use today.
Tab (the author of the spec) abandoned the idea. https://www.xanthir.com/b4o00
Chrome removed the experiment from their browser. https://chromium.googlesource.com/chromium/src/+/5874fca7324e4523a4bdecc8999bdadfdb6c4eff

For more: https://chromestatus.com/feature/5753701012602880
This will never be a CSS standard. It will never be implemented in all browsers.

Never say never… 🙃
But for real: Interesting and I agree with the direction! Though if it was up to me, I would keep a search result (example) around for historic purposes. Afaik the search result data isn't open source though, so…

Thanks! I agree, and will replace with a search result for folks curious about the status.
I don't regret having including it though, it was starting to be implemented across (Chromium) browsers and the request issue indicated a significant amount of developer interest in it. That's enough for any unofficial feature to be included so folks can keep track of support levels.


Upgrade to Camunda 8.5.x

see https://github.com/camunda-community-hub/vanillabp-camunda8-adapter/commit/950a7d17dda9b16f5aba54555d7dc02822c5ff4d


[Symfony] CORS headers not present

I'm trying to integrate tus-php into my Symfony project.
My issue is that XHR requests are blocked by my browser because CORS header allow-origin is not present.
Here's my very simple Symfony controller:
<?php

declare(strict_types=1);

namespace App\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use TusPhp\Tus\Server;

class FilesController extends AbstractController
{
    /**
     * Create tus server.
     *
     * @Route("/files/", name="tus_post")
     * @Route("/files/{token?}", name="tus", requirements={"token"=".+"})
     *
     * @param TusService $tusService
     *
     * @return Response
     */
    public function server(Server $server)
    {
        $response = $server->serve();

        return $response->send();
    }
}

I tried many things. I have the Nelmio Cors Bundle installed into my project to handle cors.
So I tried: skipping the default "Cors" middleware of tus-php and adding this to the nelmio_cors.yml config:
nelmio_cors:
    paths:
        '^/files/':
            origin_regex: true
            allow_origin: ['%env(CORS_ALLOW_ORIGIN)%']
            allow_methods: ['GET', 'POST', 'PATCH', 'DELETE', 'HEAD', 'OPTIONS']
            allow_headers: ['Authorization', 'Origin', 'X-Requested-With', 'Content-Type', 'Content-Length', 'Upload-Key', 'Upload-Checksum', 'Upload-Length', 'Upload-Offset', 'Tus-Version', 'Tus-Resumable', 'Upload-Metadata']
            expose_headers: ['Upload-Key', 'Upload-Checksum', 'Upload-Length', 'Upload-Offset', 'Upload-Metadata', 'Tus-Version', 'Tus-Resumable', 'Tus-Extension', 'Location']
            max_age: 86400

NB: the env var CORS_ALLOW_ORIGIN is properly set and works on other endpoints handled directly by Symfony.
I also tried this config to bypass the Nelmio Cors Bundle, and leaving the default Cors middleware do it's job:
nelmio_cors:
    paths:
        '^/files/': null

None of this is working. Any idea on how what I could be missing?
EDIT: Btw, I am using Uppy for the client.

Hi @ThibaultVlacich, Apologies for late response!
Since the library constructs its own response object, all headers are not propagated to the final response. You will need to create a TUS Middleware to extract and pass all headers added by your cors library. For instance:
<?php

namespace TusPhp\Middleware;

use TusPhp\Request;
use TusPhp\Response;

class Cors implements TusMiddleware
{
    /**
     * {@inheritDoc}
     */
    public function handle(Request $request, Response $response)
    {
        $response->setHeaders(/* Headers from your cors lib */);
    }
}

I managed to get it working. I think there was some cache issues the first time I tried, because just adding the config to the nelmio_cors config is working.

Hey,
sorry for commenting on this closed issue but I recently have problems with CORS headers being not present as well.
Access to XMLHttpRequest at 'https://api.example.org/api/uploader/files/363359d4-dc9b-4d06-9482-a25cdcaac8f5' from origin 'https://dev.example.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Within the service provider I register the middleware explicitly. Before I tried using the k8s ingress-nginx but there is no support for multi domain why I switched back to do it on application level:
$this->app->singleton(
    'tus-server',
    function (Application $app) {
        // FIXME redis doesnt work for now because tus-php uses predis instead of the php-redis extension
        $server = new TusServer('file');
        $server->setApiPath('/api/uploader/files');
        $server->setUploadDir(Storage::disk('uploads')->path(''));
        $server->middleware()
            // ->skip(Cors::class)
            ->add(Cors::class, FileTypeValidator::class);
        return $server;
    }
);

The implementation within controller looks like this for now:
public function handleUpload(Request $request)
{
    /** @var \TusPhp\Tus\Server $tusServer */
    $tusServer = app('tus-server');

    $tusServer->event()->addListener(
        'tus-server.upload.complete',
        function (TusEvent $event) use ($request) {
            Log::debug('tus-server.upload.complete');

            $uuid = Uuid::uuid4()->toString();
            $user = $request->user();
            $medium = Medium::create(
                [
                    'uuid'      => $uuid,
                    'tenant_id' => $user->tenant->id,
                    'user_id'   => $user->id,
                    'active'    => false,
                ]
            );
            (new MoveVideoToStorage($event, $user, $uuid, $medium))->execute();
        }
    );

    /** @var \Symfony\Component\HttpFoundation\Response $response */
    $response = $tusServer->serve();

    // TODO the library should detect https schema automatically and use it!
    if (!empty($response->headers->get('location')) && config('app.env') === 'production') {
        // $request->isSecure()
        $response->headers->set(
            'location',
            str_replace('http:', 'https:', $response->headers->get('location'))
        );
    }

    $response->send();
    exit(0);
}

The application config/cors.php file looks like this but for TUS it's ignored why I explicitly use the Cors middleware of TUS within the service provider:
<?php

return [
    'paths' => ['graphql', 'api/uploader/files', 'api/uploader/files/*'],
    'allowed_methods' => ['*'],
    'allowed_origins' => ['*'],
    'allowed_origins_patterns' => [],
    'allowed_headers' => ['*'],
    'exposed_headers' => ['*'],
    'max_age' => 0,
    'supports_credentials' => true,
];


Logged in User -> Checkout Page -> Defauly address must be selected.

Is your feature request related to a problem? Please describe.
Bagisto Version - 2.1.0
Description
In customer profile I have addded a default address and when I process a product for the checkout there we can see that the Default address tag is not selected.
Pre-Conditions

User must be created.
User must have minimum 2 addresses.
One address must be saved as default.

Steps to Reproduce

Log in with a user.
Addresses -> Create a address and set as default.
Add product to cart -> Proceed with checkout -> see the addresses -> There we are  unable to identify the default address.

Actual Concern
Currently we cannot distnguish between the default address in checkout if we have multiple addresses.

Describe the solution you'd like
Expected Result
It would be better if  we can show the default address selected.
Describe alternatives you've considered
No response
Additional context
No response

Fixed in #9547

Fixed in the following release
https://github.com/bagisto/bagisto/releases/tag/v2.1.2


Indicate VOID IN printing test result in Demo and Training environments

Description
Demo and Training environments allow users to record/print test results without logging in which in theory can be used obtain any desired official-looking test result
Proposed solution
Indicate the printed results are not official

@Rebecca-LM Hey Rebecca, we were thinking of including a watermark on top of the Demo and Training environment Print Test result page. Something like "Void" or "Not official" as a watermark. Do you have a word choice you'd recommend? "Void" might be too complicated of a word and "Not official" might be too long of a watermark.

@kenieh What's the character limit you had in mind? Would the watermark repeat on the page or be centered in the middle? Either way I'd think we want the watermark to take up/repeat on most of the page, so we might not have to worry as much about space or keeping it short. Here's a suggestion below.
"Sample only. Not for official use."

no character limit, I was thinking something like one of these two:

I like how your content suggestion @Rebecca-LM is more clear. I'd be down to go with "Sample only. Not for official use."

@kenieh cool! For some reason it looks weird with the periods in design (so I'd remove both of them).

Ahh good catch

Hey @zdeveloper has this ticket already been implemented? Wondering if we can close this ticket.

Hey @zdeveloper has this ticket already been implemented? Wondering if we can close this ticket.


Where did the 'boss' option get its name?

It's hard to remember what this one does. Why is it named "boss"?

This option suppresses warnings about the use of assignments in cases where comparisons are expected. More often than not, code like if (a = 10) {} is a typo. However, it can be useful in cases like this one:
for (var i = 0, person; person = people[i]; i++) {}
You can silence this error on a per-use basis by surrounding the assignment with parenthesis, such as:
for (var i = 0, person; (person = people[i]); i++) {}

A quick search through the project's history has your answer; see commit 08943a907b2ad326881ae84592590fff12652794:
commit 08943a907b2ad326881ae84592590fff12652794
Author: Anton Kovalyov<EMAIL_ADDRESS>Date:   Sun Jan 23 22:34:14 2011 -0800

    Added an option to use assigments in the control statements like a boss

diff --git a/jshint.js b/jshint.js
index b18afe4..30ddc6f 100755
--- a/jshint.js
+++ b/jshint.js
@@ -317,6 +317,7 @@ var JSHINT = (function () {
         boolOptions = {
             adsafe     : true, // if ADsafe should be enforced
             bitwise    : true, // if bitwise operators should not be allowed
+            boss       : true, // if assignments inside if/for/while/do should
             browser    : true, // if the standard browser globals should be pre
             cap        : true, // if upper case HTML should be allowed
             css        : true, // if CSS workarounds should be tolerated

Ah. Thank you! :smile:


[Bug] MariaDBSpec args parameter has no effect

Documentation

[x] I acknowledge that I have read the relevant documentation.

Describe the bug
No matter if from scratch or changing an existing resource of the type MariaDB, with our without Galera - the args parameter has no effect. Also the operator does not trigger a recreation of the pod.
apiVersion: k8s.mariadb.com/v1alpha1
kind: MariaDB
metadata:
  name: mariadb
spec:
  args:
    - --verbose

kubectl get pod --namespace mariadb mariadb-0 -o json | grep args | wc -l
0
kubectl exec --stdin --tty  --namespace mariadb mariadb-0 -- ps ax
    PID TTY      STAT   TIME COMMAND
      1 ?        Ssl    0:00 mariadbd
     15 pts/0    Ss     0:00 bash
     22 pts/0    R+     0:00 ps ax

Expected behaviour
kubectl exec --stdin --tty  --namespace mariadb mariadb-0 -- ps ax
    PID TTY      STAT   TIME COMMAND
      1 ?        Ssl    0:00 mariadbd --verbose
     15 pts/0    Ss     0:00 bash
     22 pts/0    R+     0:00 ps ax

Steps to reproduce the bug
Based on:

examples/manifests/config
examples/manifests/mariadb.yaml

---

apiVersion: v1
kind: ConfigMap
metadata:
  name: mariadb
  labels:
    k8s.mariadb.com/watch: ""
data:
  my.cnf: |
    [mariadb]
    bind-address=*
    default_storage_engine=InnoDB
    binlog_format=row
    innodb_autoinc_lock_mode=2
    innodb_buffer_pool_size=1024M
    max_allowed_packet=256M
---

apiVersion: v1
kind: Secret
metadata:
  name: mariadb
  labels:
    k8s.mariadb.com/watch: ""
stringData:
  password: MariaDB11!
  root-password: MariaDB11!
---

apiVersion: k8s.mariadb.com/v1alpha1
kind: MariaDB
metadata:
  name: mariadb
spec:
  args:
    - --verbose
  rootPasswordSecretKeyRef:
    name: mariadb-root
    key: password
    generate: true

  username: mariadb
  passwordSecretKeyRef:
    name: mariadb-password
    key: password
    generate: true
  database: mariadb

  port: 3306

  storage:
    size: 1Gi

  service:
    type: LoadBalancer
    metadata:
      annotations:
        metallb.universe.tf/loadBalancerIPs: <IP_ADDRESS>

  myCnf: |
    [mariadb]
    bind-address=*
    default_storage_engine=InnoDB
    binlog_format=row
    innodb_autoinc_lock_mode=2
    innodb_buffer_pool_size=1024M
    max_allowed_packet=256M

  metrics:
    enabled: false

kubectl apply --namespace mariadb example.yml

Debug information

Related object events:

kubectl get events --field-selector involvedObject.name=mariadb-0 --namespace mariadb
3m58s       Normal    Scheduled                pod/mariadb-0   Successfully assigned mariadb/mariadb-0 to gear-prod-mk8s-gra11-pool-gene-node-5e17f1
3m45s       Normal    SuccessfulAttachVolume   pod/mariadb-0   AttachVolume.Attach succeeded for volume "ovh-managed-kubernetes-c7nzd0-pvc-65f6012f-21fb-4bc6-9988-19b96a589957"
2m34s       Normal    Pulling                  pod/mariadb-0   Pulling image "docker-registry1.mariadb.com/library/mariadb:10.11.8"
3m43s       Normal    Pulled                   pod/mariadb-0   Successfully pulled image "docker-registry1.mariadb.com/library/mariadb:10.11.8" in 783ms (783ms including waiting)
3m8s        Normal    Created                  pod/mariadb-0   Created container mariadb
3m8s        Normal    Started                  pod/mariadb-0   Started container mariadb
2m34s       Warning   Unhealthy                pod/mariadb-0   Readiness probe failed: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
2m34s       Warning   Unhealthy                pod/mariadb-0   Liveness probe failed: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
2m34s       Normal    Killing                  pod/mariadb-0   Container mariadb failed liveness probe, will be restarted
2m34s       Warning   Unhealthy                pod/mariadb-0   Readiness probe failed: ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)
3m8s        Normal    Pulled                   pod/mariadb-0   Successfully pulled image "docker-registry1.mariadb.com/library/mariadb:10.11.8" in 790ms (790ms including waiting)

Environment details:

Kubernetes version: v1.29.6
Kubernetes distribution: OVH Managed k8s
mariadb-operator version: 0.29.0
Galera agent (sidecar container): happens with and without Galera
Install method: helm
Install flavor: minimum

Additional context
Workaround with
command:
- mariadb
- --verbose

works
Please tell me if the debug information of the operator are required.

Hey there @sepek !  Thanks for bringing this up
Altough MariaDB does have the args property in its spec, as it embedds ContainerTemplate in the spec for reusability reasons:
https://github.com/mariadb-operator/mariadb-operator/blob/ee7052f3e7f43b4a9ea84bec588a2ddc41e61dae/api/v1alpha1/base_types.go#L84
It is currently not supported, but it could easily be by extending this function:
https://github.com/mariadb-operator/mariadb-operator/blob/ee7052f3e7f43b4a9ea84bec588a2ddc41e61dae/pkg/builder/container_builder.go#L327
Contributions are welcomed!

We also need this feature
@mmontes11 do you mind if I work on this?

Hey @onesolpark ! Of course, go ahead! Let me know if you need any help!

FTR: We don't really need it, the workaround is fine for us. I just documented the problem as the documentation mention that as supported and I first thought something is broken.

@onesolpark kindly contributed this feature via https://github.com/mariadb-operator/mariadb-operator/pull/888. Stay tuned for the v0.0.32 release!


[nrfconnect] Align nrf_power calls to new scheme

Now the API to manage GPREGRET register is unified for all devices having one or more GPREGRET entries.
This PR is related to nrfx library update in Zephyr: https://github.com/zephyrproject-rtos/zephyr/pull/63461

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

closing as currently NCS 2.4.0 is used which does not have those changes yet


unable to extract due to uploader id missing

youtube-dl  https://youtu.be/OalnbqFBUIc?t=359
[youtube] OalnbqFBUIc: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Happens to me too, version is latest

ah they will close it as dup of https://github.com/ytdl-org/youtube-dl/issues/31530

still not working for me too


Define checkflux for ProjMPOSum (actually AbstractSum) and test

Define checkflux for AbstractSum which includes ProjMPOSum as a special case. Added test. Meant to address the issue raised in this forum post.

I thought we had that auto formatting thing turned on now, but it didn't work in this case, at least not for the file I changed in the tests. Maybe it needs to be extended to cover those? @ogauthe

Thanks @emstoudenmire, I should have let you know but I'm working on a PR which also include checkflux definitions for the other types as well.

Yeah, I also haven't noticed the changes to my git workflow that I was expecting to see from #1321.

Closed in favor of #1330.

@emstoudenmire I added the pre-commit config file, then one needs to setup pre-commit locally. Sorry if I was not clear.

install pre-commit on your computer with e.g. pip install pre-commit.
In the project directory, run pre-commit install
in order for pre-commit to run automatically before git commit.

Maybe I should make another PR to add this in the README.md?

Thanks for the instructions @ogauthe. It would be good to add those instructions somewhere. Maybe it could be added here: https://itensor.github.io/ITensors.jl/dev/faq/Development.html.


Do you know how to change the outpost initial team?

Do you know how to change the outpost initial team?
Iv been scripting for months and I can't figure it out please help.
this is my failed attempt at an initial team changing code please help:
function CAddonTemplateGameMode:Outpostint()
local outpostEntities = Entities:FindAllByClassname( "npc_dota_watch_tower")
for _,outpostEnt in pairs( outpostEntities ) do
print(tostring(outpostEnt))
outpostEnt:SetTeam(4)
end
end

Im not so sure with this. You might need to wait for the player to spawn before calling this code. If you crete a listener function for "npc_spawned" and then call your code i.e. FindAllByClassname....


diagonal pattern for bar and stacked chart?

Is it possible to give diagonal pattern like shown in above graph?

+1

Hi @VijinR 👋
Thanks for requesting the feature.
It's now available in version 1.0.15🎉
This can be achieved using the props barBackgroundPattern and patternId
The barBackgroundPattern should be a Svg Pattern element. Here's an example-
import {Path, Pattern} from 'react-native-svg';

const App = () => {
  const MyPattern = () => {
      return (
        <Pattern
          id="DiagonalLines"
          patternUnits="userSpaceOnUse"
          x="0"
          y="0"
          width={60}
          height={14}
          viewBox="0 0 40 20">
          <Path
            d={`M ${-1220} ${38} L ${465} ${0}`}
            stroke={'white'}
            strokeWidth={1.5}
            transform={{rotation: '-16'}}
          />
        </Pattern>
      );
    };

    const data=[
    {
      value: 110,
      barBackgroundPattern: MyPattern,
      patternId: 'DiagonalLines',
      frontColor: '#4444dd',
      spacing: 8,
    },
    {value: 130},
    {
      value: 120,
      barBackgroundPattern: MyPattern,
      patternId: 'DiagonalLines',
      frontColor: '#4444dd',
      spacing: 8,
    },
    {value: 160},
    {
      value: 190,
      barBackgroundPattern: MyPattern,
      patternId: 'DiagonalLines',
      frontColor: '#4444dd',
      spacing: 8,
    }]

    return <BarChart data={dtt} barWidth={40} spacing={30} />
 }

The output of the above code is-

Note that we can pass any Svg pattern (not just lines). For example, if we use the following component as barBackgroundPattern-
const TrianglePattern = () => {
  return (
    <Pattern
    id="DiagonalLines"
    patternUnits="userSpaceOnUse"
    x="0"
    y="0"
    width="20"
    height="20"
    viewBox="0 0 10 10"
  >
    <Path d="M 0 0 L 7 0 L 3.5 7 z" fill="red" stroke="blue" />
  </Pattern>
  );
};

Then the ouput will be-

I hope it helps🤗
Cheers🍺

@Abhinandan-Kushwaha thanks


Random Death Quotes

Describe your problem here.
Yeah, so I'm trying to figure out how to add randomized death quotes to a song similar to Week 7. I know this was asked and answered before, but that was only for Source, not Lua. And I've tried using pieces of code I've searched for and have been unsuccessful. So what can I do?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No.

function onGameOver()
        quote = math.random([minimum value], [maximum value])
         runTimer([your values])
end
function onTimerCompleted(tag, loops, loopsLeft)
          if tag == '(your tag)' then
                    if quote == (value) then
                                playSound([file], 1)
                    elseif quote == (value 2) then
                                playSound([file], 1
                     (repeat until you have done all of your quotes)
                    end
        end

end

Not tested, so I don't know if it works

function onGameOver()
        quote = math.random([minimum value], [maximum value])
         runTimer([your values])
end
function onTimerCompleted(tag, loops, loopsLeft)
          if tag == '(your tag)' then
                    if quote == (value) then
                                playSound([file], 1)
                    elseif quote == (value 2) then
                                playSound([file], 1
                     (repeat until you have done all of your quotes)
                    end
        end

end

Not tested, so I don't know if it works

I keep getting "unexpected symbol near '[' ". Also what do I put in for "your tag"?

You're not supposed to keep these [ ], read the wiki script examples to learn basic syntax

Okay, I got past the error messages, so I think I'm getting somewhere. However the sound files still don't load up when getting a Game Over. They're simply named "1.ogg, 2.ogg, etc". This is my current setup.
function onGameOver()
        quote = math.random(1, 3)
         runTimer(1, 2, 3)
end
function onTimerCompleted(tag, loops, loopsLeft)
          if tag == '(your tag)' then
                    if quote == (1) then
                                playSound(file, 1)
                    elseif quote == (2) then
                                playSound(file, 2)
                    end
        end

end

File paths and tags are strings, surrounded by ' ', again, read examples

Tried looking at examples. I have this typed in now but it's still not working. Isn't it possible you could just, correct the code for me or something?
function onGameOver()
        quote = math.random(1, 3)
         runTimer(1, 2, 3)
end
function onTimerCompleted(tag, loops, loopsLeft)
          if tag == '1' then
                    if quote == (1) then
                                playSound('1', 1)
                    elseif quote == (2) then
                                playSound('2', 1)
					elseif quote == (3) then
                                playSound('3', 1)
                    end
        end

end

runTimer('1', 2, 1) --tag wasn't a string and it was set to play 3 times

Uh, when I inserted that code, something went wrong. BF can't die even when pressing R for a quick restart. But when I go to the pause menu, that's when the audio files start to load. So basically, the files load, but now the Game Over is broken. Now what?

Add return Function_Continue at the end of onGameover()

Like this?
function onGameOver()
        quote = math.random(1, 3)
         runTimer('1', 2, 1)
		return Function_Continue
end

Don't use math.random(min, max), for whatever reason, it outputs the same value every single time, use getRandomInt(min, max) instead

Well uh, thanks, but I'm still stumped by my setup. Currently it's looking like:
function onGameOver()
        quote = getRandomInt(1, 3)
         runTimer('1', 2, 1)
return Function_Continue
end

function onTimerCompleted(tag, loops, loopsLeft)
          if tag == '1' then
                    if quote == (1) then
                                playSound('1', 1)
                    elseif quote == (2) then
                                playSound('2', 1)
					elseif quote == (3) then
                                playSound('3', 1)
                    end
        end

end

Still nothing.

 The Game Over loads and the audio files load. Nice. Thanks.


Implement dev_tools/profile_with_pyflame.sh

Example of viewing it in chrome:

Zoomed in:

I tested out what happens if I go around commenting out input and output checks in the kak decomposition (without keeping the tests passing in general) and profiled that. It gets about 4x faster even with those simple changes:

@dstrain115 please check that you can get this working without too much trouble before approving


Potential memory leak issue in Azure.Documents.Search 11.2.0

Hi, we just migrated from v10 to v11 SDK.
Under heavy load, SearchClient seems to leak memory. The stress test we conducted included sending ~15k requests (750 batches x 25 requests each), with each batch triggered after a random delay between 200ms-2sec.
Environment:

Azure.Search.Documents (11.2.0-beta.2)
.NET Core 3.1 web api (as created by dotnet new webapi)
OS: Win10 Pro 19042.685
Profiling: VS2019 Diagnostic Tools

Memory footprint:

Repro:
    [ApiController]
    [Route("[controller]")]
    public class TestController : ControllerBase
    {
        static Azure.Search.Documents.SearchClient client;

        public TestController(IOptions<SearchConfig> cfg)
        {
            client = new Azure.Search.Documents.SearchClient(new Uri(cfg.Value.SearchUrl), cfg.Value.SearchIndexName, new AzureKeyCredential(cfg.Value.SearchKey));
        }

        [HttpGet]
        [Route("stressnative")]
        public async Task<IActionResult> StressNative(bool container)
        {
            var batches = 750;
            var requestsPerBatch = 25;

            var keys = System.IO.File.ReadAllText(container ? "/app/res.txt" : System.IO.Path.Combine(Environment.CurrentDirectory, "res.txt")).Split(',');
            var rnd = new Random();

            var opts = new Azure.Search.Documents.GetDocumentOptions();
            var selectedFields = new List<string>(3);
            selectedFields = TestParams.GetSelectedFields();

            foreach (var x in selectedFields) opts.SelectedFields.Add(x);

            var queued = Enumerable.Range(1, batches).Select(async _ =>
            {
                await Task.Delay(rnd.Next(200, 2000));

                var currKeys = keys.Skip(rnd.Next(1, 2974)).Take(requestsPerBatch);
                try
                {
                    foreach (var key in currKeys)
                        await client.GetDocumentAsync<MyDocument>(key, opts);
                }
                catch { }
            });

            await Task.WhenAll(queued);

            return Ok();
        }
    }

Could this be something on our end? If so, any guidance for fixing the issue would be greatly appreciated

Thank you for your feedback.  Tagging and routing to the team member best able to assist.  Please be aware that due to the holidays, responses may be delayed.

@d6teo thanks for filing this. I tried to reproduce this on my end but I am not seeing anything that would lead me to believe there is a memory leak in there.
Can you share more information about what the leak looks like on your side?

@AlexGhiondea, sure. What information would be useful?
As a side note, we have reproduced the issue in a container environment as well (although the sample targets .NET Core 3 we wanted to make sure that this is reproducable in an "isolated" environment as well -> Docker containers)

@d6teo when I ran the test on my machine the majority of objects that were created were due to the closures and lambdas used in the code. Did you see those going away via GC? If you take memory snapshots at the start and end of the test, which objects do you see in the delta -- do you know what they are rooted in?
Do you also see the memory continuing to grow unbounded for the duration of the application, or does it grow when the objects are retrieved and then it goes back down?

@AlexGhiondea, my best wishes for a happy new year.
Thanks for pointing out the issue with closures/lambdas. I understand that these create the majority of allocations, however I am not sure that this is the root cause of the mem utilization issue - mem remains high after all the requests have been completed.
To demonstrate, please see below repro scenario (i believe that this leaves closure/lambda issues out of the equation):
[ApiController]
[Route("[controller]")]
public class TestController : ControllerBase
{

    private static Lazy<Azure.Search.Documents.SearchClient> _lazyClient = new Lazy<Azure.Search.Documents.SearchClient>(() =>new Azure.Search.Documents.SearchClient(new Uri("<url>"), "<indexname>", new AzureKeyCredential("<key>")));

    [HttpGet]
    public async Task<IActionResult> Stress()
    {
        var keys = Enumerable.Repeat(1, 25).Select(_ => "<any indexed document key>").ToList();

        // add a few fields, repro case adds 3 fields in [GetDocumentOptions] instance
        var opts = new Azure.Search.Documents.GetDocumentOptions();

        try
        {
            foreach (var key in keys)
                await _client.GetDocumentAsync<MyDocument>(key, opts);
        }
        catch { }

        return Ok();
    }

I used ab testing to simulate stress conditions:
ab.exe -n 750 -c 750 -s 600 http://localhost:<port>/test/stress
Mem utilization chart w. object/heap snapshot during the entire test's lifecycle:

@AlexGhiondea, my best wishes for a happy new year.
Thanks for pointing out the issue with closures/lambdas. I understand that these create the majority of allocations, however I am not sure that this is the root cause of the mem utilization issue - mem remains high after all the requests have been completed.
To demonstrate, please see below repro scenario (i believe that this leaves closure/lambda issues out of the equation):
[ApiController]
[Route("[controller]")]
public class TestController : ControllerBase
{

    private static Lazy<Azure.Search.Documents.SearchClient> _lazyClient = new Lazy<Azure.Search.Documents.SearchClient>(() =>new Azure.Search.Documents.SearchClient(new Uri("<url>"), "<indexname>", new AzureKeyCredential("<key>")));

    [HttpGet]
    public async Task<IActionResult> Stress()
    {
        var keys = Enumerable.Repeat(1, 25).Select(_ => "<any indexed document key>").ToList();

        // add a few fields, repro case adds 3 fields in [GetDocumentOptions] instance
        var opts = new Azure.Search.Documents.GetDocumentOptions();

        try
        {
            foreach (var key in keys)
                await _client.GetDocumentAsync<MyDocument>(key, opts);
        }
        catch { }

        return Ok();
    }

I used ab testing to simulate stress conditions:
ab.exe -n 750 -c 750 -s 600 http://localhost:<port>/test/stress
Mem utilization chart w. object/heap snapshot during the entire test's lifecycle:

@d6teo thanks for the wishes -- Happy New Year!
From the diff that you have in there were you able to figure out who is holding on to the objects?
I am going to ask @heaths to take a look at this as well.

@d6teo thanks for the wishes -- Happy New Year!
From the diff that you have in there were you able to figure out who is holding on to the objects?
I am going to ask @heaths to take a look at this as well.

Unfortunately i couldn't find where the objects are rooted.
Funny thing is that the heap size is much smaller than the process memory; I also tried profiling the app using VS Performance Profiler and mem footprint was ~100MB less, but still high and still there after all requests were completed.
See below, managed heap+native heap size sum up to ~70MB, process memory is ~450MB:

However, when turning Server GC off, mem footprint looks much better; in fact, the first GC collection after all requests have completed restores memory to ~80MB. See below:

Maybe it's not something specific to search SDK, but something related to the way GC returns free memory to the OS??

Unfortunately i couldn't find where the objects are rooted.
Funny thing is that the heap size is much smaller than the process memory; I also tried profiling the app using VS Performance Profiler and mem footprint was ~100MB less, but still high and still there after all requests were completed.
See below, managed heap+native heap size sum up to ~70MB, process memory is ~450MB:

However, when turning Server GC off, mem footprint looks much better; in fact, the first GC collection after all requests have completed restores memory to ~80MB. See below:

Maybe it's not something specific to search SDK, but something related to the way GC returns free memory to the OS??

Depending on how your app is hosted, turning off server GC may be a good idea anyway. See https://docs.microsoft.com/dotnet/standard/garbage-collection/workstation-server-gc for details.
I'm not seeing anything in code that would lead me to believe there is (directly) a leak, though for deserialization some static caching for System.Text.Json may occur (definitely if you're using Newtonsoft.Json for deserialization), but for your example document it shouldn't be anything close to that. The closure still gets created in your last example as well.
It'd be great to get a nettrace to track down the allocations in your environment where this repros. Could you run dotnet-trace with your app to sample the GC. Per the article, it'd be great if you'd trace the network calls as well so we can see how allocations correlate.

Depending on how your app is hosted, turning off server GC may be a good idea anyway. See https://docs.microsoft.com/dotnet/standard/garbage-collection/workstation-server-gc for details.
I'm not seeing anything in code that would lead me to believe there is (directly) a leak, though for deserialization some static caching for System.Text.Json may occur (definitely if you're using Newtonsoft.Json for deserialization), but for your example document it shouldn't be anything close to that. The closure still gets created in your last example as well.
It'd be great to get a nettrace to track down the allocations in your environment where this repros. Could you run dotnet-trace with your app to sample the GC. Per the article, it'd be great if you'd trace the network calls as well so we can see how allocations correlate.

I have just debugged a memory leak in our .NET Core service and it was also caused by the SearchClient. Commenting out use of this class fixed the issue immediately. There seemed to DiagnosticListener instances on the the heap when the leak was occuring.


Feature: Updates to ui

Another quick and easy one, @danroche10 🥳!
Just the one question.

@tdashworth - updated as suggested!


Add more IODA platforms and change the way they are included

Description
Add some more IODA platforms to swell and allow for easier addition of platforms not already added.

It works fine Dan. Thanks for the fix!


Unit formatting, fix reference ranges for WBC counts, sidebar follows scrolling

Fixes #12
Fixes #15

Opened an issue for standardization of reference ranges: https://github.com/NoTranslationLayer/biomarkerdash/issues/16


Unexported interface types

Hello!
Working on an integration with the vezgo-sdk (currently v1.1.0) on a TypeScript project. Running into a bit of frustration as, although the types used by the sdk are defined, they are not exported so they cannot be imported and easily re-utilized by integrating software. For instance, a simple utility function like this:
export function initializeVezgo() {
  const clientId = process.env['VEZGO_CLIENT_ID']!;
  const secret = process.env['VEZGO_SECRET']!;
  return Vezgo.init({
    clientId,
    secret,
  });
}

Produces this error:
Return type of exported function has or is using name 'APIInterface' from external module ".../node_modules/vezgo-sdk-js/lib/vezgo" but cannot be named.ts(4058)
function initializeVezgo(): APIInterface

This is because the typescript compiler needs to provide type information about the return value of the function initializeVezgo to consumers of that function, but the type (APIInterface) is not exported by the vezgo sdk, so it cannot be utilized by the compiler. Currently, we're able to work around this by re-declaring local types from the output types using TypeScript utility functions (example below), but this rather clunky.
Example of how we're able to create workable types:
export type VezgoAPIInterface = ReturnType<typeof Vezgo.init>;
export type VezgoAPIUserInterface = ReturnType<VezgoAPIInterface['login']>;
export type VezgoAPIUserAccounts = VezgoAPIUserInterface['accounts'];
export type VezgoAccount = Exclude<
  ReturnType<Awaited<ReturnType<VezgoAPIUserAccounts['getList']>>['at']>,
  undefined
>;

// Declaration valid using re-declared type as return value
export function initializeVezgo(): VezgoAPIInterface {
  const clientId = process.env['VEZGO_CLIENT_ID']!;
  const secret = process.env['VEZGO_SECRET']!;
  return Vezgo.init({
    clientId,
    secret,
  });
}

It would be a lot simpler if the interfaces defined in index.d.ts were exported so that consumers of the sdk could directly reference the types declared there. If this change is desirable for the maintainers, I would be happy to provide a PR for it.

I'd also highly recommend exporting the library types. While type inference by default is not bad, it is not enough.


Fix text not lining up with time

For reference, this is how it looks live right now:

For ein stor og viktig jobb! :clap: :clap:


feat: mdx initial pass

Fix RM-XYZ

🧰 Changes
This adds the mdx option to the react endpoint. RDMD.react(markdown, { mdx: true })
It's rather incomplete at the moment, but as a PoC it's able to render callouts using mdx! The big downside is a much larger dist 😿
I'd like to get this bit merged so we can start working on this more incrementally?
🧬 QA & Testing

Broken on production.
Working in this PR app.

is it supposed to render the callouts page or just callout tests?

is it supposed to render the callouts page or just callout tests?

Ooph, my guess is there's something erroring on the regular callouts page.

do you remember which stylesheet we needed to fix the font family?

I think rafe and I decided it just wasn't worth it to keep the styles up to date with the main app.


Polymorphic Mapping Fails in Recursion

Using orika-core 1.5.4 and Java 8, cross posted on stackoverflow
Given the following classes (getters, setters, and abstract implementations omitted for brevity) ...
public class Matcher {
   privat String name;
   private Operation match;
}

public class MatcherDTO {
   private String name;
   private Operation matchExpression;
}

public abstract class Operation {

   // Parameters to the operation, which may be
   // Operation implementations or boxed
   // primitives
   private List<Object> inputs;

   public abstract Class getResultType();
   ...
}

public class AttributeReference extends Operation {
   ...
}

public class Equals extends Operation {
   ...
}

...

...I put together the following MapperFactory:
@Bean
public MapperFactory mapperFactory() {
    final MapperFactory mapperFactory = new DefaultMapperFactory.Builder().build();
    mapperFactory.classMap(Matcher.class, MatcherDTO.class)
            .field("match", "matchExpression")
            .byDefault()
            .register();
    mapperFactory.classMap(Operation.class, Operation.class)
            .exclude("resultType")
            .byDefault()
            .register();
    return mapperFactory;
}

When I POST the following request...
{
    "name": "example-matcher",
    "matchOperation": { "eq": [ { "ref": [ "jdbc-resource", "login" ] }, { "ref": [ "ad-resource", "userPrincipalName" ] } ] }
}

...my deserialization from JSON to MatcherDTO looks like I expect:
this = {MatcherDTO}
+- name = {String} "example-matcher"
+- matchExpression = {Equals}
   +- inputs = {ArrayList}
      +- 0 = {AttributeReference}
         +- inputs = {ArrayList}
            +- 0 = {String} "jdbc-resource"
            +- 1 = {String} "login"
      +- 1 = {AttributeReference}
         +- inputs = {ArrayList}
            +- 0 = {String} "ad-resource"
            +- 1 = {String} "userPrincipalName"

However, when I pass my MatcherDTO through the mapper to produce a Matcher, the first level of Operation recursion is correct (namely, an Equals instance), but the second levels are incorrect (namely, Object instances instead of AttributeReference instances):
this = {Matcher}
+- name = {String} "example-matcher"
+- match = {Equals}
   +- inputs = {ArrayList}
      +- 0 = {Object}
      +- 1 = {Object}

Now, I am able to work around this by explicitly mapping Operation subclasses like so:
@Bean
public MapperFactory mapperFactory() {
    final MapperFactory mapperFactory = new DefaultMapperFactory.Builder().build();
    mapperFactory.classMap(Matcher.class, MatcherDTO.class)
            .field("match", "matchExpression")
            .byDefault()
            .register();
    mapperFactory.classMap(Operation.class, Operation.class)
            .exclude("resultType")
            .byDefault()
            .register();
    mapperFactory.classMap(AttributeReference.class, AttributeReference.class)
            .exclude("resultType")
            .byDefault()
            .register();
    mapperFactory.classMap(Equals.class, Equals.class)
            .exclude("resultType")
            .byDefault()
            .register();
    // and so on...
    return mapperFactory;
}

However, it seems like I should not have to do this. As you can see, the first level of recursion correctly identified my Equals subclass and mapped it according to the Operation class mapping instructions, but the second level failed for some reason. There are currently a dozen plus Operation implementations, and I'd rather not have to explicitly declare their mappings. If I do this, though, the danger is that the Operation subclasses are declared in a dependency, and if future versions of that dependency produce new implementations, I'll have to react with a new version of my code.

In my humble opinion the domain model is not properly designed. It's intended to be generic but you don't leverage Java generics. You need to give more hints to orika in order to map objects correctly. However PassThroughConverter is a good option for your domain model.


Retry HTTP Requests

Retry failed HTTP requests a specified number of times before raising an exception.
(closes #31)

Coverage remained the same at 100.0% when pulling aad27428a89d47d92c372baab472bbc8efe29463 on get_html into 61de20859d1d82dde7164455fc503c1953952b2c on master.


InputMask Exception > Length 500

I was testing a feature on a textarea but encountered this unexpected bug.  Here is the auto-generated code which kicks off inputmask:

"jQuery(document).ready(function() { jQuery('#ctl00_ctl00_ctl00__ContentMain__ContentMain__ContentMain__ControlFormGroup__ControlGroupInformation__RowOrderNotes_FormField_TextBox').inputmask({ regex: '[^<|>]*' });
});"
And in the code I can see, only when it gets past length 500 when pasting lots of garbage to test I get exception.
Error: "Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. [^<|>]*"
Seems to be caused by this:
if (d > e + u._maxTestPos) throw "Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. " + s.mask;
where _maxTestPos is 500 for some reason.

Add a link to a codepen, jsfiddle or other example page which shows the problem
OS: Win10
Browser: IE, Chrome
Inputmask 5.0.6

As it seemed the code was arbitrarily defaulting to a max of 500 I tried specifying the maxlength attribute,  It seems to have worked and I'm no longer seeing the error.  The performance of the regex at 1000 characters was pretty slow however.

@codinglifestyle ,
I am wondering wheter I should remove the support for the textarea.  The revalidation makes the input slow.  But using a mask on a textarea is more used as a filter for input instead or really masking data I assume.  Or I remove the support or I restrict to just validating the input without revalidating the "whole".
What do you think?

Hi,
What is the status of this?

RobinHerbots
@RobinHerbots .

I am wondering wheter I should remove the support for the textarea. The revalidation makes the input slow. But using a mask on a textarea is more used as a filter for input instead of really masking data I assume. Or I remove the support or I restrict to just validating the input without revalidating the "whole".
What do you think?

Yes, really it is just using regex to block illegal characters.  As you point out, nobody would be using a mask for something that is hundreds of characters.
Here is a funny example which was down to the backend system wanting to protect against special characters.
^[0-9A-Za-z]{2}[0-9A-Za-z_-/'&*,. ]{0,8}$
A lot of times content might be copy/pasted into the system.

RobinHerbots @RobinHerbots .

I am wondering wheter I should remove the support for the textarea. The revalidation makes the input slow. But using a mask on a textarea is more used as a filter for input instead of really masking data I assume. Or I remove the support or I restrict to just validating the input without revalidating the "whole".
What do you think?

Yes, really it is just using regex to block illegal characters. As you point out, nobody would be using a mask for something that is hundreds of characters.
Here is a funny example which was down to the backend system wanting to protect against special characters.
^[0-9A-Za-z]{2}[0-9A-Za-z_-/'&*,. ]{0,8}$
A lot of times content might be copy/pasted into the system.

+1
I have this exact same problem.


fix(controller): do not log to app in log_event

When logging events to the application, it does not need to know
which app it came from... That information is redundant. Also, the
developer does not need to know the internal UUIDs of the builds, config
and releases being created, as the relevant information will be in the
release summary.
From one of the unit tests:
$ cat logs/actual-frosting.log
2015-03-04T18:37:54UTC deis[api]: autotest created initial release
2015-03-04T18:37:54UTC deis[api]: autotest added POWERED_BY
2015-03-04T18:37:54UTC deis[api]: autotest changed POWERED_BY
2015-03-04T18:37:54UTC deis[api]: autotest added INTEGER
$ cat logs/hungry-macaroni.log
2015-03-04T18:37:59UTC deis[api]: autotest created initial release
2015-03-04T18:37:59UTC deis[api]: autotest deployed qwerty

qwerty in this case is an arbitrary git sha :)
closes #3063

@gabrtv didn't like the idea of removing app.log() from log_event() as the change may miss special events (like scheduler errors). I opted instead to remove the redundant logs from being added to the app logs, as well as fixing up the log format.
Also found a few fly-by logs which should be added into the dev logs as well as logs which were redundant (domain logs, specifically).

Code LGTM.

Code LGTM.


NUnit tests do not run in debug in Visual Studio 2019

I had to replace the existing NUnit nuget package with the NUnitTestAdapter.WithFramework buget package to run the tests in the Debug configuration
as described in the following Visual Studio Develop Community thread
https://developercommunity.visualstudio.com/content/problem/527276/nunit-2-unit-tests-not-running-in-vs-2019.html
the test do run in the Release configuration with the existing package.

I'm able to run the unit tests in debug and release just fine in VS 2019.
However, it's easy to add NUnitTestAdapter.WithFramework, so I've done that in v5.0.0.  Hopefully this fixes the issue for you.


Liveness probes for Etcd

Part of #82
Based on the liveness probe used by kubeadm for the kubernetes Etcd processes: https://github.com/kubernetes/kubernetes/pull/81385
The E2E test relies on details of a Kind cluster, so it is skipped in non-kind environments.

I don't know if there's some bug in etcd or etcdctl where it responds with empty values until the etcd process has started up properly.
Because eventually the expected value can be retrieved.

Resolved the conflicts. Please review.

Oops. Didn't mean to close this.

@adamhosier You were right to be suspicious. I've updated the test to STOP peers 0 and 1 and although the E2E tests pass, if I leave the cluster running,  all the peers have ended up in a crash loop backoff.
richard   82-liveness-probes  ~  projects  improbable-eng  etcd-cluster-operator  130  kubectl -n teste2e-parallel-probes get pods
NAME                   READY   STATUS             RESTARTS   AGE
get-etcd-value-m5l8b   0/1     Completed          4          18m
my-cluster-0-rwqsq     0/1     CrashLoopBackOff   7          19m
my-cluster-1-vdbx2     0/1     CrashLoopBackOff   7          19m
my-cluster-2-rjnk6     0/1     CrashLoopBackOff   7          19m
set-etcd-value-s8r5x   0/1     Completed          3          19m

I need to spend some time digging through logs to find out why.

We discussed this last week and the conclusions were:

Liveness probes may cause more problems than they solve. In this branch I GET the /health endpoint for liveness, but if the cluster is unhealthy, this will fail, and the remaining nodes will be restarted unnecessarily....making the situation worse. We can add a TCP connect liveness probe if and when we encounter deadlocks in etcd.
Readiness probes do not make sense either, because we assume that most clients will be able to connect to multiple etcd nodes and detect whether each of them is healthy.
If we did add a Readiness probe defined as GET /health, for example, and a corresponding loadbalancer service, the client would have to deal with DNS A record lookups for that  service name not  having any results when the cluster is unhealthy....and this doesn't seem right either.

Further reading:

https://srcco.de/posts/kubernetes-liveness-probes-are-dangerous.html

What I might do is document this reasoning in an FAQ document.


contrib/kube-prometheus: Set Prometheus Adapter maxSurge

We want to make sure that at least one Prometheus Adapter is always running while the next one starts. Therefore we're setting the maxSurge to 1 and maxUnavailable to 0.
/cc @squat @brancz @s-urbaniak

@s-urbaniak that is correct. These are the necessary semantics since what we want to prevent is the case where 0 instances are run.


Next Release tracking issue

We want to make a new full feature release, especially to get the new FRAME into the hands of people. As of now, the strategy is to release all crates with code changes since 2.0 under the correct SemVer-version, so some will be patches others minor some major upgrades.
Big picture changes (why we are releasing):

this brings FRAME 2.0 macros
FRAME: Ref-Counting Provider #7343
New Pallet: Participation Lottery Pallet #7221

Please link in this (with checklist here) any blocking issues or PRs, that are being worked on and expected to be merged within the next 2 weeks latest , including a mention of the person responsible (as shown):

[x] cleaning up dependencies #7956 @gnunicorn
[x] updating to SCALE 2.0 #7994 @thiolliere

Please include #7127 in the next release.

Please include #7127 in the next release.

I would like to have https://github.com/paritytech/substrate/pull/7778 if possible

I would like to have https://github.com/paritytech/substrate/pull/7778 if possible

we should also include incoming release of parity-scale-codec 2.0

we should also include incoming release of parity-scale-codec 2.0

@thiolliere is this expected to happen within the next 10 days? Is there a tracking issue for it?

@thiolliere is this expected to happen within the next 10 days? Is there a tracking issue for it?

Yes it is expected to happen next week, there is only one PR left https://github.com/paritytech/parity-scale-codec/milestone/3

Yes it is expected to happen next week, there is only one PR left https://github.com/paritytech/parity-scale-codec/milestone/3

I would like to get these 2 quality of life PRs in: #8017 and #8019

not sure it is required to next release, but https://github.com/paritytech/substrate/issues/7949 can be good to have

Telemetry is broken: https://github.com/paritytech/substrate/issues/8093

closed by https://github.com/paritytech/substrate/pull/8098

Why no release for sc-finality-grandpa-wrap-sync? https://crates.io/search?page=1&per_page=10&q=sc-finality-grandpa-wrap-sync

@liuchengxu it is marked as publish = false by its authors:
https://github.com/paritytech/substrate/blame/3957f43912e43fd28b624bb0736141ac24b51615/client/finality-grandpa-warp-sync/Cargo.toml#L8
I presume because it is far from ready yet, but would leave it to @expenses to elaborate on that.

I presume because it is far from ready yet, but would leave it to @expenses to elaborate on that.

Personally, I think the crate is ready-enough at the moment. The core part of grandpa warp sync is in sc-finality-grandpa anyway; the request response handler is pretty simple. I think publish = false is just there because I copied it from somewhere else 😅

@gnunicorn @expenses If the code is ready, is there any chance that we can still have it published in the Substrate 3.0 release? It just does not look perfect with only one git dep left in the Cargo.toml.


Maintenance Mode should whitelist admin users

As of right now, if you visit admin/tools and put the site in Maintenance Mode, a user who is logged in will still be able to access anything in the admin section. Basically, user authentication is what enables the 'bypass' of admins in maintenance mode.
The admin should be able however to look at the front-end of the blog as well, and not just the admin/* sections. I was thinking this could be done by creating a special token that would pass from the admin section to the view if an admin is previewing something, or perhaps just grab the IP of the admin user and let that be whitelisted against the maintenance mode.
Either way, the majority of this logic is kept in the custom middleware app/Http/MiddlewareCheckForMaintenanceMode.php
@nticaric I saw something on tnt.studio/blog that made me think you may have some insight into this. Any help would be greatly appreciated!

@austintoddj let me take a look and see what I can do


Delete Server Messages

deleted

Sorry for absence of documention, you can delete messages from a server by getting the server's ID (right click -> copy ID) then pasting it in channel ID(s) box with G added as prefix like this "Gsomerandomnumbers" and if you select Nuke GUILD(s) then click Nuke, it will delete all your messages from all servers, there is Nuke DM(s) option too :)

Wanted to say thank you for the replay, the post was intended for another git project and I somehow ended up here, when I realised it I removed the post. After your post I compiled it and it is even better and faster then the one I was checking out before. amazing 👍 Thanks alot


vscode-eslint not obeying eslint configuration ?

I am using

flow-bin 0.156
eslint 7.31
eslint-plugin-flowtype-errors
@babel/preset-flow

to reveal flow errors via eslint
it works perflectly on CLI, but vscode-eslint throws errors on flow syntax
here are my vscode settings
here is the commit demoing the error  (see screenshot below for cmds

see below screenshot for cmds to run to validate eslint + flow work appropriately
but if you open up index.mjs in vscode eslint errors on flow syntax

updates
I added some debug options to the cli script and while it did expose some errors, I am still unable to get vscode to exhibit the same behavior as running eslint via cli

latest commit with vscode-eslint errors

similar issue https://github.com/microsoft/vscode-eslint/issues/1272

@noahehall this looks like a mono repository setup (e.g. when you run eslint in the terminal you cd into a specific directory). You must let the eslint extension now about this as well using the eslint.workingDirectories setting.

awesome: will try after work and report back

ty so much!


common: Introduced Accessor for traversing the scene-tree.

Basically, this Accessor is a utility to debug the Scene structure,
by traversing the scene-tree by users.
You can search specific nodes to read the property information,
figure out the structure of the scene tree and its size.
We actually don't recommend you to touch the property unless you really
know the each paint's position and role because it's not visible, difficult to
understand its anatomy.
Also, You must underatnd that modifying the nodes of the scene will be going
well with both the art-design structure and the prorgram logic.
In this first version, Accessor only supports for the Picture class.
@example:
auto picture = tvg::Picture::gen();
picture->load("test.svg");

//The callback function from lambda expression.
//This function will be called for every paint nodes of the tree.
auto f = [](const tvg::Paint* paint) -> bool
{
    if (paint->identifier() == Shape::identifier()) {
        //override properties?
        uint8_t r, g, b, a;
        paint->fillColor(&r, &g, &b, &a);
        paint->fill(r / 2, g / 2, b / 2, a);
    }

    //You can return false, to stop traversing immediately.
    return true;
};

auto accessor = tvg::Accessor::gen();

picture = accessor->access(move(picture), f);

...

@Issue: https://github.com/Samsung/thorvg/issues/693

revisited with a new patch since old one is corrupted https://github.com/Samsung/thorvg/pull/932


Add coming soon banner

What does this PR do?
Add coming soon banner for Dash

Incorporated some small feedback from @tbavelier
#15364


URL in description and README broken

The URL in the repository description and README are pointing to shaw-dev-workshop's copy of the game instead of yours.
Please fix both, so they point to your copy of the game at https://shaw-dev-workshop.github.io/github-games-DavidH102.

resolved


Touch enents on Android phone don't work but work in the emulator

Hi there,
I am following your pinch and zoom example with some tweaks. I'd like to let the individual elements that were painted respond to touch if they are individually touched.
To do that, I had modified some entries for PanResponder. These settings work on android simulator, but do not with the phone :(
this._panResponder = PanResponder.create({
      onPanResponderGrant: () => {},
      onPanResponderTerminate: () => {},
      onMoveShouldSetPanResponder: () => true,
      onStartShouldSetPanResponder: () => false,
      onShouldBlockNativeResponder: () => true,
      onPanResponderTerminationRequest: () => true,
      onMoveShouldSetPanResponderCapture: () => true,
      onStartShouldSetPanResponderCapture: () => false,
      onPanResponderMove: evt => somefunc1()
      onPanResponderRelease: () => somefunc2()
}

I realize this isn't strictly a react-svg question but looking for guidance or where I should I should ask.
Thanks

jumping in => Are you getting touch fired on polylines?

I'm sorry, I don't know what polylines are.
For example, I want the pinch events to be handled by the panresponder (to allow zoom via translate), but allow folks to click on the individual SVG groups underneath (Images in my case). This all works in simulator, just not on the actual device.

Is this still an issue with the latest version? In that case, please provide a full replication.


Remove .iso file created in InsertIsoInDvd.ps1

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


Added Galician translation

Galician language, ISO code "gl".
Regards,
David

Thank you for the translation!


nulls in html when not using SSR

Hey,
We disabling SSR, I am getting nulls in the html output:
       null
       null
       null
       null

null

created PR https://github.com/ctrlplusb/react-universally/pull/71

Thanks, just got back from holiday, shall review when I have regathered myself. :-)
Appreciate the help.

Hi @omerts I've made a comment on your PR. Thanks.


added tag:* to policy template

Signed-off-by: Bill Schneider<EMAIL_ADDRESS>Proposed changes

Types of changes

[x] Bugfix (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)
[ ] Refactor (changes to code, which do not change application behavior)

Checklist

[x] I have filled out this PR template
[x] I have read the CONTRIBUTING doc
[ ] I have added automated tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (README.md, inline comments, etc.)
[x] I have updated the CHANGELOG.md under a ## next release, with a short summary of my changes

Relevant Links

Further comments

I'm in between requesting changes or saying this is good. @eschwartz we can just take that on as an extra thing I just don't want to lose it.
We should get tag:* added here too. https://github.com/Optum/dce/blob/master/docs/policies.md#organizations-and-service-control-policies-scps

Done

I'm in between requesting changes or saying this is good. @eschwartz we can just take that on as an extra thing I just don't want to lose it.
We should get tag:* added here too. https://github.com/Optum/dce/blob/master/docs/policies.md#organizations-and-service-control-policies-scps

Done

I'm in between requesting changes or saying this is good. @eschwartz we can just take that on as an extra thing I just don't want to lose it.
We should get tag:* added here too. https://github.com/Optum/dce/blob/master/docs/policies.md#organizations-and-service-control-policies-scps

Done

The checks have indeed all passed for this branch, but it seems Github and Azure DevOps are not syncing on this branch. I am going to go ahead as this PR is effectively ✅ .


Community Metrics: Share of Voice

I came across a metric that I consider worth sharing: Share of Voice
Source: https://medium.com/@mbbroberg/community-metrics-share-of-voice-b51d15f38366
This was not on my radar and I don't think we have it on our list of metics (haven't checked though).

@GeorgLink should we simply include this in the giant list?

Yes

@GeorgLink Is this a D&I issue?

Yes, I was made aware of this metric when I did my D&I metrics interviews.


Changed travis notification settings according to our new workflow

Codecov Report

Merging #43 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #43   +/-   ##
=======================================
  Coverage   94.84%   94.84%
=======================================
  Files          16       16
  Lines         466      466
=======================================
  Hits          442      442
  Misses         24       24

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 3b21659...4d76560. Read the comment docs.


proposed feature: blog pagination active

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[x] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation

This was discussed with @slorber here. - it hasn't been agreed that this functionality is desired, but I thought I'd put something together to illustrate what I had in mind.
This PR adds a new configuration item called blogPaginationActive which defaults to true. But it can be set to false which results in the /page/2 etc blog post pages not being generated and the navigation buttons not being rendered.
I run my blog as publishing one blog per page: https://blog.johnnyreilly.com/
I navigate my own blog in the following ways:

I go to the blog and look at the latest entry (often what I'm interested in) or
I click on the search box and type words in to get the algolia search results that leads me to the post I'm after or
I click on "archive" and hit CMD+F to find a post I'm interested in or
I google my name and the topic I'm after and pick a blog post out of the search results

The thing I never do is use the pagination mechanism. I often can't remember when I wrote something, and I write a lot; I have 200+ posts. I'd spend ages clicking "older entries" and scrolling hoping to find what I was after.
For blogs with a lot of entries, the pagination mechanism isn't that useful. Many pages are generated that Google doesn't find very helpful from an SEO perspective as it considers them duplicates. Also, as new posts are published, the meaning of /page/2 etc changes:

With pagination off:

I would have less pages on the blog, and since we'd be removing duplicate content / /page/ style pages that's useful. Website size would decrease, data costs would decrease, search engines would have less to crawl.
I'd get rid of functionality I don't use (or consider very useful)
possibly build times might be faster, as less pages are being generated?

Test Plan

Note how there is no "Older Entries" button.  See also the tests.
Test links

Deploy preview: https://deploy-preview-8326--docusaurus-2.netlify.app/
Related issues/PRs

https://github.com/facebook/docusaurus/discussions/8311

I really like the API design of using postsPerPage: 0 to disable posts pages (similar to how that disables the sidebar). Has there been discussions about this?

I really like the API design of using postsPerPage: 0 to disable posts pages (similar to how that disables the sidebar). Have there been discussions about this?

👍  looks fine to me too
postsPerPage currently requires min(1) but we can change that

Thanks for the comments - have added some thoughts to the linked discussion.


Trouble passing data from native IOS to Flutter

Hello there, I recently had develop an Flutter application that requires payment integration of iPay88 through native IOS.  I have successfully retrieve data from Flutter to native IOS through appdelegate.swift.  However, im wondering how do I send back the response and data that I get from ipay88  in native IOS back to Flutter, as the response that I get is coming from subview of the view controller file, and I am unable to pass to it to appdelegate file as the appdelegate keep on processing the next line of code without waiting response from ipay88. Any kind of suggestions are truly appreciated

@AfendyWan
This seems more of a support question rather than a bug or feature request. I suggest you to ask this question on support channels like StackOverflow or flutter's reddit help page to get suggestions.
Closing from here.


C

Current Behavior

Expected Behavior

Your Environment

software
version

react-navigation

react-native

node

npm or yarn

Are you experiencing a bug or problem with React Navigation?

@matthamil Sorry i have already opened one. This issue should be an accident. You may delete it.

No worries, it happens :)


https://www.cve.org/Resources/Private/cve-public-key.txt

https://www.cve.org/Resources/General/cve-public-key.txt

Without context around a link to a public key being public, I'm going to close, but please reopen with more context if you'd like to do so.


Very minor refactoring and edits to code comments

Just some miscellaneous improvements on things that tripped me up a bit.

@Garrett-R The changes to the docs and conf seem good to me.
For the clean-up in the code, I will let someone else review, as I am not familiar with that part of the code.
By the way, to make our (easier to review) and your (easier to update, quicker merged) life easier, it is often times a good approach to do separate PRs for clearly separate things (here it is not yet a big problem, as it are not that much of lines that are changed, but just giving the tip for possible future contributions)

@jorisvandenbossche, right, good call.  I'll do that next time.

pls squash as well

merged via https://github.com/pydata/pandas/commit/a7437430b5cb62e49a79b64d18eccfb2b4d6367f
thanks!


Giving names to a table during delete is not supported

The following code doesn't work:
DELETE FROM Sales.SalesPersonQuotaHistory
FROM Sales.SalesPersonQuotaHistory AS spqh
It gives me the exception below:
Msg 100029, Level 16, State 1, Line 11
A FROM clause is currently not supported in a DELETE statement.

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

ID: b21fe0c8-0242-d9e0-b7bb-cee5265d39c9
Version Independent ID: e70df047-67c6-7933-ccdd-11731a77eb20
Content: DELETE (Transact-SQL) - SQL Server
Content Source: docs/t-sql/statements/delete-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

@FlavioDiasPs I just ran this statement in Azure using the AdventureWorks LT database and it works fine - same syntax
DELETE FROM SalesLT.SalesOrderDetail
FROM SalesLT.SalesOrderHeader AS spqh
INNER JOIN SalesLT.Customer AS sp
ON spqh.CustomerID = sp.CustomerID
WHERE spqh.status = 5;
GO

Hello!
The doc says that it works for data warehouse, but I couldn't manage to
achieve this on my attempts.
You probably tried this with Sql Server, am I right?
I don't know if I have done something wrong, I will retry this just to be
100% sure, but I am pretty certain that I have done it right and DW doesn't
support it.
Have a nice day!
On Mon, Sep 30, 2019, 19:42 Carl Rabeler<EMAIL_ADDRESS>wrote:

@FlavioDiasPs https://github.com/FlavioDiasPs I just ran this statement
in Azure using the AdventureWorks LT database and it works fine - same
syntax
DELETE FROM SalesLT.SalesOrderDetail
FROM SalesLT.SalesOrderHeader AS spqh
INNER JOIN SalesLT.Customer AS sp
ON spqh.CustomerID = sp.CustomerID
WHERE spqh.status = 5;
GO
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/3084?email_source=notifications&email_token=AAOCAAZRNEWONQ4I733LO6DQMJ6GFA5CNFSM4I4BGHJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD77KLKY#issuecomment-536782251,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOCAA4WYCRSAROXV24PIPLQMJ6GFANCNFSM4I4BGHJA
.

On Mon, Sep 30, 2019, 19:42 Carl Rabeler<EMAIL_ADDRESS>wrote:

@FlavioDiasPs https://github.com/FlavioDiasPs I just ran this statement
in Azure using the AdventureWorks LT database and it works fine - same
syntax
DELETE FROM SalesLT.SalesOrderDetail
FROM SalesLT.SalesOrderHeader AS spqh
INNER JOIN SalesLT.Customer AS sp
ON spqh.CustomerID = sp.CustomerID
WHERE spqh.status = 5;
GO
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/3084?email_source=notifications&email_token=AAOCAAZRNEWONQ4I733LO6DQMJ6GFA5CNFSM4I4BGHJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD77KLKY#issuecomment-536782251,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOCAA4WYCRSAROXV24PIPLQMJ6GFANCNFSM4I4BGHJA
.

@FlavioDiasPs Thanks for your feedback. Have you had a chance to run the test again? @CarlRabeler is out of the office for the next few weeks. @julieMSFT can you please take a look at this on SQL Data Warehouse depending on the results of @FlavioDiasPs 's tests? Thank you!

Hello!
Sorry for the late reply, I was in vacations.
I have retried to run those deletes on Sql Data Warehouse and the results
were the same.
Here, some tries and its results:
create table #testa( a int )
create table #testb( b int )
create table #testc( c int )

DELETE FROM #testa
FROM #testb AS tb
INNER JOIN #testc AS tc ON tb.b = tc.c
Msg 100029, Level 16, State 1, Line 22
A FROM clause is currently not supported in a DELETE statement.

DELETE ta
FROM #testa as ta
INNER JOIN #testb AS tb ON ta.a = tb.b
Msg 100029, Level 16, State 1, Line 25
A FROM clause is currently not supported in a DELETE statement.

On Thu, Oct 10, 2019 at 11:08 AM Jason Roth<EMAIL_ADDRESS>wrote:

@FlavioDiasPs https://github.com/FlavioDiasPs Thanks for your feedback.
Have you had a chance to run the test again? @CarlRabeler
https://github.com/CarlRabeler is out of the office for the next few
weeks. @julieMSFT https://github.com/julieMSFT can you please take a
look at this on SQL Data Warehouse depending on the results of
@FlavioDiasPs https://github.com/FlavioDiasPs 's tests? Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/3084?email_source=notifications&email_token=AAOCAA5WMKDRWLZLH5EGCZ3QN4ZMHA5CNFSM4I4BGHJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA4PNWA#issuecomment-540604120,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOCAA5WIT3QWHLRDWUNLATQN4ZMHANCNFSM4I4BGHJA
.

--
Flávio Silva
Analista de Desenvolvimento - ClearSale
<EMAIL_ADDRESS>

@FlavioDiasPs Hello and thank you for your question. Giving names to a table during a delete is not supported in Azure Synapse Analytics (SQL DW). I will now close this issue. The @ notification mechanism continues to work even after an item is closed, in case further communication is needed. We hope to hear from you again.

#please-close


Added support for AmqpWebSockets

Trying to resolve #152

Added option UseWebSockets (true / false)
Added option WebSocketProxyAddress (Uri)
Added option CustomEndpointAddress (Uri)

@JDetmar Ready for review, after code-change has passed user-acceptance-test.

@snakefoot thank you!


Fixed C# array initialisation and fixed struct instantiation.

Newbie at this.  Fixes issue #20

Cool! Thanks!
FYI, this is auto-generated code, so the "real" fix will be the conversion code somewhere, but I'll go ahead an accept your fix to make the conversion code accurate.
Ritchie


unwrap default container identifier, it is no longer optional

Whenever I need to install a pod from a pull request, I do something like following:
pod 'EPContactsPicker' , :git => 'https://github.com/samsonjs/EPContactsPicker.git',  :branch => 'master'
But I cannot install the pod from your pull request, why is it so? @samsonjs

@RajChanchal The repo is under the user 1SecondEveryday so you need to use that in the url instead of samsonjs.

@samsonjs If I will do so, I think I will get the repo having not the code that you have done because your commit is not merged to the repo yet. Though the change you have done is of only 1 character, but I needed to know how could I do so.


[1.6] Are list item levels detected correctly?

I am testing with this little list
[chapter]
== Chapter With Simple Lists

* List #1
* List #2
** List #2 #1
** List #2 #2
* List #3

The code in the Leanpub converter that actually does the conversion is here:
https://github.com/ysb33r/asciidoctor-leanpub-converter/blob/master/converters/src/main/groovy/org/asciidoctor/converter/markdown/AbstractMarkdownConverter.groovy#L172
For List #2 #1 & List #2 #2 I would expect the level to be 2, but it is 1.

I don't think level is correctly implemented on list items in core. There is no test to verify it is correct. While the level is used internally in multiple places, I'm unsure whether the correct value is being exposed in the AST. We need to take this one upstream.

I have created the upstream issue.

For now, to get the level, you're going to have to ascend the tree to find out how deep the node is.


Just upgraded my server to All Of Fabric 4 0.0.7, every time I open my Dank 7 the server crashes

Tried it in a solo world, it also crashes. All my good stuff is in my Danks, hope this gets figured out quickly.
crash-2021-07-20_09.50.39-server.txt
solo crash-2021-07-20_10.00.16-server.txt

Deleted 2.0a from the server, uploaded 2.0. I was able to get m y stuff out. Several spaces showed nothing inside, nut when clicked it showed up. Putting my Danks in storage until the issue is resolved.

AOF 4 0.0.8 is out. Danks still crash the server

fixed in 2.1


[feature] Need tests

We need some test coverage for the function of env generation
Strategy
We only really need to do this in node as its the end user and is easy to test.

Use jest
mock the .env.development.local, .env.development, .env.local, .env  files
test that the package acts like the CRA docs describe environment precedence

Open for anyone... PR

see https://github.com/beam-australia/react-env/pull/6


Question about labels in training and testing!

I'm fancy of your work and trying to implement it in TensorFlow cuz I know little of PyTorch
I got one question when loading the labels from the files.
In your code 'train.py', you iterate through batches by this code:
for batch_idx, (data, target) in enumerate(train_loader):
But what the target should be like?
It's should be like a list contains all elements of label file?
Or encoded in some other form?
I'd be appreciate if you reply this.
Good luck!

Yes, indeed target is a list that contains all elements of a label file. Target includes ground-truth coordinate positions and object class which is used during supervised training of the network.


[BUGFIX] re #15470 - Add lesson to duration in XML structure

add "lessons" as unit for duration in education/ course

@anna-tao your changes have been merged!


3371 BRUNSWICK PIKE REAR

Rear is a modifier on the address
3371 BRUNSWICK PIKE REAR
http://pip.mercercounty.org/propertycard/1107_5201_33.pdf

I assume this is a parser issue?
Neither that address nor that street exists in OpenStreetMap, and "Rear" used as a suffix is sufficiently uncommon in OSM that the parser probably hasn't seen anything like it before. The parser's only as good as the data it's trained on, which is quite extensive, but might not include every US edge case.
In the new parser, which is currently in development in the parser-data branch, we have the ability to add portions of OpenAddresses to the training data. OpenAddresses contains pretty much every valid address in the US, and the New Jersey data set (which contains that address and many others like it) looks clean enough to be included in the next training.

I am working on https://github.com/h4ck3rm1k3/shawnee-county-osm-landuse
which contains extractors for address data from the
http://pip.mercercounty.org/mapsearch and other ersi sources in kansas and
kentuky. they can be used for training data as well.
On Sun, Jul 17, 2016 at 7:32 PM, Al Barrentine<EMAIL_ADDRESS>wrote:

I assume this is a parser issue?
Neither that address nor that street exists in OpenStreetMap, and "Rear"
used as a suffix is sufficiently uncommon in OSM that the parser probably
hasn't seen anything like it before. The parser's only as good as the data
it's trained on, which is quite extensive, but might not include every US
edge case.
In the new parser, which is currently in development in the parser-data
https://github.com/openvenues/libpostal/tree/parser-data branch, we
have the ability to add portions of OpenAddresses to the training data.
OpenAddresses contains pretty much every valid address in the US, and the
New Jersey data set (which contains that address and many others like it)
looks clean enough to be included in the next training.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openvenues/libpostal/issues/88#issuecomment-233210708,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACIV2xhexNczFzCzxJdJuU4ifn6KrgXks5qWrupgaJpZM4JOT0l
.

--
James Michael DuPont
Kansas Linux Fest http://kansaslinuxfest.us
Free/Libre Open Source and Open Knowledge Association of Kansas
http://openkansas.us
Member of Free Libre Open Source Software Kosova http://www.flossk.org
Saving Wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com

Libpostal 1.0 is trained on secondary units and can get addresses like this correct:
> 3371 BRUNSWICK PIKE REAR

Result:

{
  "house_number": "3371",
  "road": "brunswick pike",
  "unit": "rear"
}

great news, will have to try it out when I have time.
On Thu, Apr 6, 2017 at 8:53 PM, Al Barrentine<EMAIL_ADDRESS>wrote:

Libpostal 1.0 is trained on secondary units and can get addresses like
this correct:

3371 BRUNSWICK PIKE REAR

Result:
{
"house_number": "3371",
"road": "brunswick pike",
"unit": "rear"
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openvenues/libpostal/issues/88#issuecomment-292381691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACIVygf4jiPyl9ZnnJ1NbmqygW0GS7xks5rtYkBgaJpZM4JOT0l
.

--
James Michael DuPont
Kansas Linux Fest http://kansaslinuxfest.us
Free/Libre Open Source and Open Knowledge Association of Kansas
http://openkansas.us
Member of Free Libre Open Source Software Kosova http://www.flossk.org
Saving Wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com


add proposal for xdp authz

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

@weli-l This PR almost ready. Can you update this PR?


Enforce SBliFF finality

Goal:

detect forks, prune branches and stop adding blocks to known forks

simplifying assumptions:

no rollback of specific blocks considered: if we're on a fork, we need to resync from a peer or rescue from a valid snapshots in our own db

requires

https://github.com/integritee-network/worker/pull/1586

status quo

feed incoming block candidates into EnclaveSidechainBlockImportQueue = ImportQueue<SignedSidechainBlock> FCFS
in the QueueWorker, pick the most likely matching candidate and attempt to import, ignorant of possibly-known finality on L1
if yield_next_slot -> propose a new block

RPC

can ask peer for a specific canonical series of blocks between two hashes sidechain_fetchBlocksFromPeer (cannot request blocks on branches we don't know they exist)

Proposed Implementation

replace ImportQueue<SignedSidechainBlock> with ForkTree<Hash, SidechainBlockNumber, SignedSidechainBlock>
upon incoming block candidate from peers, call ForkTree::import() (async)
upon enclave_runtime::execute_trusted_calls_internal():

call ForkTree::finalize_with_ancestors(latest_sidechain_block_confirmation)
refactor QueueWorker + PeerBlockSync logic to do:

If latest_sidechain_block_confirmation not in our ForkTree, populate ForkTree from peer (while keeping all nodes we know already)
ForkTree::prune() (possibly pruning with delay of a few block finalizations to service peers if needed)
pick the child of the longest chain in ForkTree which is descendant of latest_sidechain_block_confirmation using ForkTree::rebalance()
if no valid child, purge state and re-provision snapshot from peer

Initial behavior

primary validateer needs to assume block 1 to be finalized implicitly
secondary validateer

requests snapshot from peer
populate ForkTree from peer(s) (build tree ourselves, just request blocks in no specific order)
verify we know latest_sidechain_block_confirmation or retry 2. other peer

RPC changes

new: sidechain_fetchAvailableBlockHashes: returns all block hashes in the fork tree (which is regularly pruned upon finalization)
refactor sidechain_fetchBlocksFromPeer: request set of blocks from peer specified by hash without assuming canonical range

Argumentation

inserting new blocks into ForkTree happens async and doesn't cost block production time (in contrast to building the ForkTree from ImportQueue synchronously upon execute_trusted_calls() )
this implicitly detects forks and the worker will never build a new block on top of a known fork branch

Alright, so far I agree with the status quo, and the general implementation, I have some low-level questions:

I don't really understand why prune is necessary after we finalize nodes. Shouldn't the re-rooted tree be pruned already?
I think we need to add that we must re-build our state (re-apply sidechain blocks), if the child of the longest chain changes after rebalancing. (However, the fork-tree is rebalanced automatically upon block import, so I am not sure if rebalancing has to be done at this step, but rebuilding the 'best' state is still needed IMO).
We should also mark in our db, what state is finalized, or we should only persist finalized state anyhow, probably.
under what circumstances can there be no valid child? When a node has been finalized that is not in our fork tree?
Why does finalizing nodes in the fork tree have to be in the execute_trusted_calls part? I think it is unrelated, and everything could be done when we realize that there is a new finalized sidechain block. However, it could be that your proposal is the lowest hanging fruit here. I need some more time to evaluate that, in the long run though, I definitely argue that execute trusted calls, just needs to know the best state, and should not care about forks.

I don't really understand why prune is necessary after we finalize nodes. Shouldn't the re-rooted tree be pruned already?

if it's like that, ok. Lookung at the pub fn of ForkTree I expected this to be explicit. And I think explicit may be better because we may want to keep the blocks around a little longer for the benefit of peers syncing up

I think we need to add that we must re-build our state (re-apply sidechain blocks), if the child of the longest chain changes after rebalancing. (However, the fork-tree is rebalanced automatically upon block import, so I am not sure if rebalancing has to be done at this step, but rebuilding the 'best' state is still needed IMO).

we can't roll back. If rebalancing changes what we consider to be the longest chain, we need to reset on a snapshot and reapply blocks

We should also mark in our db, what state is finalized, or we should only persist finalized state anyhow, probably.

We should only snapshot finalized state
Persistance I'm not yet sure about. For simplicity, I suggest to snapshot every directly finalized block. Everything else (ForkTree and state after non-finalized blocks) might be kept in-mem

under what circumstances can there be no valid child? When a node has been finalized that is not in our fork tree?

that we may be able to sync from a peer.
no valid child is the situation when - even after sync from peers - we have no finalized block or lineal descendant of such

Why does finalizing nodes in the fork tree have to be in the execute_trusted_calls part? I think it is unrelated, and everything could be done when we realize that there is a new finalized sidechain block. However, it could be that your proposal is the lowest hanging fruit here. I need some more time to evaluate that, in the long run though, I definitely argue that execute trusted calls, just needs to know the best state, and should not care about forks.

My design choice is pragmatism. I saw how it can fit there and I see no reason why it wouldn't be a good idea

So the biggest chunks in terms of implementation efforts that can be estimated should be:

Replacing the ImportQueue with the ForkTree struct
Implement the RPCs according to above spec
Implement Finalize(latest_sidechain_block_confirmation):

prune fork tree
rebuild state if finalized sidechain block wasn't on current branch
fetch missing blocks via RPC introduced in 2. if the finalized block is not even in the fork tree

Implement 'Initial behavior' from above.


New progress guide - 10 follows

new progress guide: follow 10 people
new dialog to try and get people to follow more people

https://github.com/user-attachments/assets/f6518685-b3ff-46a0-9e5c-2c9c4997b812
Test plan
Add yourself to the statsig gate. Reset onboarding state, go through onboarding and select some interests
Observe the new progress guide
Make sure the dialog works on all platforms. Try selecting tabs, searching, following etc

How are these accounts chosen? Is there an algorithm or is it all manual?

these are just top search matches, no manual selection. the matches in search are ranked according to something similar to PageRank