Samples only on retired technologies. Asp.NET Web Forms in 2023

https://learn.microsoft.com/en-us/azure/event-hubs/authorize-access-azure-active-directory#samples
On this page, microsoft provided links on samples for .net , but technoogies used for sample - not only outdated, but also not familiar to new generation of .net developers. Asp.NET Web Forms - were not target framework since ~2012.
But samples still don't use modern Asp.NET MVC or Asp.Net Core MVC framework.
Microsoft, please - actualize your samples for modern azure services such as azure service bus to modern day tech stack. Otherwise soon will be no difference between Web Forms framework or COBOL. It's just not usable.

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

ID: a7b89aee-8938-c033-2815-03c543702e39
Version Independent ID: d6c48306-31c5-e050-c22d-37895f362fbb
Content: Authorize access with Azure Active Directory - Azure Event Hubs
Content Source: articles/event-hubs/authorize-access-azure-active-directory.md
Service: event-hubs
GitHub Login: @spelluru
Microsoft Alias: spelluru

@SychevIgor
Thanks for your feedback! We will investigate and update as appropriate.

@SychevIgor - Thanks. I will add a work item in our DevOps and track it. We will try to publish an updated sample (only for the latest Azure.Messaging.EventHubs package) before the end of Feb or early March. Thanks.
#please-close


InsurancePolicy object not supported by DLRS

InsurancePolicy Object is not supported by the application, its new feature of salesforce and can be query after 42 API versions.

@sneha2390 try this again with v2.12 just released, this is at v48.


Fit and Finish UX changes

Description
Fixed some Fit and Finish UX changes along with couple of other fixes:

Added refresh button in transform jobs page
Fixed refresh button in indexes and policy managed indices page

Notifications Modal:

Refresh Button toolkit:

Removed extra spacing between checkbox and policy column

Spacing between the tabs and content set to medium

Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] 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.

Looks good to me.


Top navbar is way too tall

max-height is not a great solution; it caused #53

mysteriously looks just fine on production.  Go figure.


More fixes on the Syncer

Make the syncer correctly point to the to cluster (with the option of passing a kubeconfig for it)
Only try to synchronize the resource types that have effectively been been imported by the cluster controller
Create the required rbac rules to enable the syncer service account to create the synced objects in the to cluster.
Fix the syncer reconcile loop and add more detailed logs.

@imjasonh are the answers and changes OK for you ?


Typescript RefObject not supported (React)

Because the hook just returns RefObject<Element>, you'll get the following error:

The only solution to this is to cast the ref to the required type, but it's quite silly as this should just accept a type parameter.

I believe this is already implemented:
function useAutoAnimate<T extends Element>(
  options?: Partial<AutoAnimateOptions> | AutoAnimationPlugin
): [RefCallback<T>, (enabled: boolean) => void]


added Google Scholar badge

Seemed best under Education.
Badge Name and Link
Google Scholar | https://img.shields.io/badge/Google%20Scholar-4285F4?style=for-the-badge&logo=google-scholar&logoColor=white

Badge Category
Education

[x] I have read the [Contribution Guidelines]

Thanks for your contribution 🥰🥰🥰


cli: Implement "pause" and "resume" commands.

Add new commands "pause" and "resume" to allow all processes
in a container to be suspended and resumed (unpaused).
Fixes #99, #100.
Signed-off-by: James O. D. Hunt<EMAIL_ADDRESS>

Coverage decreased (-0.6%) to 34.396% when pulling 7894d80d35ecd9e30a60a77ffa6268ceaf8d0dd1 on jodh-intel:implement-pause+resume into 95b78061b54b1d73b3aaad6e5c579860cae00b4d on clearcontainers:master.

Although this "works", it's unsuitable since virtcontainers has no knowledge of the new state.
As such, we'll have to add new APIs to virtcontainers to handle this.

LGTM

Closing as superceded by #221.


There is a merge conflict in the 'main' branch; please resolve it.

Before submitting your bug report

[ ] I believe this is a bug. I'll try to join the Continue Discord for questions
[ ] I'm not able to find an open issue that reports the same bug
[ ] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS:
- Continue:
- IDE:

Description

To reproduce
No response
Log output
No response

This one looks like it can be closed @sestinj

[赞]


Databricks Notebook support for Image.display

did you find a good way to do it? I searched around and it wasn't clear what API they were tapping into

Here is my workaround
import matplotlib.pyplot as plt

def imshow(image):
  plt.imshow(image.to_pil())
  plt.show()

image = (
  spark.sql("select to_image('https://github.com/da-tubi/rikai-example/raw/main/img/lena.png') as image")
     .first()
     .image
)
imshow(image)

https://community.databricks.com/s/question/0D53f00001HKHrwCAH/how-to-show-an-image-in-a-notebook-using-html
from IPython.display import Image
from IPython.core.display import HTML
Image(url= "https://docs.databricks.com/_images/landing-aws.png")

For small images, another cheeky alternative is to base64-encode the image bytes and construct a data:/ URI out of it, and make a hyperlink to that. It is 'inline' in the notebook then, but, wouldn't be a good idea for big images.

import rikai
import base64

def display(image: rikai.types.vision.Image):
    from IPython.core.display import Image

    if not image.is_embedded and image.uri.startswith("http"):
        return Image(url = image.uri)
    else:
        with image.open() as fobj:
            encoded = base64.b64encode(fobj.read()).decode("utf-8")
            url = f"data:image;base64,{encoded}"
            return Image(url = url)

Tested in databricks notebook:
Test Case 1

Test Case 2

Test Case 3

closed by #360


Support more tooltip positions

As of now the the tooltip attribute supports only top, left, right, bottom positions.
It would be very nice if it can support all the possible positions as shown in the following link.
Tooltip positions

I have raised a pull request for the above requested feature #24 .
Feel free to share your feedbacks if any :)

Since Bootstrap 4 beta switched from tether to popper, I need to rework how this works. In the bright side, Popper has more options for positioning and is smarter than Tether.

Thanks @tochoromero for the update. I am very much interested in solving this issue or rewrite the tooltip feature using poppers. If you haven't already put up lot of efforts, shall I do and submit a pull request?


Use cross-platform executable-find to get dotnet binary location

Hi,
Emacs libraries are meant to be as cross-platform as possible, it may be safer and easier to rely on it for such tasks.
PS: Amazing project.

Thank you and you are absolutely right, we should use executable-find!


WebsiteAgent: allow to configure HTTP verb, body and headers

This PR allows to use the WebsiteAgent for POST, PUT and DELETE requests.
The default behavior (i.e., GET with default headers) of the agent has not been changed.
Agent documentation has been updated with the new options available:

http_verb - request type (e.g. post, put, delete)
headers - hash of strings (e.g., "content-type" => "application/json")
post_data - body in POST requests, if a string it will be used as is, if a hash it will be transformed to JSON and the appropriate content-type header will be added.

The PostAgent already has this functionality and the WebsiteAgent can process data by passing it in an Event. Maybe I am missing something, what problem is this change solving?

My fault, @dsander, I always stopped at "A Post Agent receives events from other agents..." when evaluating if it was right for me, and when I started hacking at a solution for myself (on WebsiteAgent) I thought I would contribute back.
You are definitely right, a combination of the two is even more powerful than my suggestion. Thanks for being so responsive!


Improved Dropdown Button

Adds final polish to #18770. Bug fixed, tests added by @escamoteur

@jslavitz Can you take a look at what made cirrus so mad?

@goderbauer – I honestly don't know why it's bugging out. I had a merge line in the most recent commit that I removed, which should have solved the issues... But it looks like it was actually passing tests before i took that line out and now it's not?

Weird issues trying to make tests pass so I created a new PR https://github.com/flutter/flutter/pull/23115


Problem with tr and td tags in partial form

I would like to format the partials as a table with table rows.
In the form file _form.html.erb I write

        Description
        Quantity

        <%= f.simple_fields_for :lines do  |line| %>
            <%= render 'line_fields', f: line %>
        <% end %>

In partial file _line_fieldshave the following construction in the partial form

        <%= f.input :description, label: false %>
        <%= f.input :quantity, label: false  %>
        <%= link_to_remove_association "remove", f, :class => 'btn btn-default' %>

Incomplete duplicate of #303


Trained model

Can you share the trained model?

The link about pretrained model and results is invalid.


GeoDjango for storage of Pin locations

Who is working on this one? Seems to be @mcovalt--could you give an update?

GeoDjango is ready to be used. All that needs to be done is adding a PointField to the Pin model. I will make the PR.

I'll close this because it's a design consideration within other features we're contemplating (so handled better as part of those issues).


How can I get the GT and Neg data?

Would you like to explain about the GT and Neg data in step5 of Data generation. In the previous steps, I only get the dataset divided into train and test. Thank you very much!

Here, GT and neg indicate the positive/interactive and negative/non-interactive human-object pairs.
GT pairs are recorded in the HICO-DET labels.
Negative pairs can be paired automatically, e.g., in an image, we can exhaustively pairing all detected humans and objects, then the pairs except for the GT pairs are the neg pairs.

Thanks for your reply!
So are GT and Neg samples used to learn interactiveness knowledge mentioned in your TIN paper?
Is it right that the  GT and Neg samples are assigned automatically when I run the scripts in step5 of Data generation?

Yes, GT and Neg pairs can be leveraged to learn the interactiveness and HOI classification. In the HOI classification, normally the pos:neg sample ratio is about 1:4.
The GT and Neg pairs with the corresponding human poses are preprepared in our file, so you could directly use them except that you want to reorganize the neg pairs for your convenience.

Thx！


Update put to handle exceptions from Dynamo.

Also removed conditional put.
Following on from https://github.com/scanamo/scanamo/pull/365 experiment with how the error handling could be done in Scanamo in order to get feedback.
UPDATE: This PR is now updated to remove conditional update and conditional delete. This has changed the way that we do error handling and this solution is not ideal. Potentially the project is in a position where we should consider moving away from using a free monad.

@regiskuckaertz It would be great if you could take another look at this. It's still a work in progress. I have changed it so that conditional puts are still possible. I've also changed it so that DynamoDB exceptions are caught when a get is performed

Thanks for your work on this!! Let's fix these few comments and those conflicts and see how the tests go after that.

@susiecoleman I was off this week and previous week was 🤯. Can we find some time to pair on this one? It may be worth starting from a clean master and a clean history, open a separate PR.

Closing. Feel free to reopen anytime you have bandwidth to work on this 🤗


cleanup(libpman): incorporate libpman to libsinsp logging

