Configure django container to reload on file change

The django container currently runs this command from the Dockerfile:
CMD ["gunicorn", "--bind", "<IP_ADDRESS>:8000", "devroast.wsgi"]
This doesn't reload when the files inside the container change, so therefore the container has to be restarted.
https://docs.docker.com/compose/django/
This recommends adding a volume mount for the django code and overriding the command to use runserver instead of gunicorn.

I'll work on this issue.


Add WSL2 installation docs

The Problem/Issue/Bug:
Closes #2320
How this PR Solves The Problem:
Quick first version of DDEV installation docs for WSL2. Tried keeping it as short as possible (as the blog post already gives some more background info: https://ddev.com/ddev-local/ddev-wsl2-getting-started/). Probably needs some fine-tuning.
Manual Testing Instructions:
Automated Testing Overview:

Related Issue Link(s):
Release/Deployment notes:

 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.

Awesome, thanks!

This just failed the annoying markdownlint. You can make markdownlint to see why.

@rfay I'm not getting any errors with that command:
denni@DESKTOP-HIGHLVU:~/repos/ddev$ make markdownlint
markdownlint:
denni@DESKTOP-HIGHLVU:~/repos/ddev$

I'm not familiar with Go so just installed it in my WSL2 environment (Go 1.14.4), any other hints?
I have Node version 12 installed and see CircleCI is using Node 10, could that potentially cause any problems?

@rfay That command wasn't very helpful:
denni@DESKTOP-HIGHLVU:~/repos/ddev$ make markdownlint
markdownlint:
make: *** [Makefile:133: markdownlint] Error 1

But when I ran markdownlint *.md docs it showed the actual errors. Should be fixed now 😊

@gilbertsoft pointed out the setx command, which lets you set the CAROOT across environments. https://devblogs.microsoft.com/commandline/share-environment-vars-between-wsl-and-windows/
setx CAROOT %LOCALAPPDATA%\mkcert
setx WSLENV CAROOT/up;%WSLENV%

I would rather see CAROOT set by mkcert -CAROOT, but it's a nice thing!

I took the liberty of rebasing this and committing the suggestions I made.  Just don't work on it without resetting to the fork version.

@rfay thanks for updating it, didn't have time in the past week to update 👍

@dennisameling thank YOU for doing this in the first place! Note that I also updated the blog post to add the setx approach, as a fair number of people actually stumbled by not replacing "YOURUSERNAME" in the export! People do copy and paste, don't they!


use_gpu in jax-based models is broken

https://github.com/scverse/scvi-tools/blob/75ecf9b16c1957e5cb6cc7af3799a61421a05451/scvi/model/base/_jaxmixin.py#L45
First, this is hard coded above, but use_gpu can also be in the train kwargs.
Basically in the jax training mixin we need to manually call jax device put to put the module params on the gpu because the jax module wrapper already keeps on cpu by default
This code can be tested with this notebook.
See this branch for a potential fix

Closed by #1585


Stream image sequence through Sockets/Websockets for browser

I need an Java app (desktop - Windows & Mac) that needs to send desktop screen video to other users via Sockets (WebSockets, because clients are using browser).
For now i have managed to do:

Get screenshot using Robot.getImageWritersByFormatName (not so fast, but as far as i know there is no other cross-platform solution)
Tried to send JPEG compressed images and then render them in browser, in local network it was acceptable, but when it's about wan it is very very slow (3/4fps and stream is already >350kbps)
Figured out that i need video compression (not still image like JPEG), keyframes, iframes etc.. I dont have much experience with video encoding/decoding
I have managed to setup socket communications java socket client -> screenshare/socket server -> client(browser) to transfer binary data
I have managed to encode sequence of BufferedImage images to h264/mp4 but only to save it to file

How i imagined, if i can use ByteBufferSeekableByteChannel instead of FileChannelWrapper (both implements SeekableByteChannel) and store data in memory using ByteBuffer then i can call channel.read(someOtherByteBuffer) in loop and send byte array throught socket, but i get array full of zeroes.
I have modified SequenceEncoder's constructor, so it's look like:
public class SequenceEncoder {
...

    public SequenceEncoder() throws IOException{
        buffer = ByteBuffer.allocate(1920 * 1080 * 6 * 15); // didn't know how many bytes to allocate

        ch = new ByteBufferSeekableByteChannel(buffer);
        muxer = new MP4Muxer(channel, Brand.MP4); // i have also tried WebOptimizedMP4Muxer here, but don't know anything without documentation

        outTrack = muxer.addTrack(TrackType.VIDEO, 25);

        _out = ByteBuffer.allocate(1920 * 1080 * 6);

        encoder = new H264Encoder();

        transform = ColorUtil.getTransform(ColorSpace.RGB, encoder.getSupportedColorSpaces()[0]);

        spsList = new ArrayList<ByteBuffer>();
        ppsList = new ArrayList<ByteBuffer>();

    }

...

}

Below is rough example of how i imagined to use this, really don't know much about video encoding and where to put finish() method, as i can see when i tried to write to file, this method is required.
SequenceEncoder enc= new SequenceEncoder();

// Thread for capturing screen
Runnable cap = new Runnable() {
    @Override
    public void run() {
        while( capture ){

            // screen.capture() returns screen BufferedImage
            enc.encodeImage( screen.capture() )
        }
    }
}

Runnable stream = new Runnable() {
    @Override
    public void run() {

        int p;
        ByteBuffer toSocket = ByteBuffer.allocate(1024);

        while( p = enc.ch.read(toSocket)){

            // Sends to socket server, and then socket server broadcast
            // to all listeners
            socket.sendBinary( toSocket.array() ); // here i got array full of zeroes

            toSocket.clear();

        }
    }
}

new Thread(cap).start();
new Thread(stream).start();

In browser i have planned to use MediaStream API and HTML5 video.
Is this possible with JCodec (for web i know that there is support for Chrome & Firefox to receive binary data and display video), and where am i wrong? Also i have saw on website HTML5 streaming framework (news from June 19 2013), is that what i need and how to use it?
Best regards,
Miloš.

Any progress on this?

I gave up with jcodec and java, and i have successfully built desktup app using nw.js (work on all platforms and it use WebRTC - VP8 as default)

Hi MilosR,
Can you please share more information how you achieve it from nw.js? I am new to java script.

Here you can find documentation http://docs.nwjs.io/en/latest/References/Screen/
If you need any additional help please contact me.

Can you give the source code ?


fix: update identifier field for usages

          1 Warning

:warning:
There're changes, but no changelog.

  Generated by :no_entry_sign: Danger


RFC: -i 1

An idea to consider, -i:
bpftrace -i 1 -e 'k:do_nanosleep { @[comm] = count(); }'

would do
bpftrace -e 'k:do_nanosleep { @[comm] = count(); } interval:s:1 { print(@); clear(@); }'

so -i takes an interval in seconds, and prints all maps and clears them. Because I type that interval thing in too much.

@brendangregg - I completely agree that some mechanism that provided a shorthand version of the whole interval/print/clear construct would be very welcome. As you say, it's something that you tend to do all the time.
I'm not sure on how this should be achieved yet though as I'm generally against using command line parameters for specific functionality like this as it just feels like this should be a language feature. Would be super useful however it ends up getting there. I'll ponder it.


Integrate google search

Search for answers in existing issues

[X] I have searched issues, there is no similar issue related

Feature description
No response
Motivation
No response

google api need $, maybe duckduckgo, it's free.


feat: add generate pipeline directory + dataset.yaml script

Description
Note: If you are adding or editing a dataset, please specify the dataset folder involved, e.g. datasets/google_trends
Checklist

[x] (Required) This pull request is appropriately labeled
[x] Please merge this pull request after it's approved

Use the sections below based on what's applicable to your PR and delete the rest:
Feature

[x] I'm adding or editing a feature
[ ] I have updated the README accordingly
[ ] I have added/revised tests for the feature

Data Onboarding

[ ] I'm adding or editing a dataset
[ ] The Google Cloud Datasets team is aware of the proposed dataset
[ ] I put all my code inside  datasets/<DATASET_NAME> and nothing outside of that directory

Documentation

[ ] I'm adding/editing documentation

Bug fix

[ ] I'm submitting a bugfix
[ ] I have added/revised tests related to my bugfix (see the tests folder)

Code cleanup or refactoring

[ ] I'm refactoring or cleaning up some code

When generating the resulting files, please add the license header:
https://github.com/GoogleCloudPlatform/public-datasets-pipelines/blob/492b973e3215a3c960e06ef061eb0c10de8f8419/scripts/generate_dag.py#L191-L194

This is looking good for a 1st version! 👍🏼  Time to add tests.


[BUG] Gravity compensation cannot turn off

Version information

RDK: v0.8
Robot software: v2.10.5
OS: Ubuntu 20.04 - x86_64

Describe the bug
streamJointTorque(tau, false) does not turn off gravity compensation
Steps to reproduce

Set the gravity compensation flag of streamJointTorque to false.
Run a simple controller like tau = -10 * q_dot;

Expected behavior
The robot arm will drop because of the lack of gravity compensation.
Additional context
We have tried turn the gravity compensation flag on/off, but it seems there is no effect on the robot arm control at all.

@acf986 This is a known issue and has been fixed in the upcoming RDK v0.9 release.

Fixed with release #40.


run_experiment in BasicAer fails after optmization_level=3

Information

Qiskit Terra version: master

What is the current behavior?
backend = BasicAer.get_backend('qasm_simulator')
qr = QuantumRegister(3, 'q')
cr = ClassicalRegister(3, 'c')
circuit = QuantumCircuit(qr, cr)
circuit.h(qr[1])
circuit.cx(qr[1], qr[2])
circuit.measure(qr, cr)

job = execute(circuit, backend, optimization_level=3)
print(job.result().get_counts())

qiskit.providers.basicaer.exceptions.BasicAerError: 'qasm_simulator encountered unrecognized operation "unitary"'

other optimization levels work as expected.

Should be resolved by #2342.

indeed.


[e2ealerting] Support pass through labels

We're using e2ealerting across our k8s fleet to monitor latency from ingestor to AM and want to be able to break that down by specific tags like cluster name or AZ. We could solve this by generating one rule for each but this becomes harder to manage as our cluster grows automatically. Instead this adds the ability to pass through custom labels from AM to the histogram and improves the timestamp seen logic to track this by the particular facets.
This adds 2 configuration parameters:

receiver.labels-to-track: This controls the label values of a metric that the "seen timestamp" will differentiate. This is useful if you want to track a different timestamp per host
receiver.labels-to-forward: This controls the labels that will be forwarded from the AM payload to the histogram metric. Useful to break the histogram down by cluster or region.

@gotjosh Mind reviewing this?

 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.


[FEATURE REQ] Provide a way to distinguish errors: codes, type hierarchy, etc

Is your feature request related to a problem? Please describe.
Hi,
We're using AsyncProducerClient from azure-messaging-eventhubs. I'm trying to handle throttling errors (Server Busy) in a different way than other exceptions. However regardless of nature of the error we get com.azure.core.amqp.exception.AmqpException with different text messages. Here it is as an example:
com.azure.core.amqp.exception.AmqpException: The request was terminated because the entity is being throttled. Error code : 50002. Sub error : 101. Please wait 4 seconds and try again. To know more visit...
In order to understand that it is in fact a throttling error I have to parse text message: even though the message contains error code it is still in the form of free text. It is unreliable and may cause regressions even in case of minor library updates.
Describe the solution you'd like
Introduce error code as a field of exception or create a class hierarchy for exceptions
Describe alternatives you've considered
Parsing text message, not good at all, unreliable
Additional context
Using azure-messaging-eventhubs:5.15.0
Information Checklist

[x] Description Added
[x] Expected solution specified

I found this doc that resolves my problem: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/eventhubs/azure-messaging-eventhubs/TROUBLESHOOTING.md#handle-event-hubs-exceptions
No fix needed


Added metadata description value

 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: jdmartinez36 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@traya1

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

<EMAIL_ADDRESS>P2 meta description additions for merge/review via Aquent.

@rowille PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@DaniHalfin


Default source directory and cmake paths from CMakeCache.txt

These values are stored as cache variables and, if the project has already been configured, are available in CMakeCache.txt.
See:

https://cmake.org/cmake/help/latest/variable/CMAKE_HOME_DIRECTORY.html
https://cmake.org/cmake/help/latest/variable/CMAKE_COMMAND.html

Note: I got breakages trying to run with Python 3.5. I dropped support (and added 3.10 to CI) instead of fixing them since it has been end-of-life for 2 years.

Any chance of joining hacktober fest?

Any chance of joining hacktober fest?

Sure. I just added a [CONTRIBUTING.md](6b18ea1c9b6e523c2367a1d04d00fd0bad8f494c) and a few issues
Feel free to create more issues that you think might be useful for the project.


diff subcommand should ignore gc tag

We run the diff subcommand during CI process involved with PR reviews, which comments back the diff as a PR comment in github.
When this happens we are getting false/positives because in some cases the only difference is the gc tag.
"metadata": {
-      "annotations": {
-       "kubecfg.ksonnet.io/garbage-collect-tag": "my-service",
-      },
-      "labels": {
-       "kubecfg.ksonnet.io/garbage-collect-tag": "my-service",
-      },

Either the diff subcommand should ignore the gc tag entirely, or the option to provide it should be made available to avoid such instances of this happening.

which --diff-strategy are you using?

diff --diff-strategy last-applied


Cannot accept OpenVINO license in docker installation

I'm following the instructions (https://github.com/opencv/cvat/tree/master/components/openvino) for
installing OpenVINO. When running

docker-compose -f docker-compose.yml -f components/openvino/docker-compose.openvino.yml build

I end up in an infinite loop with the error

"Type "accept" to continue or "decline" to go back to the previous menu: Incorrect input, please try again"

I'm running Ubuntu 18.04.

@manybodycpa , what is the OpenVINO version?

@nmanovic 2019 R3.1, the latest version available. Version 2018 R5 (mentioned in the instructions) does not seem to be available anymore.

I had the same program in 2019 R3.1.
Intel no longer provides OPENVINO 2018 R5 version.

Same problem with 2018 R5 here. How can I pass "accept" via the docker command line? Is there any other way to accept the agreement?

@manybodycpa , what is the OpenVINO version?

could you help to provide a usable OpenVINO file? thanks.


Seeking help configuring planner for desired functionality

(Required) What is your Quests version / build number (do not say "latest")?
3.3.0-b300
(Required) Please describe the problem and how to replicate it. Any console errors?
What I'd like to have happen is daily/weekly quests that emulate the functionality in Guild Wars 2. (Like many features on my server that have GW2 principles, I think this is great game design.) Randomization can come later - to start, I have a bunch of quests that currently have a ~12 hour cooldown on completion. Instead, I'd like the availability of them to roll over for every player every day at the same time (or, for weeklies, on Fridays at the same time).
https://wiki.guildwars2.com/wiki/Daily
I tried setting no cooldown and planner availability daily at the specified time, but it let players take multiple copies of the same quest. How should I set the planner options to achieve this? Below is an example current daily quest.
Let me know if I can provide more information - and as mentioned in the other "issue" I filed recently, I'm happy to chat at your leisure. I recently did a screenshare with Staartvin of AutoRank so I could show him some various systems in other games and on my server as part of some suggestions. Thanks for all your hard work, as always!
(Optional) Can you provide an example quest from quests.yml using Pastebin.com?
  Daily Library:
    name: Navigate the Grand Library (Daily)
    planner:
      start: 30:2:2018:19:0:0:SystemV/EST5
      repeat: 86400
      cooldown: 43200
    npc-giver-id: 182
    ask-message: '<gray>Bookkeeper<white>: Ah, hello, and well done on navigating
      the Library. Go to the Quest Master for your reward.'
    finish-message: '<darkgreen>Quest Master<white>: Excellent work! Here''s your
      prize.'
    stages:
      ordered:
        '1':
          npc-ids-to-talk-to:
          - 39
    rewards:
      money: 250
      quest-points: 1

If I'm not mistaken, you don't have an end date set, so the repeat timer isn't doing much of anything. If you were to do something like this...

  start: 30:2:2018:19:0:0:SystemV/EST5
  end: 30:2:2018:20:0:0:SystemV/EST5
  repeat: 86400

...then the quest would be available for 1 hour at 7:00pm EST-5 each day. A 12 hour cooldown is unnecessary since 24 hours would have passed anyway.

No, it just stops players from taking the quest until it becomes available again.
If you set end to that, players will be able to take the quest from 7:00:00pm to 11:59:59pm every day

Should I add a feature request for an event of some sort that ends at a designated time / on a designated day of the week?

@SXRWahrheit No, because that's already possible. If you want a quest to end every Thursday, just set your end date to the Thursday following your start date and set a repeat of 604800 seconds (1 week).


Enable more slash command option types

I would like to use more option types when using slash commands, like USER, CHANNEL, ROLE, etc.
Seems like currently only STRING and INTEGER are supported, others throw an INVALID_SLASH_OPTIONS_CHOICES error.
  SUB_COMMAND = 1,
  SUB_COMMAND_GROUP = 2,
  STRING = 3,
  INTEGER = 4,
  BOOLEAN = 5,
  USER = 6,
  CHANNEL = 7,
  ROLE = 8,

Maybe this is considered for discordeno 11, but I didn't see it mentioned anywhere.

This is already implemented in v11


nixos/nginx: allow 'pipe' and 'pipe2'  SystemCallFilters

Motivation for this change
There is a possibility that nginx is using these calls.
https://github.com/nginx/nginx/blob/master/src/os/unix/ngx_posix_init.c#L124
https://github.com/nginx/nginx/blob/master/src/event/ngx_event_pipe.c#L119
cc @mweinelt @Mic92
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

https://github.com/nginx/nginx/blob/master/src/os/unix/ngx_posix_init.c#L124

That ist dead code, see L117

I agree with @mweinelt, pipe is not used at the moment.


Automated tests are missing

Hi,
Could you automate the tests available at the test module?
This issue is part of the https://github.com/openjournals/joss-reviews/issues/5704 review.

Hi @anilbey,
are you talking about creating a GitHub Action?

Hello @cumbof, implementing GitHub Actions or another third-party CI would be ideal. If that's not feasible, providing documentation for manual testing steps would also be okay. The goal is for contributors to easily run tests locally and ensure their updates don't disrupt existing functionality.

In order to answer Issue #8, I've defined a CONTRIBUTING.md file with a few directions for whoever wants to contribute to the code development.
One of the steps required to propose a contribution is the following one:

Run the unit tests to make sure that your changes did not mess up with the existing features;
...

Note: In order to run the unit tests, simply run the following command in your terminal from the project root folder: python -m unittest test.test.

@anilbey Again, if you think this could be enough, please feel free to close the issue. Thanks!

Yes that is sufficient according to JOSS criteria. Thanks @cumbof


Expose DocoptExit exception in the all

Let users to raise DocoptExit from their code to indicate an error in the arguments.
This is often required when arguments need to go through additional validation

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #8   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines         490    490
=====================================
  Hits          490    490

Impacted Files
Coverage Δ

docopt.py
100% <100%> (ø)
:arrow_up:

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 bbed40a...bacbe24. Read the comment docs.

Thanks so much!


Fix VirtualService match headers mapping

Changes

:bug: Fix bug

/kind bug

Fixes #1313

/ok-to-test

Have the same fix out here with some unit tests
https://github.com/knative-extensions/net-istio/pull/1349


Envoy seems to be not removing upstream hosts in STRICT_DNS mode when A records are removed if healthcheck is configured for the cluster

Envoy seems to be not removing upstream hosts in STRICT_DNS mode when IPs are removed in the DNS provider
Description:
I have an Envoy (v1.19.1 ) setup (running in Docker) where I have it configured in STRICT_DNS. I created A records for my domain xyz.example.com pointing to two IPv4 addresses through Cloudflare. I verified they can be resolved properly. I also have envoy configured to use <IP_ADDRESS> and <IP_ADDRESS> as the DNS resolvers with a DNS refresh interval of 10s. The LbPolicy is configured to be Cluster_MAGLEV (I also tried this in ROUND_ROBIN mode but same issue).  When envoy starts up, it is successfully able to discover the two upstream IPs and everything works as expected.
However, when I removed an IP from my A record, Envoy seems to continue to use it presumably because it gets cached by Envoy somewhere. I verified that the second IP address was removed from the DNS response through nslookup as well. I do not have Envoy configured to use the TTL from the DNS record either.
This what my cluster config that is running looks like.
 "dynamic_active_clusters": [
    {
     "version_info": "2021-09-16 18:44:25.813940237 +0000 UTC m=+0.280545182",
     "cluster": {
      "@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
      "name": "lb-443-https",
      "type": "STRICT_DNS",
      "connect_timeout": "5s",
      "health_checks": [
       {
        "timeout": "5s",
        "interval": "10s",
        "unhealthy_threshold": 3,
        "healthy_threshold": 5,
        "reuse_connection": false,
        "tcp_health_check": {},
        "no_traffic_interval": "10s"
       }
      ],
      "circuit_breakers": {
       "thresholds": [
        {
         "max_connections": 10000,
         "max_pending_requests": 20000,
         "max_requests": 40000,
         "max_retries": 0,
         "track_remaining": true
        }
       ]
      },
      "dns_refresh_rate": "10s",
      "dns_lookup_family": "V4_ONLY",
      "common_lb_config": {
       "healthy_panic_threshold": {}
      },
      "close_connections_on_host_health_failure": true,
      "load_assignment": {
       "cluster_name": "lb-443-https",
       "endpoints": [
        {
         "lb_endpoints": [
          {
           "endpoint": {
            "address": {
             "socket_address": {
              "address": "xyz.example.com",
              "port_value": 443
             }
            }
           }
          }
         ]
        }
       ]
      },
      "typed_extension_protocol_options": {
       "envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
        "@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
        "common_http_protocol_options": {},
        "explicit_http_config": {
         "http_protocol_options": {}
        }
       }
      },
      "transport_socket_matches": [
       {
        "name": "default",
        "transport_socket": {
         "name": "envoy.transport_sockets.tls",
         "typed_config": {
          "@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
          "common_tls_context": {
           "tls_params": {
            "tls_minimum_protocol_version": "TLSv1_2",
            "tls_maximum_protocol_version": "TLSv1_3",
            "cipher_suites": [
             "[ECDHE-ECDSA-AES128-GCM-SHA256|ECDHE-ECDSA-CHACHA20-POLY1305]",
             "[ECDHE-RSA-AES128-GCM-SHA256|ECDHE-RSA-CHACHA20-POLY1305]",
             "ECDHE-ECDSA-AES128-SHA",
             "ECDHE-RSA-AES128-SHA",
             "AES128-GCM-SHA256",
             "AES128-SHA",
             "ECDHE-ECDSA-AES256-GCM-SHA384",
             "ECDHE-RSA-AES256-GCM-SHA384",
             "ECDHE-ECDSA-AES256-SHA",
             "ECDHE-RSA-AES256-SHA",
             "AES256-GCM-SHA384",
             "AES256-SHA"
            ]
           },
           "validation_context": {
            "trusted_ca": {
             "filename": "/etc/ssl/certs/ca-certificates.crt"
            }
           }
          }
         }
        }
       }
      ],
      "track_cluster_stats": {
       "request_response_sizes": true
      },
      "dns_resolution_config": {
       "resolvers": [
        {
         "socket_address": {
          "protocol": "UDP",
          "address": "<IP_ADDRESS>",
          "port_value": 53
         }
        },
        {
         "socket_address": {
          "protocol": "UDP",
          "address": "<IP_ADDRESS>",
          "port_value": 53
         }
        }
       ]
      }
     },
     "last_updated": "2021-09-16T18:44:26.467Z"
    },
    {
     "version_info": "2021-09-16 18:44:25.813940237 +0000 UTC m=+0.280545182",
     "cluster": {
      "@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
      "name": "lb-80-http",
      "type": "STRICT_DNS",
      "connect_timeout": "5s",
      "health_checks": [
       {
        "timeout": "5s",
        "interval": "10s",
        "unhealthy_threshold": 3,
        "healthy_threshold": 5,
        "reuse_connection": false,
        "tcp_health_check": {},
        "no_traffic_interval": "10s"
       }
      ],
      "circuit_breakers": {
       "thresholds": [
        {
         "max_connections": 10000,
         "max_pending_requests": 20000,
         "max_requests": 40000,
         "max_retries": 0,
         "track_remaining": true
        }
       ]
      },
      "dns_refresh_rate": "10s",
      "dns_lookup_family": "V4_ONLY",
      "common_lb_config": {
       "healthy_panic_threshold": {}
      },
      "close_connections_on_host_health_failure": true,
      "load_assignment": {
       "cluster_name": "lb-80-http",
       "endpoints": [
        {
         "lb_endpoints": [
          {
           "endpoint": {
            "address": {
             "socket_address": {
              "address": "xyz.example.com",
              "port_value": 80
             }
            }
           }
          }
         ]
        }
       ]
      },
      "typed_extension_protocol_options": {
       "envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
        "@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
        "common_http_protocol_options": {},
        "explicit_http_config": {
         "http_protocol_options": {}
        }
       }
      },
      "transport_socket_matches": [
       {
        "name": "default",
        "transport_socket": {
         "name": "envoy.transport_sockets.raw_buffer"
        }
       }
      ],
      "track_cluster_stats": {
       "request_response_sizes": true
      },
      "dns_resolution_config": {
       "resolvers": [
        {
         "socket_address": {
          "protocol": "UDP",
          "address": "<IP_ADDRESS>",
          "port_value": 53
         }
        },
        {
         "socket_address": {
          "protocol": "UDP",
          "address": "<IP_ADDRESS>",
          "port_value": 53
         }
        }
       ]
      }
     },

I am just trying to determine if this is an expected behavior or a bug. The only way right now the stale records get removed is if I restart the envoy container.
Update
I played around with the config a bit and tried to make it similar to the one in the test here to start with. It appears removing the cluster healthcheck fixes this problem for now. But it is still not quite clear to me how having healthcheck would affect stale A record removal. You can see above the healthcheck I am using is:
"health_checks": [
       {
        "timeout": "5s",
        "interval": "10s",
        "unhealthy_threshold": 3,
        "healthy_threshold": 5,
        "reuse_connection": false,
        "tcp_health_check": {},
        "no_traffic_interval": "10s"
       }
      ],

Turns out for my use case I had to set "ignore_health_on_host_removal": "...", as shown in the docs here. Sorry about the noise!


Allow for getting/setting "dotted" properties of objects

Do not merge without proper review! There might be a faster way to do it, I'm not completely sure yet.
Additionally includes a commit that makes it easier to use Tween::{interpolate,targeting}_property, by auto-get()-ing the initial value if null is given.
I'm open to discussions about better solutions, either here or on the original issue (#8257).
GIF Recording of work (its dimensions are a bit too large, so I won't inline it here)
Code used for recording:
main.gd
extends Node2D

func _ready():
	var tween = get_node("Tween")
	tween.interpolate_property(get_node("KinematicBody2D"), "position:x", null, 500, 2, Tween.TRANS_BOUNCE, Tween.EASE_OUT, 0)
	# Without first commit:
	#tween.interpolate_property(get_node("KinematicBody2D"), "position:x", get_node("KinematicBody2D").position.x, 500, 2, Tween.TRANS_BOUNCE, Tween.EASE_OUT, 0)
	tween.start()

kinematic_body_2d.gd
extends KinematicBody2D

func _fixed_process(delta): # Note: 3.0, thus doesn't need set_fixed_process(true)
	move(Vector2(-50, 50) * delta)

As you can see, the Tween applies to the X axis only, while the Y axis is moved by the KinematicBody2D.
Closes #8257. Revamp of #9003.

Here are some stats:
# Set property (position)

(... = z) x 1000000
	0.647000 seconds (0.000647 msec/rep) -- fastest

set(.., z) x 1000000
	1.417000 seconds (0.001417 msec/rep) -- 2x slower, probably because of stringname conversion

set_indexed(.., z) x 1000000
	1.716000 seconds (0.001716 msec/rep) -- 3x slower, because of having to search for a "."

# Set subproperty (position.x)

p=get(..); p.x=z.x; set(.., p) x 1000000
	2.310000 seconds (0.002310 msec/rep) -- fastest

set(.., Vector2(z.x, get(..).y)) x 1000000
	2.397000 seconds (0.002397 msec/rep) -- slightly slower, since it has to create a new Vector2

set_indexed(...x, z.x) x 1000000
	3.014000 seconds (0.003014 msec/rep) -- 1.5x slower, since it has to split the string

Code used to generate it: (click to expand)
func _ready():
	var thing = $Node2D
	var repetitions = 1000000.0

	print("(... = z) x %f" % [repetitions])
	var direct_time = OS.get_ticks_msec()
	for i in repetitions:

		thing.position = Vector2(randf() * 500, 100)

	direct_time = OS.get_ticks_msec() - direct_time
	print("\t%f seconds (%f msec/rep)" % [direct_time / 1000.0, direct_time / repetitions])

	print("set(.., z) x %f" % [repetitions])
	var set_time = OS.get_ticks_msec()
	for i in repetitions:

		thing.set("position", Vector2(randf() * 500, 100))

	set_time = OS.get_ticks_msec() - set_time
	print("\t%f seconds (%f msec/rep)" % [set_time / 1000.0, set_time / repetitions])

	print("set_indexed(.., z) x %f" % [repetitions])
	var set_indexed_time = OS.get_ticks_msec()
	for i in repetitions:

		thing.set_indexed("position", Vector2(randf() * 500, 100))

	set_indexed_time = OS.get_ticks_msec() - set_indexed_time
	print("\t%f seconds (%f msec/rep)" % [set_indexed_time / 1000.0, set_indexed_time / repetitions])

	print("p=get(..); p.x=z.x; set(.., p) x %f" % [repetitions])
	var setget_time = OS.get_ticks_msec()
	for i in repetitions:

		var p = thing.get("position")
		p.x = randf() * 500
		thing.set("position", p)

	setget_time = OS.get_ticks_msec() - setget_time
	print("\t%f seconds (%f msec/rep)" % [setget_time / 1000.0, setget_time / repetitions])

	print("set(.., (z.x, get(..).y)) x %f" % [repetitions])
	var setget_opt_time = OS.get_ticks_msec()
	for i in repetitions:

		thing.set("position", Vector2(randf() * 500, thing.get("position").x))

	setget_opt_time = OS.get_ticks_msec() - setget_opt_time
	print("\t%f seconds (%f msec/rep)" % [setget_opt_time / 1000.0, setget_opt_time / repetitions])

	print("set_indexed(...x, z.x) x %f" % [repetitions])
	var set_indexed_x_time = OS.get_ticks_msec()
	for i in repetitions:

		thing.set_indexed("position.x", randf() * 500)

	set_indexed_x_time = OS.get_ticks_msec() - set_indexed_x_time
	print("\t%f seconds (%f msec/rep)" % [set_indexed_x_time / 1000.0, set_indexed_x_time / repetitions])

I'm just worried that it would negatively affect AnimationPlayer performance, which might be problematic...
One way of optimising it further would be to store the splitted String in the StringName, so I don't have to split it every set or get, but I'm still not certain about the usefulness of that.

Actually I changed my mind, maybe what we could do is modify NodePath to
include sub-properties and use this.
This way, for set_indexed/get_indexed you just pass a node path (And the
path part is ignored). It should be more efficient than parsing a string
and have virtually no cost if only one property is there.
On Tue, Oct 31, 2017 at 8:27 AM, Bojidar Marinov<EMAIL_ADDRESS>wrote:

I'm just worried that it would negatively affect AnimationPlayer
performance, which might be problematic...
One way of optimising it further would be to store the splitted String in
the StringName, so I don't have to split it every set or get, but I'm still
not certain about the usefulness of that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/pull/12284#issuecomment-340734482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2xjNbZpGHv0vdRWIb2DI68ujrRXVks5sxwQrgaJpZM4QBm3a
.

New stats:
# Set property
(... = z) x 1000000
        0.592000 seconds (0.000592 msec/rep)
set(.., z) x 1000000
        1.384000 seconds (0.001384 msec/rep)
<EMAIL_ADDRESS>z) x 1000000
        1.127000 seconds (0.001127 msec/rep)
# Set subproperty
p=get(..); p.x=z.x; set(.., p) x 1000000
        2.246000 seconds (0.002246 msec/rep)
set(.., (z.x, get(..).y)) x 1000000
        2.326000 seconds (0.002326 msec/rep)
<EMAIL_ADDRESS>z.x) x 1000000 # Using nodepath
        1.855000 seconds (0.001855 msec/rep)
set_indexed(...x, z.x) x 1000000 # Using string
        4.530000 seconds (0.004530 msec/rep)

Code is nearly the same as before, just using nodepaths instead of strings for set_indexed.

Note that it now uses : for indexing instead of ..

Would be great to have this for beta, any chances to get it merged soon?

It needs a rebase, and a review by @reduz.

Update, fixed a big bug when passing only one name to set_indexed. I have to debug why AnimationPlayer doesn't detect the type of the property properly and sets it in discrete mode..

Ok, that bug was fixed as well... Anything else I should test?

I'd say let's Test in Production™.

This PR may have broken something https://github.com/godotengine/godot/issues/13162

Hey i don't know if this is the right thread for it. But can we get this addition of syntax sugar for interpolating Vector Variants to the documentation somewhere.


fix s3 logging issue; use getboolean() instead of get_bool()

Coverage remained the same at 67.54% when pulling c3b8cd57a47753225d84cab90493e2dffa7e7387 on SivaPandeti:fix_s3_logging into 9410715c81a2a16dcd04e7cce56d75747bb19ff6 on airbnb:master.

Travis failure is due to coveralls -- merging.


How would you implements "apollo-upload-server" with Adonis?

I was trying to figure out how to implements the "apollo-upload-server" with AdonisJS Framework but without success.
How would you implements it with AdonisJS, @thetutlage ? Have you any example how to integrate? I searched all over the internet for this solution, before open this issue. I only found example how to integrate with other frameworks.
Ref. URL: https://github.com/jaydenseric/apollo-upload-server/blob/master/readme.md

Why not use the existing file upload options?

I'm using GraphQL Server in both API and Client side. It is an implementation of file upload for graphql. So, the API responses is only in one route for all requests.
Then, after graphql processes the requisition I can use the Drive to upload it to AWS S3, for example.

Here's how the route.jslooks like using GraphQL Server:
const Route = use('Route')
const GraphqlAdonis = use('ApolloServer')
const schema = use('App/data/schema')

Route.route('/', ({ request, auth, response }) => {
    return GraphqlAdonis.graphql({
        schema,
        context: { auth }
    }, request, response)
}, ['GET', 'POST'])

Route.get('/graphiql', ({ request, response }) => {
    return GraphqlAdonis.graphiql(
        { endpointURL: '/' },
        request,
        response
    )
})

@rafaelfesi Afraid, I am not much familiar with the package. Also just by the looks, you will have to use their bodyparser to allow file uploads. https://github.com/jaydenseric/apollo-upload-server/blob/master/readme.md
They ship for express and koa out of the box and not for Adonis. So the only option is use the custom middleware option they have in their docs

Closing since no response from the issue reporter and not actionable as well

Hi guys, after a little research I came up with the following. Please notice some tricky things like request.request and response.response these are the NodeJS raw req/res. Don't forget to set autoProcess to false on bodyParser files.
Middleware
const { processRequest } = require('graphql-upload');

class GraphQlUpload {
  async handle ({ request, response }, next) {
    if (!request.is('multipart/form-data')) return await next();
    const finished = new Promise(resolve => request.request.on('end', resolve));

    try {
      request.body = await processRequest(
        request.request, response.response,
        { maxFileSize: 10000000, maxFiles: 10 }
      );
      await next();
    } finally {
      await finished;
    }
  }
}

config/bodyParser.js
{
  files: {
    autoProcess: false,
  }
}

@adrianyg7  This information was very useful. The days was breaking his head with this.
Thanks for the tip.


Added Flock object for automatic unlock on drop.

What does this PR do
In the spirit of RAII, created the Flock newtype to simplify flock lock handling. Users can pass around an explicit representation of a held lock, automatically unlocking once it goes out of scope.
Checklist:

[x] I have read CONTRIBUTING.md
[x] I have written necessary tests and rustdoc comments
[x] A change log has been added if this PR modifies nix's API

There's little point in wrapping a RawFd, since RawFd implements Copy. It would be way too easy to use accidentally use the RawFd after dropping the lock. If anything, it should wrap OwnedFd. And if we're going to do this, then we should make the flock function private.

I kinda think wrapping an OwnedFd is not that easy to use, Let's say that I locked a file exclusively so that I can safely write to it:
fn main() {
    let mut file = File::create("foo").unwrap();

    let flock_guard = Flock::lock(file.into(), FlockArg::LockExclusive).unwrap();

    // error[E0382]: borrow of moved value: `file`
    file.write(b"bar").unwrap();

    // guard dropped here
}

I have to convert the File into an OwnedFd (moved), which means I can not use that File anymore

What about we use a BorrowedFd here:
pub struct Flock<'fd>(BorrowedFd<'fd>);

