[bug]:  firebase_options.dart not created after running  flutterfire configure

Is there an existing issue for this?

[X] I have searched the existing issues.

CLI Version
1.0.0
Firebase Tools version
13.7.1
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.4.1 23E224 darwin-arm64, locale
en-GB)
• Flutter version 3.19.5 on channel stable at
/Users//Documents/Flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 300451adae (2 weeks ago), 2024-03-27 21:54:07 -0500
• Engine revision e76c956498
• Dart version 3.3.3
• DevTools version 2.31.1
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users//Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Users//Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.9+0-17.0.9b1087.7-11185874)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C500b
• CocoaPods version 1.14.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.2)
• Android Studio at /Users//Applications/Android
Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
17.0.9+0-17.0.9b1087.7-11185874)
[✓] Connected device (3 available)
• Developer iPhoneX (mobile) • 756b5b0afb3df61c2bea57002e12d9bb56a966cd •
ios            • iOS 16.7.7 20H330
• macOS (desktop)            • macos                                    •
darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
• Chrome (web)               • chrome                                   •
web-javascript • Google Chrome 123.0.6312.107
! Error: Browsing on the local area network for Mobiles iPhone 15. Ensure
the device is unlocked and attached with a cable or associated with the
same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code
-27)
! Error: Browsing on the local area network for iPhone (170). Ensure the
device is unlocked and attached with a cable or associated with the same
local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code
-27)
[✓] Network resources
• All expected network resources are available.
• No issues found!
Description

Run flutterfire configure
Select Firebase project
Select android and ios
Response:
i Firebase android app com..flutter registered.
i Firebase ios app com. registered.
Exception: -e:13:in block in <main>': undefined method path' for nil:NilClass (NoMethodError)
from -e:11:in each'  from -e:11:in find'
from -e:11:in `'

I've tried reinstalling tools, restarting mac, new projects, and different projects.
The result of this error is that firebase_options.dart is not created preventing me from using Firebase in my Flutter project.
Steps to reproduce

Run flutterfire configure
Select Firebase project
Select android and ios
Response:
i Firebase android app com..flutter registered.
i Firebase ios app com. registered.
Exception: -e:13:in block in <main>': undefined method path' for nil:NilClass (NoMethodError)
from -e:11:in each'  from -e:11:in find'
from -e:11:in `'

I've tried reinstalling tools, restarting mac, new projects, and different projects.
The result of this error is that firebase_options.dart is not created preventing me from using Firebase in my Flutter project.
Expected behavior
No errors and firebase_options.dart file created.
Screenshots
No response
Additional context and comments
No response

I've just tested on a new Flutter project. Selected ios and android. You can see it was successful, and created firebase_options.dart in the screenshot below:

That exception is coming from using xcodeproj ruby package which we use to update your Xcode project. If you could strip out your Flutter project of it's code but keep the file structure intact, you could make a reproducible repo for me to take a look at.

Thank you for the quick response. As I'm using private frameworks, it wasn't easy to share even a stripped project, so I tried setting up a new one and it worked fine. Then I migrated the content of the old project to the new one and everything works as expected so this issue can be closed.


Chef12.5.1 - custom resource template lookup issue

I'm trying to write a custom resource to create supervisor services. I've created a supervisor cookbook that has the service.rb resource file.
I'm then calling it in another cookbook (riemann) that I've created. In this cookbook I simply try to create a supervisor service for riemann-healthcheck.
supervisor_service 'riemann-health' do
  user 'riemann'
  command 'riemann-health'
end

When chef runs, it comes up with an error saying that riemann cookbook doesn't have the template file for supervisor. Isn't it supposed to get it from the supervisor cookbook?
[2015-12-07T23:21:30+00:00] ERROR: supervisor_service[riemann-health] (riemann::default line 17) had an error: Chef::Exceptions::FileNotFound: template[/etc/supervisor/conf.d/riemann-health.conf] (/var/chef/cache/cookbooks/supervisor/resources/service.rb line 26) had an error: Chef::Exceptions::FileNotFound: Cookbook 'riemann' (0.1.0) does not contain a file at any of these locations:
  templates/ubuntu-15.10/supervisor_service.conf.erb
  templates/ubuntu/supervisor_service.conf.erb
  templates/default/supervisor_service.conf.erb
  templates/supervisor_service.conf.erb

You seem to have pressed submit a bit too early.

Sorry coderanger, accidentally pressed enter while editing the message. I've updated the description, would you mind opening it again?

@AlessioMartorelli This tracker is for bug reports about Chef itself, you can get usage and authoring help from places like the mailing list or IRC channel.

(also I answered you on IRC but you had already left I think)


RAFT requires at least two images to work with, only found 1

@Fannovel16

RAFT is an optical flow estimation model so it needs at least two images in one image batch. You should put video frames into a folder then use Load Images from https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet to load all of them.

@Fannovel16 What do I have to do to make TemporalNet2 run properly?
I put the YAML and CKPT file into the controlnet model folder loaded some frames from a short videoclip into the Controlnet input, but it seems nothing special is happenening there. Just flickering between frames like without using the TemporalNet2 Controlnet.

No error messages appear.

@MoonMoon82 I realized that I had forgot to put normalization 😅 . Can you do a git pull and try again?

@Fannovel16 I really don't see any relevant difference using or not using temporalnet2.  Maybe it's meant to flicker? It's a ~12GByte CKPT controlnet model file but in the result there isn't even noticable difference.. Am I'm expecting too much?

Hello, what kind of control network model do you use

我真的没有看到使用或不使用 temporalnet2 的任何相关区别。它仍然像地狱一样闪烁。也许它意味着闪烁？这是一个~12GByte CKPT控制网模型文件，但在结果中甚至没有明显的差异。我是不是期待太多了？

我该怎么做才能使 TemporalNet2 正常运行？我将 YAML 和 CKPT 文件放入控制网模型文件夹中，将短视频剪辑中的一些帧加载到 Controlnet 输入中，但似乎那里没有什么特别的事情发生。只是在帧之间闪烁，就像不使用TemporalNet2控制网一样。 不显示任何错误消息。

Hello, what kind of control network model do you use


Exec tachikoma update<PHONE_NUMBER>3330

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage remained the same at 67.857% when pulling 5b7cb5230176d1e6e539d841d0b51c71a0c7e573 on pazjacket:tachikoma/update-20170312163330 into 497879ae86cc7e4933edb1ae6e36fd31c8617513 on sanemat:master.

Coverage remained the same at 67.857% when pulling 5b7cb5230176d1e6e539d841d0b51c71a0c7e573 on pazjacket:tachikoma/update-20170312163330 into 497879ae86cc7e4933edb1ae6e36fd31c8617513 on sanemat:master.


Provide Name accessor for Plugin class

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).

Migrated from https://osrf-migration.github.io/ignition-gh-pages/#!/ignitionrobotics/ign-common/issues/32/provide-name-accessor-for-plugin-class (ignitionrobotics/ign-common#32)
The name of a plugin is stored within the Info struct, but the Plugin class doesn't yet have an accessor for the name. It should be easy to add it.

closed by #29


[Machine Learning] How machine learning is revolutionizing sports industry

Proposed title of article
[Machine Learning] How machine learning is revolutionizing sports industry
Proposed article introduction
Over the past decade, there have been significant changes in sports due to the integration of technology in the industry
Machine learning is one of the most important branches of artificial intelligence, which could be very significant in the sports industry
The purpose of the article is to assess the role that machine plays in making substantial changes in sports industry
Key takeaways

How machine learning works in the sports industry
Why should one use machine learning to other technologies in sports
For example, how machine learning is used in weight training

Article quality
The article is unique since it provides more in-depth information and handy tip on using machine learning in sports industry
Is yours more in-depth? Does it cover additional topics? Do you provide handy tips or anecdotal advice?
References
Not applicable

Thank you for the topic suggestion , however this is a bit outside of our preferred topic areas.
We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
Please feel free to suggest an alternate topic to explore. 🚀


EVM and Zero login buttons looks the same

Fixes #712
Description
The Native section for login buttons was refactored so now both EVM and Native sections look the same
Login-Buttons.webm
Test scenarios

go to this link
switch between EVM and Native
Press Telos Cloud and back in both sections

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have cleaned up the code in the areas my change touches
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings
[x] I have removed any unnecessary console messages
[x] I have included all english text to the translation file and/or created a new issue with the required translations for the currently supported languages
[x] I have tested for mobile functionality and responsiveness
[ ] I have added appropriate test coverage

I close this PR because is included in https://github.com/telosnetwork/telos-wallet/pull/728


satellite baseline query

Checking in a baseline satellite query so we have somewhere to start working from.
Here's high-level the diff of outcome results in this query from approximately the one I was using before. Most of the outcomes are semantically the same (although worded differently). But a bunch of the old expected/ outcomes are now answer:not_validated since the old query was relying on the negative signal of the anomaly field being set, while this query is looking for the positive signal in matches_control which is often missing.
This means that the unexpected-per-country view is starting out very bad, since every country is now overwhelmed by answer:not_validated. But at least this gives us a baseline to start improving from. dashboard

Still some pending changes
fixed those


Fixes #29 - Implementing a timestamps option in Schema option section

Added support for timestamps attribute in option section of the schema

Looks great.
For completeness, would you mind adding test case and updating the Readme?

OK, I'll do this!!

@brandongoode done!!!

Awesome - Thanks


Getting error below error while executing consul-template container

2019/12/10 10:08:29.937059 [ERR] (cli) (dynamic): parse: template: :2: function "vault" not defined
Why function vault is missing ? What i need to add here ?

Sorry my bad my config was wrong.


Link to obtain Client ID and Secret is broken

The link to obtain the Client ID and Client Secret from the devcenter returns a 404.

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

ID: fd0229b7-46a8-8fe9-4fc6-4a9274451c10
Version Independent ID: bbb1fe01-7693-a156-0951-1022be63e5fa
Content: Create and manage submissions - UWP applications
Content Source: windows-apps-src/monetize/create-and-manage-submissions-using-windows-store-services.md
Product: uwp
Technology: publish
GitHub Login: @hickeys
Microsoft Alias: hickeys

Hi there - the link has been updated and now points to the Partner Center. Thanks for bringing this to our attention!


alertmanager container hase some error under mips64

### What did you do?
First run "make build"，in order to adaptation “mips64” I modify the Dockerfile
What did you expect to see?
I hope alertmanager container can normal operation under mips64 architecture
What did you see instead? Under which circumstances?
it shows some error
#level=info ts=2020-05-29T09:53:40.605Z caller=main.go:231 msg="Starting Alertmanager" version="(version=0.20.0, branch=HEAD, revision=f74be0400a6243d10bb53812d6fa408ad71ff32d)"
#level=info ts=2020-05-29T09:53:40.606Z caller=main.go:232 build_context="(go=go1.13.6, user=root@bogon, date=20200529-07:00:14)"
#level=warn ts=2020-05-29T09:53:40.608Z caller=cluster.go:154 component=cluster err="couldn't deduce an advertise address: no private IP found, explicit advertise addr not provided"
#level=error ts=2020-05-29T09:53:40.611Z caller=main.go:256 msg="unable to initialize gossip mesh" err="create memberlist: Failed to get final advertise address: No private IP address #found, and explicit IP not provided"
This problem has been discussed in the community.#1434 It is said that the problem has been solved. However, this problem still exists in "MIPS64". Currently, it can be configured in the dockerfile "--cluster.advertise-Address=<IP_ADDRESS>:9093". Can I directly use patch to avoid problems in the source code
Environment
[root@os-kvm1 alertmanager]# uname -a
Linux os-kvm1 3.10.0-1127.8.2.el7.x86_64 #1 SMP Tue May 12 16:57:42 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
* System information:
[root@os-kvm1 alertmanager]# uname -srm
Linux 3.10.0-1127.8.2.el7.x86_64 x86_64
Alertmanager version:
alertmanager-0.20.0
* Prometheus version:
prometheus-2.17.2