What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area libscap
/area libpman
/area libsinsp
Does this PR require a change in the driver versions?
No
What this PR does / why we need it:
libpman and it's usage of libbpf only print to stderr. This patch improves libscap to pass down a logging function that takes severity and component arguments instead of just a debug logging function.
Which issue(s) this PR fixes:

Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Their logs for the modern BPF engine will be improved.
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: mattnite
Once this PR has been reviewed and has the lgtm label, please assign leogr for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

9d7a7ab incorporate libpman to libsinsp logging

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

LGTM label has been added.  Git tree hash: 1bdd6ad4c04682c31cc6642038b6f51a8db17fc9

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

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

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

Can you fix https://github.com/falcosecurity/libs/actions/runs/6437273511/job/17557889890?pr=1395?
Most probably, the new header file is not correctly installed in the system (indeed there is no CMake files changed in the PR).

/hold

@FedeDP Will do, first though I realize that I forgot to update the declaration of pman_init_state and the fact that the first arg there was a bool means that all my non-null pointers were getting truncated to 0x1. Trying to root cause why the compiler didn't yell at me for having differing function args.

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

70a2dd5 fix function declaration
3c7a70b attempt to fix shared lib install issue

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

New changes are detected. LGTM label has been removed.

Is there some sort of group I could get added to so that I don't need approval for workflows? I'm trying to fix the shared libs build and it's failing locally for me on aarch64, so these workflows are the closest option I have to test against.

Is there some sort of group I could get added to so that I don't need approval for workflows?

Not that i'm aware of, unfortunately :(

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

04fb1e5 try target include on examples

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Is there some sort of group I could get added to so that I don't need approval for workflows? I'm trying to fix the shared libs build and it's failing locally for me on aarch64, so these workflows are the closest option I have to test against.

@mattnite the security policy of most of the Falcosecurity repos is to consider as "untrusted" changes from contributors that are not part of the falcosecurity GitHub org. The general criteria for joining the org is to become either a maintainer or a reviewer of at least one of our repos. Up until them, some jobs require approval before being started unfortunately,

ah @jasondellaluce inspecting further the problem is that falcosecurity/log.h is effectively part of the public API, however it does not get installed correctly. The specific place it fails is when we try to use pkg-config to build the examples.

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

3bd0c09 add common include for sinsp and scap for pkg-config

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

The whole process is documented by our governance in https://github.com/falcosecurity/evolution/blob/main/GOVERNANCE.md#maintainers, and in the specific in https://github.com/falcosecurity/evolution/blob/main/MAINTAINERS_GUIDELINES.md. In general, here's the cited requirement criteria:

Active contribution and participation in one or more areas of the project.
Domain expertise and a good understanding of the code-base of those areas.
Comprehensive understanding of project governance.
Known to uphold the projects best interests.

For core repos such as falcosecurity/libs, it takes a bit of more time and commitment: https://github.com/falcosecurity/evolution/blob/main/GOVERNANCE.md#core-maintainers

@jasondellaluce I suppose the fact you wrote that message means that I have some work to do in point 3 at the very least 😆

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

Needs approval from an approver in each of these files:

OWNERS [FedeDP,jasondellaluce]

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

LGTM label has been added.  Git tree hash: aadf213b49ff54f07f9619547e39ff832c16346f

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

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,jasondellaluce]

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

/unhold


Dephasing implementation in QuantumCliffford.jl

Here, I have written a code for the implementation of dephasing. I am not sure if I have to make more modifications to my code in order to have a better speed. I am yet to benchmark it. The definition of dephasing is defined in page 4 of supplemental material of the paper https://arxiv.org/pdf/2202.12905.pdf. Please have a look:
`function rowswapping(mixdstat,row1,row2)
tabl1 = tab(mixdstat)
if row1 == row2
return tabl1
else
tabl1[row1], tabl1[row2] = tabl1[row2], tabl1[row1]
numq = nqubits(mixdstat)
tabl1[row1+numq], tabl1[row2+numq] = tabl1[row2+numq], tabl1[row1+numq]
return tabl1
end
end
function dephasingch(sysstate, qloc, syssize)
orgrank = sysstate.rank
prostate, indx, results = projectZ!(copy(sysstate), qloc)
if indx == 0 || indx > orgrank
return sysstate
else
swappedtabl = rowswapping(sysstate, indx, orgrank)
updatstate = MixedDestabilizer(swappedtabl, orgrank-1)
return updatstate
end
end`

Hi, Abhishek! Thanks you for sending this in.
A couple of suggestions:

You need three back quotes to format multiple lines of code ```. A single quote is not enough. You can click on the preview button to see whether it formatted correctly.
Could you use the build-in rowswapping function? It is rowswap - it is not exported by default
syssize should not be necessary - it can be found inside of the function by calling size or nqubits
I would suggest putting a type constraint on sysstate, so the function works only on MixedDestabilizer, i.e. function dephasingch(sysstate::MixedDestabilizer, ...) - that would simplify the function a bit
I would suggest modifying the state, not making a new one. May we rename the function to dephase!. You do not need to create updatstate, you can simply modify state.rank
Could you add a docstring and tests?

Hi Stefan,
Thanks for all your suggestion. I could incorporate most of the changes that you listed. Please find the updated code below.
I was unable to use the build in rowswap! function since I was not sure how to use it after some searches. I noticed that this function does the swapping by calling each qubit element of the given stabilizer and also same for phases, however in my case I just call the entire row. Is my method expensive? Then I also removed unnecessary function argument like syssize and variables such as prostate and results and set result and phases to false since I don't need them.
I hope the doc string is helpful, please modify if you find something incorrect. Also if you feel it is bad idea to use the rowswapping function instead of rowswap.
The test function below outputs the mixed state and its result after dephasing. It is showing me correct result for cases listed at the end.
function rowswapping(mixdstat,row1,row2)
    tabl1 = tab(mixdstat)
    if row1 == row2
        return tabl1
    else
        tabl1[row1], tabl1[row2] = tabl1[row2], tabl1[row1]
        numq = nqubits(mixdstat)
        tabl1[row1+numq], tabl1[row2+numq] = tabl1[row2+numq], tabl1[row1+numq]
        return tabl1
    end
end

"""
    dephase!(sysstate::MixedDestabilizer, qloc)

Dephasing operation is the average of the density matrix over all possible measurement outcomes `along computational basis` in this case.

It accepts two argument, viz., system state `sysstate` and location of qubit `qloc`.

In stabilizer language, if an element, after suitable basis change, anticommute with the Z operator then it removes that element from the stabilizer set.
The stabilizer set remain invariant otherwise.

"""
function dephase!(sysstate::MixedDestabilizer, qloc)
    orgrank = sysstate.rank  #keep the original rank of system state
    indx = projectZ!(copy(sysstate), qloc,keep_result = false, phases=false)[2] #perform projections to know the anticommuting index after suitable basis change, note that result and phase are not necessary
    if indx == 0 || indx > orgrank
        return sysstate
    else
        swappedtabl = rowswapping(sysstate, indx, orgrank) #swap the anticommuting element to last row
        return MixedDestabilizer(swappedtabl, orgrank-1)  #removing the last row from stabilizer and destabilizer set
    end
end

#Running few tests
function test_dephase(number_of_qubits, level_of_purity, qubit_to_dephase)
    test_stabilizer = random_stabilizer(number_of_qubits)
    test_mixed_stabilizer = MixedDestabilizer(Destabilizer(test_stabilizer),level_of_purity)
    return test_mixed_stabilizer, dephase!(test_mixed_stabilizer, qubit_to_dephase)
end

#println(test_dephase(1,1,1))

#println(test_dephase(1,0,1))

println(test_dephase(2,1,1))

Great! A few more remark:

Do not use copy if possible. That would be significant slowdown for your code. You want operations to be in-place if possible, i.e. modifying the structure you give them. You can always make a fast in-place operation into a (slightly slower) non-modifying operation by just making a copy of the input argument before modifying it.
You can study the performance of your code with using BenchmarkTools; @benchmark some_function(argument) - this would report how much memory has been allocated too. Minimizing new memory allocations is the easiest way to make your code faster.
Similarly, if you are modifying things in place, you can just do sysstate.rank -=1
The rowswap! is not exported or documented, but you can still use it, you just need to import it explicitly. E.g. with using QuantumClifford: rowswap!.
A good place to add this would be in the project_trace_reset file
The tests should go in test_projections or maybe in a new file in that folder. You can see how testing works by following the style in that file or by looking up the Test docs
All of this would need to become a pull request to be merged. That involves cloning this repository (most conveniently through the fork button on github's web interface), getting a local clone on your computer (following the directions on the clone button on your fork), making a new branch, making the changes, committing them, pushing them to your github fork and then making a pull request to here. Make sure you also add your name to the CONTRIBUTORS file. No need to worry about doing the pull request yet if this is a set of tools you are not comfortable with

One more thing: the test should be testing for correctness, not simply that the code runs. For instance, pick a couple of small examples for which you explicitly know the answer, and check that the answer is correct when computed with this code. Pick a large number for random examples and check that the rank always stays the same or decreases by an appropriate number of steps.

This has a few references that talk more about git https://lab.krastanov.org/sysadminonboarding/

Thanks a lot! for sharing the references and the corresponding file name. I will surely keep in mind all the remarks for the code and do additional modifications. I am looking forward to using them now since it will be a nice learning experience for me to get accustomed to github.


Support 1.1 and 1.1.1 binary versions for model

I've bumped the binary version, so you should add code that supports loading 1.1 binaries from the current 1.1.1 like I did for the JVM backend.
See ceylon/ceylon-compiler#1975

Should we accept a 1.1 language module, or make an exception for that one?

I'm not sure if I tested that specifically, but yes I guess so…

OK done. Modules compiled with 1.1.0 can be used with the 1.1.1 compiler, except the language module, that one has to be 1.1.1.

Thanks.

Modules compiled with 1.1.0 can be used with the 1.1.1 compiler, except the language module, that one has to be 1.1.1.

Well it seems that 1.1.0 modules pull in the 1.1.0 language module, so we still can’t use them. See the error in #494.


android - [!] Invalid request (Google::Apis::ClientError)

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

Command executed

Complete output when running fastlane, including the stack trace and command used

✅ fastlane environment ✅
Stack

Key
Value

OS
14.5

Ruby
3.3.1

Bundler?
false

Git
git version 2.39.3 (Apple Git-146)

Installation Source
/opt/homebrew/Cellar/fastlane/2.220.0/libexec/bin/fastlane

Host
macOS 14.5 (23F79)

Ruby Lib Dir
/opt/homebrew/Cellar/ruby/3.3.1/lib

OpenSSL Version
OpenSSL 3.3.0 9 Apr 2024

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
15.4

Swift Version
5.10

System Locale

Variable
Value

LANG
en_CA.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.220.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

error_highlight
0.6.0

did_you_mean
1.6.3

syntax_suggest
2.0.0

public_suffix
5.0.5

addressable
2.8.6

artifactory
3.0.17

babosa
1.0.4

base64
0.2.0

CFPropertyList
3.0.7

colored
1.2

highline
2.0.3

commander
4.6.0

dotenv
2.8.1

emoji_regex
3.2.3

excon
0.110.0

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

faraday-multipart
1.0.4

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

faraday-retry
1.0.3

ruby2_keywords
0.0.5

faraday
1.10.3

faraday_middleware
1.2.0

domain_name
0.6.20240107

http-cookie
1.0.5

faraday-cookie_jar
0.0.7

fastimage
2.3.1

gh_inspector
1.1.3

uber
0.1.0

declarative
0.0.20

trailblazer-option
0.1.2

representable
3.2.0

retriable
3.1.2

mini_mime
1.1.5

jwt
2.8.1

multi_json
1.15.0

os
1.1.4

signet
0.19.0

googleauth
1.8.1

httpclient
2.8.3

google-apis-core
0.11.3

google-apis-androidpublisher_v3
0.54.0

google-apis-playcustomapp_v1
0.13.0

google-cloud-env
1.6.0

google-cloud-errors
1.4.0

google-cloud-core
1.7.0

google-apis-iamcredentials_v1
0.17.0

google-apis-storage_v1
0.31.0

digest-crc
0.6.5

google-cloud-storage
1.47.0

mini_magick
4.12.0

naturally
2.2.1

plist
3.7.1

rubyzip
2.3.2

security
0.1.5

simctl
1.6.10

terminal-notifier
2.0.0

unicode-display_width
2.5.0

terminal-table
3.0.2

tty-screen
0.8.2

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

atomos
0.1.3

claide
1.1.0

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.24.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.1

set
1.1.0

aws-eventstream
1.3.0

aws-sigv4
1.8.0

aws-partitions
1.932.0

jmespath
1.6.2

aws-sdk-core
3.196.1

aws-sdk-kms
1.81.0

aws-sdk-s3
1.151.0

bundler
2.5.9

strscan
3.1.0

rexml
3.2.8

nkf
0.2.0

multipart-post
2.4.1

rake
13.2.1

json
2.7.2

optparse
0.5.0

forwardable
1.3.3

logger
1.6.0

pathname
0.3.0

shellwords
0.2.0

cgi
0.4.1

date
3.3.4

timeout
0.4.1

securerandom
0.3.1

uri
0.13.0

openssl
3.2.0

digest
3.1.1

ipaddr
1.2.6

resolv
0.3.0

time
0.3.0

stringio
3.1.0

open-uri
0.4.1

mutex_m
0.2.0

net-http
0.4.1

net-protocol
0.2.2

english
0.8.0

erb
4.0.3

abbrev
0.1.2

tempfile
0.2.1

delegate
0.3.1

fileutils
1.7.2

tmpdir
0.2.0

singleton
0.2.0

open3
0.2.1

prettyprint
0.2.0

pp
0.5.0

find
0.2.0

ostruct
0.6.0

yaml
0.3.0

psych
5.1.2

generated on: 2024-05-22

Environment

I have configurations for **com.anetos.parkme** and **com.anetos.parkme.debug** under one Firebase project.
debug build is uploading fine but the release build is not getting uploaded. By saying
You can ⌘ + double-click on links to open them directly in your browser. /opt/homebrew/Cellar/fastlane/2.220.0/libexec/gems/google-apis-core-0.11.3/lib/google/apis/core/http_command.rb:244:in `check_status': [!] Invalid request (Google::Apis::ClientError)
I have checked the JSON key, sha-1 and package on Firebase as well everything seems good only when I try to make a release build it is not getting uploaded.

