Expand Calendar to fill up screen

The calendar is very full featured, and pretty awesome. However, one of the issues I am facing, is that the calendar is restricted to a square. A design that I was thinking of is something like this:

This would be only for the vertical scrolling mode, this look much better as there won't be any empty space below. Would this be possible to implement?

@nikhilsh
Yes, I've thought about this feature too, just haven't got off-hour. I'll implement this and let you know once finish.

Check out this branch. https://github.com/WenchaoIOS/FSCalendar/tree/pagingEnable

Hey that branch looks good! Just wondering if it's possible to limit the scrolling to perhaps + 3 months or something.

There are delegate methods like minimumDateForCalendar: and maximumDateForCalendar. But it hasn't been tested in this feature yet. Tell me if you meet any problem.

Hey that works! It looks very good! Thanks

Have done some optimization and merged to 1.4.0. Have fun~

@WenchaoD I'm trying to display 2 months on the same page (beginning with current and following). My FSCalendar is inside a UIView that covers the entire width of the iPad. I feel like you might be able to guide me in the most current version. Thanks in advance.

@notDanish What's the problem? And please open a new issue to describe it.


Working with Desktop clients

Looking at this repo, it seems pretty cool. However, I'm curious. Could you use this library to make a desktop client, and have it be able to connect to the same server and communicate with a web-based client?

Yes.
Just like WebSocket, you can use WebTransport as a general-purpose protocol.
However, WebTransport provides some benefits, such as standard cryptographic features embedded in the protocol (security by default) instead of adding an extra layer on top, as WebSocket or HTTP do. It also offers the possibility to have multiple independent "streams" of data within the same connection.
WebTransport has been introduced in recent browser versions, making it easy to create a web client with a native JavaScript API. You can find more information on how to use it in the Mozilla Developer Network documentation.
Similar to other common network protocols, WebTransport uses a client-server architecture.
Therefore, you can create a desktop client that communicates using WebTransport and interacts with a server, which acts as an intermediary to facilitate communication with another client using web technology (browser API).
This library (at least that's the objective :) ) should provide a simple but effective API to write an application in Rust (both client or server) using WebTransport as a communication protocol

@BiagioFesta I have high hopes for this project. Wish you the best.


Minor changes in prospect module

[x] Remove "Prospect" from the tabs. We're on the prospect edit page so it can be just Details and Comments

[x] Comments tab to have a number displayed in the tab itself that should be the total number of comments for that prospect

[x] The default selected currency can be the first currency in the new/edit form

[x] Change the type of status into a dropdown with the following values:

Pending
Proposal sent
Discussions ongoing
Converted
Rejected
Client unresponsive
Final decision pending

[x] Change the list of prospects into three tabs/categories - Open, Converted, Rejected. Converted will have the ones with converted status, rejected with rejected status and all others will be in Open tab.

[x] The currency must appear in proper Indian currency format. For example, ₹ 1247520 should appear as ₹ 12,47,520

These all changes are deployed on the staging.


Added 'passparser' option for inplace argument additions.

I have a couple cases where functions are used to add command line arguments to a parser object passed as the first argument to the function instead of creating the parser inside the function. These functions don't necessarily return the original parser back so creating a default parser isn't really possible. So I figured I'd add this fairly simple change. Thoughts?

Nice thing to have. I also have an example of this usecase. I used wrapper function in my code as a workaround. This is way nicer solution.

Fix is included to 0.1.14 version


Style/TrivialAccessors tells me to perform the impossible there is a variable/method name mismatch

From #1605:
  def name
      @NAME
    end

    def name= o
      @NAME = o
    end
Gives me:

lib/minitest.rb:245:5: C: Style/TrivialAccessors: Use attr_reader to define trivial reader methods.
    def name
    ^^^
lib/minitest.rb:252:5: C: Style/TrivialAccessors: Use attr_writer to define trivial writer methods.
    def name= o
    ^^^

It is not possible to replace such a method with attr_reader or attr_writer, so why is rubocop complaining at me?  Shouldn't the default be reversed (require an exact name match)?

See also #1653, #308, #408.

Guess you saw my rationale behind that default - exposing "hidden" attributes. That said, I might change the default just to stop getting these recurring issue reports. :-)


Update machine-learning-example-apps-marketplace.md

Removed now deprecated customer churn prediction documentation.

Hi @LuisCabrer, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (luisca). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


question: when country is guessed, it will no effect on selected country

Hi...!
When country is guessed, it will no effect on selected country:
<script setup>
// ...
  const guessedCountry = ref();
  const guesser = new MemoIp2cCountryGuesser();
  onBeforeMount(()=>{
      guesser.guess().then(
          (res)=>{
              guessedCountry.value = res;
              // console.log('defaultCountry:', guessedCountry)
              // console.log('guessedCountry:', guessedCountry.value)
          },
      );
  });
</script>

<template>
<!--      ...       -->

Guessed Country Is: {{ guessedCountry }}

    <v-phone-input
        v-model="phone"
        :readonly="loading"
        variant="solo"
        :default-country="guessedCountry"
    ></v-phone-input>

<!--      ...       -->
</template>

🤩 I found the solution! 😇
I should use :country instead of :default-country.
So this is the corrected code:
    <v-phone-input
        v-model="phone"
        :readonly="loading"
        variant="solo"
        :country="guessedCountry"
    ></v-phone-input>

Thank you for submitting the issue and answering your own question! :tada:


[BUG] func NewWorkspace does not create deep copy of terraformTemplates

Description
The function NewWorkspace does not create a deep copy of Terraform Templates which are read from the respective service definition.
Expected Behavior
The function should create a deep copy.
Changes to Terraform Templates which are saved for a distinct workspace object must not affect Terraform Templates which are stored for the serviceDefinition object.
Actual Behavior
Changes to Terraform Templates which are stored for a workspace object overwrite the serviceDefinition:
pkg/providers/tf/provision.go, line 185:
workspace.Modules[0].Definitions["main"] = tf

Possible Fix
Steps to Reproduce

Context
We created a Brokerpak which allows to provision new S3 buckets or import existing ones. The brokerpak manifest looks similar to this (excerpt):
plans:
  - name: standard
    # (...)

provision:
  import_inputs:
    - field_name: s3_bucket_name_subsume
      type: string
      details: Existing AWS S3 bucket to subsume
      tf_resource: aws_s3_bucket.this
  import_parameters_to_delete:
    - aws_s3_bucket.this.id
    - aws_s3_bucket.this.arn
    - aws_s3_bucket.this.bucket_domain_name
    - aws_s3_bucket.this.bucket_regional_domain_name
    - aws_s3_bucket.this.hosted_zone_id
    - aws_s3_bucket.this.region
  plan_inputs:
    - field_name: subsume
      type: boolean
      details: Subsume existing
      default: false
  user_inputs:
    - required: false
      field_name: subsume
      type: boolean
      details: "Determines whether existing bucket is imported"
      default: false
    - required: false
      field_name: s3_bucket_name_subsume
      type: string
      details: "Name of the imported bucket"
      prohibit_update: true   # bucket name cannot be changed since this would trigger a recreate
  template_refs:
    data: terraform/s3/provision/data.tf
    main: terraform/s3/provision/main.tf
    outputs: terraform/s3/provision/outputs.tf
    provider: terraform/s3/provision/provider.tf
    variables: terraform/s3/provision/variables.tf
    versions: terraform/s3/provision/versions.tf

The Brokerpak allows us to:

create a new bucket with cf create-service <service> <plan> <instance> -c '{}'
import an existing bucket with cf create-service <service> <plan> <instance> -c '{"subsume": true, "s3_bucket_name_subsume": <bucket-name>}'
migrate settings of the imported buckets to what is actually defined at the brokerpak: cf update-service <service> -c '{"subsume": false}'. This allows to patch settings of imported buckets.

The service and plan ids do not change for these three operations.
We observe that the broker generates a new main.tf module when importing an existing bucket. After the import, the same generated main.tf module is used for all newly provisioned buckets (without import) and for all service updates (in case the feature flag TERRAFORM_UPGRADES_ENABLED: true is set) instead of the main.tf which is actually part of the terraform template defined at the brokerpak.
We believe that this is an effect of NewWorkspace not creating a deep copy of terraformTemplates.
The wrong main.tf module is persisted to the database each time the terraform workspace is written for a service instance. As a consequence, once a single bucket has been imported, an update operation for any other service instance will break the stored workspace for the respective service instance.
Oftentimes hard-coded resource-IDs are written to main.tf module which is generated after the import operation. As a consequence workflows like this possible:

Provision service instance 1
Import an existing bucket into service instance 2

generates main.tf with hard coded s3 bucket-id and settings of imported bucket
tofu apply has no effect since terraform modules and state match

Update Service Instance 1