Can I directly use patch to avoid problems in the source code

Are you saying that you've got some patch or are you asking about one?
Do you have any hints that this issue would be mips-specific?
It seems like you already found out about --cluster.advertise-address (lowercase a). This fixes your issue, doesn't it?
I guess you always have to provide the option if there are only public or only loopback addresses (i.e. no private subnetz adresses such as <IP_ADDRESS>/16).
This would also mean: There is no bug. :)

Your issue doesn't seem to be related to MIPS64. As noted in the README.md, --cluster.advertise-address is required if the instance doesn't have an IP address that is part of RFC 6980 with a default route.
I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search.

ok，thank you


Refactoring org.apache.cloudstack.network.tungsten.service

Description
This PR addresses the issue mentioned in #8087 by refactoring the test suites in three classes: TungstenElementTest.java, TungstenFabricUtilsTest.java, and TungstenServiceImplTest.java. The issue involves redundant mock object creations for TungstenAnswer in these test suites.
Proposed Changes
I propose refactoring the test code to eliminate redundancy and improve maintainability. Specifically, I suggest creating a reusable CreateMockTungstenAnswer class for creating TungstenAnswer mock objects with consistent stub behavior.
Benefits of the Proposed Refactoring:

As a result, we can reduce 321 lines of code, which makes the test cases smaller, easier to understand, and better to maintain.
After refactoring, if the TungstenAnswer mock creation needs to be modified in the future, the developer only needs to modify one time in CreateMockTungstenAnswer instead of 151 places of duplicate mock creation in 3 testclasses.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[X] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@harikrishna-patnala a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

not sure if the build errors are related to this PR

not sure if the build errors are related to this PR

I found the error reason; the parameter used Result, which doesn't follow camel case naming. I've made an update.

@blueorangutan package

@DaanHoogland a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: el9 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 7417

not sure if the build errors are related to this PR

I found the error reason; the parameter used Result, which doesn't follow camel case naming. I've made an update.

it still doesn't compile @gzhao9 , can you have a look?

not sure if the build errors are related to this PR

I found the error reason; the parameter used Result, which doesn't follow camel case naming. I've made an update.

it still doesn't compile @gzhao9 , can you have a look?

This is because the most recent update involved a file that I had committed.
I've made the update and made sure it works on my end.

@blueorangutan package

@DaanHoogland a [LL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@gzhao9 have a look at https://github.com/apache/cloudstack/actions/runs/6560826849/job/17824151994?pr=8098#step:6:9444 it seems you have some line endings mixed (\n instead of \r?)

Packaging result [LL]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6208

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

according to https://github.com/apache/cloudstack/actions/runs/6564274866/job/17850770581?pr=8098#step:6:9439 you still have mixed line endings @gzhao9 .

I'll keep trying to deal with it. BTW I was very confused. Another PR I submitted did not have this formatting problem.
Also, I'm curious how you guys generally deal with this issue on Windows.

according to https://github.com/apache/cloudstack/actions/runs/6564274866/job/17850770581?pr=8098#step:6:9439 you still have mixed line endings @gzhao9 .

I'll keep trying to deal with it. BTW I was very confused. Another PR I submitted did not have this formatting problem. Also, I'm curious how you guys generally deal with this issue on Windows.

I don´t work on windows recently, but I remember a tool called d2u or dos2unix. it can do the conversions to and from. nowadays there is also the use of a VM that could help ;)

@DaanHoogland To avoid also having the ending problem. I submitted two more PRs #8137 and #8139. also with similar idea to solve the duplicate creation problem of mock. If you are interested you can take a look.

unit tests only , GHA should suffice.


Update accumulator components

This will update gas accumulator and piston accumulator components.
The gas accumulator equations are corrected.
Piston accumulator contains only variable renaming.
Changes originally made by @petkr14 .

Is this related to #1794 ?
Also since these are auto generated from the mathematica files, those should be updated as well.
Otherwise I think that we should delete the .nb files related to these components and from now on treat them as "manually written components".
It bothers me quite a lot that we have all of these autogenerated components, some with errors in them that we "can not" fix, as the fixes would be overwritten when/if they are ever regenerated.
It bothers me even more that these source files are in a proprietary format...

I dont have have an opinion on the equation changes, but dont we have some sort of validation data for the testmodels for these components? Perhaps not, not sure if they are even being tested automatically.
But if we do have that, such data should be updated after these changes.

@robbr48 Is there any progress on this one?
I guess we can merge the code anyway, but we must make sure to get to upstream mathematica code updated.


Support preview environments for PRs from forks via manual dispatch and magic label

I think this works around the limitations mentioned at https://github.com/Azure/static-web-apps/issues/1, but requires a maintainer to manually trigger a deployment or add a label to a PR. I think this is fine to start with, but we could make it more automatic in the future if we feel it’s safe and necessary.
I think I have to merge this in order to test it, since there are changes to CI.yml that have to run before the new workflows.

Clever!


Fix README build badge

Before:

After:

@dbrgn if you rebase it will fix the CI failures.

Closing due to inactivity. Feel free to reopen but please rebase first.

Oops, I overlooked the previous notification. For some reason I cannot reopen a PR, I'll create a new one.


parameterized PDGs over ASTs

we want to support multiple surface languages in the future, so PDG nodes should look like
class PDGNode<AstNode> { ... }


Correct summary message for flag --findRelatedTests.

* fixes #4247
* added tests for findRelatedTests summary message

Summary
This fixes the summary message and was reported in 4247.
Test plan

yarn run build && yarn run test was passing

Assumptions

findRelatedTests can be used only when path pattern  is present in args
if findRelatedTests is not present and path pattern is provided in args, then the summary message will always be like,
Ran all test suites matching a.js
findRelatedTests & onlyChanged can not be used together
onlyChanged can not be used when path pattern is present in command

@thymikee Could you please help me understand why things are failing on CI.

AppVeyor | locally node ./scripts/build.js is passing but same is failing here
test-and-deploy-website | not able to get some clue from the console
continuous-integration/travis-ci/pr | yarn run test-ci-partial is passing locally

@tushardhole these are unrelated, so don't worry. We're just having some issues with CI servers you mentioned.

looks good to me! thanks @tushardhole


can rancher 2.0 use Traefik instead of ingress as default load balancer?

It seems that, the ingress controller does not support tcp/udp traffic,
here is the Traefik link:
https://github.com/containous/traefik

Alternatives to the default NGINX ingress controller is covered here https://github.com/rancher/rancher/issues/14007. You are free to disable the built-in ingress controller and deploy your own, the built-in one is tested and supported.


high (and nonlinear) cpu usage when calling some https endpoints

I'm seeing high cpu usage when calling some https endpoints. The program hey (also written in go) has much lower cpu usage for the same request rates.
1. What version of the project are you using?
6.1.1
2. What operating system and processor architecture are you using?

macOS Sierra 10.12.2
2.5 GHz Intel Core i7 (sysctl hw | grep cpu shows 4 physical cpus, 8 logical)

3. What did you do?
I'm using vegeta to call an app in an IBM Bluemix container. It's a simple python flask app run with gunicorn and has a /health route that returns 'ok'.
time echo 'GET https://ee16219bc5994b5ab349c951e35494f4.mybluemix.net/health' | vegeta attack -timeout 20s -rate 300 -duration 10s -keepalive true | vegeta report

varying the -rate parameter
I'm using the output of 'time' to calculate cpu time as a percentage of real time.
4. What did you expect to see?
CPU usage vary linearly with the rate.
5. What did you see instead?
CPU usage increases much faster than linear.

rate
real
user
sys
(user+sys)/real
50th
95th
99th
errors

10
10.03
0.31
0.1
4.1%
0.095
0.344
1.094
0.0%

20
10.08
0.58
0.16
7.3%
0.071
0.306
0.467
0.0%

50
10.12
1.47
0.27
17.2%
0.075
0.304
0.513
0.0%

75
10.14
2.35
0.43
27.4%
0.072
0.309
0.477
0.0%

100
10.66
3.87
0.48
40.8%
0.075
0.369
1.065
0.0%

125
10.13
4.96
0.58
54.7%
0.074
0.305
0.5
0.0%

150
10.58
8.93
0.68
90.8%
0.077
0.572
0.84
0.0%

175
10.45
11.46
0.69
116.3%
0.075
0.536
0.659
0.0%

200
10.14
13.17
0.79
137.7%
0.078
0.605
1.354
0.0%

225
10.13
20.05
0.85
206.3%
0.078
0.662
0.755
0.0%

250
12.77
36.46
0.96
293.0%
0.103
1.09
1.284
0.0%

275
10.14
39.35
0.91
397.0%
0.121
1.137
1.232
0.0%

300
10.86
70.68
0.96
659.7%
0.465
1.608
1.773
0.0%

400
11.34
74.35
1.6
669.8%
1.179
2.364
2.523
0.0%

500
10.66
65.74
2.02
635.6%
1.862
2.826
3.192
0.0%

1000
14.47
94.8
2.36
671.5%
1.043
8.55
8.909
50.8%

This seems to depend on the endpoint being called. When I call https://httpbin.org/ip, I don't get this high cpu usage. I'm still trying to figure out what causes this difference.

rps
real
user
sys
(user+sys)/real
50th
95th
99th

10
10.05
0.16
0.09
2.50%
0.09
0.328
0.547

20
10.11
0.19
0.13
3.20%
0.095
0.264
0.526

50
10.16
0.39
0.29
6.70%
0.096
0.228
0.475

100
10.15
0.63
0.42
10.30%
0.098
0.311
0.516

200
11.27
1.18
0.75
17.10%
0.097
0.325
0.503

500
10.17
3.53
1.29
47.40%
0.136
2.168
2.96

It also doesn't happen when I use another program, hey (formerly called boom, also written in go), to do the test. That's why I think it's a problem with vegeta.
time -p hey -c 100 -n 5000 -m GET https://ee16219bc5994b5ab349c951e35494f4.mybluemix.net/health

varying -c (concurrency) and adjusting -n (number of requests) so that the test is about 10 seconds

concurrency
rps
real
user
sys
(user+sys)/real
fastest
average
slowest

1
11.175
9.02
0.06
0.03
1.0%
0.067
0.089
0.481

10
113.044
8.92
0.6
0.17
8.6%
0.067
0.085
0.431