I was also facing the same issue, then i realised that i had logged into some other account. firebase logout & firebase login worked

I am getting the same error, but I am using a service_account file for the correct project. It would be helpful if the actual error from the request was printed to debug the issue further

I also got this error, to fix it you have to go into Firebase, in the App Distribution Tab, you need to click the button Get Started and then it finally worked. Also make sure that you are using the right app ID and the a valid firebase cli token in the right account.

I am getting the same error, but I am using a service_account file for the correct project. It would be helpful if the actual error from the request was printed to debug the issue further

You have to proceed in 4 steps in your script (or whatever job in CI that triggers the deployment) :

explicitly unset the FIREBASE_TOKEN by typing : 'UNSET FIREBASE_TOKEN'

Retrieve your environment variable responsible for storing your service account key, pipe it to a json file to store it and then pass it to your your google credentials like this :

'echo $MYAPP_DISTRIBUTION_SERVICE_ACCOUNT_KEY | base64 --decode > my_app_distribution_service_key.json'
'export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/my_app_distribution_service_account_key.json'

Use the command : 'curl -sL https://firebase.tools | bash'

call you distribution method. As I'm using Fastlane, I just inserted this script inside my Fastfile :

and called fastlane distribute. You can also use the built-in 'firebase distribute' method with Firebase CLI.
(You can find you firebase_app_id inside your firebase project console).


Rust WASM toolchain not installed, please install it!

Problem
trying to run the https://substrate.dev/docs/en/tutorials/create-your-first-substrate-chain/ tutorial and running into errors.
the environment is WSL2 for windows.
Steps

installed latest version of rust and nightly -- (stable1.53.0, nightly 1.55.0)
cargo run --release

Error message on terminal:
error: failed to run custom build command for node-template-runtime v3.0.0 (/mnt/d/Desktop/Rust/Substrate/substrate-node-template/runtime)
Caused by:
process didn't exit successfully: /mnt/d/Desktop/Rust/Substrate/substrate-node-template/target/release/build/node-template-runtime-c51364d566070823/build-script-build (exit status: 1)
--- stderr
Rust WASM toolchain not installed, please install it!
Further error information:
warning: output filename collision.
The bin target wasm-test in package wasm-test v1.0.0 (/tmp/.tmpiuxypU) has the same output filename as the lib target wasm_test in package wasm-test v1.0.0 (/tmp/.tmpiuxypU).
Colliding filename is: /tmp/.tmpiuxypU/target/wasm32-unknown-unknown/debug/deps/wasm_test.wasm
The output filenames should be unique.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see https://github.com/rust-lang/cargo/issues/6313.
If this looks unexpected, it may be a bug in Cargo. Please file a bug report at
https://github.com/rust-lang/cargo/issues/ with as much information as you
can provide.
cargo 1.55.0-nightly (27277d966 2021-07-16) running on x86_64-unknown-linux-gnu target wasm32-unknown-unknown
First unit: Unit { pkg: Package { id: PackageId { name: "wasm-test", version: "1.0.0", source: "/tmp/.tmpiuxypU" }, ..: ".." }, target: TargetInner { name: "wasm-test", doc: true, ..: with_path("/tmp/.tmpiuxypU/src/main.rs", Edition2018) }, profile: Profile { ..: default_dev() }, kind: Target(CompileTarget { name: "wasm32-unknown-unknown" }), mode: Build, features: [], is_std: false, dep_hash: 0 }
Second unit: Unit { pkg: Package { id: PackageId { name: "wasm-test", version: "1.0.0", source: "/tmp/.tmpiuxypU" }, ..: ".." }, target: TargetInner { ..: lib_target("wasm_test", ["cdylib"], "/tmp/.tmpiuxypU/src/lib.rs", Edition2018) }, profile: Profile { ..: default_dev() }, kind: Target(CompileTarget { name: "wasm32-unknown-unknown" }), mode: Build, features: [], is_std: false, dep_hash: 0 }
Compiling wasm-test v1.0.0 (/tmp/.tmpiuxypU)
error[E0463]: can't find crate for std
|
= note: the wasm32-unknown-unknown target may not be installed
= help: consider downloading the target with rustup target add wasm32-unknown-unknown
= help: consider building the standard library from source with cargo build -Zbuild-std
For more information about this error, try rustc --explain E0463.
error: could not compile wasm-test due to previous error
warning: build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for std
|
= note: the wasm32-unknown-unknown target may not be installed
= help: consider downloading the target with rustup target add wasm32-unknown-unknown
= help: consider building the standard library from source with cargo build -Zbuild-std
For more information about this error, try rustc --explain E0463.
error: build failed
warning: build failed, waiting for other jobs to finish...
error: build failed
Notes
Output of cargo version:
cargo 1.53.0 (4369396ce 2021-04-27)

Did you get any errors when you tried installing the missing WASM toolchain? The command is in the error message above and the Substrate guide walks you through it as well.
rustup target add wasm32-unknown-unknown --toolchain nightly

Did you get any errors when you tried installing the missing WASM toolchain? The command is in the error message above and the Substrate guide walks you through it as well.
rustup target add wasm32-unknown-unknown --toolchain nightly

This solve the issue.. thanks!


feat: allow initialize SDK with Activity for hideDialog(true)

Related:

https://github.com/hCaptcha/hcaptcha-android-sdk/issues/112

@DSergiu for some reason cannot add you as reviewer, could you please have a look also?

I think this may require a major version bump.

Yep, I think the same

Also, please update docs.

On it

It starts hanging quite often, looks like a known issue https://github.com/ReactiveCircus/android-emulator-runner/issues/381


Add build process for selenium debug containers

Add build process for selenium debug containers

StandaloneFirefoxDebug
StandaloneChromeDebug

Build params:

specific version of browser
browser plugin import with config?
open via vncview browser from host

Not now


Invalid Authentication Type