tries to apply main.tf from imported bucket on service instance 1
update might try to drop current bucket (!) and create the bucket which was imported in step 2 (since bucket name is hard-coded in main.tf
update fails since bucket to create already exists

Deprovision Service Instance 1

might remove settings from bucket which has been imported into service instance 2 due to hard-coded resource ids
might destroy the bucket which has been imported into service instance 2

Your Environment

Version used:  d1a7c753ed878b4d3828f1db73dfcceed2f9bdce
Operating System and version (desktop):  macOS Sonoma 14.6.1
Link to your project (if public):
Platform (Azure/AWS/GCP): AWS
Applicable Services:

I think this has been resolved by https://github.com/cloudfoundry/cloud-service-broker/pull/1102


SoundTrack Frequency-span Analyzer

Feature Request
A node which has a set of (3-5?) float outputs, each one representing the level of a certain frequency span from the soundtrack. Each output has an associated set of min and max frequency values. For more adjustable behaviour a drop-down could also be added for each output which changes how the level is determined (ex. peak level in frequency span or average level in frequency span)
A way to make it more intuitive would be to have the min and max values  be adjustable through points on a curve similar to how the bands applying low- & high-pass filtering in the equalizer (featured on the image below) is displayed (MEqualizer)

That's a very good idea. I was thinking about a similar solution for [AudioReaction]. Would you directly use the resulting value, or would you trigger something, if some kind of threshold is exceeded?

I think it would be nice to be able to set a spectral range .. to be able to be triggered on threshold .. so for example a selection of frequency between 30hz and 100hz to be triggered at threshold value reached.. Maybe even a selection for each of the most common bands used in audio mixing..
32 to 512Hz
512 to 2,048Hz
2,048 to 8,192Hz
8,192 to 16,384Hz
With a Q value or peak value for each ?

This feature is partially available in v3.3.0 with the [AudioReaction] operator


Add image push trigger at pr on deploy label and image tag use pr sha

Argo sync fail

Argo sync fail

Argo sync fail

Argo sync fail


How do I detect skin color on an image

Thank you very much for your project!I would like to ask you how can I use your skin color detection model to conduct the experiment of skin color detection on a picture?
thank you

Hi. You could modify the python script in abd-skin-segmentation/unet_pytorch/unet_live.py to take a single image instead of starting the webcam. The inference logic will remain the same.
Please let me know if this helps.

Hi @iiiicode ,
As @anirudhtopiwala said, you can try with one single image.
This script should work:
import os
import random
import time

import cv2
import numpy as np
import torch
from skimage.io import imread, imshow
from skimage.transform import resize

from model import UNet

# Specify Image Dimensions
_MODEL_RESIZE_WIDTH = 128
_MODEL_RESIZE_HEIGHT = 128

_DEVICE = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
print("Using device: ", _DEVICE)

_MODEL_PATH = './Models/final_unet_pytorch.pth'
_PREDICTOR = UNet(input_channels=3)
_PREDICTOR.load_state_dict(torch.load(_MODEL_PATH, map_location=device))
_PREDICTOR.eval()

_THRESHOLD = 0.5

def get_skin_mask(image, predictor, threshold, device):
    """
    Returns the binary mask with the same height and width than the original image, as parameter.

    Parameters
    ----------
    * image: the image object (from cv2).
    * predictor: the UNET Pytorch model.
    * threshold: the threshold value, as float between 0 and 1, to create the binary mask.
    * device: the device to run your experiment.

    Returns
    -------
    The binary mask that detects the skin.
    """
    # from bgr (opencv "standard") to rgb
    rgb_image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
    resized_img = np.asarray(resize(rgb_image, (_MODEL_RESIZE_HEIGHT, _MODEL_RESIZE_WIDTH), mode='constant'))
    # Put the channel at first dim
    channel_first_img = np.transpose(resized_img, (2, 0, 1))
    img_added_axis = np.expand_dims(channel_first_img, axis=0)
    # Prepare the input tensor
    input_tensor = torch.from_numpy(img_added_axis).float()
    input_tensor.to(device=device)
    # Get the predictions
    preds = model(input_tensor)
    prediction = preds[0].cpu().detach().numpy()
    prediction = np.transpose(prediction, (1, 2, 0))
    # Now, resize to match with the original image...
    prediction = cv2.resize(prediction, (image.shape[1], image.shape[0]), interpolation=cv2.INTER_CUBIC)
    # Return the binary mask
    return np.uint8((prediction > threshold) * 255)

_IMAGE_FILEPATH = '' # TO FILL WITH THE PATH OF YOUR IMAGE
image = cv2.imread(_IMAGE_FILEPATH)

# Get the skin mask
skin_mask = get_skin_mask(image, _PREDICTOR, _THRESHOLD, _DEVICE)

# Now, locate the skin
mask_location = skin_mask == 255
bgr = image[mask_location]
rgb = bgr[..., ::-1]

# You have now the RGB color(s) of the skin :)


Option to set bounding box when importing qb

We want to be able to use the bounding box defined when importing qb file

Goal: We want to ensure that it is very easy to export the same qb file that was imported...


support for new intellij version 14.1

The plugin is not working with the new version.

Duplicate of #155. You need to update the plugin.


Add TOTALVI integration method

Changelog
Add TOTALVI integration component according to the tutorial: https://docs.scvi-tools.org/en/stable/tutorials/notebooks/scarches_scvi_tools.html#Reference-mapping-with-TOTALVI"
Issue ticket number and link
Contributes to #340
Checklist before requesting a review

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

[x] Conforms to the Contributor's guide

Check the correct box. Does this PR contain:

[ ] Breaking changes
[x] New functionality
[ ] Major changes
[ ] Minor changes
[ ] Bug fixes

[ ] Proposed changes are described in the CHANGELOG.md

[x] CI tests succeed!

@VladimirShitov could you merge main? :)

All done, please check :)

I believe everything is done :) Happy to hear your feedback @DriesSchaumont
Some test in dataflow/concat is failing but it should not be connected to this PR

@DriesSchaumont and @rcannood what is the current state of this pull request? Are there still outstanding issues?


Set ConfigurationLoader mget request preference to _primary for strong consistency

Description
Update ConfigurationLoader7 to set the preference of the mget request to _primary to instruct it to execute the request on the primary shard for maximum consistency.
See issue discussed here: https://github.com/opensearch-project/security/issues/2898
In Segment replication, replication may be a bit slower so this change guarantees that the request to reload the security config is performed on the primary. See https://github.com/opensearch-project/OpenSearch/issues/8182#issuecomment-1602879714

Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Maintenance
Issues Resolved
https://github.com/opensearch-project/security/issues/2898
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@mch2 could you review or do you have a recommendation from the storage team to review this PR?

@scrawfor99 This PR sets the mget's request preference to perform the mget on the primary shard since the security plugin requires strong consistency when reading in the security index to re-populate the caches on all of the nodes after a change in the security index. Regardless of segrep or docrep its important that there is strong consistency for a security config update so that the freshest data is cached.

LGTM, but AFAIK Seg Repl does not support refresh so far.

@mch2 I drafted this PR after reading your comment on here: https://github.com/opensearch-project/OpenSearch/issues/8182#issuecomment-1602879714

Are there are cases where stronger read/write consistency is desired on the system index?

Yes and the security plugin is a good example where it performs an mget request on all nodes of the cluster after a change has been made to the security index and the mget request is for each node to refresh its local cache. i.e. A user gets created and every node of the cluster refreshes its cache from the index to get the newly created user.
I was reading the discussion on here: https://github.com/opensearch-project/OpenSearch/issues/6046. The security index is typically not very big, I would estimate its size in a few MBs at most. Any idea what the latency is for an index of that size and using segrep? Do you have any concerns adding preference to the mget request here and would it be possible to reproduce a situation where an inconsistency can resort to 2 different nodes having different values in their security caches?

@scrawfor99 This PR sets the mget's request preference to perform the mget on the primary shard since the security plugin requires strong consistency when reading in the security index to re-populate the caches on all of the nodes after a change in the security index. Regardless of segrep or docrep its important that there is strong consistency for a security config update so that the freshest data is cached.

Hi @cwperks, perhaps I was not clear in my initial comment. My concern is that I don't think we should have this configurable. This seems to be registering a setting which can be overwritten. If that is the case, I think we should look for an alternative that does not allow for this change or should be very explicit in the potential ramifications.

@willyborankin @mch2 Explains refresh with segrep here: https://github.com/opensearch-project/OpenSearch/issues/8182#issuecomment-1608402185
@scrawfor99 This is not a configurable setting. This sets the preference on the mget request to instruct it to execute the mget on the primary shard which has the freshest data. This would ensure that the mget request to refresh the security caches on all the nodes do not fetch stale data.

Hi @scrawfor99 and @cwperks, apologies for the delay here.
I would not go forward with this change because it will impact performance for docrep indicies.  For 2.10 and get/mgets we are working to support strong reads with https://github.com/opensearch-project/OpenSearch/issues/8536 and this should be transparent to you.  For 2.9 we are going to revert the override in core where registered system indicies continue to use docrep.

Thank you for the context @mch2! I am closing this PR.


The paper and the code seem to be inconsistent

In the structure of the model, the paper and the code seem to be inconsistent. There are two inconsistencies:

In this paper, the input of Block is a combination of the output of Injector and Patch Embedding. However, in the code, there is only the output of Injector;

In this paper, the input of the Extractor is the fusion of the output of Block and Injector, while in the code, it is the fusion of SPM and Block output.

Hi, thanks for your attention. Let me give some explanations.

In this paper, the input of Block is a combination of the output of Injector and Patch Embedding. However, in the code, there is only the output of Injector;

A1: There may be some confusion. In the code, the input of the first ViT Block is an addition of the output of Injector and Patch Embedding, as you can see in line#145 and line#178 of this file. For the first ViT block, the query in the Injector is the feature comes from Patch Embedding, while attn denotes the output of cross attention. We add these two features as the input of ViT Block.

In this paper, the input of the Extractor is the fusion of the output of Block and Injector, while in the code, it is the fusion of SPM and Block output.

A2: In the code, the input of the Extractor is the fusion of the output of Block and last Extractor, as you can see in this figure,  Injector pass the $F_{\rm sp}^i$, so it's actually the output of the previous Extractor.

x is the output of ViT Block.
c is the output of last Extractor.

I see. Thank you for your answer.

凌自强
@.***