impl<'fd> Drop for Flock<'fd> {
    fn drop(&mut self) {
        _ = flock(self.0.as_raw_fd(), FlockArg::Unlock);
    }
}

impl<'fd> Flock<'fd> {
    pub fn lock(fd: BorrowedFd<'fd>, args: FlockArg) -> anyhow::Result<Self> {
        flock(fd.as_raw_fd(), args)?;

        Ok(Self(fd))
    }
}

Though this won't make the above code compile either:
    let mut file = File::create("foo").unwrap();

    let flock_guard =
        Flock::lock(file.as_fd(), FlockArg::LockExclusive).unwrap();
    // E0502: cannot borrow `file` as mutable because it is also borrowed as immutable
    file.write(b"bar").unwrap();

But we can do this:
    let file = File::create("foo").unwrap();

    let flock_guard =
        Flock::lock(file.as_fd(), FlockArg::LockExclusive).unwrap();

    // compiles without any issue
    (&file).write(b"bar").unwrap();

ref: #1750

If flock is only valid on files, then perhaps we could accept a File and implement Deref and DerefMut instead:
pub struct Flock(File);

impl Drop for Flock {
    fn drop(&mut self) {
        _ = flock(self.0.as_raw_fd(), FlockArg::Unlock);
    }
}

impl Deref for Flock {
    type Target = File;
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl DerefMut for Flock {
    fn deref_mut(&mut self) -> &mut Self::Target {
        &mut self.0
    }
}

impl Flock {
    pub fn lock(fd: File, args: FlockArg) -> Result<Self> {
        flock(fd.as_raw_fd(), args)?;

        Ok(Self(fd))
    }
}

then perhaps we could accept a File and implement Deref and DerefMut instead

Yeah, I agree this is the Rusty way to implement it

If flock is only valid on files

flock(2) can be used for other types of file descriptors

flock(2) can be used for other types of file descriptors

Could you provide some examples or cite what other things it can be used on? I'm looking through a bunch of linux kernel and posix docs and they only specifically call out "files" (and local VFS files at that).
I could understand an argument that File isn't the only way such files could be represented, however I have yet to find conclusive evidence that anything other than "files" permits flock's.

Just checked the FreeBSD manual since this syscall is not POSIX but comes from BSD implementations:
 [EINVAL]		  The argument fd refers to an	object	other  than  a file.

This is not specified in the Linux manual, and I can call flock(2) on a file descriptor created by pipe(2):
#include <stdio.h>
#include <stdlib.h>
#include <sys/file.h>
#include <unistd.h>

int main(void) {
  int fd[2] = {0};
  int res = pipe(fd);

  if (res != 0) {
    perror("pipe(2)");
    exit(EXIT_FAILURE);
  }

  res = flock(fd[0], LOCK_EX);
  if (res != 0) {
    perror("flock(2)");
    exit(EXIT_FAILURE);
  }

  printf("flock acquired on a pipe fd\n");
  exit(EXIT_SUCCESS);
}

$ uname -a
Linux fedora 6.5.9-300.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 25 21:39:20 UTC 2023 x86_64 GNU/Linux

$ gcc main.c

$ ./a.out
flock acquired on a pipe fd

I think we will get an EINVAL error if we try this program on FreeBSD

I agree that most manuals of flock(2) are just talking about files

I didn't see any conclusive doc on whether it can be used on fds that are not files either, so my original statement shouldn't be considered accurate, I am sorry about this

but for systems that don't prohibit this, given that flock is assocaited with the open file objects, if the corresponding file descriptor has a entry in the open file table, then I guess it will work?

So we can't wrap RawFd since it's Copy.  And we can't do OwnedFd because it doesn't have enough methods.  We don't want to do BorrowedFd because the borrowed fd could still be accessed after dropping the Flock.  But we don't want to limit ourselves to std::fs::File because that would exclude stuff like tokio::fs::File.  What about being generic, and wrapping anything that isn't Clone?  Unfortunately, Rust can't have negative type bounds.  But we can get close by defining an unsafe Flockable trait and allowing the user to implement it on anything that isn't Clone.  Like this:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=1c1ec124c76302e36f5ae4e39ef2b9f3

I think everything is good to go, but looks like the gnu test had a random failure (it succeeded in the previous runs).

But we don't want to limit ourselves to std::fs::File because that would exclude stuff like tokio::fs::File.

If we want to implement Flockable for tokio::fs::File, then it seems that we have to pull the Tokio crate to Nix, is this what we want?
If we want it to be generic without pulling third-party dependencies, i.e.
unsafe impl<T: AsRawFd> Flockable for T { }

Then the unsafe mark seems to be meaningless

BTW, we have migrated our most CI tasks to GHA, the CI in this PR is in a mixed, intermediate state, rebasing your branch should resolve it

CI / tier3 (armv7-unknown-linux-uclibceabihf) failure is not related to this PR, please ignore it

Looks like the extra failures were "spurious HTTP errors", then the one expected error with armv7-unknown-linux-uclibceabihf.


Implement hero section UI as shown in figma design - issue #216

This pull request implements changes to the Hero section as per the Figma design for Rentalog.in. Here’s a summary of what has been done:

Updated Hero Section: Made changes to the Hero Section to match the Figma design.
UI Enhancements: Modified icons, background images, and colors to align with the Figma's aesthetic.
Responsive Design: Ensured that the Hero section is fully responsive and looks good on all devices (mobile, tablet, desktop).

Screenshots:
Below are the screenshots of figma design and Hero Section after changes:

Figma design:

Hero Section after changes:

How this contributes to the project:
This update improves the UI/UX of the homepage, making it more visually consistent with the upcoming version as depicted in the Figma design.
Related issues:
Addresses #216
Please review this PR.

@gauravsingh1281 Please check the PR and let me know if any changes are required. Thank you!

Hey @kavya410004 thank you for your contribution use high quality image instead of this image which is used in figma design and also use your creativity to enhance the overall look.

@kavya410004 ?

@kavya410004 ?

Yes @gauravsingh1281

@kavya410004 What your progress on this Pr ?


portfolio - pool tokens

as a user, i would like to be able to see my pool tokens on the portfolio.
it seems that this pool token is NOT visible:
0x4b51acc819591c885dba0f06d98a07b432e6d6b4
this anchor appears in the registry and api.
we might not show it because it is not in coingecko tokenlist HOWEVER, we should NOT restrict to show only tokens on the tokenlist in this case.

when using a mocked user account, I can see the pool token balance in the table


Not enough JQuery / Wordpress issue

Hello friends,
I am trying to integrate this into a Wordpress plugin.  The client is really on my back right now.  This is urgent please help!
Sent from my iphone
Please consider the environment before printing this e-mail.
__________________________________________________________Confidentiality Notice:This e-mail, including all attachments, is for the sole use of the intended recipient(s) and may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this transmission in error, please immediately notify us by telephone._____________________________________________________________

Take a look at https://github.com/hmlb/phpunit-vw


Implement Firebase Authentication function for use by endpoints

Description
Implement a function to authenticate users and associate them with their own unique auth_id in MongoDB
Acceptance Criteria

[x] Implement working Firebase Authentication
[ ] Create a function called firebaseAuth() in middleware.ts, used to authenticate requesting users (Refactoring)
[ ] Integrate Firebase Authentication into all endpoints

Implementation details

Testing notes

LGTM!

NOTE: Ticket has been changed to implement the function as middleware for all endpoints.


Server-side authentication

In addition to #38, we also need server-side authentication.

Currently  worked on in branch implement_auth


Annotate copied Content native lib items with package id to enable customization

Add %(NuGetPackageId) as is standard procedure for nuget package-provided assets,
so that other MSBuild targets can act on items contributed by Grpc.Core as needed, for
example, in Pack scenarios.
Fixes #26724

@nicolasnoble

FTR I checked the distribtests results after merging and they were green.


Unable to start dev-app with npm/yarn

What are you trying to do?
I'm trying to run dev-app in npm/yarn.
What troubleshooting steps have you tried?
Here's the error logging upon npm run dev-app.
I tried restarting my pc, reinstalling nodejs yarn. but the errors still the same. I cant start dev-app.
I also posted my issue here. https://groups.google.com/forum/#!topic/angular-material2/Qzg9Ofea7Ic
PS C:\Atom\Angular\components> npm run dev-app
><EMAIL_ADDRESS>dev-app C:\Atom\Angular\components
> ibazel run //src/dev-app:devserver

Querying for files to watch...
)) was unexpected at this time.
Bazel query failed: exit status 255
INFO: Writing tracer profile to 'C:/users/jjger/_bazel_jjger/ahuabkcd/command.profile.gz'
Loading: 0 packages loaded
ERROR: error loading package 'src/dev-app': in C:/atom/angular/components/tools/defaults.bzl: in C:/users/jjger/_bazel_jjger/ahuabkcd/external/npm_angular_bazel/index.bzl: in C:/users/jjger/_bazel_jjger/ahuabkcd/external/npm_angular_bazel/src/ng_package/ng_package.bzl: Label '@build_bazel_rules_nodejs//internal/npm_package:npm_package.bzl' is invalid because 'internal/npm_package' is not a package; perhaps you meant to put the colon here: '@build_bazel_rules_nodejs//internal:npm_package/npm_package.bzl'?
Loading: 1 packages loaded
Loading: 1 packages loaded
Bazel query failed: exit status 7
Runing //src/dev-app:devserver
INFO: Writing tracer profile to 'C:/users/jjger/_bazel_jjger/ahuabkcd/command.profile.gz'
Loading: 0 packages loaded
ERROR: error loading package 'src/dev-app': in C:/atom/angular/components/tools/defaults.bzl: in C:/users/jjger/_bazel_jjger/ahuabkcd/external/npm_angular_bazel/index.bzl: in C:/users/jjger/_bazel_jjger/ahuabkcd/external/npm_angular_bazel/src/ng_package/ng_package.bzl: Label '@build_bazel_rules_nodejs//internal/npm_package:npm_package.bzl' is invalid because 'internal/npm_package' is not a package; perhaps you meant to put the colon here: '@build_bazel_rules_nodejs//internal:npm_package/npm_package.bzl'?
Loading: 1 packages loaded
Loading: 1 packages loaded
Error running Bazel exit status 7
npm ERR! code ELIFECYCLE
npm ERR! errno 4
npm ERR<EMAIL_ADDRESS>dev-app: `ibazel run //src/dev-app:devserver`
npm ERR! Exit status 4
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev-app script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      [C:\Users\jjger\AppData\Roaming\npm-cache\_logs\2020-01-14T01_54_33_569Z-debug.log](url)