20
187.029
10.77
1.25
0.35
14.9%
0.069
0.091
0.549

30
289.149
10.45
2.01
0.48
23.8%
0.066
0.093
1.004

50
421.542
9.56
3.4
0.61
41.9%
0.066
0.108
0.797

75
586.192
9.41
4.94
0.7
59.9%
0.066
0.117
0.898

100
692.189
9.61
5.87
0.75
68.9%
0.066
0.132
1.139

300
689.372
10.09
16.69
0.76
172.9%
0.071
0.369
4.144

500
675.723
9.7
26.83
0.79
284.7%
0.068
0.593
5.991

I left that app up at https://ee16219bc5994b5ab349c951e35494f4.mybluemix.net/health. Anyone who wants to do any debugging is free to hit it.

I'm suspecting that we're not comparing apples to apples. The hey -c argument doesn't represent the same as vegeta attack -rate, hey -q does. Vegeta's worker count can be set with -workers too but will grow if needed to sustain the requested rate.
I tried to achieve a request rate of 1000 requests per second with hey but failed to do so. Here's what I ran.
$ time hey -q 1000 -n 10000 -m GET https://ee16219bc5994b5ab349c951e35494f4.mybluemix.net/health
44 requests done.
169 requests done.
296 requests done.
488 requests done.
651 requests done.
837 requests done.
969 requests done.
1149 requests done.
1335 requests done.
1529 requests done.
1721 requests done.
1915 requests done.
2089 requests done.
2237 requests done.
2436 requests done.
2622 requests done.
2802 requests done.
2982 requests done.
3176 requests done.
3371 requests done.
3500 requests done.
3644 requests done.
3798 requests done.
3985 requests done.
4073 requests done.
4247 requests done.
4436 requests done.
4630 requests done.
4828 requests done.
5001 requests done.
5131 requests done.
5306 requests done.
5490 requests done.
5676 requests done.
5868 requests done.
6055 requests done.
6247 requests done.
6415 requests done.
6585 requests done.
6710 requests done.
6904 requests done.
7074 requests done.
7245 requests done.
7444 requests done.
7599 requests done.
7763 requests done.
7958 requests done.
8115 requests done.
8308 requests done.
8498 requests done.
8688 requests done.
8862 requests done.
9055 requests done.
9253 requests done.
9418 requests done.
9559 requests done.
9693 requests done.
9764 requests done.
9856 requests done.
9928 requests done.
9972 requests done.
9993 requests done.
All requests done.

Summary:
  Total:	32.4832 secs
  Slowest:	2.4145 secs
  Fastest:	0.1246 secs
  Average:	0.1510 secs
  Requests/sec:	307.8516

Status code distribution:
  [200]	10000 responses

Response time histogram:
  0.125 [1]	|
  0.354 [9751]	|∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  0.583 [185]	|∎
  0.812 [13]	|
  1.041 [0]	|
  1.270 [2]	|
  1.499 [29]	|
  1.728 [3]	|
  1.957 [0]	|
  2.186 [0]	|
  2.415 [16]	|

Latency distribution:
  10% in 0.1274 secs
  25% in 0.1291 secs
  50% in 0.1307 secs
  75% in 0.1332 secs
  90% in 0.1447 secs
  95% in 0.2358 secs
  99% in 0.4775 secs

real	0m32.505s
user	0m12.960s
sys	0m5.892s

One important thing you'll observe is that the time command will show more user time the more workers are used in hey. This can be changed with -c. Example of the above with -c 1000.
$ time ./hey -q 1000 -n 10000 -c 1000 -m GET https://ee16219bc5994b5ab349c951e35494f4.mybluemix.net/health
2 requests done.
13 requests done.
32 requests done.
79 requests done.
160 requests done.
270 requests done.
329 requests done.
514 requests done.
777 requests done.
987 requests done.
1208 requests done.
1563 requests done.
1958 requests done.
2411 requests done.
2788 requests done.
3182 requests done.
3646 requests done.
4107 requests done.
4618 requests done.
5125 requests done.
5603 requests done.
6074 requests done.
6530 requests done.
7009 requests done.
7457 requests done.
7932 requests done.
8372 requests done.
8822 requests done.
9265 requests done.
9747 requests done.
9981 requests done.
All requests done.

Summary:
  Total:	19.0183 secs
  Slowest:	17.2796 secs
  Fastest:	0.1249 secs
  Average:	1.4392 secs
  Requests/sec:	525.8107

Status code distribution:
  [200]	10000 responses

Response time histogram:
  0.125 [1]	|
  1.840 [8983]	|∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎∎
  3.556 [22]	|
  5.271 [31]	|
  6.987 [73]	|
  8.702 [95]	|
  10.418 [135]	|∎
  12.133 [211]	|∎
  13.849 [315]	|∎
  15.564 [125]	|∎
  17.280 [9]	|

Latency distribution:
  10% in 0.1557 secs
  25% in 0.1980 secs
  50% in 0.2985 secs
  75% in 0.5342 secs
  90% in 2.4461 secs
  95% in 11.6775 secs
  99% in 14.1185 secs

real	0m19.059s
user	1m40.908s
sys	0m4.976s

I suspect this difference in CPU usage has something to do with more cores being utilised concurrently by default in Vegeta than in Hey.


Price API is not working. Receiving 500 error in Chapter 3

I followed the tutorial to the dot and still receive 500 error for the PriceCake http request. I even copied the workflow in this repo and still receive the same error.
Log from Twilio
Request URL: http://cloudcitycakecompany.azurewebsites.net/api/pricecalculator
Request Method: GET
Response Status Code: 500
Response Content Type:

Thanks @TasosVellis I'll have a look and see what's going on. This service is run by Twilio so I have limited visibility but I'll figure it out.

Thank you for your time and effort @mikeckennedy . Awesome course by the way!

Hey @TasosVellis Glad you're enjoying the course. :)
I just tested the API and it works when called correctly. It seems like some parameter is missing and rather than doing the proper error handling, the API crashes. It should return status code 400 or 422 with a reason (like this value is missing or invalid).
Here's what you get when the Twilio Studio widget converts this to at GET call.
http://cloudcitycakecompany.azurewebsites.net/api/pricecalculator?size=medium&flavour=vanilla&topping=bacon&frosting=chocolate
The response is:
{
  "total": 15.5
}

The problem appears for me when I test the flow in Whatsapp. If I try the api call through Postman,Chrome etc. Everything works as expected.

Hey. There very likely means that the specification in Twilio studio on the HTTP widget is wrong. Because it should be doing the same identical thing as calling it in Postman. Is it POST vs. GET? Some variable missing? Have a look.

That's funny, I switched it to a POST request in Twilio studio and it worked!In the course it is a GET

Hi @TasosVellis . Weird. I fiddled with this in the studio and it work. I even put it back to GET and it works. I wonder if something needed refreshing on the Twilio Studio side? I'm confused because it seems unchanged but there it is. I did change from http to https on the address but not sure it matters.

Hey @TasosVellis, apologies for dredging this back up, but I brought up this issue with our product team. In particular, it sounds like the WhatsApp API was throwing a 500 when you were missing some parameters. Can you give me some more insight about what was happening under the hood? What parameters were missing, and what endpoint were you trying to hit? Even better, if you have any SIDs for the errors you were getting, that'd be super helpful!

Thanks for looking into this @ayyrickay