------------------ 原始邮件 ------------------
发件人: "Zhe @.>;
发送时间: 2022年11月22日(星期二) 中午12:07
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [czczup/ViT-Adapter] The paper and the code seem to be inconsistent (Issue #55)
In this paper, the input of the Extractor is the fusion of the output of Block and Injector, while in the code, it is the fusion of SPM and Block output.
A2: In the code, the input of the Extractor is the fusion of the output of Block and last Extractor, as you can see in this figure,  Injector pass the $F_{\rm sp}^i$, so it's actually the output of the previous Extractor.
x is the output of ViT Block.
c is the output of last Extractor.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


CommentsRemover.java:30-32: Maybe we should add...

The puzzle 76-7d5c2b4d from #76 has to be resolved:
https://github.com/cqfn/astranaut/blob/c2109a0877ccf578866e229f15f62a531c566024/src/main/java/org/cqfn/astranaut/utils/CommentsRemover.java#L30-L32
The puzzle was created by @kniazkov on 09-Aug-22.
Estimate: 60 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd the puzzle #76 is still not solved.

@0pdd the puzzle #unknown is still not solved.


Protobuf error in installing VeloView on Windows 10

Hi!
I am trying to install VeloView on Windows 10 following the developer guide.
Cmake tells: "Could NOT find Protobuf (missing:  Protobuf_LIBRARIES Protobuf_INCLUDE_DIR)", and VeloView installation stops with error.
Should Protobuf be installed in advance? Which version should be installed?
I tried installing latest version and got new errors. Cmake tells :"Found Protobuf: C:/prtbf/install/lib/libprotobuf.lib (found version "3.12.3")
MESSAGEFound a system-wide Protobuf library, tell VTK to use it to avoid runtime version mismatch".
And during installation I get mismatch between MT_StaticRelease and MD_DynamicRelease.
Full Cmake output:
C:\VeloView-build>cmake C:\Veloview-source\Superbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_qt5=True -DQt5_DIR="C:/Qt/5.12.8/msvc2015_64/lib/cmake/Qt5" -DENABLE_pcl=True -DENABLE_ceres=True -- The C compiler identification is MSVC 19.0.24215.1 -- The CXX compiler identification is MSVC 19.0.24215.1 -- Check for working C compiler: D:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- Check for working C compiler: D:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: D:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- Check for working CXX compiler: D:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check size of void* -- Check size of void* - done -- Check size of void* -- Check size of void* - done -- Found Git: D:/Program Files/Git/cmd/git.exe (found version "2.27.0.windows.1") -- Could NOT find Protobuf (missing:  Protobuf_LIBRARIES Protobuf_INCLUDE_DIR) -- Enabling eigen for: ceres, pcl, veloview -- Enabling glog for: ceres -- Enabling ceres as requested. -- Enabling cxx11 as requested. -- Enabling qt5 for: paraview, pythonqt, veloview -- Enabling python for: paraview, pythonqt -- Enabling pythonqt for: paraview -- Enabling paraview as requested. -- Enabling flann for: pcl -- Enabling boost for: liblas, pcl, veloview -- Enabling zlib for: pcl, png -- Enabling png for: pcl -- Enabling qhull for: pcl -- Enabling pcl as requested. -- Enabling pcap for: veloview -- Enabling liblas for: veloview -- Enabling veloview as requested. -- Building projects: eigen, glog, ceres, cxx11, qt5, python, pythonqt, paraview, flann, boost, zlib, png, qhull, pcl, pcap, liblas, veloview -- Could NOT find Protobuf (missing:  Protobuf_LIBRARIES Protobuf_INCLUDE_DIR) -- Configuring done -- Generating done -- Build files have been written to: C:/VeloView-build

Hi George
have you solved the problem about not found protobuf.I met the same issue as you.can you share how to solve the problem.thanks.

Hi George
have you solved the problem about not found protobuf.I met the same issue as you.can you share how to solve the problem.thanks.

No, I haven't faound a solution/


Use low camera resolution while scanning

Tested it out, seems to work fine.
Here's documentation on startImageStream:
When running continuously with [CameraPreview] widget, this function runs best with [ResolutionPreset.low]. Running on [ResolutionPreset.high] can have significant frame rate drops for [CameraPreview] on lower end devices.

Actually, I am not a fan of setting it to low. We somehow have to find a balance between performance on low-end devices and comfort on high-end ones. Setting it to low of course needs less performance but also lowers the performance on low-end devices.

but also lowers the performance on low-end devices.

Are you sure it lowers the performance? Doesn't feel like there's any performance lapse on my Pixel 4XL. Please let me know the results of your testing.
Yesterday I was at the supermarket scanning things and after about 3 minutes of usage the app started being super slow and unresponsive, and the phone felt hot. If this is on pixel 4xl, then i wonder how lower end devices might fare.
If performance is indeed a problem as you say, then we would need to find another solution at high priority (like not processing every image but every other image etc).

Oh I meant "lowers the comfort on high-end devices"

Oh I meant "lowers the comfort on high-end devices"
Lowering the preview just lowers the needed performance

The thing is, I'm not sure if we even need high resolution for scamming barcodes.

If the barcode scanning is affected by this is another topic. But for me it's like, looking at the documentation:

low → const ResolutionPreset
352x288 on iOS, 240p (320x240) on Android and Web

I don't want so see a 300px image covering my whole screen, I don't expect this as long as I don't have a 10 year old phone, which of course isn't our target group. Looking at the docs I'd rather go with veryHigh (1080p) then just high (720p)
Also I just did a quick test myself (Samsung S21) and let the scanning run for around a little less then 10 minutes and of course the phone warmed up a bit and smoothie wasn't running at 60FPS after that. I know this can't be said for every phone but thats why we stop the camera when going away from the scanner. No user is going to spend that much continuous time with the camera actived.

If the barcode scanning is affected by this is another topic. But for me it's like, looking at the documentation:

low → const ResolutionPreset
352x288 on iOS, 240p (320x240) on Android and Web

I don't want so see a 300px image covering my whole screen, I don't expect this as long as I don't have a 10 year old phone, which of course isn't our target group. Looking at the docs I'd rather go with veryHigh (1080p) then just high (720p)

it's not thaaaat bad :)

Also I just did a quick test myself (Samsung S21) and let the scanning run for around a little less then 10 minutes and of course the phone warmed up a bit and smoothie wasn't running at 60FPS after that. I know this can't be said for every phone but thats why we stop the camera when going away from the scanner. No user is going to spend that much continuous time with the camera actived.

Samsung S21 is a very advanced device :) it's one of the newest phones available yet, my Pixel 4XL is 2 years old but very powerful and it only lasted about 3 minutes before heating up and slowing everything down.
We need to test on some Huawei devices. @alexgarel  could you help?

It's also a matter of how much we care about showing high resolution camera stream to the users. @teolemon @stephanegigandet any comments ? Marvin does have a good point, but the cost of high resolution images is way too high AFAICT. If the functionality isn't affected by the resolution I wouldn't worry too much about it.
@alexgarel it would be great if you can test the latest dev version and tell us how it fares on Huawei.

Maybe there is a way to only send the scanning filed to the ml_kit but this won't save any recources in the current setup (as long as we can't check 30+ pictures per second) since we always send a new picture when the last is finished scanning

Indeed I had some issues scanning with low resolution just now :(

@jasmeet0817 I think I have most of the things ready to test, I have flutter doctor ok :-)
But I don't know what to do from there !
I would be glad to help from monday if you redirect me to a tutorial on what to do and what should I do in this specific case.

@jasmeet0817 I think I have most of the things ready to test, I have flutter doctor ok :-) But I don't know what to do from there ! I would be glad to help from monday if you redirect me to a tutorial on what to do and what should I do in this specific case.

Do you have android studio installed and the git repo setup ? If so, then it's really easy. Just connect your phone and run "main.dart" with Flutter. So step 9 from this: https://www.dummies.com/article/technology/programming-web-design/app-development/running-your-first-flutter-app-in-android-studio-272214

Reading MLKit's doc about implementation: https://developers.google.com/ml-kit/vision/barcode-scanning/android
Interesting read, especially the 2MB limit

@teolemon where did you read it?
But some other good information in there:

Don't capture input at the camera’s native resolution. On some devices, capturing input at the native resolution produces extremely large (10+ megapixels) images, which results in very poor latency with no benefit to accuracy. Instead, only request the size from the camera that's required for barcode detection, which is usually no more than 2 megapixels.

The only question is how we are going to scale down the image for ml-kit

that's what I was alluding to as well, brain not working well :-)

Moved discussion to #1047


[Bug] ScriptIs execute script TimeoutException

Search before asking

[X] I searched the issues and found no similar issues.

Linkis Component
linkis-commons
What happened + What you expected to happen
ScriptIs execute script：TimeoutException
In linkis-cg-linkismanager.log, Need a ServiceInstance(linkis-cg-entrance, localhost:9104) is repeatedly printed, but cannot find in DiscoveryClient refresh list.

Relevent platform
·
Reproduction script
·
Anything else
This question comes from the QA documentation of the Linkis community
QA Link：https://docs.qq.com/doc/DSGZhdnpMV3lTUUxq
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

这是因为实例被强制关闭了，而数据库当中持久化认为这个实例还存在导致的，解决方案是停止服务后，清空 linkis_cg_manager_service_instance 和 linkis_cg_manager_service_instance_metrics 这两张表。
This is because the instance is forcibly closed, and the persistence in the database thinks that the instance still exists. The solution is to clear the two tables linkis_cg_manager_service_instance and linkis_cg_manager_service_instance_metrics after stopping the service.


Increase pipeline upload retries on 5xx errors

In the case of server problems, we should give the Agent API a bit more time to recover, and to successfully accept a pipeline upload, before giving up and failing the pipeline upload job (and build) — which results on user intervention being required.
This increases the retry interval, and total number of retries, in the case of 5xx errors on pipeline uploads from 5 seconds to 5 minutes.
I think it's a good tradeoff to save user intervention and a failed build status, at the cost of the pipeline upload step taking much longer to run than usual in the case of server problems (such as downtime, maintenance windows, or unusually high load).

[ ] Increase to more than 5 minutes?
[ ] Is every 5 seconds a good number? It seems too short?
[ ] Check the Agent API to see if there's any known 5xx responses from the backend which we'd want to fail more quickly

Here's the current error HTTP status codes that could be returned from the Agent API:

102 Processing: The pipeline upload is being processed, and the agent should continue to retry the pipeline upload indefinitely until it receives a 2xx response.
422 Unprocessable Entity: There's an error in the pipeline upload parameters, and the agent should not retry the request.
500 Internal Server Error: That was a server error, and the agent should continue to retry the pipeline upload for a period of time, and then consider it failed. This could happen if a bug was deployed, or unusually high load is causing failures.

@lox we don't seem to treat any of these differently at the moment — they all just fall under the same retry block?

This seems like a sensible change @toolmantim.
In terms of handling the status codes differently, the code just about your change fails hard on 422, but retries on 500's. I'm not sure about 102's, that predates my time I think.

Eventually we'll make 500 a hard fail, and improve the handling of "Agent API having a bad time" to return a 102

🎉


Requirement to use Docker Swarm?

Is there any reason why this would need to be run in Docker Swarm, other than security of the secrets? Just curious and trying to understand why it wouldn't work to just run on the NAS with docker-compose.

This works fine using docker-compose


a few ideas