C:\Users\jjger\AppData\Roaming\npm-cache_logs\2020-01-14T01_54_33_569Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\jjger\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'dev-app'
1 verbose cli ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'predev-app', 'dev-app', 'postdev-app' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: C:\Users\jjger\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Atom\Angular\components\node_modules\.bin;C:\Python27\;C:\Python27\Scripts;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\PowerShell\7-preview\preview;C:\Program Files\AdoptOpenJDK\jdk8u192-b12\bin;C:\Program Files\Java\jdk1.8.0_231\bin;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools;C:\Android\android-sdk\tools\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files (x86)\Yarn\bin\;C:\Ruby26-x64\bin;C:\Users\jjger\AppData\Local\Microsoft\WindowsApps;C:\Users\jjger\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\jjger\AppData\Local\atom\bin;C:\Users\jjger\AppData\Roaming\npm;C:\Users\jjger\AppData\Local\Yarn\bin;C:\Program Files (x86)\GnuWin32\bin\patch.exe;C:\Program Files (x86)\GnuWin32\bin;
9 verbose lifecycle<EMAIL_ADDRESS>CWD: C:\Atom\Angular\components
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '/d /s /c', 'ibazel run //src/dev-app:devserver' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 4  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec dev-app script
13 verbose stack Error<EMAIL_ADDRESS>dev-app: `ibazel run //src/dev-app:devserver`
13 verbose stack Exit status 4
13 verbose stack     at EventEmitter.<anonymous> (C:\Users\jjger\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:210:5)
13 verbose stack     at ChildProcess.<anonymous> (C:\Users\jjger\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:210:5)
13 verbose stack     at maybeClose (internal/child_process.js:1021:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd C:\Atom\Angular\components
16 verbose Windows_NT 10.0.18363
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\jjger\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev-app"
18 verbose node v12.14.0
19 verbose npm  v6.13.4
20 error code ELIFECYCLE
21 error errno 4
22 error<EMAIL_ADDRESS>dev-app: `ibazel run //src/dev-app:devserver`
22 error Exit status 4
23 error Failed at the<EMAIL_ADDRESS>dev-app script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 4, true ]