@ayyrickay Sorry for taking so long to respond, but I have been busy with personal matters. Here is the log from the execution
{   "flow": {     "flow_sid": "FW0826cbe73e8580e2cfb0887ac750339b",     "variables": {       "flavour": "red velvet, chocolate, vanilla, carrot, rainbow",       "topping": "sprinkles, bacon, Happy Birthday, sugar carrots",       "frosting": "cream cheese, chocolate, vanilla, maple"     },     "channel": {       "address": "whatsapp:+14155238886"     },     "sid": "FNce62f7f3cea6b27ba50da9c653a3fd34"   },   "widgets": {     "TestCakeTopping": {},     "PriceCake": {       "status_code": 500,       "content_type": "",       "body": ""     },     "AskCakeTopping": {       "inbound": {         "ApiVersion": "2010-04-01",         "SmsSid": "SM7cefbccc31140d0ad51fbe709bb2abdd",         "SmsStatus": "received",         "SmsMessageSid": "SM7cefbccc31140d0ad51fbe709bb2abdd",         "NumSegments": "1",         "ProfileName": "Tasos",         "To": "whatsapp:+14155238886",         "From": "whatsapp:+306988030210",         "MessageSid": "SM7cefbccc31140d0ad51fbe709bb2abdd",         "WaId": "306988030210",         "Body": "Bacon",         "AccountSid": "AC518c80acf29ab7e5d550c7b7a29d57b3",         "NumMedia": "0"       },       "outbound": {         "Status": "queued",         "ApiVersion": "2010-04-01",         "MessagingServiceSid": null,         "DateUpdated": "2022-03-04T23:55:59Z",         "DateCreated": "2022-03-04T23:55:59Z",         "NumSegments": "1",         "From": "whatsapp:+14155238886",         "Direction": "outbound-api",         "AccountSid": "AC518c80acf29ab7e5d550c7b7a29d57b3",         "Sid": "SM1d5f15a908944a97a7a1da81a0c1d380",         "DateSent": null,         "PriceUnit": null,         "Price": null,         "SubresourceUris": {           "media": "/2010-04-01/Accounts/AC518c80acf29ab7e5d550c7b7a29d57b3/Messages/SM1d5f15a908944a97a7a1da81a0c1d380/Media.json"         },         "ErrorCode": null,         "To": "whatsapp:+306988030210",         "ErrorMessage": null,         "Body": "Finally, let's pick a topping for your Rainbow cake with Chocolate. We have sprinkles, bacon, Happy Birthday, sugar carrots.",         "NumMedia": "0"       }     },     "Welcome": {       "inbound": {         "ApiVersion": "2010-04-01",         "SmsSid": "SM939ab56c96cb7d05e8d76c2f97ad5470",         "SmsStatus": "received",         "SmsMessageSid": "SM939ab56c96cb7d05e8d76c2f97ad5470",         "NumSegments": "1",         "ProfileName": "Tasos",         "To": "whatsapp:+14155238886",         "From": "whatsapp:+306988030210",         "MessageSid": "SM939ab56c96cb7d05e8d76c2f97ad5470",         "WaId": "306988030210",         "Body": "Small",         "AccountSid": "AC518c80acf29ab7e5d550c7b7a29d57b3",         "NumMedia": "0"       },       "outbound": {         "Status": "queued",         "ApiVersion": "2010-04-01",         "MessagingServiceSid": null,         "DateUpdated": "2022-03-04T23:55:43Z",         "DateCreated": "2022-03-04T23:55:43Z",         "NumSegments": "1",         "From": "whatsapp:+14155238886",         "Direction": "outbound-api",         "AccountSid": "AC518c80acf29ab7e5d550c7b7a29d57b3",         "Sid": "SMab5bebf53a694f75b77fa04c4f98f9ab",         "DateSent": null,         "PriceUnit": null,         "Price": null,         "SubresourceUris": {           "media": "/2010-04-01/Accounts/AC518c80acf29ab7e5d550c7b7a29d57b3/Messages/SMab5bebf53a694f75b77fa04c4f98f9ab/Media.json"         },         "ErrorCode": null,         "To": "whatsapp:+306988030210",         "ErrorMessage": null,         "Body": "Greetings from Cloud City Co. What size of cake would you like? We have small, medium, and large.",         "NumMedia": "0"       }     },     "CheckSize": {},     "AskCakeFlavor": {       "inbound": {         "ApiVersion": "2010-04-01",         "SmsSid": "SMcfe760a950d4a83e7171738a5c9dd9de",         "SmsStatus": "received",         "SmsMessageSid": "SMcfe760a950d4a83e7171738a5c9dd9de",         "NumSegments": "1",         "ProfileName": "Tasos",         "To": "whatsapp:+14155238886",         "From": "whatsapp:+306988030210",         "MessageSid": "SMcfe760a950d4a83e7171738a5c9dd9de",         "WaId": "306988030210",         "Body": "Rainbow",         "AccountSid": "AC518c80acf29ab7e5d550c7b7a29d57b3",         "NumMedia": "0"       },       "outbound": {         "Status": "queued",         "ApiVersion": "2010-04-01",         "MessagingServiceSid": null,         "DateUpdated": "2022-03-04T23:55:47Z",         "DateCreated": "2022-03-04T23:55:47Z",         "NumSegments": "1",         "From": "whatsapp:+14155238886",         "Direction": "outbound-api",         "AccountSid": "AC518c80acf29ab7e5d550c7b7a29d57b3",         "Sid": "SMf58ea00457e14ef3ab29738e094c6354",         "DateSent": null,         "PriceUnit": null,         "Price": null,         "SubresourceUris": {           "media": "/2010-04-01/Accounts/AC518c80acf29ab7e5d550c7b7a29d57b3/Messages/SMf58ea00457e14ef3ab29738e094c6354/Media.json"         },         "ErrorCode": null,         "To": "whatsapp:+306988030210",         "ErrorMessage": null,         "Body": "Great! What flavor of cake do you want? We have red velvet, chocolate, vanilla, carrot, rainbow",         "NumMedia": "0"       }     },     "TestCakeFlavor": {},     "Menu": {       "flavour": "red velvet, chocolate, vanilla, carrot, rainbow",       "topping": "sprinkles, bacon, Happy Birthday, sugar carrots",       "frosting": "cream cheese, chocolate, vanilla, maple"     },     "TestCakeFrosting": {},     "GetMenu": {       "status_code": 200,       "content_type": "application/json",       "parsed": {         "flavour": [           "red velvet",           "chocolate",           "vanilla",           "carrot",           "rainbow"         ],         "topping": [           "sprinkles",           "bacon",           "Happy Birthday",           "sugar carrots"         ],         "frosting": [           "cream cheese",           "chocolate",           "vanilla",           "maple"         ]       },       "body": "{\"flavour\":[\"red velvet\",\"chocolate\",\"vanilla\",\"carrot\",\"rainbow\"],\"topping\":[\"sprinkles\",\"bacon\",\"Happy Birthday\",\"sugar carrots\"],\"frosting\":[\"cream cheese\",\"chocolate\",\"vanilla\",\"maple\"]}"     },     "AskCakeFrosting": {       "inbound": {         "ApiVersion": "2010-04-01",         "SmsSid": "SM09fccf01a9b1747a955e7aa077c6067e",         "SmsStatus": "received",         "SmsMessageSid": "SM09fccf01a9b1747a955e7aa077c6067e",         "NumSegments": "1",         "ProfileName": "Tasos",         "To": "whatsapp:+14155238886",         "From": "whatsapp:+306988030210",         "MessageSid": "SM09fccf01a9b1747a955e7aa077c6067e",         "WaId": "306988030210",         "Body": "Chocolate",         "AccountSid": "AC518c80acf29ab7e5d550c7b7a29d57b3",         "NumMedia": "0"       },       "outbound": {         "Status": "queued",         "ApiVersion": "2010-04-01",         "MessagingServiceSid": null,         "DateUpdated": "2022-03-04T23:55:53Z",         "DateCreated": "2022-03-04T23:55:53Z",         "NumSegments": "1",         "From": "whatsapp:+14155238886",         "Direction": "outbound-api",         "AccountSid": "AC518c80acf29ab7e5d550c7b7a29d57b3",         "Sid": "SMf033ae17665442df87b166ae248a0ce5",         "DateSent": null,         "PriceUnit": null,         "Price": null,         "SubresourceUris": {           "media": "/2010-04-01/Accounts/AC518c80acf29ab7e5d550c7b7a29d57b3/Messages/SMf033ae17665442df87b166ae248a0ce5/Media.json"         },         "ErrorCode": null,         "To": "whatsapp:+306988030210",         "ErrorMessage": null,         "Body": "Rainbow cake sounds delicious. What frosting do you want to pair it with? We have cream cheese, chocolate, vanilla, maple",         "NumMedia": "0"       }     }   },   "contact": {     "channel": {       "address": "whatsapp:+306988030210"     }   },   "trigger": {     "message": {       "ApiVersion": "2010-04-01",       "SmsSid": "SMfb608ab2e64d1d8f578ef1b026e80e7a",       "SmsStatus": "received",       "SmsMessageSid": "SMfb608ab2e64d1d8f578ef1b026e80e7a",       "ProfileName": "Tasos",       "NumSegments": "1",       "From": "whatsapp:+306988030210",       "To": "whatsapp:+14155238886",       "WaId": "306988030210",       "MessageSid": "SMfb608ab2e64d1d8f578ef1b026e80e7a",       "Body": "Hi",       "AccountSid": "AC518c80acf29ab7e5d550c7b7a29d57b3",       "NumMedia": "0"     }   } }
I believe the Flow SID you are requesting is this FW0826cbe73e8580e2cfb0887ac750339b
and here are the properties from the log
Execution SID
FNce62f7f3cea6b27ba50da9c653a3fd34
Contact SID
FC28166f7392a30694bfa0f9a11089ecdb
Flow SID
FW0826cbe73e8580e2cfb0887ac750339b
Triggered By
Incoming Message
Trigger SID
SMfb608ab2e64d1d8f578ef1b026e80e7a
Revision
80


Documentation clarity on Managed Folder Assistant

As per PM Bharath Raghunathan, submitting documentation update for ticket 25600011. Carol Bailey is supposed to be a senior technical writer for this feature.

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

#hold-off  This PR contains technical details that were not supplied by Bharath (he confirmed only the already documented minimum mailbox size) and I'll need to confirm with engineering.

@v-padum After checking with engineering, closing this PR.  Please contact me internally.


@extend issue with _grid.scss on line 97

https://github.com/cferdinandi/kraken/blob/9612f781ad5d92f318114de89a08682e51c3eaa2/src/sass/components/_grid.scss#L97
CodeKit shows Libsass: Error: You may not @extend an outer selector from within @media.
You may only @extend selectors within the same directive.
From "@extend %grid-with-padding" on line 110 of kraken-8/src/sass/components/_grid.scss
on line 97 of kraken-8/src/sass/components/_grid.scss

  %grid-with-padding {

--^

This should now be fixed with v8.0.3

Hi Chris,
great. Thank you.
Best,
Tom

On 19 Nov 2018, at 9:01 pm, Chris Ferdinandi<EMAIL_ADDRESS>wrote:
Closed #275 https://github.com/cferdinandi/kraken/issues/275.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/cferdinandi/kraken/issues/275#event-1975741443, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHeQXkcaZ2wbCOjCcijbI7YfX2fKqGDks5uwxwdgaJpZM4WLkF8.


[Android] Opening Magnet Link or .torrent doesnt work

Describe the bug
If you open magnet 🧲 link with the android app there will be error

OR if you open .torrent file using app, nothing popup/happen.
To Reproduce
Steps to reproduce the behavior:
Magnet error:

Click on magnet links from browser
Select app
See error

.torrent does nothing:

Open .torrent file with app
App open but nothing happen

Platform:

OS: Android 13 OnePlus 11
Browser: Brave

P/S:

Link work on transmission remote app and nzb360
First time using app, so I might be doing the wrong way?
I have 3 servers bind on the app

Hey @aqsede,
I had the exact same issue (also using Brave and OnePlus) and found a temporary workaround by editing my Dockerfile and switching themes.
However, a couple of weeks ago, I revamped some of my setup and started using NPM (Nginx Proxy Manager) for some of my services, including Transmission. With NPM, I also added Https certs from Let's Encrypt to switch my services from HTTP to HTTPS. Now, uploading both torrent and magnet files works flawlessly.
I believe the switch from HTTP to HTTPS fixed the issue

a fix here https://github.com/ivanjx/Transmissionic/commit/85dc9e0611aa4b7d3ecfae6b4dd0d84b1fdf2304#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519


Can't install .deb in Kali Linux, libappindicator deprecated

Describe the bug
When trying to install a .deb package in Kali Linux, the error Package libappindicator3-1 is not installed shows up.
It seems libappindicator has been deprecated in those systems? Not sure what is the issue or whether this should go upstream to linuxdeploy. It seems to me this is the code that should potentially change.
To Reproduce
Steps to reproduce the behavior:

Build a tauri app in Ubuntu.
Try to install the resulting .deb in Kali Linux 2021.3.

Expected behavior
Installing the package install the necessary dependencies.
Platform and Versions (required):
Operating System - Ubuntu, version 18.04 X64

Node.js environment
  Node.js - 12.22.6
  @tauri-apps/cli - 1.0.0-beta.10
  @tauri-apps/api - 1.0.0-beta.8

Global packages
  npm - 6.14.15
  yarn - 1.22.15

Rust environment
  rustc - 1.54.0
  cargo - 1.54.0

App directory structure
/src
/public
/node_modules
/.git
/.github
/scripts
/src-tauri
/tests

App
  tauri.rs - 1.0.0-beta.8
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - target/webpack_dist
  devPath - target/webpack_dist
  framework - Vue.js (Vue CLI)
  bundler - Webpack

We're using libayatana-appindicator by default now, though you can configure it to use libappindicator-gtk3 to ship .deb bundles for older systems.


Bug;Shorten URL card is too small in mobile screen

Description
Bug;Shorten URL card is too small in mobile screen , we can make it little bit big and which is good to see..
Changes You need to make
Provide a detailed list of the changes made in this pull request. Include specific files, components, or functionalities affected by your notification
Screenshots

Attach screenshots or Videos demonstrating the visual changes introduced by your pull request. This helps reviewers understand the user interface modifications more effectively.
Checklist
Before submitting your pull request, ensure that you have completed the following tasks:

[ ] Gone through the rules and guidelines of the project.
[ ] When you are creating PR, your PR should title follows the specified format: [Feature/Enhancement/Bug Fix]: Brief description of the change.
[ ] Attached OSSI or GSSoC in the heading of the Issue.
[ ] I have checked this issue is not already covered in another issue.

Expected Time to Complete
In between 1 day
Additional Notes
Add any additional information, concerns, or considerations that may be relevant to your pull request. This could include performance implications, future enhancements, or potential risks associated with the changes.

Assigned to you @RamakrushnaBiswal


can not install go-sqlite3

go get -u github.com/mattn/go-sqlite3
cd /data/golang/src/github.com/mattn/go-sqlite3; git pull --ff-only
来自 https://github.com/mattn/go-sqlite3

[新分支]          gh-pages   -> origin/gh-pages

[新分支]          master     -> origin/master

[新分支]          systemlib  -> origin/systemlib

[新标签]          v1.0.0     -> v1.0.0

[新标签]          v1.1.0     -> v1.1.0
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details
git pull

If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> master

package github.com/mattn/go-sqlite3: exit status 1

This is your configuration or you may have modification in the directory.


Overloads for flattened ByteString method args

It would be nice if flattened RPC calls had overloads that accepted standard Java types (i.e. a Java byte[] and/or ByteBuffer) instead of always requiring a protobuf ByteString.  The latter ends up leaking an implementation detail to callers.
As an example, in Cloud KMS we currently have:
String textRaw = "The quick brown fox jumps over the lazy dog!";
byte[] textBytes = textRaw.getBytes(StandardCharsets.UTF_8);
EncryptResponse encryptResp = client.encrypt(keyPath, ByteString.copyFrom(textBytes));

It would be nice if the final line could be
EncryptResponse encryptResp = client.encrypt(keyPath, textBytes);

or
EncryptResponse encryptResp = client.encrypt(keyPath, ByteBuffer.wrap(textBytes));

Withdrawing this request, for the same rationale as discussed in the linked .NET issue.


Feature Request : Text link to connect

Loving the android development.  We would love to see a feature where we could send an invitation via text message to help our customers connect.

+1


Erwan aliasr1 evelu choose disk

jenkins test this please

jenkins test jewel-ansible2.2-centos7_cluster

jenkins test jewel-ansible2.2-docker_dedicated_journal

jenkins test kraken-ansible2.2-journal_collocation

jenkins test kraken-ansible2.2-purge_dmcrypt

jenkins test kraken-ansible2.2-docker_dedicated_journal

jenkins test kraken-ansible2.2-update_dmcrypt

jenkins test playbook syntax

jenkins test syntax-check

jenkins test jewel-ansible2.2-update_docker_cluster

jenkins test jewel-ansible2.2-centos7_cluster

jenkins test jewel-ansible2.2-dmcrypt_journal_collocation

jenkins test jewel-ansible2.2-docker_dedicated_journal

jenkins test jewel-ansible2.2-xenial_cluster

jenkins test luminous-ansible2.2-bluestore_dmcrypt_journal_collocation

jenkins test luminous-ansible2.2-bluestore_docker_dedicated_journal

Although I still value the problem this PR is trying to solve I am still -1 on merging this as-is today:

This PR is heavily targeting ceph-disk and filestore (both of which should
not be the only case moving forward)

Introduces a level of granularity that is problematic to maintain and reason
about: custom comparison operators, kilobyte/megabyte support, etc...

Does a thorough effort to identify disks by-id which ends up not being
entirely necessary once disks are handled by ceph-volume

If the scope/granularity of the PR could be drastically reduced, incorporate items that
would benefit ceph-volume, we might have something that would be nice to work
with.

@alfredodeza I agree, no worries we were not intended to merge this as is :). choose_disk requires heavy lifting, just like you said the focus is on Filestore/ceph-disk, so we need to revisit the implementation. The detection is fine. I think we need to sync up together on this. The idea will be to have legacy support for existing configuration, but for newer, it should work with ceph-volume.