Simply following the starter code and getting the following errors:
`react-azure-maps.es5.js:55
   Error: An invalid authentication type was specified.
at react-azure-maps.es5.js:55:1
at new Promise (<anonymous>)
at Rf.initialize (react-azure-maps.es5.js:55:1)
at new tg (react-azure-maps.es5.js:55:1)
at react-azure-maps.es5.js:55:1
at commitHookEffectListMount (react-dom.development.js:23150:1)
at commitPassiveMountOnFiber (react-dom.development.js:24926:1)
at commitPassiveMountEffects_complete (react-dom.development.js:24891:1)
at commitPassiveMountEffects_begin (react-dom.development.js:24878:1)
at commitPassiveMountEffects (react-dom.development.js:24866:1)

qf._invokeListeners @ react-azure-maps.es5.js:55
qf.invoke @ react-azure-maps.es5.js:55
(anonymous) @ react-azure-maps.es5.js:55
Promise.catch (async)
tg @ react-azure-maps.es5.js:55
(anonymous) @ react-azure-maps.es5.js:55
commitHookEffectListMount @ react-dom.development.js:23150
commitPassiveMountOnFiber @ react-dom.development.js:24926
commitPassiveMountEffects_complete @ react-dom.development.js:24891
commitPassiveMountEffects_begin @ react-dom.development.js:24878
commitPassiveMountEffects @ react-dom.development.js:24866
flushPassiveEffectsImpl @ react-dom.development.js:27039
flushPassiveEffects @ react-dom.development.js:26984
performSyncWorkOnRoot @ react-dom.development.js:26076
flushSyncCallbacks @ react-dom.development.js:12042
commitRootImpl @ react-dom.development.js:26959
commitRoot @ react-dom.development.js:26682
finishConcurrentRender @ react-dom.development.js:25981
performConcurrentWorkOnRoot @ react-dom.development.js:25809
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533
react-azure-maps.es5.js:55
   Error: An invalid authentication type was specified.
at react-azure-maps.es5.js:55:1
at new Promise (<anonymous>)
at Rf.initialize (react-azure-maps.es5.js:55:1)
at new tg (react-azure-maps.es5.js:55:1)
at react-azure-maps.es5.js:55:1
at commitHookEffectListMount (react-dom.development.js:23150:1)
at invokePassiveEffectMountInDEV (react-dom.development.js:25154:1)
at invokeEffectsInDev (react-dom.development.js:27351:1)
at commitDoubleInvokeEffectsInDEV (react-dom.development.js:27330:1)
at flushPassiveEffectsImpl (react-dom.development.js:27056:1)

qf._invokeListeners @ react-azure-maps.es5.js:55
qf.invoke @ react-azure-maps.es5.js:55
(anonymous) @ react-azure-maps.es5.js:55
Promise.catch (async)
tg @ react-azure-maps.es5.js:55
(anonymous) @ react-azure-maps.es5.js:55
commitHookEffectListMount @ react-dom.development.js:23150
invokePassiveEffectMountInDEV @ react-dom.development.js:25154
invokeEffectsInDev @ react-dom.development.js:27351
commitDoubleInvokeEffectsInDEV @ react-dom.development.js:27330
flushPassiveEffectsImpl @ react-dom.development.js:27056
flushPassiveEffects @ react-dom.development.js:26984
performSyncWorkOnRoot @ react-dom.development.js:26076
flushSyncCallbacks @ react-dom.development.js:12042
commitRootImpl @ react-dom.development.js:26959
commitRoot @ react-dom.development.js:26682
finishConcurrentRender @ react-dom.development.js:25981
performConcurrentWorkOnRoot @ react-dom.development.js:25809
workLoop @ scheduler.development.js:266
flushWork @ scheduler.development.js:239
performWorkUntilDeadline @ scheduler.development.js:533`
Code I am using is pretty straight forward and simple...
`import React, { useState } from "react";
import {
AzureMap,
AzureMapsProvider,
IAzureMapOptions,
} from "react-azure-maps";
import { AuthenticationType } from "azure-maps-control";
function HomePage() {
const { option } = {
authOptions: {
authType: AuthenticationType.subscriptionKey,
subscriptionKey: "MYSUBSCRIPTIONKEY", // Your subscription key
},
};
return (

Welcome to Home Page

);
}
export default HomePage;`

``wow, that did not render how I wanted it to...
`import React, { useState } from "react";
import {
AzureMap,
AzureMapsProvider,
IAzureMapOptions,
} from "react-azure-maps";
import { AuthenticationType } from "azure-maps-control";
function HomePage() {
const { option } = {
authOptions: {
authType: AuthenticationType.subscriptionKey,
subscriptionKey: "MYKEY", // Your subscription key
},
};
return (

Welcome to Home Page

);
}
export default HomePage;`

I am facing the same issue. Do we have a work around for this till the bug is fixed?

Fixed in 0.4.6.


Audience claim forward slashes escaped

What's your question?
While adding audience in JWT payload , the url  FW slashes gets added with escape characters , and server throws "Audience error"
Additional Context
while creating a JWT and decoding it , the forward slashes gets escaped , is that expected behavior ?
string audUrl1 = R"(https://www.google.com)";
string audUrl2 = R"(https://www.facebook.com)";
value aud1 = picojson::value(audUrl1);
value aud2 = picojson::value(audUrl2);

       auto token = jwt::create()
	.set_issuer("32453q25432534@someorg")
	.set_type("JWT")
	.set_subject("23423@someorg")
	.set_expires_at(expireTime)
	.set_issued_at(std::chrono::system_clock::now())
	.set_audience(audienceClaim)

	.sign(jwt::algorithm::rs256("", rsa_priv_key_ad,"",""));

             auto decoded = jwt::decode(token);
	     for (auto& e : decoded.get_payload_claims())
	std::cout << e.first << " = " << e.second << std::endl;

OUTPUT
sub = "234892375iuh@someorg"

_aud = ["https:\/\/www.google.com","https:\/\/www.facebook.com"] _  // here the slashes appear escaped , and it's printing with escaped characters like "W"

exp =<PHONE_NUMBER>
iat =<PHONE_NUMBER>
iss = "test@someorg"

the server with which I'm exchanging this is throwing a audience claim exception , please help .
Thanks

Can you provide a real output of the program ?
jwt-cpp doesn't do json serialization itself, instead it delegates this task to a json library. In your case thats picojson. Forward slashes are not a json reserved character so I am a bit surprised it excapes them.

This is an actual output .
sub = "12345@someorg"
aud = ["https://www.google.com","https://www.facebook.com"] -- Here it's escaping like "httpsW"
exp =<PHONE_NUMBER>
iat =<PHONE_NUMBER>
iss = "12345@someorg"
eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiaHR0cHM6XC9cL3d3dy5nb29nbGUuY29tIiwiaHR0cHM6XC9cL3d3dy5mYWNlYm9vay5jb20iXSwiZXhwIjoxNjYyNjYzNDU2LCJpYXQiOjE2NTQwMjM0NTYsImlzcyI6IjEyMzQ1QHNvbWVvcmciLCJzdWIiOiIxMjM0NUBzb21lb3JnIn0.rWRps6QP7WJuU4IOdC4f9xmrRCaAefWl8HyhHd11AvmIpybBGSHu2e4pEQRTpxKsK1t-SFJ44RHTLmevR0V5VZKv2hup4ZeGP2AvOGKxT6fpIhbjSrGepnDSclXHCMeJvz39oAnUffpobWNPkv9FGD2el-N4vq6Coe1Vn7ITRd6bM_ArgQ33yKdh3I62Wm58jG9ffO7Sn2Shr2eFaexSFNFy2lszaMNoZ2no0qPrcFiXhoST4UIIE8Mzg8DWG1lZrY5WRF7Z9ikEZ9E1m-TaV3yDxDlf3SIV7kb8ULvWhZ9HlDpOXzV7UXlk7GraIukkRzkoCDLxp1ttwkznAuA9LA

See edit above, you where too quick  :)

Yeah , Thanks for your response , I shall raise those 2 issues in respective repos and try changing the JSON parser and check .
Thank you :-)

And this library uses PicoJson right ? because the .setAudience method expects a picojson array !!!!

It's a design of picojson https://github.com/kazuho/picojson/pull/26... sadly the author is inactive so we added support for other JSON libraries! For reasons exactly like this
https://github.com/Thalhammer/jwt-cpp#overview has a list of support libraries but you can also check out https://github.com/Thalhammer/jwt-cpp/tree/master/example/traits
You might be interested in using https://github.com/nlohmann/json which is my go to for C++ JSON

Yes , it worked , I used traits and changed JSON to Nlohman and no longer there is a escape problem .
Thanks 👍

Did you have any luck solving yout problem?

I followed your answer and I was able to solve the issue , thanks , changing the library , worked . Thanks .


Create User Model

Create the user model that includes;

username: must be a  unique string
email : must match email address and be unique
password: Password must be hashed
Basket: Reference the basket model through object id
Friends: Reference the User model thorught User id
Posts:  Reference the Post model throught Post Object id

LGTM


Substitute function mocking code with a third-party module

I wrote some function mocking code because I did not find an analogue for accomplishing this in Deno. I'll continue searching for a substitute. I may either contribute code to a third-party module, or make my own.

Update: While working on some new stuff (that will be publicly released under @denorians soon), I found that Deno's standard library includes serious function mocking utilities now. I know this because I'm successfully using them. They can probably be used in this project to replace the old mocking code.

See https://github.com/denorians/deno_actions_core/issues/10#issuecomment-1521083218


Using multiple include directories

Hello.
Im trying to build a project with some additional libraries from VCPKG
    - name: Add MSBuild to PATH
          uses<EMAIL_ADDRESS>

    - name: run-vcpkg
      uses<EMAIL_ADDRESS>
      with:
        vcpkgGitCommitId: 5568f110b509a9fd90711978a7cb76bae75bb092
        vcpkgGitURL: https://github.com/microsoft/vcpkg.git
        vcpkgDirectory: '${{ github.workspace }}/vcpkg'
        vcpkgJsonGlob: '**/vcpkg.json'
        runVcpkgInstall: true

    - name: Build
      working-directory: ${{env.GITHUB_WORKSPACE}}
      # Add additional options to the MSBuild command line here (like platform or verbosity level).
      # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
      run: msbuild /m /p:Configuration="${{ matrix.build }}" /p:IncludePath="${{env.VCPKG_ROOT}}\packages\glfw3_x64-windows\include\;${{env.VCPKG_ROOT}}\packages\glad_x64-windows\include\;${{env.VCPKG_ROOT}}\packages\glm_x64-windows\include\" ${{env.SOLUTION_FILE_PATH}}

For some reason the IncludePath property doesnt allow me to add multiple directories
I get this error:
MSBUILD : error MSB1006: Property is not valid. Switch: D:\a\GLWrapper\GLWrapper\vcpkg\packages\glad_x64-windows\include\
The first include directory is fine but after the semicolon it breaks

Hi @Maticzpl this appears to be a general question on msbuild and not related to this action. Can you log this on https://github.com/dotnet/msbuild


feat!: Added appsync visibility option, bump AWS provider version to 5.x

Description

AWS added a feature to AppSync to allow creating private APIs (link to the article).
Corresponding to that a PR hashicorp merged into release 5.1.0 of terraform-provider-aws.
In my PR i have added the visibility option to the appsync module.
Motivation and Context