Maybe not so much error checking? If you check for errors within each function, that'll create a pretty big overhead (especially for, say functions like your single random number: if you check that max > min each time for that, about a quarter of the processor cycles could be spent on that check). However, if you remove the checks, and specify that max must be greater than min in the docs (this is how the standard library Range does it) then you allow the user to do their own error checking, or bypass it if they know that the arguments they're using will always work, saving them the overhead.
Also, optionals usually aren't used for error checking: they're usually used for things that can and do return nil in normal operations.  Realistically, that's something that should never happen, no matter what. You don't really want your function to return nil in that case, you want it to crash, so you find the bug quickly and early.
The standard library find() function is a good example of something that returns an optional, instead of crashing. find() returns an optional because of the nature of what it does: if it doesn't find what you're looking for, it returns nil. This may be something that you want to happen. However, if there was some other error, some problem in the logic of what it was doing (say you passed it the wrong type), you don't want it to return nil, you want it to crash. The difference is that you want your function to crash for arguments it should never get, but return nil for a failure that might be desirable.
Some of the errors you check for don't actually need to be checked: say the sampling with replacement function. Why does length have to be smaller than the array you're sampling from? Say I want to sample 3 from the array [1, 2]. Why can't you just return, say [1, 1, 2]? It makes sense for the function to do that. (However, It wouldn't make sense for the samplingWithoutReplacement function to allow this, for example) Also, your samplingWithGivenProbabilities function doesn't need its probabilities to add up to one: you can just total its probabilities, and use that as the factor for your random number generator from then on in.
I think your variable names are a little long, and your functions take too many named parameters. Making the names long makes it annoying to type, and it can take up a lot of space, making the code less readable. The extra information given in the names often isn't needed: look at randomContinuousUniformArray for example. Why does that have the word Array at the end? You know it's going to return an array - it's right there in the type signature. Same goes for samplingWithReplacementFromArray: you know that it's got to be FromArray without having it in the name, because it only accepts an Array as its argument. In fact, in a lot of places, you probably don't have to specify named parameters at all: since your docs are so thorough, every piece of information you need is just an alt-click away. Especially in the one-parameter functions.
You seem to do a lot of initialising arrays to 0.0, and then looping through their count, and filling them. The functions like map(), flatMap(), etc., are more efficient: instead of doing initialise, loop, lookup, change, increment, you can do it in one.
I wouldn't use 0s and 1s in place of Bools, if at all possible. It obfuscates the purpose, it's slower, and you're likely going to have to convert back to a Bool at some stage anyway.
I hope I didn't come across as negative:  I thought it was really cool. I had a lot of fun looking through it!  Most of the things I'm talking about here are taste-based, rather than hard and fast rules, anyway, so don't feel any obligation to change what you've written: if you disagree with anything I've said, ignore it! I'm no authority.
Thanks for the cool code!

Hi. The first thing: I didn't expect such vast feedback from anyone, when I created this repository. Thank you! Those are my first steps in Swift programming and I don't have big programming background, so this means a lot to me :).
Thank you for the explanation about using Optionals. I misunderstood the whole purpose behind them.
To be honest, this length checking in sampling with replacement was copy-paste from other function, which I didn't change.
Regarding the names of functions, I agree with your remarks, but I would like to make it my own way. I will surely remove those redundant fromArray etc.
Thank you for pointing out the existence of map() and other useful functions, I will use them, but I want to do it myself, purely for educational value :)
So, to sum up, I really thank you for your time and remarks and I will surely incorporate some changes you proposed.


Stop using pulling update for Inference server health

We are currently using a pulling update mechanism to get the health check.
https://github.com/containers/podman-desktop-extension-ai-lab/blob/529bc5bef181032081fb5a616c0de7afabd27c4e/packages/backend/src/managers/inference/inferenceManager.ts#L280
We should move away from this behavior as it makes our extension use more resources when we already have access to this information through the podman desktop api events:

We already have some code able to capture container events.
https://github.com/containers/podman-desktop-extension-ai-lab/blob/529bc5bef181032081fb5a616c0de7afabd27c4e/packages/backend/src/managers/inference/inferenceManager.ts#L290-L293
The migration would be relatively easy and simplify the code for InferenceManager.

In the new Podman 5.1.0 version, they introduced a new healthcheck_events allowing to remove the health events.

A new field, healthcheck_events, has been added to containers.conf under the [engine] section to allow users to disable the generation of health_status events to avoid spamming logs on systems with many healthchecks.^1

When we will start using those events, we would have to check that the config does not have this, otherwise healthcheck could not be verified.


[DDW-775] Cardano SL 3.0.3 integration

This PR CHANGES.

HSM signing of daedalus
New daedalus-bridge nix architecture
nix builds of windows installers
New testnet support
Shelley staging environment support (not built by CI by default)

Todos

[ ] uninstaller.exe needs signed
[ ] daedalus should only run updater as admin
[ ] buildkite installer jobs need fixed

Screenshots

Screenshot

Testing Checklist

Slack QA thread
[ ] Test

Review Checklist
Basics

[ ] PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
[ ] PR is updated to the most recent version of the target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[ ] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance and unit tests are passing (yarn test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
[ ] There are no flow errors or warnings (yarn flow:test)
[ ] There are no lint errors or warnings (yarn lint)
[ ] There are no prettier errors or warnings (yarn prettier:check)
[ ] There are no missing translations (running yarn manage:translations produces no changes)
[ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly commented and documented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-renderings
[ ] Any code that only works in main process is neatly separated from components

Testing

[ ] New feature/change is covered by acceptance tests
[ ] New feature/change is manually tested and approved by QA team
[ ] All existing acceptance tests are still up-to-date
[ ] New feature/change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Merge the PR
[ ] Delete the source branch
[ ] Move the ticket to done column on the YouTrack board
[ ] Update Slack QA thread by marking it with a green checkmark

@disassembler @cleverca22 what is this PR about?
Do we have a ticket for it?
Please share more details...

heavily tested HSM signing and artifact building. Satisfied with results, merging. This should be last step before cutting a release!


[firebase_auth][iOS] MissingPluginException - Channel master, v1.12.8-pre.14

Whenever I run my iPhone app I get the following error. However, the same code on Android runs just fine. It looks like iPhone doesn't want to connect to Firebase, but not completely sure. The build is just fine and it loads in the iPhone simulator, but nothing is being returned from Firestore, instead I get the following:
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method startListeningAuthState on channel plugins.flutter.io/firebase_auth)
#0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
<asynchronous suspension>
#1      FirebaseAuth.onAuthStateChanged.<anonymous closure> (package:firebase_auth/src/firebase_auth.dart:47:25)
#2      _runGuarded (dart:async/stream_controller.dart:807:24)
#3      _BroadcastStreamController._subscribe (dart:async/broadcast_stream_controller.dart:215:7)
#4      _ControllerStream._createSubscription (dart:async/stream_controller.dart:820:19)
#5      _StreamImpl.listen (dart:async/stream_impl.dart:474:9)
#6      new _ForwardingStreamSubscription (dart:async/stream_pipe.dart:125:10)
#7      _ForwardingStream._createSubscription (dart:async/stream_pipe.dart:93:16)
#8      _ForwardingStream.listen (dart:async/stream_pipe.dart:88:12)
#9      _StreamBuilderBaseState._subscribe (package:flutt<…>
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getTemporaryDirectory on channel plugins.flutter.io/path_provider)
#0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
<asynchronous suspension>
#1      getTemporaryDirectory (package:path_provider/path_provider.dart:35:22)
#2      DefaultCacheManager.getFilePath (package:flutter_cache_manager/src/cache_manager.dart:37:27)
#3      new BaseCacheManager (package:flutter_cache_manager/src/cache_manager.dart:60:21)
#4      new DefaultCacheManager._ (package:flutter_cache_manager/src/cache_manager.dart:34:29)
#5      new DefaultCacheManager (package:flutter_cache_manager/src/cache_manager.dart:29:23)
#6      _HomeState.initState (package:BazaarOh/src/screens/home.dart:29:19)
#7      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4163:58)
#8      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4009:5)
#9      E<…>
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite)
#0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
<asynchronous suspension>
#1      invokeMethod (package:sqflite/src/sqflite_impl.dart:20:13)
#2      SqfliteDatabaseFactoryImpl.invokeMethod (package:sqflite/src/factory_impl.dart:29:7)
#3      SqfliteDatabaseFactoryMixin.safeInvokeMethod.<anonymous closure> (package:sqflite/src/factory_mixin.dart:24:35)
#4      wrapDatabaseException (package:sqflite/src/exception_impl.dart:8:34)
#5      SqfliteDatabaseFactoryImpl.wrapDatabaseException (package:sqflite/src/factory_impl.dart:25:7)
#6      SqfliteDatabaseFactoryMixin.safeInvokeMethod (package:sqflite/src/factory_mixin.dart:24:7)
#7      SqfliteDatabaseFactoryMixin.getDatabasesPath (package:sqflite/src/factory_mixin.dart:140:17)
#8      getDatabasesPath (package:sqflite/sqflite.dart:169:54)
#9      Ca<…>
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)
#0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
<asynchronous suspension>
#1      SharedPreferences.getInstance (package:shared_preferences/shared_preferences.dart:25:27)
#2      _HomeState.initialSetPageIndex (package:BazaarOh/src/screens/home.dart:38:49)
#3      _HomeState.initState (package:BazaarOh/src/screens/home.dart:34:5)
#4      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4163:58)
#5      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4009:5)
#6      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3109:14)
#7      Element.updateChild (package:flutter/src/widgets/framework.dart:2903:12)
#8      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4051:16)
#9      Element.rebuild (package:flutt<…>
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method Query#addSnapshotListener on channel plugins.flutter.io/cloud_firestore)
#0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
<asynchronous suspension>
#1      Query.snapshots.<anonymous closure> (package:cloud_firestore/src/query.dart:61:37)
#2      _runGuarded (dart:async/stream_controller.dart:807:24)
#3      _BroadcastStreamController._subscribe (dart:async/broadcast_stream_controller.dart:215:7)
#4      _ControllerStream._createSubscription (dart:async/stream_controller.dart:820:19)
#5      _StreamImpl.listen (dart:async/stream_impl.dart:474:9)
#6      new _ForwardingStreamSubscription (dart:async/stream_pipe.dart:125:10)
#7      _ForwardingStream._createSubscription (dart:async/stream_pipe.dart:93:16)
#8      _ForwardingStream.listen (dart:async/stream_pipe.dart:88:12)
#9      _StreamBuilderBaseState._subscribe (package:flutter/src/widgets/asy<…>
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method Query#addSnapshotListener on channel plugins.flutter.io/cloud_firestore)
#0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)
<asynchronous suspension>
#1      Query.snapshots.<anonymous closure> (package:cloud_firestore/src/query.dart:61:37)
#2      _runGuarded (dart:async/stream_controller.dart:807:24)
#3      _BroadcastStreamController._subscribe (dart:async/broadcast_stream_controller.dart:215:7)
#4      _ControllerStream._createSubscription (dart:async/stream_controller.dart:820:19)
#5      _StreamImpl.listen (dart:async/stream_impl.dart:474:9)
#6      new _ForwardingStreamSubscription (dart:async/stream_pipe.dart:125:10)
#7      _ForwardingStream._createSubscription (dart:async/stream_pipe.dart:93:16)
#8      _ForwardingStream.listen (dart:async/stream_pipe.dart:88:12)
#9      _StreamBuilderBaseState._subscribe (package:flutter/src/widgets/asy<…>
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
Syncing files to device iPhone XS...