Reproduction
Steps to reproduce:

clone https://github.com/angular/components.git
yarn install / npm install
yarn run dev-app / npm run dev-app

Environment

Angular: v8.3.21
CDK/Material: v9.0.0-rc.7
Node.js: v12.14.0
npm: v6.13.4
Yarn: 1.21.1
Browser(s): Chrome 79
Operating System: Win10

Have you tried removing node_modules and then trying the following with Yarn only (you shouldn't mix Yarn and NPM in the same repo):

yarn
yarn dev-app

Have you tried removing node_modules and then trying the following with Yarn only (you shouldn't mix Yarn and NPM in the same repo):

yarn
yarn dev-app

Thanks @Splaktar !
I don't know what happened. I used git cli this time. Freshly cloned the git. Entered yarn and yarn dev-app and now its working! asdflkajsdhfalsdjf

git clone https://github.com/angular/components.git
cd components
yarn
yan dev-app

Yesterday I was using powershell and this error happened. using this commands. haven't tried this with cmd

git clone https://github.com/angular/components.git
cd components
yarn install
yan run dev-app

I repeated the process using powershell again with this commands. still an error. haven't tried this with cmd

git clone https://github.com/angular/components.git
cd components
yarn
yan dev-app

yarn dev-app / yarn run dev-app work only with git cli
doesn't work with my powershell or cmd. maybe this was because on how i installed git on my laptop.

We have a number of scripts that are bash, so Git Bash shell, WSL shell, or Cygwin Bash are supported. Cmd and PowerShell won't really work (there may be a way to modify them to work, but it's not documented AFAIK).


Chore: test logger

Coverage decreased (-1.01%) to 96.782% when pulling 07184929c1a09dc2c6c25203c4bdd48bd34009bc on chore/test-logger into ea5c2e24eb769fdc92cac1b40ce600b9074f951b on master.


Update it to a newer path_provider

I'm getting the error:
Because ** depends on simple_share ^0.0.1+4 which depends on path_provider ^0.4.1, path_provider ^0.4.1 is required.
So, because ** depends on path_provider ^1.2.0, version solving failed.
pub get failed (1)

Can you please update the dependencies version?

The current version of this project doesn't seem to even be using path_provider, so I think it can be removed

did you solve the problem?

Any news on this ?

Meanwhile I used the package share_it

Using share_it as well...


[Bug]  explicit sorting is needed for ICW testcase gpdtm_plpgsql.sql

Cloudberry Database version
PostgreSQL 14.4 (Cloudberry Database 1.5.5 build 77126 commit:64f8d776) (HashData Lightning 1.5.5 build 77126 commit:64f8d776) on aarch64-unknown-linux-gnu, compiled by gcc (GCC) 10.3.0, 64-bit compiled on Jun 17 2024 04:10:34
(1 row)
What happened
Failure in https://code.hashdata.xyz/cloudberry/cbdb-release/-/jobs/883544
--- /code/cbdb_src/src/test/regress/expected/gpdtm_plpgsql.out	2024-06-17 09:52:03.932424857 +0800
+++ /code/cbdb_src/src/test/regress/results/gpdtm_plpgsql.out	2024-06-17 09:52:03.952425151 +0800
@@ -530,8 +530,8 @@
 SELECT * FROM test_parse_arr ORDER BY a;
  a |     b
 ---+-----------
- 1 | {{1,2,3}}
- 2 |
+ 1 |
+ 2 | {{1,2,3}}
 (2 rows)

What you think should happen instead
a |     b
---+-----------
1 | {{1,2,3}}
2 |
How to reproduce
Testcase source:
https://code.hashdata.xyz/cloudberry/database/hashdata-lightning/-/blob/main/contrib/pax_storage/src/test/regress/sql/gpdtm_plpgsql.sql
https://code.hashdata.xyz/cloudberry/database/hashdata-lightning/-/blob/main/src/test/regress/expected/gpdtm_plpgsql.out
CREATE OR REPLACE function parse_arr (p_array text)
	returns int[] IMMUTABLE
	AS $dbvis$
	declare
		v_return int[][];
		v_text text;
		v_first int;
	BEGIN
		if p_array is null
		then
			return null;
		end if;

		v_first := 1;
		for v_text in
			select unnest(string_to_array(p_array, ';'))
		loop
			v_return := v_return || ARRAY[(string_to_array(regexp_replace(v_text, '[)( ]', '', 'g'), ',')::int[])];
		end loop;

		RETURN v_return;
	END;
$dbvis$ LANGUAGE plpgsql;

CREATE TABLE test_parse_arr (a bigserial, b int[]);

INSERT INTO test_parse_arr (b)
	SELECT parse_arr(x) FROM
				(
				  SELECT '(1, 2, 3)' AS x
				  UNION ALL
				  SELECT NULL
				) AS q;

SELECT * FROM test_parse_arr ORDER BY a;

Operating System
centos7
Anything else
No response
Are you willing to submit PR?

[ ] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct.

SELECT '(1, 2, 3)' AS x
UNION ALL
SELECT NULL

The union all does not make sure the order, thus explicit sorting is needed to avoid unstable results, like this
SELECT '(1, 2, 3)' AS x
UNION ALL
SELECT NULL AS x
order by x

after adding sorting, the result is still not stable. It is a bug.  I would reopen another code bug issue to resolve this.


Add strided_iterator class (skip_iterator) #121

This addresses issue #121.
I've added strided_iterator adaptor which - as requested - skips over multiple elements each time it is incremented. It's called strided_iterator to match corresponding iterator in the Boost.Range library (see boost/range/adaptor/strided.hpp). Tests included.
I've also included function make_strided_iterator_end(). It may be useful. What do you think about it?
@kylelutz, thank you for providing your code. It was helpful.

Looks great! I wonder if we should follow the API in boost/range/adaptor/strided.hpp which has separate make_begin_strided_iterator() and make_end_strided_iterator() functions? Or alternatively a single make_strided_iterator() function which then always takes both the begin and end of the underlying range.

In current solution I wanted to be consistent with other iterators in Boost.Compute, which don't really need to know what is below them and where it ends. make_strided_iterator_end() in this context is just a helper function to find past-the-end element, so caller doesn't have to calculate it.

make_strided_iterator() function which takes both the begin and end of the underlying iterator must led to strided_iterator implementation where increment method would look like this:
void increment()
{
   // super_type::base_reference() - underlying iterator referring
   // end - iterator referring to past-the-end element
   auto step = (std::min)(m_stride, end - super_type::base_reference());
   std::advance(super_type::base_reference(), step);
}

Otherwise why we would require end when making strided iterator for begin? And I think only that way we would get strided iterator end for make_strided_iterator(end, end, stride).
In this version end for strided_iterator made with stride = x and stride = y (where x != y) would be the same. My first thought is that can cause problems when someone want to iterate from the end to the begin.

That makes sense. Thanks for working on this!


Undefined class constant 'PEER'

It throws error on page vendor\fzaninotto\faker\src\Faker\ORM\Propel\EntityPopulator.php
Undefined class constant 'PEER'
    $this->columnFormatters = array_merge($this->columnFormatters, $columnFormatters);
}