It adds a missing feature.
Breaking Changes

None.
How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

@antonbabenko Kindly review this please 🙏🏻

This PR is included in version 2.0.0 :tada:


bug: failed to specialize drop for generic argument of type u32

Bug Report
Cairo version:
scarb 2.8.0+nightly-2024-08-31 (19fe5e032 2024-08-31)
cairo: 2.8.0 (ac0e135fb)
sierra: 1.6.0
Note that the issue occurs on Scarb v2.6.4, v2.8.0 and v2.8.1. It does not occur on v2.7.*.
Current behavior:
Given a generic list-like structure using Felt252Dict like:
#[derive(Destruct)]
struct List<T, +Drop<T>, +Felt252DictValue<T>> {
    items: Felt252Dict<T>,
    len: u32,
}

Then instantiating said structure with values of signed integer, unsigned integer or felt, results in this error:
thread 'scarb compile drop_bug-t45lkkfl5igrc' panicked at /cargo/git/checkouts/cairo-f086c7e6d4098a68/ac0e135/crates/cairo-lang-sierra-generator/src/utils.rs:335:9:
Failed to specialize: `drop<drop_bug::List::<core::integer::u32, core::integer::u32Drop, core::integer::U32Felt252DictValue>>`. Error: Could not specialize libfunc `drop` with generic_args: [[6]]. Error: Provided generic argument is unsupported.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at scarb/src/ops/compile.rs:163:14:
Compiler thread has panicked.: Any { .. }
error: `scarb metadata` exited with error

Expected behavior:
The compiler should be able to handle numeric types for generic arguments in the above struct.
Steps to reproduce:

use any Scarb 2.8.* version
create a new Cairo project locally
copy/paste code from "Related code" section below into your src/lib.cairo file
run scarb cairo-run in your terminal
error appears

Related code:
use core::dict::Felt252Dict;

#[derive(Destruct)]
struct List<T, +Drop<T>, +Felt252DictValue<T>> {
    items: Felt252Dict<T>,
    len: u32,
}

#[generate_trait]
pub impl ListImpl<T, +Drop<T>, +Felt252DictValue<T>> of ListTrait<T> {
    fn new() -> List<T> {
        List { items: Default::default(), len: 0 }
    }

    fn length(self: @List<T>) -> u32 {
        *self.len
    }
}

fn main() {
    let list = ListTrait::<u32>::new();
    assert!(list.length() == 0, "Not empty");
    println!("All good");
}

Other information:
I noticed that other people had similar problems in the past (see https://github.com/starkware-libs/cairo/issues/2462 and https://github.com/starkware-libs/cairo/issues/2135), but since this was very long time ago, it doesn't seem the issues are related to this. As mentioned before, the problem reported in this issue occurs with Cairo 2.6.4 and 2.8.*.

Also, if instead of u32, the List is instantiated with ByteArray like:
let list = ListTrait::<ByteArray>::new();
// ...

Then the following error occurs:
error[E0002]: Method `length` could not be called on type `drop_bug::List::<core::byte_array::ByteArray, core::byte_array::ByteArrayDrop, ImplVarId(65)>`.
Candidate `ListTrait::length` inference failed with: Trait has no implementation in context: drop_bug::ListTrait::<core::byte_array::ByteArray, core::byte_array::ByteArrayDrop, ?1>.
 --> /home/nenad/repos/drop_bug/src/lib.cairo:22:18
    assert!(list.length() == 0, "Not empty");
                 ^****^

error: could not compile `drop_bug` due to previous error
error: `scarb metadata` exited with error

I'm not certain whether I simply forgot to include some impl trait as a constraint

Another related problem: let's say we remove the generic argument and hardcode the u32 type. A similar problem still occurs, but only on Scarb v2.8.*:
use core::dict::Felt252Dict;

#[derive(Destruct)]
struct List {
    items: Felt252Dict<u32>,
    len: u32,
}

#[generate_trait]
pub impl ListImpl of ListTrait {
    fn new() -> List {
        List { items: Default::default(), len: 0 }
    }

    fn length(self: @List) -> u32 {
        *self.len
    }
}

fn main() {
    let list = ListTrait::new();
    assert!(list.length() == 0, "Not empty");
    println!("All good");
}

Running this results in:
thread 'scarb compile drop_bug-t45lkkfl5igrc' panicked at /cargo/git/checkouts/cairo-f086c7e6d4098a68/ac0e135/crates/cairo-lang-sierra-generator/src/utils.rs:335:9:
Failed to specialize: `drop<drop_bug::List>`. Error: Could not specialize libfunc `drop` with generic_args: [[6]]. Error: Provided generic argument is unsupported.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at scarb/src/ops/compile.rs:163:14:
Compiler thread has panicked.: Any { .. }
error: `scarb metadata` exited with error

Currently - support for impl parameters for structs and enums is highly limited.
Made the Drop dependency as a part of the impls, not a part of the struct.

struct List<T, +Drop<T>, +Felt252DictValue<T>> {
    items: Felt252Dict<T>,
    len: u32,
}
impl ListDestruct<T, Drop<T>> of Destruct<List<T>> {
      fn destruct(self: List<T>) nopanic {
           let List { items: _, len: _ } = self;
      }
}

The second part seems like an optimisation bug - looking into it.

that is fixed by the attached PR - will release 2.8.2 soon to solve.

Oh now I understand what you meant with the last comment. Ok, waiting on the release!


[BUGFIX] Remove request.clone() in action to make upload "big" files work

Linked to issue #1164
It seems that a few people (including myself) struggle to setup an upload file action
It seems that fixing that line seems to fix everything, but I'm no expert so I'm not sure... but it indeed make things work !
#1164 (comment)

I believe this has been addressed. Not sure why it's still showing changes here on this PR. Github bug?

https://github.com/remix-run/remix/pull/1766

alright, closing it !


Empty IntIntMap contains 'zero' value

Asserts below are failed:
def intMap = new IntIntMap()
assert !intMap.containsValue(0)
assert intMap.findKey(0, -1) == -1

def floatMap = new IntFloatMap()
assert !floatMap.containsValue(0)
...

I guess this also happens for others Int*Map classes.

containsValue should also check if there is any key for checked value. Right now it assumes that the map is absolutely full (including stash).

I didn't find unit tests for collection classes. Do they exist?

Nope, they don't exist.

IntMap#findKey also fails:
IntIntMap i = new IntIntMap();
System.out.println("Key = " + i.findKey(0, -1));
----------------------------------------------------------
Output:
Key = 0

IntIntMap i = new IntIntMap();
i.put(10, 0);
System.out.println("Key = " + i.findKey(0, -1));
----------------------------------------------------------
Output:
Key = 0

https://github.com/libgdx/libgdx/commit/153c12ac7f14ee9fd6fc709c5e4ba79b7f757ba3
Shouldn't this commit have closed this issue?

Yep, I ef'ed up the #. :)


Stop signal isn’t passed to user application

 Front conversations

Connects to https://github.com/resin-io/hq/issues/1483


[Feature]: All navigation styles

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

Top + Stacked
Top + Inline
Sidebar
Sidebar - Collapsible
Sidebar - Minimal
Sidebar - Mobile

 Front conversations

Perfect, this is exactly what current web applications look like! Especially the sidebar!
I would be very happy if the feature is implemented.

My freelance client asked for this type of feature

Can this feature be prioritised

Oh ok

Please also let us know your feedback once you try out the feature. @sanjus-robotic-studio


Fix Istio/proxy circleci build failure

Istio/proxy circleci build fails, and below is the error message.
ERROR: error loading package '': Encountered error while reading extension file 'bazel/go_proto_library.bzl': no such package '@com_lyft_protoc_gen_validate//bazel': Error cloning repository<EMAIL_ADDRESS>Algorithm negotiation fail caused by<EMAIL_ADDRESS>Algorithm negotiation fail caused by Algorithm negotiation fail
ERROR: error loading package '': Encountered error while reading extension file 'bazel/go_proto_library.bzl': no such package '@com_lyft_protoc_gen_validate//bazel': Error cloning repository<EMAIL_ADDRESS>Algorithm negotiation fail caused by<EMAIL_ADDRESS>Algorithm negotiation fail caused by Algorithm negotiation fail
INFO: Elapsed time: 3.544s
FAILED: Build did NOT complete successfully (0 packages loaded)
Makefile:53: recipe for target 'deb' failed
make: *** [deb] Error 1

fixed


[Improvement][datax] datax task support passing context parameters to downstream task

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
mostly I defined a context parameter to get date or some constants, however sometimes I get parameters from calculation, such as a unix timestamp. it's easy using shell task as dolphinscheduler support transferring parameter between shell,python and sql task, but it gets difficult when using datax task(also other task does not support transferring parameter).
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

hi @alextinng  do you want to fix it by yourself?  if not i will fix it

mostly I defined a context parameter to get date or some constants, however sometimes I get parameters from calculation, such as a unix timestamp. it's easy using shell task as dolphinscheduler support transferring parameter between shell,python and sql task, but it gets difficult when using datax task(also other task does not support transferring parameter).

@fuchanghai I will not fix it, you could fix it


Add a CHANGELOG.md that just points people to the GitHub release notes

Add a CHANGELOG.md that just points people to the GitHub release notes. Just a convenient way to redirect those who go looking for a CHANGELOG at first.

Thanks for the review. Let me know if I need to do anything else to get this merged. It's just a single markdown file, so I'm not sure if the github action checks are necessary.


Preview window doesn't scroll to the end when combining 'follow' and 'wrap'

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues
=> Using tip from master

Info

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[ ] fish
[x] sh

Problem / Steps to reproduce
I want to use the follow option to scroll to the last line and follow the output of my preview script. Also, the preview script has long line, so I want them to be wrapped; I use the wrap option.
Problem: it seems like fzf calculates the scroll first and goes there, then wraps; what I see first is not the last line but some line in the middle.
Here's a reproducer, expecting your screen to be less  than 200 chars wide and 200 lines tall:
SHELL=sh fzf --preview-window follow,wrap --preview 'for i in $(seq 200); do echo -n $i; for j in $(seq 200); do echo -n '-'; done; echo $i; done'

Each line is $i---------$i, where i is iterated from 1 to 200, and the --- is 200 chars wide.
What I expect: see the last line wrapped, which means something like
[more lines on top]
199-------------------------
-------------------------199
200-------------------------
-------------------------200
[nothing below, we're at the bottom]

What I see:
[more lines on top]
171-------------------------
-------------------------171
172-------------------------
-------------------------172
[more lines below]

Oh and btw: thanks for fzf, it's amazing, I'm slowly replacing EVERETHING with fzf-based scripts

Problem: it seems like fzf calculates the scroll first and goes there, then wraps

Correct. This is a known issue. The current implementation calculates the offset first assuming there's no wrap before actually processing the preview contents (extracting and interpreting ANSI color codes, wrapping lines, and rendering the text on the preview window). Unfortunately, the whole process is pretty complicated and I think it's not going to be trivial to get it right.

Junegunn Choi @.***> wrote:

Correct. This is a known issue. The current implementation calculates the offset first assuming there's no wrap before actually processing the preview contents (extracting and interpreting ANSI color codes, wrapping lines, and rendering the text on the preview window). Unfortunately, the whole process is pretty complicated and I think it's not going to be trivial to get it right.

Understood. For information I have managed to do a manual wrapping on my
side (not just because of this issue, but because I also need some
specific indentation for my use case) so this issue has no urgency for
me. Feel free to manage it as you see fit :)
For anyone looking for a simple solution, use fold -s -w $(tput cols)
in the preview
--
Matthieu Rakotojaona

FYI, you can refer to $FZF_PREVIEW_COLUMNS instead of using tput cols.

Junegunn Choi @.***> wrote:

FYI, you can refer to $FZF_PREVIEW_COLUMNS instead of using tput cols.

Oh great ! I didn't know about that.
I'm using my own script and I'd like it to be usable outside of fzf as
well, so I'll keep using tput, but it's good to know !
--
Matthieu Rakotojaona


Is Koin proguard/dexguard compatible ?

Hi,
can we use Koin with Dexguard/Proguard obfuscator without excluding most of the classes ?
Thanks.

Hello,
no need to keep classes from Koin nor any particular rule.


Update build.gradle - Upgrade java version

Execution failed for task ':facebook_app_events:compileDebugKotlin'.
  'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.

@kishormainali i'm using your pullrequest but I have this issue so I update the gradle. Will you mind checking?

@ettaegbe please use
facebook_app_events:
git:
url: https://github.com/kishormainali/flutter_facebook_app_events
ref: e883be1


pulsar (ticdc): fix tls encryption and oauth2.0

What problem does this PR solve?

Issue Number: close #10602
What is changed and how it works?
Check List
Tests

Integration test
Manual test (add detailed scripts or steps below)

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/retest

Integration test

is there supposed to be an integration test in this PR?

I will add Integration test case in next PR. @kennytm


Delete extra space

Very nit-picking, I know. But it was in the sentence about rules of style...

Ah, I saw you fixed it yourself in 1dae2482eecca26b783b3f148afcd289cde9a915.
You don't seem to be a fan of the whole PR thing, are you?

Already fixed here: https://github.com/douglascrockford/JSLint/commit/1dae2482eecca26b783b3f148afcd289cde9a915


Run container pool logging tests

The following test suites were not being run: SplunkLogStoreTests, LogDriverLogStoreTests, DockerToActivationLogStoreTests, DockerToActivationFileLogStoreTests.

FWIW: I'm assembling a PR which will catch this in the future and fail the travis build if a test is missing the annotation. A bit embarrassing. Thanks for catching! 🎉

PG1 2621 ⏳

PG2 2808 🔵


Use of uninitialized value in mbedtls_mutex_init().

Hello, during development of an application that uses mbed TLS (version 2.4) as a DTLS backend, I found an interesting and random behavior. The library sometimes hang in mbedtls_ssl_handshake() even though I was using it correctly according to examples located in the mbed TLS source directory.
Then, a friend of mine tested my code on his station, and everything worked for him, which already was alarming. His version of mbed TLS was 2.2. Also, with mbed TLS 2.3 my code worked fine as well.
OK, so eventually I compiled version 2.4 with debug flags, with threading enabled:

#define MBEDTLS_THREADING_C 1
#define MBEDTLS_THREADING_PTHREAD 1

were both set in include/mbedtls/config.h.
Then I ran it under valgrind which shown uses of uninitialized values in threading_mutex_init_pthread().
After a while we have found that #631 introduced a seemingly innocent change... Checking if mutex is valid before doing re-initialization, to make sure no one does it by accident as that would invoke an undefined behavior.
Now, I was not able to find any information about the need of memsetting the mutex before calling mbedtls_mutex_init() (which would be weird anyway, because after all its purpose is to initialize, right?).
Some *_init() functions (e.g. mbedtls_ssl_cookie_init()) in the mbed TLS codebase that has this, or equivalent piece of code:
#if defined(MBEDTLS_THREADING_C)
    mbedtls_mutex_init( &ctx->mutex );
#endif

makes use of uninitialized values, because none of it seem to zeroize the mutex first.

Thanks for raising this! Looks a bit worrying that we didn't catch this in our testing. We'll look into it.

ARM Internal Ref: IOTSSL-1254

As has been already observed, this is a duplicate of issue #667, so am closing it as a duplicate issue.


Prevent uma module execution if proposal does not meet quorum

Changes in this PR:

Prevents a user from proposing a bond if the proposal does not meet quorum. This prevents someone from thinking a Snapshot proposal passed and proposing the transactions and then being disputed and losing their bond.
The current bond value in the modal is showing the raw collateral value. This PR updates to scale the value based on the collateral decimals.

How to test and review this PR?
Going through a proposal with an umaAddress configured. The button to request execution will be disabled if the Snapshot space has a quorum set and the proposal is less than that value.

@samuveth This wont work for space with plugin quorum isn't? Is there an easy way to handle that?

@bonustrack yeah was about to mention that, but we want to deprecate the plugin and make it's functionality a core feature anyway. To add it right now you can use the composable:
const {
  totalQuorumScore,
  totalVotingPower,
  loadTotalVotingPower,
  loadingQuorum
} = useQuorum(props);

onMounted(() => loadTotalVotingPower());

@abg4 I updated the PR to use the quorum composable instead of proposal.quorum. Can you please check if everything is still working for you.

@samuveth I just got around to checking the update. I used this proposal when working on the PR to make sure the proposal button is disabled but it doesn't look it is now and it is below quorum:
https://demo.snapshot.org/#/across-dao.eth/proposal/0x220fa89570f469ba0d6ee496426c7ffe165670b8bdede5cbcfa5fbe695519cc7
It appears quorum is accurate when I log it in the useQuorum file but the value returned for quorum when checking if greater than props.proposal.scores_total is 0. Let me know if you are seeing something different.

@abg4, thank you for reviewing and providing the example. I've implemented a hotfix, and it should be live within a few minutes.


betterlockscreen locks failed

Sometime while I'm suspending the laptop, the betterlockscreen said that it locks failed, but the system still suspend ( without lock )
Is there a way to force lock screen, or check lock screen before suspending?

OS: Arch
uname: 5.8.3-arch1-1
betterlockscreen version: betterlockscreen 3.0.1-5

+1

Hey, as this issue is older and not directly related to betterlockscreen, I will close it for now. If you still have problems/questions, feel free to reopen it.


Set expand height half of the main layout

I need the slider to only expand maximum at 0.4% of the screen.
The anchor feature doesn't work as i want because it still can be expanded higher.
Set layout_height also not what i want since it will also set the height of the main layout.
Putting the main layout behind of SlidingUpPanel also doesn't work because even when SlidingUpPanel collapsed the area for SlidingUpPanel is always blocking the touch of the main layout.
Is there any feature that capable for this?
It would be nice if this library has easy feature to fix this problem

Try setting this to the second view (which is the sliding panel)
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.4"

Assuming that by "0.4%" you mean 40% of the screen :)