Here is my pubspec.yaml:
environment:
    sdk: '>=2.2.2 <3.0.0'

dependencies:
    flutter:
        sdk: flutter

    algolia: ^0.1.6+1
    cupertino_icons: ^0.1.2
    carousel_pro: ^0.0.13
    cloud_firestore: 0.12.10+2
    firebase_auth: ^0.15.0+1
    firebase_core: 0.4.2
    firebase_messaging: 5.1.6
    firebase_storage: 3.0.6
    flutter_facebook_login: 3.0.0
    flutter_image_compress: 0.6.3
    flutter_slidable: 0.5.4
    font_awesome_flutter: 8.5.0
    geoflutterfire: ^2.0.3+5
    google_maps_flutter: 0.5.21+3
    google_sign_in: ^4.0.7
    image_cropper: ^1.0.2
    image_picker: 0.6.1+4
    cached_network_image: 2.0.0-rc
    intl: ^0.15.8
    keyboard_visibility: ^0.5.6
    liquid_pull_to_refresh: ^1.1.1
    flutter_cache_manager: ^1.1.3
    location: 2.3.4
    modal_progress_hud: ^0.1.3
    package_info: 0.4.0+6
    photo_view: ^0.4.2
    provider: ^3.0.0+1
    rxdart: ^0.22.2
    shared_preferences: 0.4.3
    url_launcher: 5.0.2

dev_dependencies:
    flutter_test:
        sdk: flutter
    flutter_launcher_icons: '^0.7.0'

Here is my flutter doctor -v
[✓] Flutter (Channel master, v1.12.8-pre.14, on Mac OS X 10.14.6 18G1012, locale en-CA)
    • Flutter version 1.12.8-pre.14 at /flutter
    • Framework revision ae88f0190e (3 days ago), 2019-11-21 19:38:51 -0500
    • Engine revision 96fc607b8a
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/zee/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

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

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

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

[✓] Connected device (1 available)
    • iPhone XS • F39E61CA-6A15-404C-A310-7C95B4438711 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-1 (simulator)

• No issues found!

Any help would be really appreciated. I can provide more details if needed.

@syedz If you could provide any of the following it would help us track down this issue:

test case that we could reproduce to track down this issue.
version of the plugin where this is happening
is this an issue with flutter itself or the firebase_auth plugin

I'm getting this too with the latest update, only on iOS builds, Android is working fine. It seems to be an issue with firebase_auth as I can't get past my app's login screen but flutter does load.
My plugin versions:
  firebase_core: ^0.4.3+1
  firebase_auth: ^0.15.2
  firebase_database: ^3.1.1
  cloud_firestore: ^0.13.0+1
  firebase_messaging: ^6.0.9

We also have this same issue, using phone authentication. Updated to the latest version of Flutter (1.12.13+ hotfix.5), along with latest versions of firebase_core (^0.4.3+1) and firebase_auth (^0.15.2).

@kroikie All I have setup is an iOS app that won't connect to Firebase, Android will work just fine. My pubspec.yaml file is below, I've updated a few dependencies from the original post.
environment:
    sdk: '>=2.2.2 <3.0.0'

dependencies:
    flutter:
        sdk: flutter

    algolia: ^0.1.6+1
    # The following adds the Cupertino Icons font to your application.
    # Use with the CupertinoIcons class for iOS style icons.
    cupertino_icons: ^0.1.2
    carousel_pro: ^0.0.13
    cloud_firestore: ^0.12.5
    firebase_auth: ^0.15.2
    firebase_core: ^0.4.3+1
    firebase_messaging: ^6.0.9
    firebase_storage: 3.0.6
    flutter_facebook_login: 3.0.0
    flutter_image_compress: 0.6.3
    flutter_slidable: 0.5.4
    font_awesome_flutter: 8.5.0
    geoflutterfire: ^2.0.3+5
    google_maps_flutter: 0.5.21+3
    google_sign_in: ^4.0.7
    image_cropper: ^1.0.2
    image_picker: 0.6.1+4
    cached_network_image: 2.0.0-rc.1
    intl: ^0.15.8
    keyboard_visibility: ^0.5.6
    liquid_pull_to_refresh: ^1.1.1
    flutter_cache_manager: ^1.1.3
    location: 2.3.4
    modal_progress_hud: ^0.1.3
    package_info: 0.4.0+6
    photo_view: ^0.4.2
    provider: ^3.0.0+1
    rxdart: ^0.22.2
    shared_preferences: 0.4.3
    simple_moment: ^1.0.3
    url_launcher: 5.0.2

dev_dependencies:
    flutter_test:
        sdk: flutter
    flutter_launcher_icons: '^0.7.0'

Has anyone found a solution for this?

Same here. Has anyone found a solution for this(2)?

I get it the other way around, it works for iOS but not Android..?

@kroikie any updates here? This is a blocker for our team. We haven't been able to update our iOS app in over a month now.

Sorry for the delay here, let me see if I can clarify some things:
@syedz you mentioned that your app is unable to connect to Firebase, are you able to use other Firebase plugins or is this an issue specific to firebase_auth plugin?
@all At what point are you seeing this MissingPluginException I would like to be able to reproduce it but I'm not seeing this when I run the example app. Eg: Is this happening when using a specific type of sign in?

I'm using phone auth if that helps.
On Mon, Jan 13, 2020, 5:16 PM Arthur Thompson<EMAIL_ADDRESS>wrote:

Sorry for the delay here, let me see if I can clarify some things:
@syedz https://github.com/syedz you mentioned that your app is unable
to connect to Firebase, are you able to use other Firebase plugins or is
this an issue specific to firebase_auth plugin?
@ALL https://github.com/ALL At what point are you seeing this
MissingPluginException I would like to be able to reproduce it but I'm
not seeing this when I run the example app. Eg: Is this happening when
using a specific type of sign in?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FirebaseExtended/flutterfire/issues/1489?email_source=notifications&email_token=AF6SYTDSRCKRA4IPXXATE5LQ5TR47A5CNFSM4JQ7RIJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI2QBGI#issuecomment-573898905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF6SYTE23WRQN5ZVLPYJOJTQ5TR47ANCNFSM4JQ7RIJA
.

@altShiftDev would you mind sharing your error?

Any update on this issue?  I don't think this problem is hard to reproduce..

@Ehesp @kroikie
I see a blocked: customer response label on this set in December. To reproduce the issue In my case, it is as simple as just calling the verifyPhoneNumber method during the sign in process.
This issue is blocking my app from releasing on iOS. I would be more than happy to answer any follow  up questions. Thanks!

Any update here?? We have been waiting for over a month for the release. Not able to test it on iphone !

any updates

I'm facing the same issue on Android Platform. I'm trying Phone Number Authentication. However, it shows the same thing. Is it possible that we didn't put something in the gradle.build files that is causing this issue?

I solved the issue by adding the following dependencies to my app level build.gradle files, I also changed the gradle version and changed it to 6.4. Also, adding crashlytics dependency to this file may cause issues if you haven't followed the proper process for using crashlytics on your Flutter app.
dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    // implementation "com.google.firebase:firebase-auth:19.3.1"
    implementation "com.google.firebase:firebase-analytics:17.4.1"
    implementation "com.google.firebase:firebase-database:19.3.0"
    implementation "com.google.firebase:firebase-storage:19.1.1"
}

I'm facing this issue on firebase_auth: ^0.16.0 too

To everyone still affected by this issue, this is what finally worked for me -
You need to register the plugin with the AppDelegate using
GeneratedPluginRegistrant.register(with: self)
If you are using the AppDelegate.swift file as instructed during firebase setup, you need to replace it with -
import UIKit
import Firebase
import Flutter

@UIApplicationMain
class AppDelegate: FlutterAppDelegate {
    override func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil
    ) -> Bool {
        FirebaseApp.configure()
        GeneratedPluginRegistrant.register(with: self)
        return super.application(application, didFinishLaunchingWithOptions: launchOptions) // YES;
    }
}

For Objective-C users, the AppDelegate.m should look like this ( thanks to https://github.com/flutter/flutter/issues/28874#issuecomment-486359780 )  -
#include "AppDelegate.h"
#include "GeneratedPluginRegistrant.h"

@import UIKit;
@import Firebase;

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  [FIRApp configure];
  [GeneratedPluginRegistrant registerWithRegistry:self];
  return [super application:application didFinishLaunchingWithOptions:launchOptions]; // YES;
}
@end

Thanks @rohandalvi .  Your solution worked for me!

delete .flutter-plugins and .flutter-plugins-dependencies and final pub get


HTML entities on news card show up as text instead of reserved character

When fixed, entities like &Amp; and &Apos; should be displayed as their associated reserved characters
ie: & (ampersand) or ' (single quote)

Tested and verified in QA. Ready to deploy.

Verified in Prod


How to get data from a problem when using readProb()?

implement getCoef(Constraint, Variable)
Until now there is no way to get the coefficients of any constraints, when the problem was not created using PySCIPOpt. we should support this for linear, knapsack...
This is how Gurobi does it.
store the constraint data within the Python Constraint
unclear how to realize the identification of a constraint: names may not be unique
The different ConsHdlrs could (should) be represented as different subclasses of Constraint... or we could store the type of the constraint and internally apply the corresponding method if it exists. For example, to have a linear constraint "handler" in python, which handles linear, knapsack, etc

I suppose this can be closed, since those features are already present in the means of getValsLinear(), getTermsQuadratic, etc.


SUBMARINE-505. Change job API response class in swagger annotation

What is this PR for?
The response class should be JsonResponse.class
What type of PR is it?
[Bug Fix]
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/SUBMARINE-505
How should this be tested?
https://travis-ci.org/github/pingsutw/hadoop-submarine/builds/689535458
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@liuxunorg Thanks for the review.


Fixed formatting & added joke

Noticed that there were two types of formatting in the file so ran it all through a formatter to get it all to use the same formatting, and added a joke, of course

Cool 👍 Thanks 🎉


PBS HTTP Error 403 "Could not send HEAD request"

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.02.22. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.02.22

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

D:\Program Files\YTDL>dir
 Volume in drive D has no label.
 Volume Serial Number is 7E48-8343

 Directory of D:\Program Files\YTDL