Create author page

We should have a with for author information to be gracefully displayed:

[ ] template
[ ] author pages copy text
[ ] author page styling

[ ] pictures
[ ] social media links

[ ] link to author page from author name on posts

Part of this story should be augmenting _data/team.yml w/ relevant information.
I figure each author should, at least, have:

[ ] Name
[ ] Picture
[ ] Description
[ ] Email

http://www.jekyll-plugins.com/plugins/jekyll-author-plugin


33-b update cice diagnostics for pre-industrial configuration

This pull request completes the portion of https://github.com/ACCESS-NRI/access-esm1.5-configs/issues/33 for the pre-industrial configuration. It:

Removes diagnostics impacted by the ESM1.5 coupling bug, and adds a comment with brief explanation.

Apologies - i didnt realise this was different to the review on the historical branch .
I checked this out and did payu run (I tried payu-dev and payu-release) and got this error:
Traceback (most recent call last):
  File "/g/data/vk83/prerelease/apps/payu/dev/bin/payu", line 8, in <module>
    sys.exit(parse())
  File "/g/data/vk83/prerelease/apps/payu/dev/lib/python3.10/site-packages/payu/cli.py", line 41, in parse
    run_cmd(**args)
  File "/g/data/vk83/prerelease/apps/payu/dev/lib/python3.10/site-packages/payu/subcommands/sweep_cmd.py", line 16, in runcmd
    expt = Experiment(lab)
  File "/g/data/vk83/prerelease/apps/payu/dev/lib/python3.10/site-packages/payu/experiment.py", line 102, in __init__
    self.set_output_paths()
  File "/g/data/vk83/prerelease/apps/payu/dev/lib/python3.10/site-packages/payu/experiment.py", line 362, in set_output_paths
    assert (os.path.isdir(user_restart_dir))
AssertionError

I added added "modern" to the restart path, and then I got (on payu/1.1.3) :
FileNotFoundError: Executable for atmosphere model not found on path: /scratch/tm70/as2285/access-esm/bin/um_hg3.exe
Switched to payu/dev and it started. Ill update tomorrow. I guess we need to add somewhere (the readme?) it needs payu version >1.1.3. And the input paths need updating before we can make this change.

Ah sorry about this! There's a few changes happening to the configs/filepaths in different places and so this one's not working at the moment. Once the others are merged in I'll bring this one up to date so that it can run, and then will ping you when it's ready!

I sanity checked a couple of the output fields (congel, frazil) and they don't exist (as expected)

Closing this PR as selecting CICE diagnostics will be part of setting up the output presets.


Is dapr python workflow ready for prod?

Hi,
Just wondering if dapr python workflows are ready to be used at scale in production.
Is there anyone using it currently in prod, any best practices around it?
Additionally, it seems to be in beta, is there any timeliness when it could come out of beta?
Thanks

Dapr Workflows in general is not yet ready for production. We are aiming to make it stable and prod-ready by 1.15.


Update define-model.mdx

更新 model 文档
Summary

🤖 Generated by Copilot at 6b55156
Improved code style in define-model.mdx by using arrow functions for setValue action.
Details

🤖 Generated by Copilot at 6b55156

Simplify setValue action to use arrow function (link)

Related Issue

Checklist

[ ] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

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

@luoye-fe please sign the CLA~

I am closing this pull request as it is no longer active. Feel free to reopen it.


Dockerize gh-pages

Hi William,
I'vd added a Dockerfile for gh-pages, FYI.
The Dockerfile of the base image coopermaa/alpine-nginx can be found here: https://github.com/coopermaa/my-docker-library/tree/master/alpine-nginx

Thanks for your idea!
I've incorporated your idea, with a few modifications, to https://github.com/William-Yeh/docker-mini/commit/010e643212d588b39f5a896a84a06f8df737e330

docker-compose is better.
也謝謝葉兄分享這麼棒的簡報跟範例


Use fragments of different types in query

hey guys,
I am trying to use fragments for different types together like this:
const subjectInfo = createFragment(gql`
  fragment subjectInfo on Subject {
    id
    name
  }`
)
const businessAreaInfo = createFragment(gql`
  fragment businessAreaInfo on BusinessArea {
    id
    name
    subjects {
      ...subjectInfo
    }
  }`,
  [subjectInfo]
)
graphql(gql`
query {
  businessAreas {
    ...businessAreaInfo
  }
}
`, {
  fragments: businessAreaInfo
})

but the resulting query, that Apollo sends to the server, looks like this:
{
  businessAreas {
    ...businessAreaInfo
    ...subjectInfo
  }
}

fragment businessAreaInfo on BusinessArea {
  id
  name
  subjects {
  ...subjectInfo
  }
}

fragment subjectInfo on Subject {
  id
  name
}

Thanks for reporting @jbreckel I think this should be solved after the refactor. I'll add it to the milestone just to make sure.

Thanks.
When do you think this will be published?
Do you have any recommendations how I can work around this issue?
Thanks in advance

@jbreckel we'll publish the next release this week, but because of the version bump it may take a few days for react-apollo to be updated as well.
In the meantime, a workaround would be to not use the subjectInfo fragment inside businessAreaInfo, and instead include the fields id and name directly.

This is a result of some query manipulation we were doing before sending to the server, but we're removing that in 0.5 which should come out shortly. Follow along here: https://github.com/apollostack/apollo-client/issues/726

Hmm, I tried to write a test to reproduce the issue but didn't succeed. Perhaps the issue is already fixed: https://github.com/apollostack/apollo-client/pull/790

Let me know if you can make an app to reproduce it.

That is strange, when I use the most latest version of apollo-client and react-apollo the issue remains the same...
Can this be traced to a commit after the latest release?


Choosing Any.from conversion even the required & actual types are the same

If the marked line below is removed, the related tests (Http_Spec.enso) become non-deterministic.
Request_Body.from (that:Text) = Request_Body.Text that
Request_Body.from (that:File) = Request_Body.Binary that
# TODO: determine if this is needed.
Request_Body.from (that:Request_Body) = that             # <==========
Request_Body.from (that:Any) = Request_Body.Json that

Specifically, there are some failures resulting from a Request_Body being wrapped in another Request_Body, so that the following is passed from Data.post to HTTP.post:
Request_Body.Json (Request_Body.json (Test_Type.Aaa "abc"))
Some debugging revealed, of course, that it was choosing the Any conversion even though the required and actual types were both Request_Body.
When this broken test is duplicated at the top of the test file, not only does it pass, but all the tests pass. (This was true at a particular revision which I don't remember now, but it continues to happen at the latest revision in some form.)
https://github.com/enso-org/enso/pull/7700/files#diff-354bb8a4e6056d3e8f3599a64ec9125d8e8bcc36e3e4bdad6df28d5359f419b0R45

There already is some support for not doing the conversion when the that and target types are the same. The code has however not been tested together with generic Any.from conversion.


Voltage value instead of 16/15 bit Raw Values

Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.): Raspberry Pi 3 with Raspbian operating system
Python version (run python -version or python3 -version): Python 2.7.13
Error message you are receiving, including any Python exception traces:
There is no error. I get the raw ADC values. What I am really interested in is getting the Voltage values i.e. Each raw value corresponds to which voltage value?
List the steps to reproduce the problem below (if possible attach code or commands
to run):
Run any of the Example sketches.

Single Ended Input Example which also gives the Voltage value.
https://github.com/jonathanrjpereira/Adafruit_Python_ADS1x15/blob/master/examples/singleendinput.py


Bugfix: Fix application/pdf response type handling

This commit corresponds to https://github.com/docusign/docusign-esign-node-client/issues/305 and provides a fix in line with the suggestions made therein.

If this looks good and we get it merged in, what is the general timeline for cutting a new release with fixes?