[Config] Add config to limit the num of history load job num or history transaction under db to avoid too much memory usage

Now, we use time expire to control the history trasaction num and load job under db, but it is hard to make a balance between informaction viewing and memory usage, for some user may execute many load jobs such as insert job in a short time, which may cause heavy memory pressure which other user may execute only some load jobs for one day.
So we need to add config to limit the num of history load job num or history transaction under db to avoid too much memory usage.

@caiconghui insert-job, broker load job and transaction jobs could be checked by coders anytime .
how about make them persistence, such as store in itself, make it a write audit log

@caiconghui insert-job, broker load job and transaction jobs could be checked by coders anytime .
how about make them persistence, such as store in itself, make it a write audit log

this PR is mainly to control memory usage, and I think we can implement it in next PR

@caiconghui insert-job, broker load job and transaction jobs could be checked by coders anytime .
how about make them persistence, such as store in itself, make it a write audit log

this PR is mainly to control memory usage, and I think we can implement it in next PR

high memory usage cause of lots of history jobs in it , persistence such as store it in Doris or write it in audit log can

reduce memory usage.
be read any time by developpers for hisitory jobs.

how do u like it ?

what is the format for audit log ? file or table data? I think if job writed in file, it is hard to managed, if stored in table, the steps may be some A bit cumbersome and data may be lost because we need to stream load it. In my option, we can do audit log by fe plugin as a addtiional way to record it while you can set expire time short

@caiconghui insert-job, broker load job and transaction jobs could be checked by coders anytime .
how about make them persistence, such as store in itself, make it a write audit log

this PR is mainly to control memory usage, and I think we can implement it in next PR

high memory usage cause of lots of history jobs in it , persistence such as store it in Doris or write it in audit log can

reduce memory usage.
be read any time by developpers for hisitory jobs.

how do u like it ?
what is the format for audit log ? file or table data? I think if job writed in file, it is hard to managed, if stored in table, the steps may be some A bit cumbersome and data may be lost because we need to stream load it. In my option, we can do audit log by fe plugin as a addtiional way to record it while you can set expire time short


Connection Pool Issue

MongoDB 4.4.4 Community
3 nodes
I have couple server

1 - 5k requests to mongodb
2 - about 15\20k requests to mongo