02/22/2017  09:30 PM    <DIR>          .
02/22/2017  09:30 PM    <DIR>          ..
02/22/2017  09:21 PM    <DIR>          youtube-dl
02/22/2017  09:29 PM         7,660,741 youtube-dl.exe
               1 File(s)      7,660,741 bytes
               3 Dir(s)  77,378,781,184 bytes free

D:\Program Files\YTDL>youtube-dl -v "http://ga.video.cdn.pbs.org/videos/independ
ent-lens/7a202f35-4463-4337-8c10-528f82920e4f/277803/hd-1080p-mezzanine-16x9/077
2d107_bad-kids-30-promo-mezzanine-16x9-mp4-192-800k.mp4" -o pbs.mp4
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://ga.video.cdn.pbs.org/videos/independen
t-lens/7a202f35-4463-4337-8c10-528f82920e4f/277803/hd-1080p-mezzanine-16x9/0772d
107_bad-kids-30-promo-mezzanine-16x9-mp4-192-800k.mp4', '-o', 'pbs.mp4']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.02.22
[debug] Python version 3.4.4 - Windows-Vista-6.0.6002-SP2
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 0772d107_bad-kids-30-promo-mezzanine-16x9-mp4-192-800k: Requesting header
WARNING: Could not send HEAD request to http://ga.video.cdn.pbs.org/videos/indep
endent-lens/7a202f35-4463-4337-8c10-528f82920e4f/277803/hd-1080p-mezzanine-16x9/
0772d107_bad-kids-30-promo-mezzanine-16x9-mp4-192-800k.mp4: HTTP Error 403: Forbidden
[generic] 0772d107_bad-kids-30-promo-mezzanine-16x9-mp4-192-800k: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkf42q19b\build\youtube_dl\extractor\common.py", line 496, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpkf42q19b\build\youtube_dl\YoutubeDL.py", line 2036, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

D:\Program Files\YTDL>
...
<end of log>

Description of your issue, suggested solution and other information
I am a new user, having followed the instructions to download a video from PBS in the following youtube video:  https://www.youtube.com/watch?v=qeqL8TfTwy0
Unfortunately, I receive an error message,: HTTP Error 403: Forbidden.  This is proceeded by the Warning: Could not send HEAD request.  I searched Issues and found one closed with an identical warning, but in that case the user was able to download some files but not others.
https://github.com/rg3/youtube-dl/issues/10968
The video I am attempting to download is a 30-second preview.; I thought it would be a good test case.
I also tried downloading a different file, over 5 minutes in length, but get the exact same error message.
http://www.pbs.org/video/2365953667/
Please let me know if there is any additional information I can provide.

youtube-dl --geo-bypass-country US "http://www.pbs.org/video/2365928080/" worked for me:

D:\ytdl>youtube-dl --geo-bypass-country US "http://www.pbs.org/video/2365928080/"
[pbs] Downloading JSON metadata
[pbs]<PHONE_NUMBER>: Downloading widget/partnerplayer page
[pbs]<PHONE_NUMBER>: Downloading portalplayer page
[pbs]<PHONE_NUMBER>: Downloading hls-1080p-16x9 video url info
[pbs]<PHONE_NUMBER>: Downloading m3u8 information
[pbs]<PHONE_NUMBER>: Downloading mp4-baseline-16x9 video url info
[pbs]<PHONE_NUMBER>: Downloading hls-800k-16x9 video url info
[pbs]<PHONE_NUMBER>: Downloading m3u8 information
[pbs]<PHONE_NUMBER>: Checking http-1200k video URL
[pbs]<PHONE_NUMBER>: Checking http-6500k video URL
[pbs]<PHONE_NUMBER>: Checking http-4500k video URL
[pbs]<PHONE_NUMBER>: Checking http-2500k video URL
[pbs]<PHONE_NUMBER>: Checking http-800k video URL
[pbs]<PHONE_NUMBER>: Checking http-400k video URL
[download] Destination: Independent Lens - The Bad Kids - Trailer-2365928080.mp4
[download]  12.0% of 23.22MiB at 373.11KiB/s ETA 00:56

again you don't have to look for the m3u8 link in developer tools and modify it to an mp4 link, it's all done automatically by youtube-dl, just use the original url: http://www.pbs.org/video/2365953667/.
youtube-dl http://www.pbs.org/video/2365953667/
[pbs] Downloading JSON metadata
[pbs]<PHONE_NUMBER>: Downloading widget/partnerplayer page
[pbs]<PHONE_NUMBER>: Downloading portalplayer page
[pbs]<PHONE_NUMBER>: Downloading hls-1080p-16x9 video url info
[pbs]<PHONE_NUMBER>: Downloading m3u8 information
[pbs]<PHONE_NUMBER>: Downloading mp4-baseline-16x9 video url info
[pbs]<PHONE_NUMBER>: Downloading hls-800k-16x9 video url info
[pbs]<PHONE_NUMBER>: Downloading m3u8 information
[pbs]<PHONE_NUMBER>: Checking http-1200k video URL
[pbs]<PHONE_NUMBER>: Checking http-6500k video URL
[pbs]<PHONE_NUMBER>: Checking http-4500k video URL
[pbs]<PHONE_NUMBER>: Checking http-2500k video URL
[pbs]<PHONE_NUMBER>: Checking http-800k video URL
[pbs]<PHONE_NUMBER>: Checking http-400k video URL
WARNING: ar subtitles not available for<PHONE_NUMBER>
[info] Writing video subtitles to: Independent Lens - TOWER - Guns on Campus - Short Film-2365953667.en.vtt
[download] Destination: Independent Lens - TOWER - Guns on Campus - Short Film-2365953667.mp4