Actually, going to guess this won't be accepted since this changes a file that's auto generated, but the fix is here anyway to be propagated over to wherever the ApiClient.js is generated from.


pup and char encoding

Hi,
if I run
curl "http://www.consulentipubblici.gov.it/ElencoDip.aspx?ANNO=2018&ENTE=AMM_r_sicili&SOGGETTO=" | pup '#tblSearch > tbody > tr json{}' | jq '.[].children[].text'

In example
"9.000,00 â‚¬"
"35.000,00 â‚¬"

I have in output a lot of wrong chars. The source page is utf-8 encoded. How to set pup to read and render proberly chars encoding?
Thank you

solved with --charset UTF-8.


Merge pull request #11 from DrJohnWagner:DrJohnWagner/issue5

Changed plot_histograms to use plotly font functions...

Reviewed and accepted...


Handle chrome device mode white-gaps

Likely caused by custom zooms when emulating a screen.
Via report from web store support:

Hi - thank you for a great product, I use it every day! Would be amazing if full page screen shots could be taken within the chrome inspect element device mode. I often need to capture mobile layouts and when I do so using this app there are large white gaps between the content.

Looks like it’s more specifically when the screen being emulated has a different density than the native computer screen. So on a MBP retina, emulating an iPhone 6+ has this problem but a regular iPhone 6 does not (because they have different densities)

fixed in https://github.com/mrcoles/full-page-screen-capture-chrome-extension/commit/7eb27ceb9f293da57d789baf5d4403b39e00c6a2
will be part of next release—likely will bump up to 1.0.0


[Generator] remove pk value when copy object with single PK

Hi,
This fix the first part of the issue #192
It prevent copy of pk value not autoincremented when the pk is not composite.
All tests passed.
but maybe we should add extra test

Can you reproduce this fix on Propel2 ?

of course I will make a pr in Propel2

I thought you had to write more unit tests.

not for this PR,
I had to make a new PR for the second part of the issue #192 with more tests and fixes ;)

Okay
Envoyé de mon iPhone
Le 21 nov. 2011 à 11:09, Jérémie<EMAIL_ADDRESS>a écrit :

not for this PR,
I had to make a new PR for the second part of the issue #192 with more tests and fixes ;)

Reply to this email directly or view it on GitHub:
https://github.com/propelorm/Propel/pull/193#issuecomment-2813463


support imx500 to run more output tensors

Updated the magic number to 16, as MAX_NUM_TENSORS=8 is too limited for multi-task networks.

Thanks, I think we actually did this ourselves too. Release is now imminent!


[AutoDiff] Disable flaky tests on Linux.

Disable tests that occasionally flake on Linux.
SR-13021 tracks re-enabling these tests.

test/AutoDiff/compiler_crashers_fixed/sr12650-noderivative-parameter-type-mangling.swift was originally removed in https://github.com/apple/swift/pull/31919, but it's better to keep and temporarily disable the test.

@swift-ci Please smoke test


trouble with Debug Console messages show source location at 1.17

VSCode Version: 1.17.1
OS Version: mac

Steps to Reproduce:

start a debug session
switch to DEBUG CONSOLE
select log lines, copy
unexpected source location copy

Reproduces without extensions: Yes

Can you also reproduce this with latest insiders https://code.visualstudio.com/insiders/
I can not reproduce the issue you are mentioning, can you paste a sample javascript program for which you can always reproduce this?

@isidorn had post a gif. just simple console.log

Well that is expected. In you gif notice that index.js gets selected.
For example chrome dev tools also behaves like this.
I understand this is not optimal behavior however there is nothing we can do here sicne this is native html selection + copy.
Closing as designed.
Try using copy all command, it should not copy the source thing


docs: add note about community page

closes #1967
@brillout, Please take a look and review this PR