public function guessColumnFormatters(\Faker\Generator $generator)
{
    $formatters = array();
    $class = $this->class;
    $peerClass = $class::PEER;
    $tableMap = $peerClass::getTableMap();
    $nameGuesser = new \Faker\Guesser\Name($generator);

Since Propel 2.0 is back into pre-alpha, I guess it's safe to say Faker doesn't support it. Closing.

PLease, I want to help projet to support Propel 2. Can you help me to understand what you are already do and improve it ?


add es module, add missing dependency

I want to start pushing es modules forward for juicy-ace-editor, I need this for my own project. As is, this should mostly work. I do not have the tests passing yet, and loading themes and modes through attributes does not work, and keep in mind that the element will now need to be served with something like Polyserve or Zwitterion, as bare specifiers are not native. I'm hoping the latest versions of web-component-tester will provide bare specifier support. I want to get feedback and see what else is necessary to get this going.

Can you use node: 8 in .travis.yml.

I've got the Chrome test passing, I should be able to get the Firefox test passing soon

I've added the html file back. The caveat is that it still depends on ES Modules, so it can be imported using HTML imports, but the browser must support ES Modules still. If that isn't what you wanted (it probably isn't), just let me know and I can add back the original html file.

I should probably add a separate test for loading through es modules as well

Also, just received word that Polymer 3 will be officially released next week, perfect timing to get this element switched to ES Modules: https://www.polymer-project.org/blog/2018-05-02-roadmap-update.html

Thanks a lot, @lastmjs!
Speaking of

I'm removing the Firefox test for now, it can be added back in next week when Firefox 60 ships. Firefox 60 will add support for ES Modules. All tests should pass after that

To keep continuous browser support, and merge your PR sooner, I think we can keep a redundant source in juicy-ace-editor.html for this week and remove it after.
Or write a simple script that translates import .. to <script src= and wraps the rest in <script></script> to produce a legacy file. So we could give a chance for Samsung Internet and UC Browser (however, I have never tested juicy-ace-editor there)

@alshakero Does that mean you're taking over these proposed features? Just want to make sure I don't leave anything hanging

Yes exactly. I'll continue from here thank you so much for the great effort.


Os import error

error where os is not imported on ooipy/hydrophone/basic.py
Not completely sure how good Github practice works for finding small bugs like this. @lsetiawan Do we need to create a new release tag for something this small?

looks like os was already imported, and it was an error on my end. closing the PR


build with RHEL7 gcc fails on ppc64le

If you try a simple make with RHEL7's system compiler on a POWER9 system, it fails with
cc: error: unrecognized argument in option ‘-mcpu=power9’
despite the check I see in Makefile.system.  Sorry I don't have time to debug it immediately.

That's with current develop ?

Sorry, I'd just realized I didn't say it's with 0.3.10, which you'd think I'd know to do.  No worries if it's been fixed since.

#2749 is/was supposed to fix it but that came after 0.3.10

You can get newer compiler to actually optimize for POWER9  here: https://www.softwarecollections.org/en/scls/rhscl/devtoolset-8/


[WIP] Remove TextEditor's dependency on Project

:warning: Dependent on https://github.com/atom/atom/pull/11604 :warning:
This is step 4 as laid out by @nathansobo in https://github.com/atom/atom/issues/10979.
Remove TextEditors dependency on Project.

Wrong base.


Update hardware definition for QT Py ESP32 Pico

Updated naming, and pinout, to match the production version (https://www.adafruit.com/product/5395) and silkscreen.

JSON is VALID (RFC 8259)


Says "user already logged in"

Issues after integrating UMA, i could log in and create once, but it now says "user already logged in"
Which i am not, i already exited the game.

Singleplay or MMO game?

Sorry, it's obviously is MMO games, right ? :P
Please zipping log files and post it here.

Yeah, but feel free to close the issue, after updating the server a few times the issue dissapeared.
Thanks for this great MMOkit! Rock on!


(Feedback) Multilayered protection for Azure virtual machine access

Dear Azure Architecture Center Team,
I recently came across your article on multilayered protection for Azure virtual machines ("Multilayered Protection for Azure VMs") and found it to be a valuable starting point for understanding the security frameworks applicable to Azure VMs. However, I believe the article would greatly benefit from further expansion in several key areas. Detailed information in these areas would be particularly useful for users looking to implement robust security practices in their Azure environments.
Potential Use Cases:
The current article outlines the concept of multilayered protection but stops short of detailing specific, real-world scenarios where this approach is most beneficial. For instance, providing use case scenarios for different industries such as finance, healthcare, or e-commerce, where data sensitivity and compliance are paramount, would illustrate the practical applications of multilayered protection.
Also, Maybe even add in some examples of a threat protection or Incident response scenarios where the breach has already taken place. For example, an attacker is conduction Account Enumeration post breach and has switch activity from enumerating fake accounts to real accounts that exist in our system.
Alternative Services:
While Azure offers a suite of security features, there are third-party services that can be integrated for enhanced security postures. A comparison of native versus third-party services, along with guidance on when and why to consider alternatives, would be invaluable for decision-makers.
Implementation Considerations:
Step-by-step implementation guides are incredibly useful for IT professionals. Additional content outlining common pitfalls to avoid during the setup and deployment of security layers, as well as best practices for maintaining security over time, would greatly enhance the utility of the article.
Pricing Guidance:
Understanding the cost implications is crucial for any organization. Adding a section on pricing models for the various security services mentioned, including how they may impact the overall cost of operation for an Azure VM, would help organizations plan and budget accordingly.
I believe that expanding on these topics would not only enrich the content but also empower users to more effectively utilize Azure's security features for their virtual machines. Thank you for considering this feedback as part of your ongoing efforts to improve the Azure documentation.

Article link: https://learn.microsoft.com/azure/architecture/solution-ideas/articles/multilayered-protection-azure-vm
I've reached out to the author, @husamhilal to advise.

Thanks a lot for this solid feedback @ryand423 ! You are right, I started drafting a new update, as this article hasn't been updated for a while now. I will be looking forward to publishing the latest updates in two weeks (as I'm on personal leave).
There are great points you mentioned that I will definitely consider and try to make it in the April's updates, such as:
Use cases, Pricing Guidance.
In May (hopefully sooner), I will work on adding Implementation guide (most probably video).
Can you please tell me more on the Alternative Services (3rd party) that you consider beneficial? Can you give me a couple of examples, please?
Thanks a lot!
Best regards,
Husam Hilal

Thank you for your feedback.  We have created internal ticket 232808 to track and investigate this issue.

#please-close


Auth forms: unable to click on submit button after filling all inputs correctly

Bug Description
The submit button is still disabled when a user tries to click on the submit button right after filling all the inputs correctly.
Steps to Reproduce
Steps to reproduce the behavior:

Go to Sign in page
Fill in any email
Fill in any password and directly click on the submit button
View that the submit button is not clickable

Expected behavior
After filling in all input details, the submit button should be clickable.
Actual behavior
Submit button is still disabled after filling in correct input details.
Screenshots/Recordings
Note that right after the user fills in all the details, the submit button is disabled. The submit button is only enabled after the user clicks on something else.

OS and Browser

OS: Mac, Chrome.

Additional context
This is probably due to the form input elements do not validate based on change. From the recording below, the errors object seems to not update on every change.

Account Number
c54c04774efaae20746fd3f29cdd619fea512e119bc1082b863572b2e8844104
How to Create an Account

Works fine in Firefox tho, I'll check it.

Works fine in Firefox tho, I'll check it.


DB2 ERROR: Did not recognize type 'BOOLEAN'

Affected module
Backend
Describe the bug
OM can not recognize BOOLEAN data type
To Reproduce
Ingest a table which has column with "BOOLEAN" data type
Get the warning message:
[2024-06-17T15:45:21.465+0800] {logging_mixin.py:188} WARNING - /opt/airflow/lib64/python3.9/site-packages/ibm_db_sa/reflection.py:292 SAWarning: Did not recognize type 'BOOLEAN' of column 'XXX'
some discussion are in the slack thread: https://openmetadata.slack.com/archives/C02B6955S4S/p1712336244151299
Expected behavior
can ingest DB2 metadata without this error
Version:

OS: Redhat8.9
Python version: 3.9
OpenMetadata version: 1.4.1
OpenMetadata Ingestion package version:

Additional context
Add any other context about the problem here.

fixed with https://github.com/open-metadata/OpenMetadata/pull/16718


Simplify buildings

Reduce building duplicate drawing, and reduce number of unique styles by consolidating color calculation logic.

I'll have a look at this next week, too much code churn – needs a visual before and after session (or screenshots attached).

It should be almost exactly the same visual, except it adds the building
landuse colors from the extrusions to the footprints as well (because it
was easier to organize that way and @senescape said she was planning to add
them anyway). Should be way more efficient.
Don't let it get too far from master or it will be hard to merge...
On Friday, October 2, 2015, Nathaniel V. KELSO<EMAIL_ADDRESS>wrote:

I'll have a look at this next week, too much code churn – needs a visual
before and after session (or screenshots attached).
—
Reply to this email directly or view it on GitHub
https://github.com/tangrams/eraser-map/pull/50#issuecomment-145185762.

Updated the PR description with walkthrough and screenshot side by side.

Updated against the recently rebased style. Visually re-verified changes. Merging to avoid further divergence. Building filter behavior is as described in #16, so should review be reviewed in case we want further tweaks.

Thank you, looks good :)


Show commit status for releases

Fixes #29082

I have a question. Is it necessary for a stable release.
I can understand add it for a pre-release or a draft release.
But for a stable release, when there's a red x, users may have a question:
is this release really stable? 😕

And I'd say rightfully so.

This PR now contains also a possible security fix.
https://try.gitea.io/KN4CK3R/draft-test/releases hides draft versions
https://try.gitea.io/KN4CK3R/draft-test/releases/tag/v1.0 still shows the draft if you can guess the tag name
Don't know if this should get a "bug" or "security" label.

a little wonder whether this change is necessary enough ? maybe user can add it in the release descraption manually or by ci.

maybe user can add it in the release descraption manually or by ci.

Why would one manually add a commit status? It does not make sense imho. If the release can be associated with a tag or commit, we should show the associated commit status, which can indicate problems for example when the release process is done by CI.
@KN4CK3R I think it's possible for release to not be associated to a commit, in such a case we should not render a status.

@KN4CK3R I think it's possible for release to not be associated to a commit, in such a case we should not render a status.

Releases are tag bases and therefore must be associated to a commit.

Okay, I guess it would still be good to add a check so that we do not break the template rendering if no commit can be determined.

Where should a check be placed? If there was no commit status found, nothing gets rendered.

Before the subtemplate repo/commit_statuses, but if there is a check already, then it's fine. I did not check in detail.

Maybe it should be hidden if Code is disabled.


Add GCMR balance of plant

Add a THM model to simulate the primary and secondary loops of a GCMR

Closing as completed by #279


daisyui style not working like textbox become black

when i use daisyui in project textbox and checkbox background become dark

Hi @darksun0900 ,
Sorry, but I didn't understand your question.


chore(build): bump earliest kokoro build version to go121

Bumping earliest Kokoro test go version to go121. Bumping latest version to go123 will be submitted in a separate, forthcoming PR.
This should solve the breakage we're seeing from the go.mod version format change between 1.20 and 1.21. For example:
go: errors parsing go.mod:
/[tmpfs/src/github/golang-samples/opentelemetry/instrumentation/app/go.mod:3](https://cs.corp.google.com/piper///depot/google3/tmpfs/src/github/golang-samples/opentelemetry/instrumentation/app/go.mod?l=3):
invalid go version '1.21.0': must match format 1.23

This change was made in a different PR #4392 , so i think its safe to close this one.
Tony, thanks for investigating this and helping us find the solution!


Fix nondescript name of the Helm lint CI job.

This changes the name in the GitHub UI from test (which tells the user essentially nothing) to Chart testing, which is pretty much what the job currently does.
Tested: see checks which ran on this PR.
Rollout: I've had to temporarily remove the test check (i.e. the previous version of what is now Chart testing) in order for the pre-merge conditions to pass on this PR. I'll add it back (under its new name) after merge.

Checks re-enabled under branch protection rules.


Merge ds/rawKernel into master

For #

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[ ] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #11165 into master will decrease coverage by 0.04%.
The diff coverage is 54.60%.

@@            Coverage Diff             @@
##           master   #11165      +/-   ##
==========================================
- Coverage   61.41%   61.37%   -0.05%
==========================================
  Files         596      601       +5
  Lines       32847    33233     +386
  Branches     4654     4700      +46
==========================================
+ Hits        20173    20396     +223
- Misses      11656    11795     +139
- Partials     1018     1042      +24

Impacted Files
Coverage Δ

src/client/datascience/raw-kernel/rawSession.ts
35.00% <35.00%> (ø)

src/client/datascience/baseJupyterSession.ts
42.15% <42.15%> (ø)

src/client/datascience/jupyter/jupyterExecution.ts
49.36% <49.36%> (ø)

src/client/datascience/raw-kernel/rawKernel.ts
55.71% <55.71%> (ø)

...client/datascience/raw-kernel/rawJupyterSession.ts
56.00% <56.00%> (ø)

src/client/datascience/raw-kernel/rawFuture.ts
81.33% <81.33%> (ø)

src/client/datascience/jupyter/jupyterSession.ts
68.06% <100.00%> (+10.61%)
:arrow_up:

...nt/datascience/jupyter/kernels/kernelSelections.ts
90.00% <100.00%> (ø)

...ient/datascience/jupyter/kernels/kernelSwitcher.ts
90.14% <100.00%> (ø)

src/client/datascience/types.ts
100.00% <100.00%> (ø)

... and 13 more

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 f0691a7...1cacd1d. Read the comment docs.

Moving to ready to review as the Linux functional tests are now passing (mac / windows still in progress)

All the individual commits were reviewed in the ds/rawKernel branch. Some areas that I did have to do manual merging were around the JupyterSession splitting into a base class and removing the server from INotebook refactor work.

Since this is pulling in a feature branch with multiple individual commits doing a merge pull request instead of a squash.


Is PublishAsync() thread-safe on the server?

Describe the bug
This is probably just some missing information in the documentation. The "Publishing messages" section on the Server wiki page says that it is possible to publish messages from server code and the example is in the Client wiki page. I know that the client isn't thread safe (you cannot publish atb the same time from different threads) but I always supposed that this is not true when publishing from the server, i.e., it is possible to call PublishAsync() from different threads at the same time on the server.
Is this true? Also, I think this is something that should be documented (I can provide a patch to the docs, if necessary).
Which project is your bug related to?

Server

@chkr1011 This is something, you should answer. I can update the docs afterwards.

I checked the source code and AFAIK the messages are added to a concurrent queue, so it should be. But I am not familiar with the source code - that's why I opened the bug and I am waiting for an "official" answer.

@fogzot  Yes it is 😄 Your assumption was correct.


feat: Allow passing custom preferences to chrome, enabling dev mode on chrome://extensions and allowing content script sourcemaps automatically

This fixes the dev mode issue in #236 and closes #137!
See the JS docs for example config:
https://github.com/wxt-dev/wxt/blob/731dae7d74159608afe93038973eb8f6c256dd99/src/types/external.ts#L677-L703

@aklinker1 why chromiumPref is just string types with object assign values?


AES in CTR mode: chunks with streamEncrypt

Awesome project.. but I noticed something strange when using AES in CTR mode with streamEncrypt for chunk encrypting/decrypting..
The first steamEncrypt works as expected but when calling a second one with the same encryptionContext the library goes into an infinite loop.
My code:
	$key = new AES\Key('abcdefghijklmnop');
	$nonce = 'abcdefghijklmnop';

	$ctr = new AES\CTR;
	$encryptionContext = $ctr->initEncryption($key, $nonce);

	$plaintext0 = "Secret string part 1";
	$plaintext1 = "Secret string part 2";

	$ciphertext = $ctr->streamEncrypt($encryptionContext, $plaintext0);
	$ciphertext .= $ctr->streamEncrypt($encryptionContext, $plaintext1);

	$decryptionContext = $ctr->initDecryption($key, $nonce);
	$result = $ctr->streamDecrypt($decryptionContext, $ciphertext);

	var_dump($result);

I debugged some lines and I think it may be related to this line:
$bytesRequired = strlen($message) - strlen($keyStream);
(https://github.com/lt/PHP-AES/blob/master/lib/CTR.php#L43)
This will hold a negative value when the second call to streamEncrypt is made and thus cause the subsequent while loop to run forever:
while ($blockCount--) {
I think the solution may be to ABS the value in $bytesRequired but I don't know enough about crypto to be certain.
Help would be much appreciated. ;)

Hey @RaymondBakker
You're absolutely right, going negative here will cause an infinite loop.
I could swear I fixed this ages ago... possibly in a different library entirely. I'll have a quick dig around and fix it shortly.

Looks like I fixed it in ChaCha20 - https://github.com/lt/PHP-ChaCha20/commit/8c63c2790cd0fcbb21e577a57c32387efec03c6a


Fix shell option with Node 7

Node versions >= 6 are supporting the shell option.
Also added Node 7 to CI and removed a leftover only.
//cc @satazor

Ty, Published v5.0.1.


My personal opinion for ng-sortable.style.css

if "ng-sortable.style.css" is optional can you remove that from bower's main files? Because I use grunt with wiredep, it puts that css file everytime I serve from grunt and it breaks my css.

Yeah, its a valid point.let me modify this.

@EricMcRay modified this in the master copy, let this be included in next release.


rof:version01

Description

Related Issues

Changes Proposed

Checklist

[x] My code follows the code style of this project.
[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x] I have updated the documentation to reflect the changes I've made.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

@nurbek2107 why are you not creating new profile?

long long bro get lost I'll get together now


Example for using in the browser

Is there an example on how to use this in the browser? fs doesn't exist as a module on that.
I tried filereader and it seems to work fine but for binary files it's a bit tricky

Hi RedTn, did you try using readAsArrayBuffer?
<input type="file" id="file-input" />

document.getElementById('file-input').addEventListener(
  'change',
  (e) => {
    const file = e.target.files[0]
    if (!file) return

    const reader = new FileReader()
    reader.onload = (e) => {
      const contents = e.target.result
      const binary = new Uint8Array(contents)
    }
    reader.readAsArrayBuffer(file)
  }
)

Yea I tried, but thanks this is a good example.
I thought the issue was how I was using the library, but it seems that there were some .fbx files it could not parse properly
https://github.com/Unity-Technologies/Graphics/blob/3a3be86f669c1e8681eeaacdd57742047b5912e4/com.unity.template-universal/Assets/ExampleAssets/Models/safetyhat_low.fbx

Interesting. The Autodesk FBX converter that I used on other files for checking gets an error: Call to FbxImporter::Import() failed. Error: File is corrupted, however it does open in other editors like 3ds Max and the default Windows 3D Viewer.
Debugging the binary parser I can see that this FBX file has an empty root node, but the name of the second node is read too long ExtensiontFBXHeaderVersionIë, which then leads to issues interpreting the rest of the data.
I'll have to check what is different in this file from the FBX Binary documentation provided by Blender.

Cool, good to know thanks. Since the initial issue was for an example in the browser, I'll close this.

@RedTn the other issue has been fixed: https://github.com/picode7/fbx-parser/issues/3


Implement the Pareto type IV distribution

It turns out that scipy.stats.burr12 is the Pareto IV distribution in disguise.


Default Admin username in documentation

Is some content missing, wrong or not clear?
Default admin username in the documentation is<EMAIL_ADDRESS>while actual username after docker compose is created as<EMAIL_ADDRESS>I am not sure if there are other places in the doc where it should be updated as well.
https://docs.open-metadata.org/latest/quick-start/local-docker-deployment#log-in-to-openmetadata
https://docs.open-metadata.org/v1.6.x-SNAPSHOT/quick-start/local-docker-deployment#log-in-to-openmetadata
Describe the solution you'd like
Please update the docs with<EMAIL_ADDRESS>as default admin username.
Additional context
none

This problem also exists in the 1.4.x version of the document


Fix loading of translations when base-href is set

Closes #11

Doesn't it cause trouble when you use the router in html5 mode?
Let's say that you navigate to http://localhost/route1, then it will try to load from http://localhost/route1/assets/i18n/ and fail

For me it works fine, even with the router in html5 mode.

did you try to reload your app from one of those paths? if it loaded the translations when you were at the root, of course it should still work when you navigate

Yeah I tried it - it does work ;-)

Have a look at this repo (branch http-loader)
https://github.com/joachimprinzbach/cli-project/tree/http-loader
You can reload the app from every path (either "home" or "profile") - language files get fetched correctly.

Sorry but I had to revert because it fails the tests, can you make them pass and then I'll merge it.

This is a heavy issue

Still "broken" :-) just ran into the problem


farcaster-swapd-syncer race-free initiation interplay: improve sequence of msgs

Codecov Report

Merging #574 (1ca94b5) into main (0f80924) will decrease coverage by 0.0%.
The diff coverage is 0.0%.

@@           Coverage Diff           @@
##            main    #574     +/-   ##
=======================================
- Coverage   12.0%   12.0%   -0.0%
=======================================
  Files         34      34
  Lines      10601   10639     +38
=======================================
  Hits        1277    1277
- Misses      9324    9362     +38

Impacted Files
Coverage Δ

src/farcasterd/runtime.rs
0.0% <0.0%> (ø)

src/rpc/request.rs
17.6% <0.0%> (+0.1%)
:arrow_up:

src/service.rs
13.7% <0.0%> (ø)

src/swapd/runtime.rs
0.0% <0.0%> (ø)

src/swapd/swap_state.rs
0.0% <0.0%> (ø)

src/swapd/syncer_client.rs
0.0% <0.0%> (ø)

src/walletd/runtime.rs
0.0% <0.0%> (ø)

src/error.rs
0.0% <0.0%> (ø)

... and 1 more

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 0f80924...1ca94b5. Read the comment docs.


Issue with LlamaParse ...i have a pdf document that is a mix of structured, searchable pages combined with scanned pages.  When parsed via llamaparse, I only receive the structured pages as output

b07df486-2f8b-4dd7-80a7-67ef3f397345
i used advanced mode, with and without parsing instructions.  With instructions, I explained the document is a mix of searchable and unsearchable pages.

sorry, meant to say "accurate" mode

Hi @TegoSys, would it be possible to share your document with us?
Also, we fix some issues on the parsing instruction for accurate mode. Could you retry to see if it works better now, and send us the jobID of the rerun?

to fix your trouble check this solution click
maybe this will solve your problem.


feat: Asset cdk deployment

Description
Added Asset deployment via CDK. After the deployment, Client can login with Cognito user pool. However, the integration between Client and Core is not yet complete and further work is needed.
Key callouts:

All public assets are deployed to a new folder for each deployment. This design prevents overwriting current assets and eliminates the incompatibility between assets.
CloudFront distribution is updated to point to the new folder after the assets deployment.

Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Deployed to Cloud and able to visit and log into the app

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Legal
This project is available under the Apache 2.0 License.

Awesome!


Use subprocess.run/check_output/… in examples

using string interpolation to construct commands is a really bad practice. You do so prominently in your examples by using os.system. This will break as soon as one of the paths contains a space, unlike using subprocess.run(['cmd', path], check=True)

Why did you close this? The README still contains calls to os.system


Make pending uploads page more intuitive

Currently it's not very intuitive what to do when you get to the page of a pending uploads batch.
(See for example our confusion from earlier)
The instructions/video will help, but it would be better if the page were also more self-explanatory.

I think part of the confusion is the terminology "Pending uploads". It sounds like it's a process that's ongoing in the background, rather than something the user needs to interact with to get to the next step. Maybe a different phrasing like "Files ready to be uploaded". The API can still call them PendingUploads and just the text on the page can change.
The layout can be adjusted, perhaps moving the "drag and drop files" box to the bottom. IDK if this helps
There can be some text added to the page. Something like "To start the upload process, click there and select the image NIfTI files with the filenames listed below.

Here's a good plan we agreed on:

change tab names to "upload table" and "upload images" (the latter is still internally referred to as "pending uploads")
hide "upload images" tab when there are no pending upload batches to deal with
move "images" tab to 3rd place, and make it so that you land at "upload table" tab rather than "images" after dataset creation
add text to "pending uploads" page that makes it clear what user needs to do, what file formats are expected, etc.

The first four items are handled by https://github.com/girder/otm-server/issues/72
The last item I don't know how to do properly:

hide "upload images" tab when there are no pending upload batches to deal with

@AlmightyYakob can you help with that last one? TY!
Also, another thing that would help make things intuitive:

when user is finished with all pending uploads, they should get redirected out of the pending uploads batch page and to the dataset/[id]/images page. because right now you just have to know to back out of the pending uploads batch page to get to the next step.

Closed via https://github.com/girder/otm-client/pull/18


Use presenter methods for indexing

Changes in this PR:

Route indexed vacancy attributes via presenter methods. We want a single source of truth for the presentation of these attributes.
Visible changes in UI are the inclusion of 'pm/am' in the expiry time, and the capitalization and punctuation of working patterns.

Screenshots of UI changes:
Before
(current production)

After
(on staging)

Next steps:

[ ] Run Vacancy.reindex (without bang) on production immediately after merging.
[ ] Reindexing will probably knock out the synonyms. The latest JSON of synonyms will be found here and can be directly uploaded on the Algolia dashboard.

Do not merge this yet.

This needs to be split in two so that the index changes can happen and update Algolia before the front-end changes happen.


PARMS Numbering in Warwickshire

There are some problems with the PARMS for Warwickshire. The PARMS numbering needs fixing so that Rhoda can make the place changes. The following amendments are needed:
There are three entries for RG9_2230A. Remove the blank GLS entry. Amend the WOR PARMS to RG9_2230B . (I am not game to remove it in case it is needed as and when this piece is eventually broken up). Add Clifford Chambers to the GLS PARMS for RG9_2230A.
There are two entries for RG12_2478A. Change the WOR entry to RG12_2478B and add Alderminster to it. Add Marston Sicca to RG12_2478 PARMS (WAR).
There are three entries for RG12_2485A. Add Shipston on Stour as a civil parish to one or the WOR entries. Remove the second WOR entry. Rename the GLS entry RG12_2485B as we cannot have RG12_2485A in two Counties.
RG12_2486 – add Longdon to RG12_2486A (WOR). Again, we have 2 counties for RG12_2486A. Rename GLS as RG12_2486B. (I am not game to remove it in case it is needed as and when this piece is eventually broken up).
Geoff

Anne
Piece Name - link to Stratford on Avon. I presume that Alderminster is linked. If not it will link to Alderminster WOR. (Alderminster in RG9_2230 will be linked to Alderminster WAR).
Geoff

@geoffj-FUG I have made the updates, so could you please check it is now as you require.

Entries now correct. We can close this issue.
Geoff


Added Amadou Mahtar Mbow University

@ba-talibe First stage of verification passed, official domain is uam.sn as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://ead.uam.sn/admin/tool/dataprivacy/summary.php?lang=en

Thanks you @philipto  gor your reactivity.

@ba-talibe Pull request merged. Thank you.


The pretrained model can be used in finetune_photo2cartoon.sh?

I load the FFHQ pretrained model from Pre-trained checkpoints.
And change the finetune_dir as Pre-trained checkpoints in finetune_photo2cartoon.sh. But it seems not to work. I want to know if the pre-trained model can be used in finetune_photo2cartoon.sh?

Yes, the pre-trained ffhq model can be used for finetuning.


Update deps & CI node versions

Codecov Report

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

@@          Coverage Diff          @@
##           master    #48   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines          77     77
  Branches       21     21
=====================================
  Hits           77     77

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 cbd1b1e...b7ec348. Read the comment docs.


/order_book/trades endpoint not working

I used below endpoint earlier
"https://horizon-testnet.stellar.org/order_book/trades?selling_asset_type=native&buying_asset_type=credit_alphanum4&buying_asset_code=FOO&buying_asset_issuer=GBAUUA74H4XOQYRSOW2RZUA4QL5PB37U3JS5NE3RTB2ELJVMIF5RLMAG&limit=20&order=desc"
However the same is not working now. How can I check if this is deprecated?

This should do the trick: https://horizon-testnet.stellar.org/trades?selling_asset_type=native&buying_asset_type=credit_alphanum4&buying_asset_code=FOO&buying_asset_issuer=GBAUUA74H4XOQYRSOW2RZUA4QL5PB37U3JS5NE3RTB2ELJVMIF5RLMAG&limit=20&order=desc
The old endpoint was deprecated in early 2017.