when is use application on the first server everything is fine. working without any problems
but when I deploy to the second server - application is giving me errors like this
2021-09-29T22:15:02.139619+03:00 [error] <0.22446.1>: auth_handler unknown error -- type: exit reason: {timeout,{gen_server,call,[<0.3723.0>,{checkout,#Ref<0.3569742552.2113929218.56829>,true},5000]}} stacktrace [{gen_server,call,3,[{file,"gen_server.erl"},{line,223}]},{poolboy,checkout,3,[{file,"/*****/_build/default/lib/poolboy/src/poolboy.erl"},{line,63}]},{poolboy,transaction,3,[{file,"/*****/_build/default/lib/poolboy/src/poolboy.erl"},{line,82}]},{mongodb_interface,select,2,[{file,"/*****/src/mongodb/mongodb_interface.erl"},{line,83}]},{session,get,2,[{file,"/*****/src/core/session.erl"},{line,20}]},{auth_proc,process,4,[{file,"/*****/src/service_processes/auth_proc.erl"},{line,108}]},{auth_handler,init,2,[{file,"/*****/src/handlers/auth_handler.erl"},{line,29}]},{cowboy_handler,execute,2,[{file,"/*****/_build/default/lib/cowboy/src/cowboy_handler.erl"},{line,37}]}]
2021-09-29T22:40:03.769130+03:00 [error] <0.17875.0>: auth_handler unknown error -- type: exit reason: {timeout,{gen_server,call,[<0.2241.0>,get_pool,5000]}} stacktrace [{gen_server,call,3,[{file,"gen_server.erl"},{line,223}]},{mc_topology,get_pool,2,[{file,"/*****/_build/default/lib/mongodb/src/mongoc/mc_topology.erl"},{line,109}]},{mongoc,transaction_query,4,[{file,"/*****/_build/default/lib/mongodb/src/api/mongoc.erl"},{line,87}]},{mongodb_interface,select,2,[{file,"/*****/src/mongodb/mongodb_interface.erl"},{line,83}]},{session,get,2,[{file,"/*****/src/core/session.erl"},{line,29}]},{auth_proc,process,4,[{file,"/*****/src/service_processes/auth_proc.erl"},{line,108}]},{auth_handler,init,2,[{file,"/*****/src/handlers/auth_handler.erl"},{line,29}]},{cowboy_handler,execute,2,[{file,"/*****/_build/default/lib/cowboy/src/cowboy_handler.erl"},{line,37}]}]
as I can see from error message
mc_server:get_pool(Pid, 5000) couldn't get pool in time
I tried to increase connection pool settings to:
     "mongodb": {         "rs": "sessions",          "hosts": ["XX.XX.XX.XX:27017", "XX.XX.XX.XX:27017"],         "database": "sessions",         "login": "xxx",         "password": "xxx",         "pool_size_master": 300,         "max_overflow_master": 100,         "pool_size_slave": 200       },
but had no luck
could someone point me to the right direction

I guess the problem is here
"max_overflow_master": 100
mongoc:status(Atom)
showing that overflow is growing
when I set "max_overflow_master" to 0 on the test server - it shows a better performance


feature: Halt

Fixes #4380

Thats because repeater relationships are saved separately from the rest of the form, during the validation process. So you could try using beforeValidate() maybe for Edit


Fix Window feedback loop between the OS and Bevy

Objective
Fix #7377
Fix #7513
Solution
Record the changes made to the Bevy Window from winit as 'canon' to avoid Bevy sending those changes back to winit again, causing a feedback loop.
Changelog

Removed ModifiesWindows system label.
Neither despawn_window nor changed_window actually modify the Window component so all the .after(ModifiesWindows) shouldn't be necessary.
Moved changed_window and despawn_window systems to CoreStage::Last to avoid systems making changes to the Window between changed_window and the end of the frame as they would be ignored.

Migration Guide
The ModifiesWindows system label was removed.

@rparrett I have not verified whether this fixes #7513. I'm fairly sure it does, but it would be nice if you could check.

@rparrett I have not verified whether this fixes https://github.com/bevyengine/bevy/issues/7513. I'm fairly sure it does, but it would be nice if you could check.

Confirmed

@Aceeri if you have a chance, I'd appreciate your eyes on this before 0.10.

bors r+

Bit late on this but looks good to me!


⚠ Bofrost.lu has degraded performance

In 6b2c6c6, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1640 ms

Resolved: Bofrost.lu performance has improved in 4477c52 after 26 minutes.


Question about the 150k chairs dataset from PhotoShapes

You mention you've used "150k Chairs from Photoshapes". Is there a script/generated images that you can share for this dataset to use? Thanks!

Hi! I have the same question. Could you please offer some information of chairs dataset, just like other datasets? Since working on all the data preprocessing, configs and training may be tedious for new comers.
Thanks in advance!

Hi! I have the same question. Could you please offer some information of chairs dataset, just like other datasets? Since working on all the data preprocessing, configs and training may be tedious for new comers.
Thanks in advance!


migrate gh-pages site into docs/; closes #2987

some jekyll tweaks were needed; we can no longer consume the
github-pages gem apparently since they added support for themes
added markdown-toc dev dep to build the toc
added buildDocs and serveDocs scripts
miraculously avoided monkeying with the content itself

two things:

I should probably try to import the history.  I don't know if that's possible.
This is live at https://boneskull.github.io/mocha

Coverage remained the same at 89.882% when pulling 43194b6a8e6061c0714b7f0c1ef020ecd027b49f on issue/2987-docs into b954f69a5f541e688c393e2a3787617778d94a8d on master.

don't squash this :wink:

once this lands we'll need to potentially copy some issues or PRs from the old repo.

@markowsiak good catch

rebasing this sucks, so I'm going to fix any conflicts at last possible minute.

closed via  f24607e

Coverage increased (+0.09%) to 89.95% when pulling 063fb94252a8d9adef113b64f86330275153fb17 on issue/2987-docs into 2f8173a33812361c49a7e60a354f1ad5b66f5af4 on master.


[WIP] Stage-2: MutationObserver

Similar to the intersection observer primitive, this is a wrapper for the MutationObserver API.
Again, with an awesome demo: https://codesandbox.io/s/solid-mutation-observer-p59tu?file=/index.tsx

Oooo this is exciting. Nice work! Let me know when I can merge and pub.

It's already finished. I've got nothing more to add.

Awesome, thanks!


[rest] use correct Content-Type header for RESTful API

Set the content type to text/plain by default, and application/json where needed.

Set the content type to text/plain by default, and application/json where needed.

Curious, are there cases where we need to use text/plain?

Set the content type to text/plain by default, and application/json where needed.

Curious, are there cases where we need to use text/plain?

All /node/* (e.g. /node/rloc etc) endpoints return a single value only, not JSON encoded. They represent the majority of endpoints.

/node/rloc

@agners But a single integer is till a valid JSON value. right? https://www.json.org/json-en.html

Hm, right, single values are valid JSON. Strings need to be in quotes, and that seems to case.
I did not really had a practical reason for the content-type change, somehow in my mind just values was not valid JSON :sweat_smile:
Where should we go from here? There is currently no need for an API to change content-type, so this makes the PR moot. I can separate the switch to the map data structure as it makes the code nicer and submit a new PR for that.

Where should we go from here? There is currently no need for an API to change content-type, so this makes the PR moot. I can separate the switch to the map data structure as it makes the code nicer and submit a new PR for that.

Let's keep all the RESTful APIs returning the same content-type. A separate PR which changes only the data structure sounds good to me! thanks!

Data structure update PR #1665.


Make LoadBalancerStarategy Optional

Please describe the problem you have
Currently, "LoadBalancerStrategy" is being defaulted for Envoy network publishing. This is fine when using the "LoadBalancerService" type (default), but does not make sense when using other network publishing types. For example (NodePortService):
spec:
  namespace:
    name: projectcontour
    removeOnDeletion: false
  networkPublishing:
    envoy:
      containerPorts:
      - name: http
        portNumber: 8080
      - name: https
        portNumber: 8443
      loadBalancer:
        providerParameters:
          type: AWS
        scope: External
      type: NodePortService
  replicas: 2

Requires https://github.com/projectcontour/contour-operator/issues/386


Improvements to test_font_unencoded_glyphs

[ ] explicitely mention which are the unencoded glyphs in the font.

I moved this to a task within https://github.com/googlefonts/fontbakery/issues/618 and am now closing


Weights export

Is there a way to export weights as int8 instead of float32.
I tried to visualize a quantized network, but I always get float32 weights.

Can you share the model file?

Duplicate of #300

Here is the file.
Thanks
Nermine
Le lun. 11 mai 2020 à 16:57, Lutz Roeder<EMAIL_ADDRESS>a
écrit :

Can you share the model file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lutzroeder/netron/issues/489#issuecomment-626757136,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJLL5JJF7A2YKVF3BJQSFQDRRAG6TANCNFSM4M54K53A
.

ONNX forums might be a better place to ask how quantization works in ONNX?


[WIP] fix: select filter item on swipe

The type of this PR is: Fix

This PR resolves FX-2885
Description
Users can swipe on rows in the filters modal to enter a filter facet or return to the filters overview. When a user does this, it selects the filter facet that was pressed to swipe. The problem is that the filter navigation container is rendered inside React modal component (see attached videos).
https://user-images.githubusercontent.com/3513494/119384422-5aa4cf00-bccd-11eb-91b4-02baffd55bc1.mp4
https://user-images.githubusercontent.com/3513494/119385657-1dd9d780-bccf-11eb-9eeb-bcc0c67770ec.mp4
There are two possible solutions

Disable the swipe back gesture to go to the previous screen
Add extra space on the left and make the swipe back zone equal to the extra space (This solution is already used in the application)
Import TouchableHighlight and TouchableWithoutFeedback from react-native-gesture-handler (thanks @MounirDhahri for this hint) – on iOS this works perfectly, on Android there are problems with tapping

Fixed demo
https://user-images.githubusercontent.com/3513494/119663680-3c5ce180-be3b-11eb-8670-bdb2301569a7.mp4

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[ ] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[ ] I have added a CHANGELOG.yml entry or my changes do not require one.

Hey @dimatretyak, I think there might be an other way to fix this as well. Can you try to use TouchableHighlight from react-native-gesture-handler inside Touchable.tsx instead of the react-native one. This should fix the conflict with the button flex wrapper PanResponder and the modal PanResponder

Hey @dimatretyak, I think there might be an other way to fix this as well. Can you try to use TouchableHighlight from react-native-gesture-handler inside Touchable.tsx instead of the react-native one. This should fix the conflict with the button flex wrapper PanResponder and the modal PanResponder

on iOS, this works perfectly, on android, there are problems with selecting the filter element (I can't click on the button)

Since the swipe gesture is not supported on android, let's keep the existing behaviour using react-native TouchableHighlight on Android and use the one from react-native-gesture-handler on iOS. We will be fixing it on android soon, it seems like we are missing some steps from the setup here https://docs.swmansion.com/react-native-gesture-handler/docs/.
It would be probably a good idea not to update the Touchable button and instead maybe have a custom button to be used inside the modal

If you want to follow up the progress of the implementation here is it https://artsyproduct.atlassian.net/browse/CX-1519

It would be probably a good idea not to update the Touchable button and instead maybe have a custom button to be used inside the modal

In this situation, we will have to create separate Touchable and TouchableRow components for modals, as well as support them in the future. Maybe it would be better to update only the Touchable component?

That's good forward-thinking, it makes sense. Let's go ahead with your suggestion then 👍

🛳🛳🛳


[FUNCTIONS] Add Documentation For "Creating Function Apps in an existing Resource Group Restrictions"

Public Link: https://github.com/Azure/Azure-Functions/wiki/Creating-Function-Apps-in-an-existing-Resource-Group
We need to add this above documentation to official Azure Functions Doc.

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

ID: 3c4cf342-0f52-5ebb-aeb2-a1ae5a2b6133
Version Independent ID: 7c75fc5a-df94-4254-2d85-e1118f401fd7
Content: Create your first function in the Azure portal
Content Source: articles/azure-functions/functions-create-function-app-portal.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@Tonewall
I have assigned the issue to the content author for further review.


[EDA] Prevent Deletion of Test Record  if There are Associated Test Score Records

Critical Changes
Changes
Updates to Ensure Data Integrity
We've added functionality to prevent the deletion of Test records with related Test Score records.
These changes are for internal-use only and are disabled at this time. You won't see any difference in functionality.
Note: We strongly recommend that EDA Admins don't manage Hierarchy Custom Settings directly and, instead, use the EDA Settings UI, which will be provided in an upcoming release. However, if you do enable any of these settings, note the following:

If you have disabled the related TST_CannotDelete_TDTM classes for the object, the settings will remain disabled even though you've enabled them in Hierarchy Custom Settings.

If you enable any of these settings, be sure to disable them before merging records or deleting duplicate records.

Issues Closed
Closes Issue #1170
New Metadata
Checkbox Field on Hierarchy Settings:

Prevent_Test_Deletion__c

Apex Classes:

TST_CannotDelete_TDTM

TST_CannotDelete_TEST

Deleted Metadata
Testing Notes
https://salesforce.quip.com/tu19APFVFuvF#OGIACAhkxdd

The PR looks good. Great work @m-kinkade! There are some minor indentation/spacing issues thou. Let's make sure we are consistent with spacing: https://github.com/SalesforceFoundation/EDA/pull/1165/files
Let me know if any questions!
Also, I thought we wanted to enable this kind of setting by default now. Maybe that was me getting confused. I will also give a quick round of testing myself.

Thank you for reviewing @xinnanlisf...I'll make the changes now :)

This passes QA as long as the branch conflict does not affect functional code of the feature. Once DEV confirms I will merge.

Passes QA - Merging
Will Close WI


Type error for graph api v18.0

https://github.com/greatSumini/react-facebook-login/blob/4be1eabfb2054a113afe007153af64016eeb8fc9/src/types/params.type.ts#L14-L29

fixed in new version. sorry for late fix 😅
https://github.com/greatSumini/react-facebook-login/releases/tag/v3.4.0


multipart data not work but work on postman

i need to upload the image to server, i try by using postman and it work perfect. But in my ios app, it always return error
here the postman header
POST /api/file?objectId=587991afeb536e1180e662f5&fileType=3 HTTP/1.1
Host: apimapflakes.azurewebsites.net
Accept: application/json
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
Authorization: Bearer 5878f70ab88c071c2c1aa3b3
Cache-Control: no-cache
Postman-Token: aa2b6bca-5b16-3084-abc1-ffd1747646f3
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="fileName"; filename=""
Content-Type:
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name=""
------WebKitFormBoundary7MA4YWxkTrZu0gW--
anh here the code, im trying some solution on stackoverfow, etc but still same error
let url = "http://apimapflakes.azurewebsites.net/api/fileobjectId=587991afeb536e1180e662f5&fileType=3"
let header = [
"Accept": "application/json",
"Content-Type": "multipart/form-data",
"Authorization": "(type) "+token
]
Alamofire.upload(multipartFormData: { multipartFormData in
multipartFormData.append(imageData, withName: "file", fileName: "photo.jpeg", mimeType: "image/jpeg")
}, to: url, headers: header, encodingCompletion: { (result) in
switch result {
case .success(let upload, _, _):
upload.response(completionHandler: { response in
})
case .failure(let encodingError):
print(endcodingError)
}
})
teh upload request is success but reponse data is some kind of html string. its must be the image url

The HTML you received probably contains information about the error the server is returning. I suggest you investigate that.
Also, we use our GitHub project for bug reports and feature requests. In the future, you should open questions like this on Stack Overflow and tag alamofire.
Cheers. 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.


Should return non zero exit code for export failures

Describe the problem
As a user of the tool I would expect that the tool returns a non zero exit code when the export fails (for instance due to a timeout issue).
To Reproduce
Steps to reproduce the behavior:

Export JIRA issues from a JIRA server
Throttle the connection to the JIRA server
If the throttled connection is sufficiently slow you should be able to get a "Error Message: Operation timed out" from  Atlassian.Jira.Remote.IssueService

Tool version

Version of the jira-azuredevops-migrator tool v3.0.186

Attachments
[E][13:31:20] Unexpected migration error.
[System.AggregateException] System.AggregateException: One or more errors occurred. (Error Message: Operation timed out (someserver.com:443))
 ---> System.InvalidOperationException: Error Message: Operation timed out (someserver.com:443)
   at Atlassian.Jira.Remote.JiraRestClient.GetValidJsonFromResponse(IRestRequest request, IRestResponse response)
   at Atlassian.Jira.Remote.JiraRestClient.ExecuteRequestAsync(Method method, String resource, Object requestBody, CancellationToken token)
   at Atlassian.Jira.Remote.IssueService.GetCommentsAsync(String issueKey, CommentQueryOptions options, CancellationToken token)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at JiraExport.JiraProvider.GetCommentsByItemKey(String itemKey) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraProvider.cs:line 90
   at JiraExport.JiraItem.BuildCommentRevisions(JiraItem jiraItem, IJiraProvider jiraProvider) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraItem.cs:line 220
   at JiraExport.JiraItem.BuildRevisions(JiraItem jiraItem, IJiraProvider jiraProvider) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraItem.cs:line 117
   at JiraExport.JiraItem.CreateFromRest(String issueKey, IJiraProvider jiraProvider) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraItem.cs:line 27
   at JiraExport.JiraProvider.ProcessItem(String issueKey, HashSet`1 skipList) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraProvider.cs:line 108
   at JiraExport.JiraProvider.EnumerateIssues(String jql, HashSet`1 skipList, DownloadOptions downloadOptions)+MoveNext() in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraProvider.cs:line 235
   at JiraExport.JiraCommandLine.ExecuteMigration(CommandOption user, CommandOption password, CommandOption url, CommandOption configFile, Boolean forceFresh, CommandOption continueOnCritical) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraCommandLine.cs:line 123:
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at JiraExport.JiraProvider.GetCommentsByItemKey(String itemKey) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraProvider.cs:line 90
   at JiraExport.JiraItem.BuildCommentRevisions(JiraItem jiraItem, IJiraProvider jiraProvider) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraItem.cs:line 220
   at JiraExport.JiraItem.BuildRevisions(JiraItem jiraItem, IJiraProvider jiraProvider) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraItem.cs:line 117
   at JiraExport.JiraItem.CreateFromRest(String issueKey, IJiraProvider jiraProvider) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraItem.cs:line 27
   at JiraExport.JiraProvider.ProcessItem(String issueKey, HashSet`1 skipList) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraProvider.cs:line 108
   at JiraExport.JiraProvider.EnumerateIssues(String jql, HashSet`1 skipList, DownloadOptions downloadOptions)+MoveNext() in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraProvider.cs:line 235
   at JiraExport.JiraCommandLine.ExecuteMigration(CommandOption user, CommandOption password, CommandOption url, CommandOption configFile, Boolean forceFresh, CommandOption continueOnCritical) in /Users/mathieu/src/work/jira-azuredevops-migrator/src/WorkItemMigrator/JiraExport/JiraCommandLine.cs:line 123
[I][13:31:20] Export complete. Exported 48324 items (82 errors, 24 warnings) in 02:10:21.

What is the issue here? Do you mean that JiraExport.exe returns code 0 even if the tool fails? Or that the error message should describe more clearly that the tool canceled due to timeout? 🙂

That the tool returns an exit code that indicates success even though it clearly fails to export due to a timeout.

I guess the last message is sort of confused since it did not do all that it says. The amount of items processed are actually far less.

Ok perfect. Will keep this on the backlog, and work on a fix when I get around to it. Atm there are more pressing bugs :)

@wallymathieu PR created. Give it a try if it's possible for you, and let me know the result!


Revisions 28,29

Includes:

Litentry docker support
Improve handling of multiple binary-urls to support Enjin relaychain

Anything in https://github.com/dwellir-public/polkadot-operator/issues you think we should push for?

And also get @gflow33 's Hyperbridge PR in!


coprocessor: add functions convert * to float

What have you changed? (mandatory)

[x] Merge #4962 first
[x] Merge #4987 first
[x] Merge #5006 first
[x] Merge #5029 first

coprocessor: add functions convert * to float.

What are the type of the changes? (mandatory)
The currently defined types are listed below, please pick one of the types for this PR by removing the others:

Improvement (change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
Unit tests

/run-integration-tests

/run-all-tests


Download button not working

Not sure if this is only for lung & bronchus, but when we hit download next to the measure, it comes up with a blank Excel. When we hit the download button next to the measure category, the data opens up. Hopefully just an easy bug to fix. Thanks!

Should be fixed by https://github.com/colorado-cancer-center/ecco/commit/4b874f60f452249e3b6f03f1dc91c520bc4ff8d0


Increase shader outline performance.

What's done in this PR:

Prevent using for and if, see: https://www.twblogs.net/a/5c67d1c0bd9eee01cf3c9115
Reduce the sample(128 -> 32)

Before:

After:

See the test caseTestSceneLyricSpriteTextWithShader.

FPS in the TestSceneLyricSpriteTextWithShader:
Master, 111fps:

Remove for and if statement, 118fps:

Reduce sample from 128 to 32, 195fps:

I think it might be OK to give it a merge.


Show average combat level of raid

Show the average combat level of the people who are in the raid team, and give a warning/have it turn red if the average is <115

Has anybody done this? If not, I would like to work on it.

I don't think this is useful anymore after the recent update:

Chambers of Xeric scaling will now be based on the player with the highest combat level rather than the average. This is means that if a team of level 80 players takes someone with 126 combat, their raid will be scaled around 126 combat rather than their average which would be much lower and would in turn give them fewer points.

(https://secure.runescape.com/m=news/qol-and-w45-changes?oldschool=1)