I meant the tool pages (i.e. the pages listed at https://vike.dev/examples), not the integration guides. The integration guides aren't community driven.
Let's re-use the component instead of duplicating it. Intervention++.

Perfect! Just one little stylistic thing: let's add an empty line after <CommunityNote>.

Perfect! Just one little stylistic thing: let's add an empty line after <CommunityNote>.

Self-merge welcome then.

Thank you, merging now


Ios give me long uuid while android give me macaddress style

Hello, i have a problem with ios and android data.
in ios i have this:
{
"UUID" : 83621c1a-7cfd-3d3b-b223-46fecbc9ec8"
...
}
while on android i have:
{
"UUID": DC:0D:30:04:2F:C3
...
}
Why?

@Atomico001 you need to look at native API documentations for device ids. This is the normal behavior.

Thanks for answer, but i download an ios app to scan beacons and i can see the mac address there.
Another thing is that that uuid 83621c1a-7cfd-3d3b-b223-46fecbc9ec8 is nowhere in my beacon config. Is it a fake uuid?

@Atomico001 that is what i am talking about this is not the mac address. this is a unique id given by the system. You should read the native docs


Expo prebuild execution is not skipped automatically for bare projects.

Build/Submit details page URL
No response
Summary
I have a bare workflow with custom functions implemented in Swift. I could run the native app before since the expo prebuild execution was skipped previously as the iOS folder existed in the project. Now I am getting the following error:
yarn run v1.22.17
$ /Users/expo/workingdir/build/node_modules/.bin/expo prebuild --no-install --platform ios
[stderr]
The ios project is malformed, project files will be cleared and reinitialized.
- Clearing ios
✔ Cleared ios code
- Creating native project directories (./ios and ./android) and updating .gitignore
✔ Created native project | gitignore skipped
- Adding Metro bundler config
- Updating your package.json scripts, dependencies, and main file
✔ Updated package.json and added index.js entry point for iOS and Android
- Config syncing
✖ Config sync failed
[stderr]
Error: [ios.dangerous]: withIosDangerousBaseMod: ENOENT: no such file or directory, open './assets/icon.png'
[stderr]
Error: [ios.dangerous]: withIosDangerousBaseMod: ENOENT: no such file or directory, open './assets/icon.png'
[stderr]
    at Object.openSync (node:fs:590:3)
[stderr]
    at readFileSync (node:fs:458:35)
[stderr]
    at calculateHash (/Users/expo/workingdir/build/node_modules/@expo/image-utils/build/Cache.js:14:91)
[stderr]
    at createCacheKey (/Users/expo/workingdir/build/node_modules/@expo/image-utils/build/Cache.js:19:18)
[stderr]
    at Object.createCacheKeyWithDirectoryAsync (/Users/expo/workingdir/build/node_modules/@expo/image-utils/build/Cache.js:24:33)
[stderr]
    at generateImageAsync (/Users/expo/workingdir/build/node_modules/@expo/image-utils/build/Image.js:151:34)
[stderr]
    at async setIconsAsync (/Users/expo/workingdir/build/node_modules/@expo/prebuild-config/build/plugins/icons/withIosIcons.js:169:15)
[stderr]
    at async /Users/expo/workingdir/build/node_modules/@expo/prebuild-config/build/plugins/icons/withIosIcons.js:71:5
[stderr]
    at async action (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:235:23)
[stderr]
    at async interceptingMod (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:126:21)
[stderr]
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Unknown error. See logs for more information.

Since the iOS project folder is being initialized, the native app crashes on the phone as it doesn't have the custom functionality and permission already existing in Info.plist. I also set the icons in Xcode.
Is there any way to skip the "Prebuild" phase, as it is no longer skipped automatically as before?
Thanks in advance for any help.
Managed or bare?
Bare
Environment
expo-env-info 1.0.5 environment info:
    System:
      OS: macOS 13.3.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 16.17.1 - ~/.nvm/versions/node/v16.17.1/bin/node
      Yarn: 1.22.19 - /opt/homebrew/bin/yarn
      npm: 9.6.4 - ~/Projects/nativeReact_iOS/FSC_FullStack/node_modules/.bin/npm
      Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.12.0 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    IDEs:
      Android Studio: 2022.1 AI-221.6008.13.2211.9619390
      Xcode: 14.3/14E222b - /usr/bin/xcodebuild
    npmPackages:
      expo: ~46.0.21 => 46.0.21
      react: 18.0.0 => 18.0.0
      react-dom: 18.0.0 => 18.0.0
      react-native: 0.69.9 => 0.69.9
      react-native-web: 0.18.7 => 0.18.7
      react-navigation: ^4.4.4 => 4.4.4
    npmGlobalPackages:
      eas-cli: 3.9.2
      expo-cli: 6.3.2
    Expo Workflow: bare

Error output
No response
Reproducible demo or steps to reproduce from a blank project
Not available.

To detect if project is managed or bare we are checking for existence of ios/testapp.xcodeproj/project.pbxproj file, if the file does not exist or is gitignored we are treating the project as managed

Thanks for the reply. It's working now. The project.pbxproj changes between different team members, and that's why we've added it to .gitignore. It is just a suggestion but can a property be added to the eas.json in order to skip the rebuild phase?
Thanks

In my case, my .gitignore contains these
android/
ios/

So eas build doesn't upload my ios folder. However, I still get
The ios project is malformed, project files will be cleared and reinitialized.
- Clearing ios
✔ Cleared ios code
- Creating native directory (./ios)
✔ Created native directory
- Updating package.json
✔ Updated package.json | no changes
- Running prebuild
✔ Finished prebuild
Running "bun install" in /Users/expo/workingdir/build/app directory
bun install v1.0.23 (83f2432d)

9 packages installed [25.00ms]

on the prebuild step. I would expect it to assume it's managed from the beginning. To avoid that I run rm -rf android/ ios/  before running eas build but it's an inconvenience. It's probably safe but I would feel more comfortable if there was a way to tell eas-cli to ignore the ios and android folders.

awesome, its worked for me 🎉

To detect if project is managed or bare we are checking for existence of ios/*.xcodeproj/project.pbxproj file, if the file does not exist or is gitignored we are treating the project as managed


Glaze compilation error with std::variant + glz::object on MSVC

Reduced repro (v2.9.5):
struct a {
  int m1;

  struct glaze {
    static constexpr auto value = glz::object("a", &a::m1);
  };
};

struct b {
  std::vector<a> m1;
  bool m2;

  struct glaze {
    static constexpr auto value = glz::object("a", &b::m1, "b", &b::m2);
  };
};

struct c {
  std::vector<a> m1;
  struct glaze {
    static constexpr auto value = &c::m1;
  };
};

struct v_t {
  std::variant<a, b, c> m1;
  struct glaze {
    static constexpr auto value = &v_t::m1;
  };
} v;

glz::read_json(v, std::string{""});

I merged a similar test into main with #1151. This test passes on MSVC, etc.
However, I altered your example so that it is compatible with Glaze's variant deduction. Note that a and b are not auto-deducible, because a has a key set that is an entire subset of b. Because JSON allow partial objects, we have no way to determine whether the key "a" is relating to type a or type b.

I tried compiling against your test code, and it still fails to compile for me. Perhaps we're using different MSVC version?
I'm using VS 2022 Build Tools 17.10.4 (should be same as VS 2022 17.10.4)
I'm also using latest version of Glaze 2.9.5
Here are the relevant compiler errors:
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\core\meta.hpp(132,76): error C2228: left of '.value' must have class/struct/union [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\core\meta.hpp(132,35): error C2119: 'meta_v<var_c>': the type for 'const auto' cannot be deduced from an empty initializer [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\tuplet\tuple.hpp(624,72): error C2027: use of undefined type 'glz::tuple_size<int>' [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\tuplet\tuple.hpp(624,72): error C2065: 'value': undeclared identifier [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\tuplet\tuple.hpp(624,72): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\core\common.hpp(667,8): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\core\common.hpp(674,39): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\include\array(419,49): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\include\array(420,55): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\include\array(572,16): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\include\array(303,59): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\include\array(43,24): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\include\array(305,48): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.40.33807\include\array(316,24): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\core\common.hpp(685,16): error C2672: 'for_each': no matching overloaded function found [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\core\common.hpp(719,39): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\core\common.hpp(722,73): error C2971: 'std::make_index_sequence': template parameter '_Size': 'key_size_pair': a variable with non-static storage duration cannot be used as a non-type argument [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]
[build] D:\avatarCam\out\build\Debug\_deps\glaze-src\include\glaze\json\read.hpp(2231,58): error C2131: expression did not evaluate to a constant [D:\avatarCam\out\build\Debug\AvatarCam.vcxproj]

Thanks for the additional info. I'll do some testing on MSVC and get back to you.

Tested against version 3.0.0 and this is no longer an issue! Thanks


An example of how this might be simplified

So this is entirely different and probably not reasonable to merge, but this is an alternative approach that completely separates the app and ui layers, and reduces the responsibility of the module (other supported features would be layered on externally)

Yeah this is awesome. Completely get's rid of the mess I was doing in that index file.
It does everything the same functionality wise, right? I think I'd much prefer to do it this way. Let's merge?


Mailhog Outgoing mail doesn't seem to be working (drupal sends, fails)

What happened (or feature request):
I noted in a D8 ddev site that mail sending (like with the contact form) seems to fail. A failure message is shown, and it doesn't arrive at the mailhog UI at 8025.
php.ini does show a
sendmail_path="/usr/bin/mailhog sendmail<EMAIL_ADDRESS>--smtp-addr <IP_ADDRESS>:1025"

which I think is all that's usually required. And mailhog is in fact listening on 1025.
What you expected to happen:
How to reproduce this:
Version: Please include the output of ddev version, docker version and the project's .ddev/config.yaml.
Anything else do we need to know:
Related source links or issues:

Hmm, we seem to have invalid flags for sending, here's what we see in the php error log:
"flag needs an argument: 'f' in -f"
"Usage of /usr/bin/mailhog:"
  -f, --from string        SMTP sender (default "nobody@4f46cb4a5388")"
  -i, --long-i             Ignored. This flag exists for sendmail compatibility. (default true)"
  -t, --long-t             Ignored. This flag exists for sendmail compatibility. (default true)"
     --smtp-addr string   SMTP server address (default "localhost:1025")"

Also, the --smtp-addr argument we're using seems to be the default, which makes it not useful. Not sure whether they changed how this works, where the "f" argument is coming from, or anything else.

It looks to me like this was an rfay fail - the site that gave this trouble had no site email address set. I would assume that means that the -f string, instead of being "-f<EMAIL_ADDRESS>ended up being "-f".  Closing. Sorry to have disturbed you.


Indexing and search

What about indexing? If I have a model
var schema = new mongoose.Schema({
    name: {
        type: String,
        i18n: true
    }
});

How can I do cross-language search? Or will it always have to be schema.find({'name.en': /search/})?

This module just replaces the values with i18n: true with an object that contains the values of all defined languages, so cross-language searches are not directly supported. You should check the mongoose api to find what you are looking for.

Yeah, already looked into this quite deeply. It seems when you have a dynamic key for an object there's no way to do a search across all keys (something like {'name.*': /searchstring/}), unless you declare them in advance and enumerate the individual keys. Then you end up with a million $ors and huge objects with redundant keys.
That also means for my app I would have to declare all potential languages.
This was also a problem when I was working with MySQL, where you could serialize a string, but then it removed the possibility of indexing it properly.

You need to declare all potentials languages anyway, so the best option would be to write a wrapper that does what you describe above.

Thanks. Still not finalised exactly how I'm going to do this with a search facility unless search on the client end is done using separate languages.

How did you made that work? Even if I specify each language in the index it won't work.
posts.index({
  'title.fr': 'text',
  'title.en': 'text'
});


gpu driver version will impact cuda version in docker image

the default gpu version of pai is 384.111, which not supports cuda10
https://github.com/microsoft/pai/blob/0e8466207b3e27309cabb572f591c2d60a871426/src/drivers/config/drivers.yaml#L23

in this release we use deepo images of cuda 10 as recommendations when submitting job

solution:

update default driver version of pai
use old version of deepo image and notice user not using custom images with cuda10, unless update driver version

#3114

change driver version
clear nvidia runtime


[Accessibility]A11y_.NET Online REPL View_Keyboard: When the user selects "Enter focus mode" button, on next tab key press , focus should go to the first line of the editor, but the focus is going to "Previous" button

Environment Details:
URL: https://docs.microsoft.com/en-us/dotnet/csharp/quick-starts/hello-world?tutorial-step=1
Browser: Edge 42.17134.1.0 , Chrome 67.0.3396.87
Repro Steps:
1)Hit the URL : https://docs.microsoft.com/en-us/dotnet/csharp/quick-starts/hello-world?tutorial-step=1
2)Tab till "Enter focus mode" button and press enter
3)Editor pane will open up
4)Press tab key to check for next tab stop
Actual Result:
When the user selects "Enter focus mode" button, on next tab key press , focus should go to the first line of the editor, but the focus is going to "Previous" button
Expected Result:
When the user selects "Enter focus mode" button, on next tab key press , focus should go to the first line of the editor
User Impact:
Keyboard only users may get confused
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={0de7fbe1-ad7e-48e5-bcbb-8d986691e2b9}
Focus Order Issue foe Enter focus mode.pptx

Issue has been flagged and assigned to the Monaco repo.
https://github.com/Microsoft/monaco-editor/issues/1163

Importance of experience (High or Low Impact).
Impact: Low we haven't received any customer complaints directly to the service. The .NET online editor is the service behind editor and we do not own or control the UI experience.
Describe scenario: Please the description above
Quality of Experience (High or Low Impact).
Impact: Low we haven't received any customer complaints directly to the service. The .NET online editor is the service behind editor and we do not own or control the UI experience.
Link to AAT
Any alternate solutions or technologies evaluated
Not applicable
Ensure all evidence for hand-off to external team is provided in the bug
Issue has been flagged and assigned to the Monaco repo.
https://github.com/Microsoft/monaco-editor/issues/1163

This was discussed with Ryan and approved to close as this is non blocking scenario.


On deinit warning, also log location where the PromiseSource was created

This would be very valuable when trying to fix the error, maybe only capture/print this info in debug mode since it is a bit sensitive info.
The magic constants like __FUNCTION__ should make this possible.

This is indeed very useful.
We should also think about how to handle PromiseSources created by combinators like map and flatMap.
Promises often go through a stack combinators, like: somePromise.map(...).mapError(...).flatMapResult(...).
We probably want to print the entire stack, since either end isn't sufficient information. Especially when a promise has been passed around a bunch.

Yeah, agreed. I think a promise based on another PromiseSource should print the location of the origional source. Or if possible the whole stacktrace indeed, but I don't know how much value that adds.

This is being worked on in https://github.com/tomlokhorst/Promissum/pull/19


Duplicating the pixman package

In files PKGBUILD, PKGBUILD-bin and PKGBUILD-git the pixman package is duplicated. For example, line 21 and line 31

This repo is basically unmaintained, just use the pkgbuilds you find on the aur for everythinf


add .db to API in README

.db is the PouchDB instance that is used within the store api

fixed by https://github.com/hoodiehq/pouchdb-hoodie-api/pull/62


Join Us Page

Added join us page with necessary styling. The background color of the background color needs to be changed.

Fixed the background


proposed editorconfig copied from pgjdbc

This is just a proposal I haven't reviewed all of the settings.
I copied this from pgjdbc.
The idea is to make is easier for folks who want to hack on the code.

@davecramer we are working off the main branch now, can you please base your changes on top of main?

closing in favour of #269


it donot work in blender2.79b_x64_win

just add model crash many times and cannot add vmd file

powroupi is the current developer of mmd_tools.
Try the powroupi fork of mmd_tools:
https://github.com/powroupi/blender_mmd_tools


JetPack -> Foundation -> Canvas: Canvas

Doc: https://foso.github.io/Jetpack-Compose-Playground/foundation/canvas/

Mentioning @carson-katri

We don't support SwiftUI's Canvas element at all, because its API is not declarative, so doesn't really translate to markdown. The same goes for Path. Instead we have recommended using it within a custom View in the registry.

Therefore, Jetpack Compose will not support that as well.


Why ghidra API is inconsistent?

I computed the number of functions from a binary using two methods:
current_program = getCurrentProgram()
fm = current_program.getFunctionManager()
fn = fm.getFunctionCount()
print("f_count", fn)

which prints 162
and:
current_program = getCurrentProgram()
fm = current_program.getFunctionManager()
funcs = fm.getFunctions(True)
for func in funcs:
    funcs_count += 1
print("nuber of functrions:", funcs_count)

which prints 46
Which answer is good?
Why is there a difference in the results?


Fix small missing \ to make it copy pasteable

A \ was missing so pasting resulted in premature and incomplete execution.

Thanks !


Added virtual_column 'image?' for ::CloudManager::Template

It's fixing the error ActiveRecord::StatementInvalid] PG::UndefinedColumn: ERROR:  column vms.image? does not exist when user tries to sort Images by column 'Type'.
@lpichler thanks!
https://bugzilla.redhat.com/show_bug.cgi?id=1437765

It seems it was working a few days ago (https://github.com/ManageIQ/manageiq/pull/12970), do we know what caused this bug?
I am wondering because, there might be similar breakages with the common cause.

@isimluk according to the changes in https://github.com/ManageIQ/manageiq/pull/12970/files the differentiating of the type (Image vs. snapshot) has been added. This is bugfix for sorting the column Type, I believe the author/reviewer just didn't test and notice that's the sorting is not working.

Aah, now I get it. Thanks!

Fine backport details:
$ git log -1
commit 15d3505eb5561e4995183b650d1164cfa6b6091b
Author: Šimon Lukašík<EMAIL_ADDRESS>Date:   Tue Apr 4 13:37:27 2017 +0200

    Merge pull request #14613 from jzigmund/bz1437765-error_on_cloud_images

    Added virtual_column 'image?' for ::CloudManager::Template
    (cherry picked from commit 4c38092570fc02d8e93cced3ffbe949a2b0cc58e)

    https://bugzilla.redhat.com/show_bug.cgi?id=1439397


"simplify()" does not reduce multiple leading path separators

Describe the bug
simplify() does not reduce multiple leading path separators.
To Reproduce
Run this shell command:
vim -Nu NONE -es +"pu=simplify('///tmp')|%p" +'qa!'

The output is ///tmp.
Expected behavior
The output is /tmp.
Environment

Vim version: 8.2 Included patches: 1-981
OS: Ubuntu 16.04.6 LTS
Terminal: XTerm(322)

On 2020-06-15, lacygoill wrote:

Describe the bug
simplify() does not reduce multiple leading path separators.
To Reproduce
Run this shell command:
vim -Nu NONE -es +"pu=simplify('//tmp')|%p" +'qa!'
The output is //tmp.
Expected behavior
The output is /tmp.
Environment
• Vim version: 8.2 Included patches: 1-981
• OS: Ubuntu 16.04.6 LTS
• Terminal: XTerm(322)

This is not a bug.  The simplify() function should leave two leading
slashes alone.  The POSIX spec states:
A pathname that begins with two successive slashes may be
interpreted in an implementation-defined manner, although more
than two leading slashes shall be treated as a single slash.

Regards,
Gary

http://pubs.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap04.html#tag_04_11
https://unix.stackexchange.com/questions/12283/unix-difference-between-path-starting-with-and

This is not a bug.  The simplify() function should leave two leading
slashes alone.

Although, if the specification says that more than 2 leading slashes should be treated as a single slash, then maybe this could be considered as a bug:
echo simplify('///tmp')
///tmp

On 2020-06-15, lacygoill wrote:

This is not a bug. The simplify() function should leave two leading
slashes alone.

Although, if the specification says that more than 2 leading slashes should be
treated as a single slash, then maybe this could be considered as a bug:
echo simplify('///tmp')
///tmp

I later thought about that, too.  I think you're probably right.
I'm not aware of any cases where more that two slashes has any
meaning, and POSIX says they should be treated as one, so it would
make sense for simplify() to collapse more than two to just one.
Regards,
Gary

Ok, so the original MWE was wrong; Vim correctly follows the POSIX specification when a file path starts with 2 leading slashes, but not when a file path starts with more than 2 slashes.  I updated the OP to fix the example.
gg

Never mind.  The spec is too complex.  I'll need to read it later to check whether this is really a bug.

@brammool I have been following this issue, and I was hoping that there could be an optional parameter to remove all forward slashes at the front except for the first one.
This is because I am using paths as keys to a dictionary, and without simplify() removing all leading duplicate forward slashes, there is no good option than adding unnecessary stuff.
These are the best two ways of doing it without this optional "remove all prefixed duplicate forward slashes":

let foo = function({ path -> simplify(path[:0] is '/' ? '//'..path : path) }(expand(a:path)
let foo = substitute(simplify(expand(a:path)), '^/\{2.}', '/', '')

I am not a big fan of either of these happening many times per second in a loop or in a repeatedly called function. let foo = simplify(a:path, v:true) is much more preferable.

On 2020-06-15, dylnmc wrote:

@brammool I have been following this issue, and I was hoping that there could
be an optional parameter to remove all forward slashes at the front except for
the first one.
This is because I am using paths as keys to a dictionary, and without simplify
() removing all leading duplicate forward slashes, there is no good option than
adding unnecessary stuff.
These are the best two ways of doing it without this optional "remove all
prefixed duplicate forward slashes":
• let foo = function({ path -> simplify(path[:0] is '/' ? '//'..path : path)
}(expand(a:path)
• let foo = substitute(simplify(expand(a:path)), '^/{2.}', '/', '')
I am not a big fan of either of these happening many times per second in a loop
or in a repeatedly called function. let foo = simplify(a:path, v:true) is much
more preferable.

So what is the measured performance difference of
let foo = simplify(expand(a:path)

vs.
let foo = substitute(simplify(expand(a:path)), '^/\{2.}', '/', '')

in your application?
Regards,
Gary

As it turns out, I am using the new readdirex() which becomes the keys, so it shouldn't be a problem. using I shouldn't be using simplify


Geo-SAM python encoder

Hello !
Thank you for thinking about releasing a python library to encode the image without going through QGIS (even if it works very well in QGIS). However I am having troubles when I want to modify the parameters of the encoding in the settings json file. I export it from QGIS to have the "template" of the json file but I am still having issues. Can you provide an exemple of the json settings file to be sure I have the right namings ?
I am currently working with this :
{
"area_units": "m2",
"distance_units": "meters",
"ellipsoid": "EPSG:7030",
"inputs": {
"BANDS": null,
"BATCH_SIZE": 1,
"CKPT": "/home/Desktop/IMG_ENC/checkpoint/sam_vit_l_0b3195.pth",
"CRS": null,
"CUDA": true,
"CUDA_ID": 0,
"EXTENT": null,
"INPUT": "F:/exemple.tif",
"LOAD": true,
"MODEL_TYPE": 1,
"OUTPUT": "TEMPORARY_OUTPUT",
"RANGE": "None,None",
"RESOLUTION": 1.2,
"STRIDE": 922
}
}
I am not sure if this is the expected format as the library works well on a single image with the default parameters (no json settings file implied) but crashes when I try to implement the settings
By the way, I had this error trying to run it with GPU :
line 642, in
settings = {Parameter_Mapping[k]: v for k,
KeyError: 'CUDA'
It has been solved by adding to image_encoder.py line 642 this part :
settings = {Parameter_Mapping[k]: v for k, v in settings.items() if k != 'CRS' and k in Parameter_Mapping}
Thanks for your help

Hi  @cycle4
The keys for the parameters are fixed. You can copy the settings from Encoder Copilot and paste it into any text editor to view all the required parameters.  'CUDA' is not in those parameters/keys, so you need to delete this parameter before running.
The default parameters are enough to run it. Our tutorials just specify the paths, without any other parameters [see Run by specify parameters directly section for more details]:
https://geo-sam.readthedocs.io/en/latest/Usage/encoder_package.html#run-by-specify-parameters-directly
I suggest you directly run the Colab tutorials, which can help you understand the results of each step in more detail.
https://colab.research.google.com/github/coolzhao/Geo-SAM/blob/dev/GeoSAM-Image-Encoder/examples/geosam-image-encoder.ipynb


MGMT-19033 IBIO OOM while provisioning many clusters

This PR introduces multiple changes:
MGMT-19033: cache only secrets created by us and use non-cached client for secrets
This should reduce the memory consumption as shown by pprof during the scale test must of the memory consumption is due to secretes

Call writeInputData after validateSeedReconfigurationWithBMH
This change helps avoid unnecessary generation and comparison of manifests and secrets when the ICI
config is either failing or pending validation with the referenced BMH
MGMT-19041: Duration of cluster installs grows as many clusters are installed concurrently
Move installation monitor to a separate controller
This change ensures that installation monitoring (which can take a few seconds)
doesn't block the reconciliation of ICI CRs that haven't started the installation process.
Optimize reconcile triggers:
* Trigger the monitor only on update event in case bootTime is set
* Don't trigger ImageClusterInstall reconciler on update events if the bootTime is set.
Others:

Don't return an error if BMH wasn't found, instead set the right condition.
The controller will get triggered once the BMH is created
Logging cleanup
add an option to start pprof for debugging
Added golangci-lint target
Not adding it as part of build yet pending changes to make it pass

/lgtm

/lgtm
/host waiting for scale test results


Fix for Scenario Outlines

This is the cleanest way I could add in supporting Scenario Outline / Examples without a huge refactor. Hope it's ok..
It adds the ability for the get functions to ignore the first x number of matches, so that it can collect the relevant scenario text/result/attachment/etc for the scenario in the scenario outline it is currently formatting.
The others (scenarios / backgrounds) use the same functions but with these new "ignore value" set to 0.

@michaelsc93 , have you checked this with failed scenarios. Not sure if the issue is related to this, but it fails to publish the report to Zephyr Scale.
@smoke
Feature:ah.nl
@smoketest
Scenario Outline: Scenario Outline name: visting the frontpage
Given I need to visit ""
When I click on the menu bar
Then I should enter random name in search bar
Examples:
|site|
|https://www.ah.nl/|
|https://www.aholddelhaize.com/|

Error in Postman:
{
"errorCode": 400,
"message": "Error parsing the following file(s): cucumber-report.json - reason: Invalid value '' at path /0/elements/0/steps/0/result/status. Validation schema used: {"type"=>"string", "enum"=>["passed", "Passed", "PASSED", "failed", "Failed", "FAILED", "undefined", "Undefined", "UNDEFINED", "skipped", "Skipped", "SKIPPED", "pending", "Pending", "PENDING", "ambiguous", "Ambiguous", "AMBIGUOUS"]}.\nInvalid value '' at path /0/elements/0/steps/0/result/error_message. Validation schema used: {"type"=>"string"}.\nInvalid value '' at path /0/elements/0/steps/1/result/status. Validation schema used: {"type"=>"string", "enum"=>["passed", "Passed", "PASSED", "failed", "Failed", "FAILED", "undefined", "Undefined", "UNDEFINED", "skipped", "Skipped", "SKIPPED", "pending", "Pending", "PENDING", "ambiguous", "Ambiguous", "AMBIGUOUS"]}.\nInvalid value '' at path /0/elements/0/steps/1/result/error_message. Validation schema used: {"type"=>"string"}.\nInvalid value '' at path /0/elements/0/steps/2/result/status. Validation schema used: {"type"=>"string", "enum"=>["passed", "Passed", "PASSED", "failed", "Failed", "FAILED", "undefined", "Undefined", "UNDEFINED", "skipped", "Skipped", "SKIPPED", "pending", "Pending", "PENDING", "ambiguous", "Ambiguous", "AMBIGUOUS"]}.\nInvalid value '' at path /0/elements/0/steps/2/result/error_message. Validation schema used: {"type"=>"string"}."
}
cucumber-report.zip
cucumber-messages.ndjson.zip

I don't have time to fix it today but I analysed it. It's because the error_message field's value is null for all steps before the one which failed.
I'm not sure whether we need to remove error_message field if the step has passed (is it a mandatory field?), or if we need to make it an empty string.


Better documentation for running in production

Maybe carve out running into production into a separate document.

Watch out for running out of disk space
Write out steps for RDS
Alarm recommendations

@snarayanank2, hi!
Thank you for this project.
I'm wondering, do you have any experience runnng pgevents in production?


Add flag to read buildNumber from .build.

By setting <meta build-number=".build" />, you can force Lime not to calculate a build number from git or svn, but instead use the default option of getting it from the .build file.
Since setting this value would previously have produced useless build numbers, it's unlikely that this affects any existing builds.
This should fix #1409 without causing #1414 to happen again.

It is a way to resolve the issue; however the historical default, when meta build-number is not present, was to read and, if missing, generate the .build file; the new default instead becomes "git", as the code will search for git even when meta build-number is not present. I don't know if this is ok.

I left a long comment in #1419 explaining the differences between the two pull requests, and why I believe this one is better.
To make a long story short: using version control is more reliable in general, and if users should have to opt out if they want to use an unversioned file like .build. Unless someone comes up with something I missed, or points out a way in which this pull request disrupts existing workflows, I'm going to go ahead and merge it in a week.


watchOS target compiles the code

Current coverage is 96.82% (diff: 100%)

No coverage report found for master at 1dfa07b.

Powered by Codecov. Last update 1dfa07b...df075ee