02/23 07:20:30 [NOTICE] Downloading 1 item(s)
[#e02bb8 97MiB/98MiB(99%) CN:1 DL:282KiB]
02/23 07:25:05 [NOTICE] Download complete: /home/amine/Videos/Independent Lens - TOWER - Guns on Campus - Short Film-2365953667.mp4.part

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
e02bb8|OK  |   366KiB/s|/home/amine/Videos/Independent Lens - TOWER - Guns on Campus - Short Film-2365953667.mp4.part

Status Legend:
(OK):download completed.
[aria2c] Downloaded 102788511 bytes
[download] 100% of 98.03MiB

@starchivore --geo-bypass-country US is not needed for pbs.

The YouTube tutorial states that m3u8 must be replaced.  It also states that the field after 16x9 must also be replaced.  This is in addition to the fact that the video URL must be captured (not the web page URL).
I get the sense from your reply that these instructions are no longer valid.
I will try your suggestion to use the web page URL and NOT modify anything.

There are no official youtube-dl tutorials on YouTube. For all such tutorials ask their authors not us.


Job not found errors as of 5.3.0 -> 5.4.0 upgrade

This is a client library issue.
Environment details

@google-cloud/bigquery version: 5.4.0

Steps to reproduce
I can't give concrete steps to reproduce; we're still working on reliable repro instructions, this is more of a heads-up.
In https://github.com/dataform-co/dataform/pull/1076 we upgraded @google-cloud/bigquery from 5.3.0 to 5.4.0, specifically to move past the fix for https://github.com/googleapis/nodejs-bigquery/issues/857.
However, it seems like the code has changed in some way such that location is now a required option (see https://github.com/dataform-co/dataform/pull/1079 for a proposed workaround on our end). We saw some of our EU users complain about Job Not Found errors (e.g. https://dataform-users.slack.com/archives/CHMJK8MKM/p1604399268146500). (US users being presumably unaffected because it's the default location.)

Thanks for reporting. I will have a fix shortly.

@BenBirt what API call is returning the error? Any more details about the code and error (exact wording, stacktrace, etc) would be helpful.

Unfortunately by the time we've logged it we've dropped stacktrace, but the error message form is Not found: Job <project id>:dataform-<randomly generated id>.
However, the code must be throwing somewhere inside here: https://github.com/dataform-co/dataform/blob/master/api/dbadapters/bigquery.ts#L431
So it's got to be createQueryJob or getMetadata.
If it helps, we'll continue to try to repro this ourselves and get you a better stacktrace.

I think this is the stack trace you're looking for:
Error: Not found: Job dataform-corp:de90b2a0-0dc9-4def-aed9-019ec0672b35\
    at new ApiError (node_modules/@google-cloud/common/build/src/util.js:59:15)\
    at Util.parseHttpRespBody (node_modules/@google-cloud/common/build/src/util.js:194:38)\
    at Util.handleResp (node_modules/@google-cloud/common/build/src/util.js:135:117)\
    at node_modules/@google-cloud/common/build/src/util.js:434:22\
    at onResponse (node_modules/@google-cloud/common/node_modules/retry-request/index.js:206:7)\
    at node_modules/teeny-request/src/index.ts:325:11\
    at processTicksAndRejections (internal/process/task_queues.js:93:5

I'll outline more clearly where it's happening in our open source code and the fix for it in a mo

We create a query stream after creating a client.
In 5.3.0 location didn't need to be specified when creating the client, but in 5.4.0 it needs to be specified otherwise running a query stream against a table that isn't in the client-specified warehouse will throw this Not found error.
The location functionality was changed here in bigquery.ts in the update from 5.3 to 5.4, where location is changed to be (correct me if I'm wrong here) set from the request options, rather than a response from the BQ server. Instead I think location should only be limited in the case when the request options specify it.

Proposed PR to fix: https://github.com/googleapis/nodejs-bigquery/pull/889

Thank you for digging through that. I have sent #890 with a similar fix, however it relies on what the API used for the job as opposed to the one that the user provided. I'm not sure exactly how the dataform library is handling user-provided "location" options at this time, but that would be good to make sure is coming through to this layer (which I think you're about to do with https://github.com/dataform-co/dataform/pull/1079).

@BenBirt, @Ekrekr -- this fix is out in 5.5.0. Please let me know if there are any more issues!

The error still persists for me.
here is my code :
    const [job] = await bigquery
        .dataset(datasetId)
        .table(tableId)
        .load(storage.bucket('testing-bucket').file('file123.JSONL'), {
            format: 'JSON',
            location: 'australia-southeast1' // i have to specified this, otherwise, API throws error
        });

errors:
  errors: [
    {
      message: 'Not found: Job <project>:<job_id>',
      domain: 'global',
      reason: 'notFound'
    }
  ],

The job was actually successful, but the API still throws error.

Greetings.  Please file a new issue!


Open

Not open my YouTube

How to open mine youtube

Not open my YouTube

My YouTube isn't open


questions about service invocation and access control list configuration

/area runtime
/area operator
/area placement

Ask your question here

about service_invocation_api:

serviceA:
dapr run --app-id goapp --app-port 3001 --dapr-http-port 3501 go run main.go

serviceB:
dapr run --app-id nodeapp --app-port 3000 --dapr-http-port 3500 node app.js

serviceA invoke serviceB's method. the call link should be http://localhost:3500/v1.0/invoke/nodeapp/method/<method-name> . but http://localhost:3501/v1.0/invoke/nodeapp/method/<method-name> and  http://localhost:3500/v1.0/invoke/nodeapp/method/<method-name> all can called.
in POST/GET/PUT/DELETE http://localhost:<daprPort>/v1.0/invoke/<appId>/method/<method-name>, the daprPort  representative the calling(serviceA) port or the called(serviceB) port?

about  apply access control list configuration for service invocation
i apply access control to the hello world, but not effective. (i run in Local env.)

run pythonapp:
dapr run --app-id pythonapp python3 app.py --config ./pythonappconfig.yaml

run nodeapp
dapr run --app-id nodeapp node app.js --app-port 3000 --dapr-http-port 3500 --config ./nodeappconfig.yaml

pythonappconfig.yaml
apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: nodeappconfig
spec:
  tracing:
    samplingRate: "1"
  accessControl:
    defaultAction: allow
    trustDomain: "public"
    policies:
    - appId: pythonapp
      defaultAction: allow
      trustDomain: 'myDomain'
      namespace: "default"
      operations:
      - name: /neworder
        httpVerb: ['POST']
        action: deny

pythonappconfig.yaml
apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: pythonappconfig
spec:
  tracing:
    samplingRate: "1"
  accessControl:
    defaultAction: allow
    trustDomain: "myDomain"

may need to run Sentry service in self-hosted mode.
https://docs.dapr.io/operations/configuration/invoke-allowlist/#hello-world-examples

Access control lists rely on the Dapr Sentry service to generate the TLS certificates with a SPIFFE id for authentication, which means the Sentry service either has to be running locally or deployed to your hosting enviroment such as a Kubernetes cluster.

If Sentry service is not running, the debug log will be output as follows.
$ dapr run --app-id nodeapp node app.js --app-port 3000 --dapr-http-port 3500 --config ./nodeappconfig.yaml --log-level debug

...

== DAPR == time="2021-01-10T22:34:06.854198+09:00" level=debug msg="error while reading spiffe id from client cert: unable to retrieve peer auth info. applying default global policy action" app_id=nodeapp instance=.... scope=dapr.runtime.grpc.api type=log ver=…

may need to run Sentry service in self-hosted mode.
https://docs.dapr.io/operations/configuration/invoke-allowlist/#hello-world-examples

Access control lists rely on the Dapr Sentry service to generate the TLS certificates with a SPIFFE id for authentication, which means the Sentry service either has to be running locally or deployed to your hosting enviroment such as a Kubernetes cluster.

If Sentry service is not running, the debug log will be output as follows.
$ dapr run --app-id nodeapp node app.js --app-port 3000 --dapr-http-port 3500 --config ./nodeappconfig.yaml --log-level debug

...

== DAPR == time="2021-01-10T22:34:06.854198+09:00" level=debug msg="error while reading spiffe id from client cert: unable to retrieve peer auth info. applying default global policy action" app_id=nodeapp instance=.... scope=dapr.runtime.grpc.api type=log ver=…

@vinayada1 - Can you take a look at this?

@vinayada1 - Can you take a look at this?

Will take a look

Will take a look

@kzmake the following logs is the sentry service is not running: I didn't get a similar error.

dapr run --app-id nodeapp1 --app-port 3001 --dapr-http-port 3501 node app.js --config ./config.yaml

  Starting Dapr with id nodeapp1.    This will block until the app is listening on that port."  Status: Running.     This will block until the app is listening on that port."  Status: Running. Init Elapsed<PHONE_NUMBER>000001ms" app_id=nodeapp2 instance=yabing scope=dapr.runtime type=log ver=1.0.0-rc.1

@kzmake the following logs is the sentry service is not running: I didn't get a similar error.

dapr run --app-id nodeapp1 --app-port 3001 --dapr-http-port 3501 node app.js --config ./config.yaml

  Starting Dapr with id nodeapp1.    This will block until the app is listening on that port."  Status: Running.     This will block until the app is listening on that port."  Status: Running. Init Elapsed<PHONE_NUMBER>000001ms" app_id=nodeapp2 instance=yabing scope=dapr.runtime type=log ver=1.0.0-rc.1

@kzmake @vinayada1 the following logs is the sentry service is running:

dapr run --app-id nodeapp1 --app-port 3001 --dapr-http-port 3501 node app.js --config ./config.yaml

ℹ  Starting Dapr with id nodeapp1.    This will block until the app is listening on that port."  Status: Running. Init Elapsed 179.679854ms" app_id=nodeapp1 instance=yabing scope=dapr.runtime type=log ver=1.0.0-rc.1

== DAPR == time="2021-01-14T15:14:57.200605253+08:00" level=info msg="placement tables updated, version: 0" app_id=nodeapp1 instance=yabing scope=dapr.runtime.actor.internal.placement type=log ver=1.0.0-rc.1

ℹ  Updating metadata for app command: node app.js
✅  You're up and running! Both Dapr and your app logs will appear here.

== APP == Adding 10 to 11

dapr run --app-id nodeapp2 --app-port 3002 --dapr-http-port 3502 node app.js --config ./config.yaml

ℹ  Starting Dapr with id nodeapp2.    This will block until the app is listening on that port."  Status: Running. Init Elapsed<PHONE_NUMBER>9999998ms" app_id=nodeapp2 instance=yabing scope=dapr.runtime type=log ver=1.0.0-rc.1

== DAPR == time="2021-01-14T15:15:08.243137689+08:00" level=info msg="placement tables updated, version: 0" app_id=nodeapp2 instance=yabing scope=dapr.runtime.actor.internal.placement type=log ver=1.0.0-rc.1

ℹ  Updating metadata for app command: node app.js
✅  You're up and running! Both Dapr and your app logs will appear here.

== APP == Successfully invoke.

curl http://localhost:3502/v1.0/invoke/nodeapp2/method/app2/add \
  -H "Content-Type: application/json" \
  -d '{ "operandOne": 10, "operandTwo": 11}'

@kzmake @vinayada1 the following logs is the sentry service is running:

dapr run --app-id nodeapp1 --app-port 3001 --dapr-http-port 3501 node app.js --config ./config.yaml

ℹ  Starting Dapr with id nodeapp1.    This will block until the app is listening on that port."  Status: Running. Init Elapsed 179.679854ms" app_id=nodeapp1 instance=yabing scope=dapr.runtime type=log ver=1.0.0-rc.1

== DAPR == time="2021-01-14T15:14:57.200605253+08:00" level=info msg="placement tables updated, version: 0" app_id=nodeapp1 instance=yabing scope=dapr.runtime.actor.internal.placement type=log ver=1.0.0-rc.1

ℹ  Updating metadata for app command: node app.js
✅  You're up and running! Both Dapr and your app logs will appear here.

== APP == Adding 10 to 11

dapr run --app-id nodeapp2 --app-port 3002 --dapr-http-port 3502 node app.js --config ./config.yaml

ℹ  Starting Dapr with id nodeapp2.    This will block until the app is listening on that port."  Status: Running. Init Elapsed<PHONE_NUMBER>9999998ms" app_id=nodeapp2 instance=yabing scope=dapr.runtime type=log ver=1.0.0-rc.1

== DAPR == time="2021-01-14T15:15:08.243137689+08:00" level=info msg="placement tables updated, version: 0" app_id=nodeapp2 instance=yabing scope=dapr.runtime.actor.internal.placement type=log ver=1.0.0-rc.1

ℹ  Updating metadata for app command: node app.js
✅  You're up and running! Both Dapr and your app logs will appear here.

== APP == Successfully invoke.

curl http://localhost:3502/v1.0/invoke/nodeapp2/method/app2/add \
  -H "Content-Type: application/json" \
  -d '{ "operandOne": 10, "operandTwo": 11}'

@vinayada1 @kzmake We can use Discord to communicate?

@vinayada1 @kzmake We can use Discord to communicate?


How to support smarty syntax

the HTML code :
`
{% foreach $arrUsers as $user %}
{%if $user eq 'Admin' %}
Admin
{%else%}
......
{%/if%}
`
the code in {%  and %}, not support....

You could create an extension or find one that someone else makes


[BEAM-557] Fix repackaging exclude pattern for guava-testlib

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

The previous fix was incorrect in that the exclude pattern requires .* at the end. Tested this iteration using javap to inspect generated .class files.

R: @lukecwik

LGTM


Install extensions under proxy problem

I have set up my corporate proxy as explained on the documentation:

But every time that I try to download an extension with ext install extensionname, it fails with this error:

Duplicate of #69

Thanks @joaomoreno


Improve .NET Interactive notebook / Jupyter support

ScottPlot Version: Latest NuGet, 4.1.40
Operating System: Windows 10
Application Type: .NET Interactive Notebook
Question: How to display a plot in the interactive notebook?
In python's matplotlib you basically go:
fig.scatter(/*put data here*/9

And the return of that displays as a plot.
I basically just copied an example from your page
// Install library from nuget
#r "nuget:ScottPlot"
// Get data
double[] dataX = new double[] { 1, 2, 3, 4, 5 };
double[] dataY = new double[] { 1, 4, 9, 16, 25 };
// make plot
var plt = new ScottPlot.Plot(400, 300);
// Output of this is just shown as a table
plt.AddScatter(dataX, dataY)

This is the output:

Hi @Regenhardt,
This code works for me:
using System;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
using Microsoft.DotNet.Interactive.Formatting;

// Install library from nuget
#r "nuget:ScottPlot"
// Get data
double[] dataX = new double[] { 1, 2, 3, 4, 5 };
double[] dataY = new double[] { 1, 4, 9, 16, 25 };
// make plot
var plt = new ScottPlot.Plot(400, 300);
// Output of this is just shown as a table
plt.AddScatter(dataX, dataY);

var bmp = plt.GetBitmap();
var memStream = new MemoryStream();
bmp.Save(memStream, ImageFormat.Png);
string base64str = Convert.ToBase64String(memStream.ToArray());
display(PocketViewTags.img[src: "data:image/png;base64," + base64str]);

Looks very bulky. The code for wrapping the bitmap into a Base 64 string could be added to the ScottPlot library helper method to simplify the task. If it is of course in demand.

Hi @StendProg, it's great to hear from you! Thanks so much for this information. I haven't used .NET netbooks before, but enjoyed learning about them this morning.
I added a new method to simplify inclusion of ScottPlot figures in Jupyter / .NET Interactive notebooks:
// Install the ScottPlot NuGet package
#r "nuget:ScottPlot"

// Plot some data
double[] dataX = new double[] { 1, 2, 3, 4, 5 };
double[] dataY = new double[] { 1, 4, 9, 16, 25 };
var plt = new ScottPlot.Plot(400, 300);
plt.AddScatter(dataX, dataY);

// Display the result as a HTML image
display(HTML(plt.GetImageHTML()));

There may be a more elegant way to do that final line, but I haven't found it yet.
I started a new quickstart page to make this easier to discover in the future:
https://scottplot.net/quickstart/notebook/

This happened amazingly fast, thanks a lot!

Following-up, you can register a display type so it's even easier
#r "nuget:ScottPlot"
using Microsoft.DotNet.Interactive.Formatting;
Formatter.Register(typeof(ScottPlot.Plot), (plt, writer) => writer.Write(((ScottPlot.Plot)plt).GetImageHTML()), HtmlFormatter.MimeType);

Could we add this feather  for  scottplot 5.x ？

@swharden Could we add this feature for scottplot 5.x ？

I'll prioritize this and get it published in the next release 👍

#2385


Using common python logging for int tests

Standardizing int test framework to use the common python logging format. This makes logs look much better because the int test logs and the heron cli logs are consistent. It also adds color-coding to the log level which helps when reviewing logs in CI on the console (thanks for that formatter @objmagic!).
This means the local_test_runner, can no longer be invoked directly due to the pex dep. Now we need to build and then run the pex, similar to what we currently do with test_runner.

👍

I see. 👍
On Nov 10, 2016, at 11:58, Bill Graham<EMAIL_ADDRESS>wrote:
@billonahill commented on this pull request.
In integration-test/src/python/local_test_runner/main.py
https://github.com/twitter/heron/pull/1550:

 import importlib

test_classes = [getattr(importlib.import_module(class_name[0]),
class_name[1])]

package_tokens = class_tokens[:-1]
test_class = class_tokens[-1]
if len(package_tokens) == 1: # prepend base packages for convenience

 test_module = "integration-test.src.python.local_test_runner."

package_tokens[0]

So you can run a single test like this:
./bazel-bin/integration-test/src/python/local_test_runner/local-test-runner
test_template.TestTemplate
instead of like this:
./bazel-bin/integration-test/src/python/local_test_runner/local-test-runner
integration-test.src.python.local_test_runner.test_template.TestTemplate
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/twitter/heron/pull/1550, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADfJj17Qvj_P_7-6WbklaoS0lyWU-0T3ks5q83d5gaJpZM4KvDQ5
.


Improve NameJA

Changes

FFaker::NameJA.name generate name in the order of last_name, first_name.
Add test_first_name, test_last_name and test_last_first.
test_last_first and test_name examine the order of name.

FFaker::NameJA.name generate name in the order of last_name, first_name.
Japanese name is not written in order of first_name, last_name like Korean.
I refer to this commit (https://github.com/ffaker/ffaker/commit/335691c16210904951129e66142725abf3c514f4#diff-9144e4d488890fffa372d862fc110957).
This commit defined last_first as an alias of name.
But I think name should be an alias of last_first, because it is natural.
test_last_first and test_name examine the order of name.
https://github.com/suiyujin/ffaker/blob/improve-japanese-name/test%2Ftest_name_ja.rb#L6-16
This section replaces all data to small data, to avoid slowing down.

I'm not Japanese but I trust you know what you're doing. Thanks! ;)

:+1:


[iOS] No known class method for selector (X)

Issue Description
The latest patch update (5.2.9) breaks iOS builds.  Receiving errors like No known class method for selector.  The fix for us: lock to version 5.2.8
Steps to Reproduce / Code Snippets / Screenshots
Podfile
source 'https://github.com/CocoaPods/Specs.git'

target 'darwin' do
  node_modules_path = '../node_modules'

  pod 'yoga', path: "#{node_modules_path}/react-native/ReactCommon/yoga/yoga.podspec"
  pod 'React', path: "#{node_modules_path}/react-native"

  pod 'AppCenter/Crashes'
  pod 'AppCenter/Analytics'
  pod 'AppCenterReactNativeShared'
  pod 'Branch', '0.27.0'
  pod 'google-cast-sdk', '~> 3'
  pod 'ComScore', '~> 6.0.0'
  pod 'Google-Mobile-Ads-SDK', '7.28.0'
  pod 'Taplytics'
  pod 'apptentive-ios'
  pod 'lottie-ios', :path => "#{node_modules_path}/lottie-ios"
  pod 'lottie-react-native', :path => "#{node_modules_path}/lottie-react-native"
  pod 'ReactNativePermissions', :path => "#{node_modules_path}/react-native-permissions"
  pod 'BVLinearGradient', :path => "#{node_modules_path}/react-native-linear-gradient"
  pod 'BugsnagReactNative', :path => "#{node_modules_path}/bugsnag-react-native"
  pod 'RNReanimated', :path => "#{node_modules_path}/react-native-reanimated"
  pod 'RNGestureHandler', :path => "#{node_modules_path}/react-native-gesture-handler"
  pod 'react-native-netinfo', :path => "#{node_modules_path}/@react-native-community/netinfo"
  pod 'RNShare', :path => "#{node_modules_path}/react-native-share"
  pod 'CodePush', :path => "#{node_modules_path}/react-native-code-push"
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    if target.name == "React"
      target.remove_from_project
    end

    # This step is necessary to make it possible
    # to use other configurations than Debug or Release
    installer.pods_project.build_configurations.each do |config|
        if config.name == 'Staging'
            config.build_settings['CONFIGURATION_BUILD_DIR'] = '$(BUILD_DIR)/Release$(EFFECTIVE_PLATFORM_NAME)'
        end
    end

    target.build_configurations.each do |config|
      unless installer.podfile.defined_in_file.read().include? "\nuse_frameworks!\n"
        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'NO_USE_FRAMEWORKS=1'
      end
    end
  end
end

Error Screenshots

Environment

Apptentive iOS version: 5.2.9
React Native version: 0.59.9
Platform(s) (iOS, Android, or both?): iOS (android N/A)
Device info (Simulator/Device? OS version?): Simulator, Mojave 10.14.6

These symbols are new for iOS 13, which requires Xcode 11 or later. You can either upgrade Xcode to a recent version or use the 5.2.8 release of Apptentive.

Cool, thanks @frankus  ... Is this documented somewhere?

It's not currently, sorry about that. We'll make a note to add it to the CHANGELOG for future releases that require new tools.

No worries! thanks for the reply


Port time utils from dapr/dapr

This PR ports time utils from dapr/dapr (specifically pkg/actors/actors.go) into dapr/kit. No code changes, just feels like this is a better place for these utils rather than being buried at the end of a file in pkg/actors.
PS: Also updates the version of the linter to 1.50.1, the same one we are currently using on other Dapr repos

The failing tests on Windows seem unrelated and #33 fixes those


Create Abstract Vault Controller

Create an abstract class for Map, Mod, and Online Replay Vaults to use in display for more uniformity

Will need to solve issue between replay vault using vbox and map and mods using flow pane

The API lies about the number of pages when querying mods

I believe that Map, Mod and Online do not use fx:include did you want to have the live and local replays to use this as well?
And working on better abstraction.

I believe that live and local replay are different so no. But what about the SHOW_ROOM can be not also put that into the abstract part is that not always the same? 7 items and a more button. I would go as far as to say all the abstract controller needs to know is :
What the SHOW_ROOM categories are called and how to query those SHOW_ROOM categories :thinking:

Maybe we look at it together some day

Yeah might be good. I had tried to leave the showroom in fxml because it seemed like so far we had tried to avoid defining the elements inline and thought it might be so that themes or it could be changed easier but we could also just do it inline if there is no reason not to.

Lemme see what i would change

we need to rebase and test it again

Can do

Actually my version says that it is up to date with develop and no commits were added

Github says it is out of date no idea

oh because probably u need to see develop on this remote cause your are looking at develop from your fork

Ah yeah it just hadnt fetched

The teams in the online replay vault are wrong

Yeah the old replays had teams as 0 and 1 where as the current ones have 0 as no team and use 1 and 2 for the first two teams


Dependencies unnecessarily strict?

Hi there,
I was having trouble including this crate in a project that uses some other crates, because the other crates required a newer byteorder version, and cargo doesn't allow two different minor versions:
error: failed to select a version for `byteorder`.
    ... required by package `ceph v2.0.0`
    ... which is depended on by `testing v0.1.0 (/code/rust/testing)`
versions that meet the requirements `~1.2` are: 1.2.7, 1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0

all possible versions conflict with previously selected packages.

  previously selected package `byteorder v1.3.2`

For crates above 1.0.0., minor version increases should not be introducing breaking changes, so perhaps the dependency should be written as  "^1.2"  or even "1" instead of "~1.2". Making this change in a local copy has allowed me to use the crate. Nom and serde could probably be updated as well.
Thank you for making this crate available!

Sure, happy to have someone using it!  If you'd like to put in a PR for the dependency changes i'd be happy to review it.  If not then it might take me a few days to get the changes ready.  There's a few compile errors in upgrading nom and bitflags that need fixing.

Bitflags is <1.0 so will likely break, but it seems to build for me (with latest stable release) when all the >= 1.0 items (including nom) are changed:
[dependencies]
bitflags = "~0.8"
byteorder = "1"
libc = "~0.2"
log = "~0.4"
nom = "3"
serde_derive = "1"
serde = "1"
serde_json = "1"
uuid = {version = "~0.7", features = ["serde"] }
rustc-serialize = "~0.3"


[DASH1-176] Participant Origination Filtering for Tab 2

Enable filtering by Participant Origination in Tab 2 (Real-Time Data).
[DASH1-176]

@stephenyeargin I added the rdr dependency label because I thought we weren't ready for this to go out with the next release until we confirmed when the RDR's change that supports this is ready for stable/prod. Did I misunderstand our conversation earlier today?

Missed the label on mobile, and misread the version in the releases channel. It's going with v64. I believe we should still be on track for the next cycle though.