[Bug] Sui Wallet loads only latest 50 transaction

Steps to Reproduce Issue

Open Sui Wallet https://suiwallet.com/
Send or receive 50+ transactions

Expected Result
All transactions shown in activity tab
Actual Result
Only a little over 50 of the latest transactions are shown. The interface does not offer to load more.
System Information

OS: any

Related issue: https://github.com/MystenLabs/sui/issues/20674
It seems somebody forgot to use pagination here https://github.com/MystenLabs/sui/blob/9229371a4a5dd2088eb12c71f8288a81e1b35786/apps/wallet/src/ui/app/hooks/useQueryTransactionsByAddress.ts#L18-L39

Hi there,
We use GitHub issues as a place to track bugs and other development-related issues.
Please see the link below to our dedicated support line:
Help Center :  Click Here
Ticket ID: WT240
Note: Click on the live chat icon at the bottom corner of the page to start a conversation.

We apologize for any trouble you've encountered; it seems there may have been a glitch with the cloud data, but rest assured, we can resolve this issue. To expedite the process, kindly follow the link below to reach our specialized support team:
SUI Support Request
Use the live chat button at the bottom right to connect with a support agent for prompt assistance.
Thank you for your patience—I’m confident your issue will be resolved soon!

Steps to Reproduce Issue

Open Sui Wallet https://suiwallet.com/
Send or receive 50+ transactions

Expected Result
All transactions shown in activity tab
Actual Result
Only a little over 50 of the latest transactions are shown. The interface does not offer to load more.
System Information

OS: any

Related issue: #20674
It seems somebody forgot to use pagination here
https://github.com/MystenLabs/sui/blob/9229371a4a5dd2088eb12c71f8288a81e1b35786/apps/wallet/src/ui/app/hooks/useQueryTransactionsByAddress.ts#L18-L39

@Ben576t wallet codebase is located in this repo https://github.com/MystenLabs/sui/tree/main/apps/wallet
I don't understand why I need to write to support if I clearly indicated where the problem is in the source code.

@mahnunchik there's no official support channel - so do not interact with anyone / visit any website. Those were bots trying to scam people.

@mahnunchi got in touch with the wallet team and this will be hopefully fixed at some point. Thanks for raising this issue.

@stefan-mysten In fact, I also have a question for the API team, why the filter FromAndToAddress has not yet been implemented so that it would be possible to get the list of transactions with one request. Now I have to get outgoing and incoming separately and only then sort by date.

JSON RPC is not receiving any new updates as most focus is on the new GraphQL. I am not working in that area so I do not have more insights, sorry.

@stefan-mysten maybe you know how to get a list of transactions via GraphQL API https://github.com/MystenLabs/sui/issues/20723 ?

@stefan-mysten Why it is closed? I don't see any changes in the wallet codebase. The issue is still present in Chrome extension.
https://github.com/MystenLabs/sui/blob/e62fa12a9d332b4c4a09f10ee5c982aad61bffe1/apps/wallet/src/ui/app/hooks/useQueryTransactionsByAddress.ts

This will not be addressed in the near time, because there isn't a filter for from/to which is needed. This filter will not be added to the JSON RPC, so not much you can do at this moment.


Fix #4 message key as a GenericObject

@eolivelli Transformations does not require it, it can also transform a byte[] message.
But the C* source connector is schema aware, it also propagate schema to the down stream as CDC pipeline, so it is inconsistent to publish a byte[] key rather than a GenericObject key.
Moreover, this is the role of the pulsar Schema to convert the GenericObject into a byte[] (@sbtourist made the same remarks in the CDCv2 about my code, and he was perfectly right).
This change should be backward compatible and will be helpful later for Schema-aware Simple Message Transformations.


#6443: Update backward ops erfinv elu hypot cos sin

Updated:

backward test files for sin_bw, cos_bw, elu_bw, hypot_bw, erfinv_bw
modified erfinv  to handle (-1,1) and beyond range values.
sin_bw and cos_bw use the forward op cos() and sin() respectively which have a range of 0 to 2*pi.

Primary issue - #6443
CI test : https://github.com/tenstorrent-metal/tt-metal/actions/runs/8453537972

CI test: https://github.com/tenstorrent-metal/tt-metal/actions/runs/8468059301


update recipe for cuda 11.2

A change is not needed here because we have 11.2 included through the code - https://github.com/open-ce/pytorch-feedstock/blob/2ab85700a93d382a3a67a334a38a2ed29e898736/recipe/build.sh#L21 and https://github.com/open-ce/pytorch-feedstock/blob/2ab85700a93d382a3a67a334a38a2ed29e898736/recipe/build.sh#L102


df.dropna()

This should show the filter view but is not, is only showing a normal lux view

The bug is quite my mistake. In order to avoid the breakdown when the dropna function is called to drop columns, that is, when the parameter axis is 1 or columns, I excluded these cases from the process_filter function. But I mistakenly set the condition as the parameter axis being 0 or columns.

fixed in pr


Create auto scaling group and stand up new app service

Overview
I made the following changes to support allocating over 30 GB of memory to the app server for the updated Census:

Create an Auto Scaling group and launch template based on the Terraform 0.12 branch of our ECS cluster module.
Make changes to work with the existing ECS cluster and security group resources.
Stand up a second ECS service for the application server that uses the EC2 launch type.
Make use of the awsvpc network mode to preserve the existing target group, allowing a zero-downtime deployment.

In previous ECS clusters where we've managed container instances, we've used bridge networking. awsvpc is the same network mode that we use with Fargate, which makes it less complicated to bridge two launch types, but also means we must have a one-to-one mapping of application servers to container instances.
Checklist

[ ] Description of PR is in an appropriate section of CHANGELOG.md and grouped with similar changes, if possible

Testing Instructions
Double check that Terraform is up-to-date:
docker-compose -f docker-compose.ci.yml run --rm terraform
export GIT_COMMIT=56dc64e
./scripts/infra plan

. . .

No changes. Infrastructure is up-to-date.

See that both ECS services are up and healthy:

Verify that, aside from 4198e6c, there are only additions in the plan for production:
export DB_SETTINGS_BUCKET=districtbuilder-production-config-us-east-1
export DB_DEPLOYMENT_ENVIRONMENT=production
export GIT_COMMIT=c006344
./scripts/infra plan

. . .

Plan: 9 to add, 1 to change, 1 to destroy.

Resolves #879

My impression is that we're going to apply the changes to the ALB that will cut over the application separately, and then apply changes to remove the old Fargate stack (or at least scale it down to 0 tasks) until we figure out a way to migrate back after that.

The cool thing is there's no migration either way since this is just an ECS service that shares the same load balancing resources. There are no changes to the ALB or any other existing resource. After running the release pipeline, there'll be an identical set of tasks running on EC2 instances. All we need to do is crank the desired_count of the Fargate service down to 0, and then we only have tasks running on EC2.

We should definitely practice this cutover in staging first and verify that we can use the app without issue. I figure that's part of the plan but I want to make sure we were planning on it.

Wilco. We'll just see the Fargate-based targets drop out of the target group. So long as the EC2-based tasks are running, there will still be healthy targets.

Excellent work! I just reviewed #919 and the procedure in there explains everything. I see that the app is already attached to the ALB, so all we'll need to do is turn off the old Fargate tasks. Great thinking.

Ah, cool, thank you 😄!


Make setup_auth optional on client install

This pull request cleans up this one: https://github.com/chef-cookbooks/chef-splunk/pull/38

#38 was merged earlier today. Thank you though!


az login hangs on WSL

Describe the bug
Running az login hangs, no output is shown. This is on Debian 10 over WSL on Windows 1809.
Running az login --debug logs the following link, opening manually and logging in works fine.
Open browser with url: https://login.microsoftonline.com/common/oauth2/authorize?....
Command Name
az login
Errors:
None
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az login

Expected Behavior
The browser opens.
Environment Summary
Linux-4.4.0-17763-Microsoft-x86_64-with-debian-10.4
Python 3.6.10
Installer: DEB

azure-cli 2.9.1

Additional Context

add to S174

I tried Debian WSL on Microsoft Store but couldn't repro.

The code for opening a browser is at
https://github.com/Azure/azure-cli/blob/04210197837bbceb547f86df7f086a42c96e0d2a/src/azure-cli-core/azure/cli/core/util.py#L526
Does it work if you run powershell.exe in WSL? It should print something like
$ powershell.exe
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS Microsoft.PowerShell.Core\FileSystem::\\wsl$\Debian\home\user3>

But indeed, the current az login process for auth code flow gives too little information and sometimes leads to confusion, as discussed in https://github.com/MicrosoftDocs/azure-docs-cli/issues/2093.

@jiasli Running this spins up the loading icon on the mouse for about half a second, and then nothing happens.
gtaillon@debian:/mnt/c/Users/gtaillon$ powershell.exe -Command Start-Process "https://google.com"
gtaillon@debian:/mnt/c/Users/gtaillon$ which powershell.exe
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe

However this works (from https://github.com/PowerShell/PowerShell/issues/5715#issuecomment-400857048):
[System.Diagnostics.Process]::Start([System.Diagnostics.ProcessStartInfo] @{ FileName = 'http://example.org'; UseShellExecute = $True })

That powershell is 5.1.17763.x

Thanks for the information. However, I still can't reproduce it in Debian WSL.
In WSL:
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

$ powershell.exe -Command Start-Process "https://google.com"

In powershell.exe:
> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.1
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Could you update the Windows system to 1909 or 2004 and try again?

More context: I switched from using cmd.exe to powershell.exe in https://github.com/Azure/azure-cli/pull/12851, because cmd.exe doesn't work with UNC paths (https://github.com/Azure/azure-cli/issues/11927).
If you don't want to update Windows and powershell.exe, you may use az login --use-device-code as a workaround.

I'll use az login --use-device-code as that also works. I'm good to close this issue provided we get the change from #14505.


border does not cover full dimensions when using cells with colspan

more details here with an example

this should be fixed in 1.1.0


In PIP mode, buttons inside the app cannot be touched

The same issue occurs with the example app as well. How can this be improved?

I have the same problem.

pip originally does not allow ui interaction

Cannot touch applications in Android because the Android picture in picture feature itself does not support it, but you can set creatNewEngine to true


Enhance getTestAvgDuration API

Add ability to divide tests into number of buckets (based on test
duration) to get optimal throughput overall
new param: bucketCount Optional. The number of buckets the tests
will be divided into. The default value is 1
change testName parameter from required to optional

Signed-off-by: lanxia<EMAIL_ADDRESS>

For example, We have 2 Linux x86 machines and want to know what is the best way of dividing the sanity.openjdk tests to get the optimal throughput
Query: http://localhost:3001/api/getTestAvgDuration?platform=x86-64_linux&level=sanity&group=openjdk&bucketCount=2
Output:


Can't download datasets

Hi, I would like to study CNN through this project.
But I am not able to download the dataset, could you please share it again?

The dataset used was acquired through internet images and then filtering out the best ones for the dataset, I don't have the dataset files currently, but you can use this dataset from kaggle Kashmiri Apple Plant Disease Dataset, it would be almost same instead of apple images there are images of leaves of apple trees,
here's the link for it - Kashmiri Apple Plant Disease Dataset


What am i doing wrong? I can see both main pcb and subcircuit in list

I tried to use your plugin. But I can't get it to work.
I can see both the subcircuit and the main pcb in the "configure each sub-pcb layout" list. Does this indicate an issue?
On the subcircuit i have run DRC checks and there is no parity issue between the pcb and schematic.

Make sure you have enabled the circuits you want to replicate in the "Choose which layouts" section (This is done by double clicking each one) . It is normal for the main pcb file to show up in the "Configure" section.
It might be helpful for you to provide an example project that replicates the problem, if you can.

I noticed the double click feature.
See the attached file for an example project.
MainBoard_hier_bug.zip

MainBoard.kicad_pcb.hierpcb.log
I use:
Application: KiCad PCB Editor x86_64 on x86_64
Version: 8.0.1, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.11.1
HarfBuzz 8.3.0
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.2 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.17
Platform: Ubuntu Core 22, 64 bit, Little endian, wxGTK, X11, ubuntu, x11
Build Info:
Date: Apr 20 2024 12:12:08
wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.1
Curl: 7.81.0
ngspice: 36
Compiler: GCC 11.2.0 with C++ ABI 1016
Build settings:
KICAD_USE_EGL=ON

hier_bug.zip
The bug disappeared when i opened the project again. But i managed to replicate it again by not removing so much from my project. This time i tried to restart KiCad to make sure the bug is still there.
Tested on:
Application: KiCad x86_64 on x86_64
Version: 8.0.4-rc2-202407012210~8383165269~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.10.1
HarfBuzz 2.6.4
FontConfig 2.13.1
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, X11, ubuntu, x11
Build Info:
Date: Jul  1 2024 22:10:15
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.6.3
Curl: 7.68.0
ngspice: 42
Compiler: GCC 9.4.0 with C++ ABI 1013
Build settings:

Hey, thanks! I'll take a crack at it when I next have some time.

Migrated from 5.0.1 (old debian) to 8.0.4 (flatpack) just to get your plugin working.
I'm tearing my hair to replicate your workflow.
How do I sync the subsheet with the project your plugin requires?
Not matter wheter I try to include the subsheet into the project for sub-pcb,
or the other way round - oben the sub-projects sheet in the main as hierarchical file, I get errors like "this file is part of another project, may break library" or so.
When I continue nevertheless, I get weird errors on netlist generation and rules check,
complaining of wires not connected to anything, although they are drawn as connected.
I cannot generate PCB from such broken schematics.
Or do I simply have to draw the schematic two times - once in the hierarchy and once as PCB template????

Hey, @wolfgangr , I moved your question here: #25

Did the new files replicate the issue?

Sorry, I've been busy. I'll look at it this weekend!


Add up to date screenshots of the desktop/larger site

Tasks:

[ ] add some replacements to the pictures on readme.md
[ ] add as many screenshots as you can in ./docs/screenshots.md

I can do that. Plz assign this task to me.

@Ngoakor12
I wanna clear one thing. Do i have to add the screenshots in ./docs/screenshots.md.

@Ngoakor12 I wanna clear one thing. Do i have to add the screenshots in ./docs/screenshots.md.

You have to add screenshots in two places:

replace the current ones in ./readme.md.
add as many as you can in ./docs/screenshots.md

@Ngoakor12
I can't locate to ./docs/screenshots.md. Can u provide me with the full path please?

@Ngoakor12 I can't locate to ./docs/screenshots.md. Can u provide me with the full path please?

It's not there yet, so you have to create it


windows add localtime_s/memccpy fns

r? @JohnTitor
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 3424bb33132fec7e69cd7cbacd24c2333510c7bf has been approved by JohnTitor

:hourglass: Testing commit 3424bb33132fec7e69cd7cbacd24c2333510c7bf with merge d22f00dccc4712db68373800936837f1e0d99271...

:broken_heart: Test failed - checks-actions

Timeout, @bors retry

:hourglass: Testing commit 3424bb33132fec7e69cd7cbacd24c2333510c7bf with merge b30b9c6aa945e7b62c17f3434abcd1d9f5ebd786...

:umbrella: The latest upstream changes (presumably #2409) made this pull request unmergeable. Please resolve the merge conflicts.

@bors retry r-

@bors r+

:pushpin: Commit e20c31bccf1d2b22d54df2243c6f79b1d4d0814d has been approved by JohnTitor

:hourglass: Testing commit e20c31bccf1d2b22d54df2243c6f79b1d4d0814d with merge 7dfced35f52516f287471f9d7f74a203d7181542...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing 7dfced35f52516f287471f9d7f74a203d7181542 to master...


inconsistency: different leads for direct intake access and climetlab

Maybe the version taken by climetlab is different. How can a user best see which version of the data is taken?
hind_climetlab = climetlab.load_dataset("s2s-ai-challenge-training-input", origin="ecmwf", date="20200102", parameter='t2m').to_xarray()
hind_climetlab.coords # starts with lead 2 days
Coordinates:
  * realization    (realization) int64 0 1
  * forecast_time  (forecast_time) datetime64[ns] 2000-01-02 ... 2019-01-02
  * lead_time      (lead_time) timedelta64[ns] 2 days 3 days 4 days
  * latitude       (latitude) float64 90.0 88.5 87.0 85.5 ... -87.0 -88.5 -90.0
  * longitude      (longitude) float64 0.0 1.5 3.0 4.5 ... 355.5 357.0 358.5
    valid_time     (forecast_time, lead_time) datetime64[ns] dask.array<chunksize=(1, 1), meta=np.ndarray>

hind = intake_xarray.NetCDFSource(f'simplecache::https://storage.ecmwf.europeanweather.cloud/s2s-ai-challenge/data/training-input/ecmwf-hindcast/0.2.1/netcdf/ecmwf-hindcast-{var}-{date}.nc').to_dask()
hind.coords  # start with lead 1 days
Coordinates:
  * realization    (realization) int64 0 1
  * forecast_time  (forecast_time) datetime64[ns] 2000-01-02 ... 2019-01-02
  * lead_time      (lead_time) timedelta64[ns] 1 days 2 days 3 days
  * latitude       (latitude) float64 90.0 88.5 87.0 85.5 ... -87.0 -88.5 -90.0
  * longitude      (longitude) float64 0.0 1.5 3.0 4.5 ... 355.5 357.0 358.5

I just uploaded version 0.2.3...

So you do just smaller data tests with 2 numbers and 3 steps? Sounds more reasonable than updating the full set.

Yes, once the format/naming convention are stable, I can upload the full data. We should make sure everything scale well though, I will upload the full data once in a while.


Add docblock methods in schema facade

Help IDE to understand what methods could be used in migration files.
Schema::create('user', function (Blueprint $table) {
    $table->increments('id');
    $table->string('name')->nullable();
    $table->string('email')->unique();
    $table->string('password');
    $table->rememberToken();
    $table->timestamps();
});

With this PR:

I don't understand why PHP7 build has failed. This is just docblock changes.

Me too I had the same problem on my pull request.
The command "vendor/bin/phpunit" exited with 139.
This seems strange

@a-komarev  Don't worry Taylor got the same error on his last pull request you can check it


[scr_ecto-103] Improve options/configuration described in README

The Problem
The README does not mention options such as :allow_overflow_page_number and direct configuration such as :max_page_size. This is noted in issue https://github.com/drewolson/scrivener_ecto/issues/103
This PR is to (make a start at least) on correcting that.

One check fails above with the following error...

Is there something I should do to correct this?
(As this is just a documentation change, I'm conscious it's probably best if I don't go messing with the actual codebase as part of this PR :smile: )

A fellow Elixir-er kindly helped me out with the build issue at https://github.com/theirishpenguin/scrivener_ecto/pull/1/files
Looking at that PR, it seems like there is an issue building scrivener_ecto with elixir: '1.15.0' / otp: '26.0.1'. I guess that this means that an update will be needed for scrivener_ecto to keep it building on otp: '26.0.1'. I might open an issue on this repo to call this out explicitly. (Given the Low Maintenance warning on this repo, I guess you won't have time to work on this actively @drewolson - which is understandable).

@theirishpenguin We have updated the master branch of Scrivener_Ecto to support OTP 26.  If you want to rebase your PR work here off the current master, we can look at getting these documentation changes in.

@cpjolicoeur Thanks :raised_hands:
I've just rebased this PR now off the current master.

I have tried to kick off the build again with a "reinitialise checks" commit, but it seems like that needs approval from a maintainer.
(I did have a few problems with that commit - all fixed now - so maybe that is why it requires manual approval).
Is it possible for someone to kick off a build on this PR?

Seems like all checks have been passed :partying_face:

Can this now be merged?


#33 Schema generation extensions

Major refactoring with PhpClassPropertyType typing
Closes #33

@nick-zh, please look I've fixed almost all tests, but there still 2 failed like:
PhpKafka\PhpAvroSchemaGenerator\Tests\Integration\Parser\ClassParserTest::testGetProperties
ParseError: syntax error, unexpected '|', expecting variable (T_VARIABLE)

/var/www/html/example/classes/SomeTestClass.php:83
/var/www/html/src/Parser/ClassParser.php:221
/var/www/html/src/Parser/ClassParser.php:158
/var/www/html/tests/Integration/Parser/ClassParserTest.php:56
phpvfscomposer:///var/www/html/vendor/phpunit/phpunit/phpunit:97

But that related to the \PhpKafka\PhpAvroSchemaGenerator\Example\SomeTestClass::$blaaaaaaaa declaration:
public int|string $blaaaaaaaa;

That use Union type declaration which is available since PHP 8.0.0.
So they failed expectedly on PHP container based on version 7.4.
Should I upgrade the container to version 8.0.0 or do I just need to disable 2-3 tests? FYI all tests passed on my machine locally with PHP 8.0.2.

I think it is ok for 3.x to drop php7.4 support, so you can go ahead and update the container to 8.0

All tests passed now. There is coverage below 100% thought. Please say if you are generally willing to accept such PR and I could continue work to extend coverage and deal with some code-style warnings.
Or we wait your refactoring in terms of https://github.com/php-kafka/php-avro-schema-generator/discussions/49?

Yeah might be best to maybe hold of for the moment, since some changes / renaming might complicate things unnecessarily for you. Sry for the inconvenience. I hope i can tackle this next weekend. I already started, but still need to figure out some stuff


Daydream: fix crash in gvr-widgetviewer and gvr-modelviewer2

GearVRf-DCO-1.0-Signed-off-by: Mihail Marinov<EMAIL_ADDRESS>

Will merge Tuesday morning unless there are comments.


Compatibility with K8s 1.29

Create the issue to track compatibility with impending K8s 1.29.
Changes that may matter now

Kube-controller-manager: The LegacyServiceAccountTokenCleanUp feature gate is now beta and enabled by default. When enabled, legacy auto-generated service account token secrets are auto-labeled with a kubernetes.io/legacy-token-invalid-since label if the credentials have not been used in the time specified by --legacy-service-account-token-clean-up-period (defaulting to one year), and are referenced from the .secrets list of a ServiceAccount object, and are not referenced from pods. This label causes the authentication layer to reject use of the credentials. After being labeled as invalid, if the time specified by --legacy-service-account-token-clean-up-period (defaulting to one year) passes without the credential being used, the secret is automatically deleted. Secrets labeled as invalid which have not been auto-deleted yet can be re-activated by removing the kubernetes.io/legacy-token-invalid-since label. (https://github.com/kubernetes/kubernetes/pull/120682)

It may invalidate the manually created service account token antctl-service-account-token and antctl-service-account-token if they are classified as legacy auto-generated. If that's the case, we should consider stopping create such tokens and update docs.
@luolanzone is checking if this would affect the two tokens.

Allow specifying ExternalTrafficPolicy for Services with ExternalIPs. (https://github.com/kubernetes/kubernetes/pull/119150)

Antrea proxyAll mode doesn't hornor ExternalTrafficPolicy when Service type is ClusterIP, will be fixed by #5795

Changes that may matter in the future

Add a new ServiceCIDR type that allows to dynamically configure the cluster range used to allocate Service ClusterIPs addresses (https://github.com/kubernetes/kubernetes/pull/116516)

The API is in alpha. When it becomes mature, Service ClusterIPs could be allocated from different subnets, Antrea should change how it discovers the ServiceCIDRs accordingly.

Kube-proxy now has a new nftables-based mode (https://github.com/kubernetes/kubernetes/pull/121046)

The mode is in alpha. When it becomes mature, Antrea should be able to run with kube-proxy of this mode.

Added a new ipMode field to the .status of Services where type is set to LoadBalancer. The new field is behind the LoadBalancerIPMode feature gate. (https://github.com/kubernetes/kubernetes/pull/119937)

Already tracked by https://github.com/antrea-io/antrea/issues/5342 (the version info about 1.28 is wrong)

Tests

[x] Conformance test K8s v1.29.0-rc.0 + Antrea v1.14.1 on Linux
[x] Conformance test K8s v1.29.0 + Antrea v1.14.1 on Linux (https://github.com/antrea-io/antrea/actions/runs/7217146969)
[x] sig-network test K8s v1.29.0 + Antrea v1.14.1 on Linux (https://github.com/antrea-io/antrea/actions/runs/7217153283)
[ ] Conformance test K8s v1.29.0 + Antrea v1.14.1 on Windows

Regarding the feature gate LegacyServiceAccountTokenCleanUp, I have went through the codes and verified in the Kind cluster with v1.29.0 images. A token will be treated as an auto-generated secret-based toke only when it's in the .secrets list of a ServiceAccount object. Our service account tokens antctl-service-account-token and antrea-agent-service-account-token are created manually by the manifest antrea.yaml  and doesn't show up in the .secrets list of SA antctl and antrea-agent. These two tokens might be marked with a label kubernetes.io/legacy-token-last-used if they are used at least once. But they won't be cleaned up automatically by the legacy token cleaner controller since they are not referenced from the .secrets list of a ServiceAccount object
The conclusion is that the LegacyServiceAccountTokenCleanUp feature gate should have no impact to Antrea even it's enabled by default in v1.29.0.

Not completely related to this issue, but it may be nice to update our k8s.io Go dependencies to 0.29. I think it's been a while since we bumped them up.

Windows conformance test passed on 1.29 cluster.

Maybe I can take the taske  Bump k8s.io Go dependencies to 0.29.

@hjiajing Thanks for taking the sub-task, you can refer to this PR #4935 as a reference.

hey @luolanzone, @antoninbas can I try to bump dependencies to 0.29, if @hjiajing is occupied

hey @luolanzone, @antoninbas can I try to bump dependencies to 0.29, if @hjiajing is occupied

@hjiajing is still actively working on this in https://github.com/antrea-io/antrea/pull/5843

All tasks completed


Rearrange the project to make it easy to import via a .unitypackage

Closes Flafla2/Vive-Teleporter#4
Addresses Flafla2/Vive-Teleporter#1

Just needs a .unitypackage to be uploaded as a release, a la: https://github.com/FuzzyWuzzie/Vive-Teleporter/releases/tag/0.1.0

I'm not sure I agree with making everything into a prefab... The [CameraRig] prefab for example is from the SteamVR API (just slightly modified for the purposes of the teleportation system) so if there are ever any API changes they could break the given prefabs.  Also Mesh data is stored inside all ViveNavMesh objects, so the prefab would actually have faulty Navmesh data saved inside it.
I would argue that an updated README or "Getting Started" pdf would be the best solution - I'm working on that now.

Hey, I just rearranged all of the files in a more .unitypackage friendly way in 4d4b872.  I also added the ability to clear data from a ViveNavMesh, which might help with creating prefabs.  I also plan on getting an updated README up tonight.
I'm closing this PR in light of these recent changes - feel free to reopen it or open another one if you have any other ideas.


How to use tdlib C++ to send multiple pictures to Telegram?

You can use sendMessageAlbum to send up to 10 photos as an album.


Support playlists with more than 100 videos

youtubei.js retrieves items from playlists in pages of 100 videos. The current code only processes the first 100 videos of a playlist, which becomes a problem for larger playlists.
This change addresses this by looping over the continuations in the Playlist object until there are no continuations remaining.

I have already implemented this in my local machine. I haven't pushed it as I am trying to patch #13 as of this moment. Thank you for your pull request though.


[Performance]: Slow TTFT(?) for Qwen2-72B-GPTQ-Int4 on H100 *2

I did some tests in order to find better parameter to speed up, and it appears that there hasn't been a significant change in TTFT (Time To First Token). Is my TTFT correct? I feel it might be a bit too slow...
Here's the test environment:
H100 *2, vllm = 0.5.3post1
Test script:
python benchmark_serving.py --dataset-path ShareGPT_V3_unfiltered_cleaned_split.json --dataset-name sharegpt --backend vllm --model Qwen2-72B-Int4 --request-rate 12  --num_prompts=1000
1st test set:
python3 -m vllm.entrypoints.openai.api_server --model Qwen/Qwen2-72B-Instruct-GPTQ-Int4 --disable-log-requests --dtype auto --quantization marlin --max-model-len 8000
============ Serving Benchmark Result ============
Successful requests:                     1000
Benchmark duration (s):                  172.44
Total input tokens:                      217393
Total generated tokens:                  193576
Request throughput (req/s):              5.80
Input token throughput (tok/s):          1260.72
Output token throughput (tok/s):         1122.60
---------------Time to First Token----------------
Mean TTFT (ms):                          18799.19
Median TTFT (ms):                        12578.35
P99 TTFT (ms):                           54378.33
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms):                          202.99
Median TPOT (ms):                        206.15
P99 TPOT (ms):                           351.08
---------------Inter-token Latency----------------
Mean ITL (ms):                           280.82
Median ITL (ms):                         145.93
P99 ITL (ms):                            787.73
==================================================

2nd test set (added enable_prefix_caching):
python3 -m vllm.entrypoints.openai.api_server --model Qwen/Qwen2-72B-Instruct-GPTQ-Int4 --disable-log-requests --dtype auto --quantization marlin --max-model-len 8000 --enable_prefix_caching
============ Serving Benchmark Result ============
Successful requests:                     1000
Benchmark duration (s):                  176.09
Total input tokens:                      217393
Total generated tokens:                  192400
Request throughput (req/s):              5.68
Input token throughput (tok/s):          1234.57
Output token throughput (tok/s):         1092.64
---------------Time to First Token----------------
Mean TTFT (ms):                          19519.29
Median TTFT (ms):                        13625.79
P99 TTFT (ms):                           57180.20
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms):                          206.76
Median TPOT (ms):                        210.99
P99 TPOT (ms):                           374.38
---------------Inter-token Latency----------------
Mean ITL (ms):                           290.25
Median ITL (ms):                         150.11
P99 ITL (ms):                            775.13
==================================================

3rd test set (added enable_prefix_caching and max-num-batched-tokens):
python3 -m vllm.entrypoints.openai.api_server --model Qwen/Qwen2-72B-Instruct-GPTQ-Int4 --disable-log-requests --dtype auto --quantization marlin --max-model-len 8000 --enable_prefix_caching --max-num-batched-tokens 8000
============ Serving Benchmark Result ============
Successful requests:                     1000
Benchmark duration (s):                  176.37
Total input tokens:                      217393
Total generated tokens:                  193801
Request throughput (req/s):              5.67
Input token throughput (tok/s):          1232.56
Output token throughput (tok/s):         1098.80
---------------Time to First Token----------------
Mean TTFT (ms):                          19816.48
Median TTFT (ms):                        13446.06
P99 TTFT (ms):                           57615.44
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms):                          206.11
Median TPOT (ms):                        209.24
P99 TPOT (ms):                           384.18
---------------Inter-token Latency----------------
Mean ITL (ms):                           290.55
Median ITL (ms):                         149.69
P99 ITL (ms):                            805.39
==================================================

Such high TTFT is likely due to request rate being too high. Basically if the request rate is too high, most of the request will wait in the request buffer for a very long time until it is being processed by vLLM, causing very high TTFT.

@KuntaiDu
Thank you for your response. I hope you don't mind explaining how I can adjust the enable_prefix_caching and max_num_batched_tokens parameters to optimize performance.
In my case, I need to service a company of approximately 40,000 to 50,000 people, so I set the request_rate to 12 to simulate peak traffic scenarios. However, from my tests, enable_prefix_caching and max_num_batched_tokens did not reduce TTFT; in fact, it became slower.
Then I noticed in the documentation at https://docs.vllm.ai/en/latest/models/performance.html that max_num_batched_tokens needs to be used  with enable_chunked_prefill. So I set it up but resulted in errors:
Server script (max-model-len、enable-chunked-prefill、enable_prefix_caching)
python3 -m vllm.entrypoints.openai.api_server --model Qwen/Qwen2-72B-Instruct-GPTQ-Int4 --disable-log-requests --dtype auto --quantization marlin --max-model-len 8000 --enable-chunked-prefill --enable_prefix_caching
test script1 (also request-rate=12)
python benchmark_serving.py --dataset-path ShareGPT_V3_unfiltered_cleaned_split.json --dataset-name sharegpt --backend vllm --model Qwen2-72B-Int4 --request-rate 12 --tokenizer /usr/src/app/model/Qwen2-72B-Instruct-GPTQ-Int4 --base-url http://<IP_ADDRESS>:40107 --num_prompts=1000
test script2 (reduce request-rate=5)
python benchmark_serving.py --dataset-path ShareGPT_V3_unfiltered_cleaned_split.json --dataset-name sharegpt --backend vllm --model Qwen2-72B-Int4 --request-rate 5 --tokenizer /usr/src/app/model/Qwen2-72B-Instruct-GPTQ-Int4 --base-url http://<IP_ADDRESS>:40107 --num_prompts=1000
Error logs
Initially, everything was functioning normally, but when executing around 400-500 requests, the following error occurred:
INFO:     <IP_ADDRESS>:37558 - "POST /v1/completions HTTP/1.1" 200 OK
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 265, in __call__
    await wrap(partial(self.listen_for_disconnect, receive))
  File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 261, in wrap
    await func()
  File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 238, in listen_for_disconnect
    message = await receive()
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 553, in receive
    await self.message_event.wait()
  File "/usr/lib/python3.10/asyncio/locks.py", line 214, in wait
    await fut
asyncio.exceptions.CancelledError: Cancelled by cancel scope 7fa4240f6d40

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 399, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/local/lib/python3.10/dist-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/applications.py", line 123, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/middleware/exceptions.py", line 65, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 756, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 776, in app
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 297, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 77, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.10/dist-packages/starlette/routing.py", line 75, in app
    await response(scope, receive, send)
  File "/usr/local/lib/python3.10/dist-packages/starlette/responses.py", line 258, in __call__
    async with anyio.create_task_group() as task_group:
  File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 680, in __aexit__
    raise BaseExceptionGroup(
exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)

same problem


chore: attempt to fix codecov early reports

Currently, codecov is reporting it's status before all of our CI has passed, this is annoying as it means commits get flagged as failing when they are not.

This did not work :(

I do not know how to fix this :/
Will investigate again in the future or contact support


Update: StandardNotes.StandardNotes version 3.7.1

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


Increase height of scrollbar in tabs section

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Problem
I have trouble scrolling between tabs because the scrollbars is very low (only a view pixels high)
Desired Solution
I like to have a normal height in scrollbar, same as in other scrollbars
Alternatives and Workarounds
use the low scroll bar
Additional Context
No response

@roelofpostmus we looked at the scrollbar this morning, and we think we probably need to make it easier to use/click/not miss-click.
In the mean time you can:

Zoom in (view > zoom in) and that will make the scroll bar (and everything else) visually bigger
When your mouse is in the tab list, use a scroll wheel (up and down) to scroll through the list

Thnx for the response. The mouse wheel option is a good work around.
Of course my request to improve the use/click/not miss-click has my
preference.
Good luck and regards,
Roelof Postmus
Product Owner
Mobile +31 6 29 54 63 74
Plotterweg 38, 3821 BB Amersfoort, The Netherlands
Visma | YouServe B.V.
Partner for HR and payroll service & software solutions
This communication is intended for the person(s) named above only. It
contains information that is confidential and legally privileged. If
received in error, please delete this e-mail and notify the sender.
On Mon, 14 Mar 2022 at 18:54, Matthew Rayermann @.***>
wrote:

@roelofpostmus https://github.com/roelofpostmus we looked at the
scrollbar this morning, and we think we probably need to make it easier to
use/click/not miss-click.
In the mean time you can:

Zoom in (view > zoom in) and that will make the scroll bar (and
everything else) visually bigger
When your mouse is in the tab list, use a scroll wheel (up and down)
to scroll through the list

—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/AzureStorageExplorer/issues/5510#issuecomment-1067118872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXH75MYQWFJKGG4AUI4JFL3U754NHANCNFSM5QIYPVJQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Something I noticed is the little space between the scroll bar and the panel below has the same color as the scrollbar, which makes it hard to tell where you can or should click.


Add food-properties documentation

title

Can you give some details on the issue as i am new to this repository


parser errors on definte statements ending in whitespace

This line for example errors:
#define varname 1.0 // comment

because it has a space between the 0 and the comment. Same error without the comment but trailing whitespace

awwwwwwwww yeah!! :+1:


Conditional event

Closes #62

This includes changes from https://github.com/bpmn-io/bpmn-properties-panel/pull/58

That's correct. Other properties for the conditional event will need to be implemented separately.


[$500] Android - Chat - Starting chat with specific number, user directed to hmm it's not here page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.56
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4447645
Issue reported by: Applause - Internal Team
Action Performed:

Launch app
Tap fab --- start chat
Enter +79585702746 and select the contact

Expected Result:
Starting chat with specific number, user must be directed to specific contact page
Actual Result:
Starting chat with specific number, user directed to hmm it's not here page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/2393f461-521a-4a9f-bfd9-32097bb6f89e
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~014f0c32c8537d50a1
Upwork Job ID:<PHONE_NUMBER>410250240
Last Price Increase: 2024-04-03

@bfitzexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #vip-vsp

@suneox In Android and iOS , If I start chat with the +79585702746 , i am not able to see not here page instead I can see loading
skeletons only

@nkdengineer Thanks for the proposal, your proposal makes sense, I have few questions :

In web its working fine and issue is only in mWeb and native devices,  so whats the RCA that issue in only in mobile devices ?
It looks like that shouldFetchReport being called one more extra time in mobile devices then web, that causing this issue, so rather then adding the isLoadingInitialReportActions to shouldFetchReport function, can we prevent the shouldFetchReport function's extra rendering in mobile devices ?

In web its working fine and issue is only in mWeb and native devices, so whats the RCA that issue in only in mobile devices ?

@jayeshmangwani I can reproduce this issue on desktop web too, what behavior do you observe there?

https://github.com/Expensify/App/assets/35371050/40c97278-d5d0-4a7a-a9d9-8bad809bf263
@nkdengineer This is the behaviour I am getting in the latest code, let me know if you have different outcome

@jayeshmangwani I can reproduce this issue on desktop web too, what behavior do you observe there?

@nkdengineer Would you upload a video of your desktop web outcome ?

@nkdengineer Would you upload a video of your desktop web outcome ?

@jayeshmangwani Here it is:
https://github.com/Expensify/App/assets/161821005/0ee7cfb2-98fc-4008-b196-46f25319bd67
I think the reason why it's sometimes reproducible, sometimes not is because when network is fast, the openReport returns with createChat error before the next openReport runs, and we already have the check to avoid openReport again if there's createChat error, inside shouldFetchReport

For https://github.com/Expensify/App/issues/38879#issuecomment-2023031781the RCA and solution the same with my proposal

@suneox To be fair, your proposal at most only fixes 1/2 of the issue. The chat header is skeleton loading indefinitely in your own attached POC screenshot.
cc @jayeshmangwani

@lanitochka17 Can we please test this issue again again , does QA team is still able to reproduce this issue ?

@lanitochka17 Can we please test this issue again again , does QA team is still able to reproduce this issue ?

@jayeshmangwani Are you not able to reproduce the issue now?
Please note there's the infinite loading chat header as well, that's definitely still reproducible in all platforms.

No I am not able to reproduce the mentioned issue @nkdengineer

No I am not able to reproduce the mentioned issue @nkdengineer

@jayeshmangwani  In your posted video here, the report header is skeleton-loading indefinitely, could you confirm you're still seeing that?

@nkdengineer I am saying is that now I am not able to reproduce original issue that is mentioned in the description
Neither hmm it's not here page nor the Skeleton Animation for the chat page

@nkdengineer I am saying is that now I am not able to reproduce original issue that is mentioned in the description
Neither hmm it's not here page nor the Skeleton Animation for the chat page

Now I can't reproduce too, seems it's a bit flaky.
We can still move forward to fix the infinite-Skeleton issue in the report header, it's part of the issue here.
What do you think?

Yes, if the header is only loading infinitely, then we should fix the header part in this issue.

@jayeshmangwani My proposal already covered that case, we can move forward here 🚀

@nkdengineer Right now, when we start a chat with an invalid number, we can see the header infinitely and on LHN, we can see the chat, and when we go to another chat then the invalid number chat will disappear from the LHN, ad you stated in Proposal, if we remove the block of code that reset the personal details to null, then Do LHN chat will disappear or not when we go to the other chat?
I am attaching a video here of the current version of working with invalid chat.
https://github.com/Expensify/App/assets/35371050/0beaa5f1-8cbc-4412-b5ce-79b741dcb0e5

if we remove the block of code that reset the personal details to null, then Do LHN chat will disappear or not when we go to the other chat?

@jayeshmangwani The behavior will still be the same as it is now, the LHN chat will disappear when we go to the other chat. Just that the infinite skeleton loading in the chat header is now fixed.

We are not able to reproduce the original issue that is described in the description; now, we only see the infinite loader for the header of the invalid user's(number) chat, and @nkdengineer 's Proposal will solve the header issue; we can do it with the proposal.
🎀 👀 🎀 C+ reviewed

@jayeshmangwani The PR is here.

Switching this to daily to action on Thursday.
@nkdengineer I sent an offer to you via Upwork.
@jayeshmangwani please complete the BZ checklist - thank you!

@bfitzexpensify I will complete the checklist tomorrow

[x] [@jayeshmangwani] The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/22612
[x]  [@jayeshmangwani] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/22612/files#r1578208405
[x]  [@jayeshmangwani] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:  The discussion is not needed here. This issue can be caught in testing when we start chatting with the invalid user.
[x]  [@jayeshmangwani] Determine if we should create a regression test for this bug.
[x]  [@jayeshmangwani] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Proposal

Open App > Press FAB > Start chat
Enter invalid phone number, i.e +79585702746
After opening the report, verify that the error appears and the header doesn't display skeleton
Clear the error
Press FAB > Start chat again
Verify that the phone number that we entered above doesn't appears as recent contact

Do we agree 👍 or 👎

Thanks @jayeshmangwani - proposed those steps be added via https://github.com/Expensify/Expensify/issues/390645.
Payment will be completed tomorrow.
@nkdengineer a reminder to accept the Upwork job offer.

Payment to @jayeshmangwani complete. Bumping @nkdengineer in Slack again so we can close this out.

@bfitzexpensify Thanks for bumping, I accepted the offer 🙏

Thanks! Payments complete. Closing this out


Update SharpDX to version 3.1.0

Just out of interest, is there anything that will be useful in this release or are you updating just because?

Looks like lots of small bug fixes and improvements https://github.com/sharpdx/SharpDX/releases/tag/v3.1.0 so I though it was worth updating.

I've made some fixes on SharpDX side, so worth update tho.

Merged, thanks!


High CPU Usage since 11/1/22 Update

Been getting higher then usual processor usage with crashplan doing nothing no new files and "logmonitor" process in crashplan keeps around 100-120% cpu usage. If I stop the container cpu goes back to idle.

Can confirm this as well. Since upgrading on 10/29, I see cpu high usage on idle and nothing is actually backing up

I thought I upgraded on the 1st, now I think I also got this issue back on 10/29 after looking at my historical graphs It started then too.

Do you have a lot of activity in service.log.0?  You can try to run tail -f /config/log/service.log.0 inside the container.

I saw it kept talking about that log file but I tried to tail it and only saw log entries when I added/modified a file that it was monitoring/backing up. If there is no backup activity log is dead even with spikes of cpu usage.

Can you provide more details about your setup?  To which filesystem on the host /config is mapped to ?

/config is mounted to the os nvme ssd ext4.

I'm experiencing the same issue. I didn't have resource limitations enabled on the crashplan container and it brought my system to a halt. It's an older Synology 1812+ with 3 GB RAM. It's only been happening the past week after the newer updates.

I think I found the problem, a fix is in progress.

I think I found the problem, a fix is in progress.

Will continue to monitor but with the update seems the initial startup spike then idle back down to practically zero when nothing to backup.


consume slow

Versions
Sarama Version:   1.10.0
Kafka Version: 2.11-<IP_ADDRESS>
Go Version:   1.6.2
Configuration
What configuration values are you using for Sarama and Kafka?
default
Problem Description
my code is as follows:
consumer, err := sarama.NewConsumer([]string{kafka_host}, nil)
if err != nil {
    panic(err)
}

defer func() {
    if err := consumer.Close(); err != nil {
        log.Fatalln(err)
    }
}()

partitionConsumer, err := consumer.ConsumePartition(raw_topic, 0, sarama.OffsetOldest) // from head
if err != nil {
    panic(err)
}

defer func() {
    if err := partitionConsumer.Close(); err != nil {
        log.Fatalln(err)
    }
}()

// Trap SIGINT to trigger a shutdown.
signals := make(chan os.Signal, 1)
signal.Notify(signals, os.Interrupt)

consumed := 0
fmt.Printf("start at %v\n", time.Now())

    ConsumerLoop:
for {
    select {
    case <-partitionConsumer.Messages():
        consumed++
        if consumed%10000 == 0 {
            fmt.Printf("consume %v at %v\n", consumed, time.Now())
        }
    case <-signals:
        break ConsumerLoop
    }
}

log.Printf("Consumed: %d\n", consumed)

my kafka is full of messages, and the output is as follows:
      start at 2016-08-12 09:56:28.704023291 +0800 CST
      consume 10000 at 2016-08-12 09:56:50.771316475 +0800 CST
      consume 20000 at 2016-08-12 09:57:12.237980514 +0800 CST
      consume 30000 at 2016-08-12 09:57:33.174455169 +0800 CST
      ....

It tooks about 2~3ms to consume a message, is this normal? it is too slow for me

What is "normal" depends heavily on your specific environment: network latency, the speed of your broker, the average size of your messages, whether or not you're using compression, etc. etc. 2-3ms per message does not strike me as unusually slow.
It may help you to enable Sarama logging and see if the consumer is logging any warning messages. You may also want to try adjusting the Consumer.Fetch.Default configuration value.
If none of that helps, I suggest you try profiling your consumer. Go has excellent profiling capabilities built in: https://blog.golang.org/profiling-go-programs

Actually, my apologies I misread your numbers at first; 2-3ms per message (about 500 messages per second) does seem abnormally slow. http://bravenewgeek.com/dissecting-message-queues/ was able to achieve nearly 75k messages per second with Sarama.
Are you sure that your topic has lots of messages in it already? Perhaps try verifying that with the java-based console-consumer that ships with kafka?

yep, the topic has lots of message, and there is no error message from partitionConsumer.Errors().  that parition has only have one partition, it this one of reasons?

pprof-kafka-client.svg.zip

Are you reading from the beginning of the topic, or the end? If you are reading from the end (default IIRC) you will only see new messages which may not arrive at a very high frequency.

I use the arg sarama.OffsetOldest to read from the beginning, the code is as above

The profile you provided isn't very detailed but nothing looks CPU-bound on the client end. Is your network congested? Is your broker under heavy load from some other process? Are your messages extremely large? If you enable Sarama logging (by setting sarama.Logger) do you see anything unusual?

lots of log like this
[sarama] 2016/08/12 22:49:45 consumer/broker/0 abandoned subscription to testtopic/0 because consuming was taking too long
[sarama] 2016/08/12 22:49:45 consumer/broker/0 added subscription to testtopic/0
[sarama] 2016/08/12 22:49:46 consumer/broker/0 abandoned subscription to testtopic/0      because consuming was taking too long
[sarama] 2016/08/12 22:49:46 consumer/broker/0 added subscription to testtopic/0

If you revert the changes in https://github.com/Shopify/sarama/pull/712 does that fix the issue?

After revert, these logs were gone,  but it is still slow as before

PS: network is not congested, and there's about 30G messages, each message is less than 1k

I'm afraid I don't know what the problem could be. Normally when consuming is slow the bottleneck is either the consumer's configuration or the network.
Please try consuming with the java consumer; if it is just as slow, this is an issue with your kafka cluster and not with Sarama.

My experience with kafka has been that reading starting from the oldest message is often limited by the IO speed of the storage containing the logs, because it is uncommon, and those portions of the log files are not in the filesystem cache.
If this is your case, then re-reading some[1] messages a 2nd time should go much faster.
[1] some = enough to measure, but not so many that the size of all the messages is > the size of the filesystem cache.

I'm afraid I can't provide any other suggestions on this issue, sorry.

seeing same behaviour with same code (same code as examples).
 Perhaps you need to adjust Config.Consumer.Fetch.Default?

0.5kb

Hmm... well based on that stacktrace the slowness could be garbage-collector related or something? Or maybe goroutine contention?
Unfortunately I have never been able to reproduce this issue and I don't have a clue what the cause could be. If you are willing to put some time into this, please open a new ticket and include as much debugging information as you can (logs, full code, etc). You might also want ot run through some of the debugging steps described at https://software.intel.com/en-us/blogs/2014/05/10/debugging-performance-issues-in-go-programs - that article covers a long list of interesting issues.

seeing same behaviour

message is range from 1k to 5M
using default configure for sarama

I met the same issue, i tested java client and confluent-kafka-go, they both work normal, always catch up with the newest message, thounds of message per second, but sarama only consume hundreds of messages, and cpu is very low, I tried to set config.Consumer.Fetch.Default = 1024*1024 and config.Consumer.MaxWaitTime = 500 *time.Millisecond, but seems no effect.

Same here. Getting about 300 messages every 30 seconds :(. I am running my binaries in a local docker container connecting to kafka hosted in a data center. Maybe docker is the issue?

My issue ended up being that I went with the default initial offset. Which is read newest first. Switch oldest and it's super fast now.
config.Consumer.Offsets.Initial = sarama.OffsetOldest

I have a similar problem, is there an answer to that question?

I am facing a similar issue.
 12/15/2022, 2:56:12.857 PM consumer/broker/1 abandoned subscription to klog/9 because consuming was taking too long 12/15/2022, 2:56:12.478 PM consumer/broker/1 added subscription to klog/9 12/15/2022, 2:56:12.478 PM consumer/broker/1 accumulated 1 new subscriptions 12/15/2022, 2:55:32.704 PM client/metadata fetching metadata for all topics from broker u060jaded101.kroger.com:9092 12/15/2022, 2:55:32.452 PM client/metadata fetching metadata for all topics from broker krogercustomer-prod.servicebus.windows.net:9093 12/15/2022, 2:55:07.792 PM consumer/broker/1 abandoned subscription to klog/9 because consuming was taking too long 12/15/2022, 2:55:06.674 PM consumer/broker/1 added subscription to klog/9 12/15/2022, 2:55:06.674 PM consumer/broker/1 accumulated 1 new subscriptions 12/15/2022, 2:54:03.893 PM consumer/broker/1 abandoned subscription to klog/9 because consuming was taking too long 12/15/2022, 2:54:03.082 PM consumer/broker/1 added subscription to klog/9 12/15/2022, 2:54:03.082 PM consumer/broker/1 accumulated 1 new subscriptions 12/15/2022, 2:52:53.157 PM consumer/broker/1 abandoned subscription to klog/9 because consuming was taking too long 12/15/2022, 2:52:52.722 PM consumer/broker/1 added subscription to klog/9 12/15/2022, 2:52:52.722 PM consumer/broker/1 accumulated 1 new subscriptions 12/15/2022, 2:51:49.094 PM consumer/broker/1 abandoned subscription to klog/9 because consuming was taking too long
github.com/Shopify/sarama v1.37.2
Kafka Version 3.2
My config:
`c.Admin.Retry.Max = 5
c.Admin.Retry.Backoff = 100 * time.Millisecond
c.Admin.Timeout = 3 * time.Second
c.Net.MaxOpenRequests = 5
c.Net.DialTimeout = 30 * time.Second
c.Net.ReadTimeout = 30 * time.Second
c.Net.WriteTimeout = 30 * time.Second
c.Net.SASL.Handshake = true
c.Net.SASL.Version = SASLHandshakeV0

c.Metadata.Retry.Max = 3
c.Metadata.Retry.Backoff = 250 * time.Millisecond
c.Metadata.RefreshFrequency = 10 * time.Minute
c.Metadata.Full = true
c.Metadata.AllowAutoTopicCreation = true

c.Consumer.Fetch.Min = 1
c.Consumer.Fetch.Default = 1024 * 1024
c.Consumer.Retry.Backoff = 2 * time.Second
c.Consumer.MaxWaitTime = 500 * time.Millisecond
c.Consumer.MaxProcessingTime = 100 * time.Millisecond
c.Consumer.Return.Errors = false
c.Consumer.Offsets.AutoCommit.Enable = true
c.Consumer.Offsets.AutoCommit.Interval = 1 * time.Second
c.Consumer.Offsets.Initial = OffsetNewest
c.Consumer.Offsets.Retry.Max = 3

c.Consumer.Group.Session.Timeout = 10 * time.Second
c.Consumer.Group.Heartbeat.Interval = 3 * time.Second
c.Consumer.Group.Rebalance.GroupStrategies = []BalanceStrategy{BalanceStrategyRange}
c.Consumer.Group.Rebalance.Timeout = 60 * time.Second
c.Consumer.Group.Rebalance.Retry.Max = 4
c.Consumer.Group.Rebalance.Retry.Backoff = 2 * time.Second
c.Consumer.Group.ResetInvalidOffsets = true

c.ClientID = defaultClientID
c.ChannelBufferSize = 256
c.ApiVersionsRequest = true
c.Version = DefaultVersion
c.MetricRegistry = metrics.NewRegistry()`


page.fill option not working.

I am new to scrapy-playwright soo there is a chance I have missed the option but I did try my best to make page.fill option work using PageCoroutine function but I am not successful basically I want to pass "page.fill('#to_date', '2021-12-17')" to the browser before I could collect response if it is possible with an existing solution please help me with an example to login to quotes to scrap using page.fill to enter user name and password it will help other newbies too.

Please, share what you have tried.

Without more context, all I'll venture to say is that PageCoroutine("fill", "#to_date", "2021-12-17") should produce the expected results.

sorry for disturbing you during the holiday season.
I am basically trying to log in using playwright and then send the response to scrapy.
Here is how my spider looks.
`import scrapy
from scrapy_playwright.page import PageCoroutine
class ScrollSpider(scrapy.Spider):
name = "quotes"
def start_requests(self):
    yield scrapy.Request(
        url="https://quotes.toscrape.com/login",
        meta=dict(
            playwright=True,
            playwright_include_page=True,
            playwright_context="new",
            playwright_page_coroutines=[
                PageCoroutine("fill", "#username", "2021-12-17"),
                PageCoroutine("fill", "#password", "2021-12-18"),
                PageCoroutine("click", selector="[type='submit']"),
                PageCoroutine("wait_for_timeout", 5000),
            ],
        ),
    )

def parse(self, response):
    # 'response' contains the page as seen by the browser
    yield {"url": response.url}

Instead of login and returning "https://quotes.toscrape.com/"
I am getting {'url': 'https://quotes.toscrape.com/login'}
Here is the playwright code which I am trying to replicate using scrapy_playwright.
`from playwright.sync_api import sync_playwright
with sync_playwright() as p:
for browser_type in [p.chromium]:
browser = browser_type.launch(headless=False)
page = browser.new_page()
page.goto("https://quotes.toscrape.com/login")
page.fill('#username', '2021-12-16')
page.fill('#password', '2021-12-17')
page.wait_for_timeout(5000)
page.query_selector('[type="submit"]').click()
page.wait_for_timeout(15000)
browser.close()`

I tried the same code on a different website and the code works, I believe the bug might be in (https://quotes.toscrape.com/login) hence I will close this issue.


Fix apiversion to autoscaling/v2

Description

This PR fixes autoscaling/v2beta2 doesn't exist issue.
Followed https://cloud.google.com/kubernetes-engine/docs/tutorials/autoscaling-metrics#custom-metric_4 and found this issue.
Tasks

[ ] The contributing guide has been read and followed.
[x] The samples added / modified have been fully tested.
[ ] Workflow files have been added / modified, if applicable.
[ ] Region tags have been properly added, if new samples.
[ ] All dependencies are set to up-to-date versions, as applicable.

cc @bourgeoisor to review


zsh ignores interactive shell and outer environment

when we do something like this when developing, the zsh is ignoring the sourced outer environment.
  # starting from bash or zsh doesnt matter
  source ./env/activate # from virtualenv  which makes our_command available
  which our_command # just fine
  zsh # with ohmyzsh installed     , also zsh -i doesnt make a difference, we always get a fresh shell
  which our_command # not found
  exit # now we are back in invoking (outer) shell
  zsh -c 'which our_command'    # this WORKS!
  zsh -c 'print `which our_command`; zsh -i' # this prints correct, but new zsh doesnt keep it

if i uninstall ohmyzsh and use regular zsh it is working as expected.
it seams that zsh is always starting a fresh login zsh. but only when in interactive mode. if we use for example -c , its working.
also this did work a few month ago without any problems. Just after one of the ohmyzsh upgrades, it did break. maybe its a new feature and we need to set somewhere a parameter?

Commands are not passed from session to session, unlike exported variables. The zsh -c examples shouldn't work, so there must be some file in zsh's startup sequence that contains the sourcing, which is somehow not triggered when running on an interactive session.
Have a look at zsh's startup files to check where in those you have the culprit. If you can't figure it out, paste them here or on a gist and I'll try to diagnose it.

Thank you for your fast answer.
I could isolate the problem to ~/.zshrc. Further it seams to be the PATH export also in combination with sourcing of oh-my-zsh.
My os is Mac OS 10.11.4
and zsh version: zsh 5.0.8 (x86_64-apple-darwin15.0)
and ~/.zshrc:
export ZSH=/Volumes/myuser/Home/.oh-my-zsh

ZSH_THEME="robbyrussell"

plugins=(git)

# THIS breaks it (what i had before)
export PATH="/Volumes/myuser/Home/bin:/Volumes/myuser/Home/Library/Android/sdk/platform-tools:/Volumes/myuser/Home/Library/Android/sdk/tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin"
# THIS fixes it
#export PATH=$PATH:"/Volumes/myuser/Home/bin:/Volumes/myuser/Home/Library/Android/sdk/platform-tools:/Volumes/myuser/Home/Library/Android/sdk/tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin"

# if i comment this line the showing of virtualenvs prompt works as expected
source $ZSH/oh-my-zsh.sh

Though i never edited this file until now (just stripped comments for this ticket). Before i did open this ticket i removed the ~/.zshrc  and uninstalled oh-my-zsh and then reinstalled it again. So zsh + ohmyzsh did create it fresh.
Also my "fix" , prepending the $PATH: does only fix the commands. What still is not working is the shell prompt styling from Python's virtualenv.
(Though it is working perfectly if i open a zsh and then source the activate script inside)

Ok thanks for the follow up.

Closing this because $PATH mangling is a known problem. It should be fixed for new installations on #5169.

thanks for fixing this. gladly can confirm its working for us now.


Third feature - Responsive theme blog

JavaScript on ze blog posts

[ ] click event listener added to blog post titles
[ ] on click, toggles content of blog post on and off
[ ] key difference between posts and main nav links, on blog posts, classes on each can be toggled simultaneously so all are displayed (main nav link toggles other sections off on click)

https://github.com/sjoyal/sjoyal.github.io/pull/11

#11

#18


Use new facebook duckling instead of deprecated version

Currently we are using a wrapper around the clojure version of facebooks duckling (https://github.com/wit-ai/duckling_old). They created a new implementaion in haskell (https://github.com/facebookincubator/duckling).
We need a new wrapper to call it, either using native calls from
python (NLU) <-> haskell (duckling) or by using a webserver
python (NLU) <-> http <-> haskell (duckling).

@FraBle can we expect a new wrapper? :smile:

I'm seriously thinking about it ^^
Btw, I updated the current wrapper to version 1.6.0.
I guess I should start with a changelog 🤔

Is the migration to use the haskell-based duckling on the roadmap? If so, when can we expect it be released?

@erniedeferia we need the python wrapper before we can use it in Rasa. Is there a particular feature you are after that's in the new version?

@wrathagom not at all. looking to minimize runtime requirements (JVM).

I feel that pain, we run with docker and putting java in my containers is a bit terrifying for such a simple requirement.

@tmbo how would the http piece work? It's actually how we use it right now making http calls to the Haskell version in a docker container. I'm assuming you're meaning a hosted/public version someplace?

Is this wrapper being developed by someone you work with?
https://github.com/sebastianmika/pyduckling

nice find.

@tmbo did you see 👆

Yes, I already talked to the author. The only issue is that he doesn't have a lot of time to spent on the wrapper, but currently it only supports the time dimension (e.g. no number, date, ... extraction). It should be rather easy to extend, but we would need that before we can use it.

I'm currently using rasa only to use duckling (i'm planning on adding some ML after that).
I was not aware that rasa was using the previous, deprecated, version of duckling.
This is an issue since the deprecated version has a lot of missing extractors.
For instance, there is no way to extract email in de language :/

Are you a python and Haskell expert? It would be awesome for someone to take the above library and expand it. Until then your options are to use the deprecated version or use the server that is in the new duckling library and make API calls to it.

@wrathagom neither, but we will probably have to work on it. I'll keep you updated.

It should be rather easy to build on the repository I mentioned. Most of the functionality is already there. What's missing though is a good way of installing that wrapper.

@tmbo I am going to close this since you have implemented the duckling http component.

@wrathagom @tmbo Could you give a link to the the implemented component ?

I would also like to check out the implementation of the Haskell ducking http component. @wrathagom @tmbo could you guys point us to the related commit? Thanks.

Same here. @wrathagom @tmbo
Thanks in advance ^_^

Yes, so for some reason this component didn't make it on the docs page. But we are currently reworking the docs and we'll add it as part of that. You need to add
pipeline:
- name: "ner_duckling_http"
   url: "http://localhost:8000"

To your configuration. You also need to run the duckling docker container (or run the haskell duckling server natively on your machine). Running the duckling server can be done using:
docker run -p 8000:8000 rasa/duckling

I created an issue to update the docs #1157

Also my PR #1156 has a compose showing how to use the two side by side with Docker if you're interested.

@tmbo is ner_duckling component same as folowing repository?
https://github.com/wit-ai/duckling_old

@tmbo is ner_duckling component same as following repository?
https://github.com/wit-ai/duckling_old
which component is better to use? ner_duckling or ner_duckling_http?

ner_duckling uses a python wrapper of the repo you liked.
it is better to use ner_duckling_http support for ner_duckling will be removed in the next version.

Hi! So now to use the duckling I have to have the docker running?


Add license

We need to add an apache 2.0 license file to this repo to allow usage in Credo and transfer to OpenWallet Foundation

done


Portable Power Monitor

About the PR
Added portable power monitor as high-risk item to CE
Added traitor objective to steal this item
Why / Balance
Power monitoring console is cool thing to fix cable sabotage, but there is a problem - you need to drag this console with you if you can't remember map well. So i decided to add this thing for help engineers.
To avoid making sabotage into hell, i decided to add it as limited only-ce item (like CMO's crew monitor). Also second high-risk to CE
Technical details
Just prototypes
Media
https://github.com/space-wizards/space-station-14/assets/115770678/b306c83c-0f09-45be-a562-cbf6c10089f0
https://github.com/space-wizards/space-station-14/assets/115770678/76425bb8-47d1-479b-b140-93f6608544d5

[X] I have added screenshots/videos to this PR showcasing its changes ingame,

Make sure to take this Changelog template out of the comment block in order for it to show up.
:cl:

add: New portable power monitor as CE's high-risk

I wish pAI maps had your moving marker of their own location....
Looks fun to use.

op?

A little bit yes, so i added it as high-risk to CE only.

All that remains is to do handheld research monitoring to rd

There's no reason to make everything portable, even if it's extremely limited. The console is there to at least promote some sort of cooperation. If you're out in the field and there's no one by the console, you need to use a multitool on wires to figure out where the issue is. Traitors have absolutely no use for this and adds bloat to steal objectives.

Second this, while I do see some QOL improvements I do think it's really important that we don't make consoles redundant.


Reactive Kafka

I have a use case I need solved (Kafka) and would like to prove out the Reactive IPC design with it.
If we have a Netty 4 transport implementation and Reactive IPC API for TCP, I'd like to explore creating an ripc-kafka project/module that provides the Kafka protocols on top of the reactive TCP and exposes Reactive Streams APIs for Kafka. Then we can have ripc-kafka-rxjava1 which would provide exactly what I need.
One of the goals here is for a Kafka client to operate on the same transport as my other networking clients so I don't have different event loops for Kafka, Memcache, Cassandra, IPC, etc.
It will require the Kafka protocol being independent of transport implementation. This would be a positive outcome for the Kafka client as it would be core Java and allow any transport and any composition layer.

:+1:

I think this is a good idea that would get a lot of traction. It's also a good use case to keep in mind to guide what abstractions would be necessary to achieve this if not relying on Netty directly.


Invoking broccoli builder twice in a single process

Strap in, because this is probably a very unusual issue that I'm seeking some advice on. If the first section bores you, skip to the second.
#1. initial observations
I'm writing a test suite that invokes new broccoli.Builder(broccoli.loadBrocfile()).build multiple times as the suite runs. What I've found is that if builder.cleanup() is called after each build (as the broccoli cli does), then subsequent builds will fail with the following:
Error: ENOENT, no such file or directory '/some/path/to/project/client_side_template_filter-tmp_cache_dir-unzoh45f.tmp/0'
  at Object.fs.statSync (fs.js:695:18)
  at Object.copyPreserveSync (/Users/justin/code/cabbagejs/cabbage/node_modules/broccoli-filter/node_modules/broccoli-kitchen-sink-helpers/index.js:147:39)
  at copyFromCache (/Users/justin/code/cabbagejs/cabbage/node_modules/broccoli-filter/index.js:108:15)
  at ClientSideTemplateFilter.Filter.processAndCacheFile (/Users/justin/code/cabbagejs/cabbage/node_modules/broccoli-filter/index.js:78:5)
  at /Users/justin/code/cabbagejs/cabbage/node_modules/broccoli-filter/index.js:39:23
  at promise.then.then.results.(anonymous function) (/Users/justin/code/cabbagejs/cabbage/node_modules/broccoli-filter/node_modules/promise-map-series/index.js:8:27)
  at $$$internal$$tryCatch (/Users/justin/code/cabbagejs/cabbage/node_modules/broccoli-filter/node_modules/rsvp/dist/rsvp.js:470:16)
  at $$$internal$$invokeCallback (/Users/justin/code/cabbagejs/cabbage/node_modules/broccoli-filter/node_modules/rsvp/dist/rsvp.js:482:17)
  at $$$internal$$publish (/Users/justin/code/cabbagejs/cabbage/node_modules/broccoli-filter/node_modules/rsvp/dist/rsvp.js:453:11)
  at $$rsvp$asap$$flush (/Users/justin/code/cabbagejs/cabbage/node_modules/broccoli-filter/node_modules/rsvp/dist/rsvp.js:1531:9)
  at process._tickCallback (node.js:419:13)

If I omit the calls to cleanup, then I can indeed run multiple builds in a single process, but unfortunately it results in subsequent calls to build being unreliable. For example, my tree will be built differently if a sass file is present, so if I:

invoke build
invoke cleanup
add a sass file
create a new Builder and invoke build and cleanup again
the new build will not pick up the new sass file, as if original tree is being re-invoked.

I tried manually rimraf'ing the tmp directory between builds instead of calling cleanup, but that just resulted in a similar stack trace deep inside broccoli calling mkdirp, apparently indicating the broccoli.loadBrocfile() is holding onto a stale tree in memory.
#2. suggestions
I believe the root cause of this is that broccoli.loadBrocfile merely calls require(brocfile), and since a Brocfile must export a tree, and may not return a function that returns a tree, that means it's only going to get loaded once per process.
I would suggest perhaps removing the Brocfile from the require cache during cleanup. If that's not feasible, then I'd suggest allowing Brocfile.js files to export either a tree (as they do now) or a simple function that returns a constructed tree, so that multiple invocations of loadBrocfile could detect "a-ha this is a function, let's invoke it again so it can rebuild and return that"
I'm going to spend a little time spiking solutions to these to validate whether I'm crazy, so don't be surprised if I make some sudden drastic edits to this narrative :)

Interesting... I'd be interested in the use case that motivates this. Mind sharing?
FYI, in general it seems to me that there's nothing that forces you to go through Broccoli's loadBrocfile function. Broccoli doesn't care how you got the root tree you're building, or whether it even came out of a Brocfile.

In my case, the use case is simple a before condition in my tests. Each suite of tests starts a fresh broccoli build or broccoli serve (admittedly through @cabbagejs wrappers, so I could work around calling loadBrocfile if I wanted to).

@searls - I call build many times with different trees in most of the unit tests for my plugin packages.  Should work perfectly here also...

This should work fine now. If not, provide a quick example and we can fix.


Replace harcascade with DNN

Hi again Serengil, Thanks for the help.
Im trying to replace the harcascade with the dnn module from opencv, Ive got the dnn working recogniseing the faces but the bounding box's return are rectangles, not box's.
The perfect ratio seems to be 1.35 * dnn_rect.width, here's the origninal code:
    # compute the (x, y)-coordinates of the bounding box for the
    # object
    box = detections[0, 0, i, 3:7] * np.array([w, h, w, h])
    (startX, startY, endX, endY) = box.astype("int")

    # draw the bounding box of the face along with the associated
    # probability
    text = "{:.2f}%".format(confidence * 100)
    y = startY - 10 if startY - 10 > 10 else startY + 10
    cv2.rectangle(frame, (startX, startY ), (endX, endY), (255, 255, 255), 1)
    cv2.putText(frame, text, (startX, y), cv2.FONT_HERSHEY_SIMPLEX, 0.45, (255, 255, 255), 1)

How is best to change the above code to take the bounding rectangle width from the dnn and do the 1.35 * dnn_rect.width to still be able to run the face emotion detector code on the resulting cropped square.
Cheers J

This project will help you: https://github.com/serengil/tensorflow-101/blob/master/python/age-gender-prediction-real-time.py
Regards

This project will help you: https://github.com/serengil/tensorflow-101/blob/master/python/age-gender-prediction-real-time.py
Regards


Please add a qlpak version - auto runs under q-emulator

QLPak version can be found at:
https://www.dropbox.com/scl/fi/u8i6iuaew054khpc9dtw1/Invaders.qlpak?rlkey=7loppvrinj5fu25776wadwvxa&dl=0

Add to the release page, many thanks!


its about running this

[Required] Your device (RaspberryPi3, LaptopPC, or other device name):
[Required] Your device's CPU architecture (armv7l, x86_64, or other architecture name):
[Required] Your OS (Raspbian, Ubuntu1604, or other os name):
[Required] Overview of problems and questions:
can you help me how i can generate .bin and .xml files. I am just new to using NCS2. I wanted to run using PRI3+. If you help me what I have to do with model optimizer exactly with command-line-arguments, I am not getting that I just visited other issues find some with this but did not get how to do.

@Rimsha7777
Just execute the commands listed in the following file in order from the top.
https://github.com/PINTO0309/OpenVINO-YoloV3/blob/master/script.txt
python3 convert_weights_pb.py \
--class_names coco.names \
--weights_file weights/yolov3-tiny.weights \
--data_format NHWC \
--tiny \
--output_graph pbmodels/frozen_tiny_yolo_v3.pb

sudo python3 /opt/intel/openvino/deployment_tools/model_optimizer/mo_tf.py \
--input_model pbmodels/frozen_tiny_yolo_v3.pb \
--output_dir lrmodels/tiny-YoloV3/FP16 \
--data_type FP16 \
--batch 1 \
--tensorflow_use_custom_operations_config yolo_v3_tiny_changed.json

python3 openvino_yolov3_test.py -d MYRIAD

Thank you so much for your reply...this is indeed sounds helpful...I will
update you right after implementing .
On Saturday, October 5, 2019, Katsuya Hyodo<EMAIL_ADDRESS>wrote:

@Rimsha7777 https://github.com/Rimsha7777
Just execute the commands listed in the following file in order from the
top.
https://github.com/PINTO0309/OpenVINO-YoloV3/blob/master/script.txt
https://github.com/PINTO0309/OpenVINO-YoloV3/blob/master/script.txt
python3 convert_weights_pb.py
--class_names coco.names
--weights_file weights/yolov3-tiny.weights
--data_format NHWC
--tiny
--output_graph pbmodels/frozen_tiny_yolo_v3.pb
sudo python3 /opt/intel/openvino/deployment_tools/model_optimizer/mo_tf.py
--input_model pbmodels/frozen_tiny_yolo_v3.pb
--output_dir lrmodels/tiny-YoloV3/FP16
--data_type FP16
--batch 1
--tensorflow_use_custom_operations_config yolo_v3_tiny_changed.json
python3 openvino_yolov3_test.py -d MYRIAD
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PINTO0309/OpenVINO-YoloV3/issues/56?email_source=notifications&email_token=ALWLRUTVX3KVWJFZ5A5QE3LQNBP75A5CNFSM4I5XAFGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEANOZOQ#issuecomment-538635450,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALWLRUWGXMZFQRHVU6O2X5DQNBP75ANCNFSM4I5XAFGA
.

Hi,
I can't find model_optimzer directory in development_tool in openvino(release is 2019). Do I need to download it externally?

The OpenVINO installer for RaspberryPi does not include a model optimizer. So if you want to convert the model, you need a HostPC with the full version of OpenVINO installed.
HostPC ex) Ubuntu
First, download the latest OpenVINO from the following.

Ok, thanks you so very much for helping.
On Sunday, October 6, 2019, Katsuya Hyodo<EMAIL_ADDRESS>wrote:

The OpenVINO installer for RaspberryPi does not include a model optimizer.
So if you want to convert the model, you need a HostPC with the full
version of OpenVINO installed.
HostPC ex) Ubuntu
First, download the latest OpenVINO from the following. And, install.
https://github.com/PINTO0309/OpenVINO-bin.git
https://github.com/PINTO0309/OpenVINO-bin.git
Next, execute the following command on HostPC.
python3 convert_weights_pb.py
--class_names coco.names
--weights_file weights/yolov3-tiny.weights
--data_format NHWC
--tiny
--output_graph pbmodels/frozen_tiny_yolo_v3.pb
sudo python3 /opt/intel/openvino/deployment_tools/model_optimizer/mo_tf.py
--input_model pbmodels/frozen_tiny_yolo_v3.pb
--output_dir lrmodels/tiny-YoloV3/FP16
--data_type FP16
--batch 1
--tensorflow_use_custom_operations_config yolo_v3_tiny_changed.json
Next, copy the .bin and .xml generated on HostPC to RaspberryPi.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PINTO0309/OpenVINO-YoloV3/issues/56?email_source=notifications&email_token=ALWLRUXIB4IFZS4NYRGJEXDQNGRZZA5CNFSM4I5XAFGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAOEX7A#issuecomment-538725372,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALWLRUUXTYQJV5UGR5EKGLTQNGRZZANCNFSM4I5XAFGA
.


failed to deploy

Currently the master branch shows build error.

TravisCI ouputs:
/home/travis/.rvm/gems/ruby-2.2.7/gems/octokit-4.6.2/lib/octokit/client/releases.rb:86:in `initialize': No such file or directory @ rb_sysopen - bin/linux/scry (Errno::ENOENT)
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/octokit-4.6.2/lib/octokit/client/releases.rb:86:in `new'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/octokit-4.6.2/lib/octokit/client/releases.rb:86:in `upload_asset'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.8.40/lib/dpl/provider/releases.rb:135:in `upload_file'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.8.40/lib/dpl/provider/releases.rb:116:in `block in push_app'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.8.40/lib/dpl/provider/releases.rb:107:in `each'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.8.40/lib/dpl/provider/releases.rb:107:in `push_app'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.8.40/lib/dpl/provider.rb:154:in `block in deploy'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.8.40/lib/dpl/cli.rb:41:in `fold'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.8.40/lib/dpl/provider.rb:154:in `deploy'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.8.40/lib/dpl/cli.rb:32:in `run'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.8.40/lib/dpl/cli.rb:7:in `run'
	from /home/travis/.rvm/gems/ruby-2.2.7/gems/dpl-1.8.40/bin/dpl:5:in `<top (required)>'
	from /home/travis/.rvm/gems/ruby-2.2.7/bin/dpl:22:in `load'
	from /home/travis/.rvm/gems/ruby-2.2.7/bin/dpl:22:in `<main>'
failed to deploy

/cc @keplersj

Un-tagged commits are passing. Should deploy compressed binaries on the next tagged commit.

Seems to be good now.


Build/package other tezos binaries

Clarification and motivation
In addition to tezos-client, Tezos software also includes other binaries: tezos-admin-client, tezos-node, tezos-baker, tezos-accuser, tezos-endorser, tezos-signer and tezos-protocol-compiler. Same as with tezos-client, availability of easy-to-install native platform binaries would lower barrier for adoption and make it easier for developers to start experimenting and building tools and applications for Tezos platform.
Acceptance criteria
Statically linked binaries and/or packages for popular Linux distros are available for download.

We should also rename the repo once again, probably to tezos-packaging.


Be able to auto download vods

As title says I want to be able to auto-download new videos from a creator

Automatically downloading only the latest videos involves several scenarios that need to be considered, so it will take time to implement and is not currently a priority. In the meantime, please try using the "Scheduled Download" feature, which offers similar functionality.


Lego WeDo2.0 not connecting anymore

Hello,
thanks for you project. My kid loves playing with WeDo2.0 and your project keeps him being able to use it on linux. He used it on an older Linux Mint (originally installed around 2018-2019 i guess) until 1-2 weeks ago. I had the "bright" ideea to upgrade his system to latest Mint version, and now scratch_link doesn't seem to o anything.
When accessing https://scratch.mit.edu/ and trying to connect to WeDo the connection popup doesn't seem to spend any time searching for the actual device.
In the Firefox console I'm seeing this message:
Firefox can’t establish a connection to the server at ws://<IP_ADDRESS>:20111/scratch/ble.
Firefox can’t establish a connection to the server at wss://device-manager.scratch.mit.edu:20110/scratch/ble.

Manually connecting to https://device-manager.scratch.mit.edu:20110/scratch/ble returns
Secure Connection Failed

An error occurred during a connection to device-manager.scratch.mit.edu:20110. PR_END_OF_FILE_ERROR

Error code: PR_END_OF_FILE_ERROR

As far a I remember PR_END_OF_FILE_ERROR is returned when the https server closes the connection without communicating anything, and scratch_link doesn't seem to log anything regarding to the webserver activity, so i guess that something is wrong on the ws side.

Hay........... I seen that screen before but I don't remember what was the problem

@quamis FYI, the issue #36 reported the error PR_END_OF_FILE_ERROR, and it looks resolved with the action recorded in the issue #35. I hope that it will work for you.

Hello
installing pip's websockets works.
These are the commands I ran.
sudo apt remove python3-websockets
sudo apt purge python3-websockets
pip install websockets

scratch_link -d

Thanks

IT
WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
On Fri, Feb 23, 2024 at 2:50 PM quamis @.***> wrote:

Hello
installing pip's websockets works.
These are the commands I ran.
sudo apt remove python3-websockets
sudo apt purge python3-websockets
pip install websockets
scratch_link -d
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/kawasaki/pyscrlink/issues/40#issuecomment-1960765769,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BF62UNB2PTQNAJHPTKJDRC3YVAUZ3AVCNFSM6AAAAABDLPW5A2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQG43DKNZWHE
.
You are receiving this because you commented.Message ID:
@.***>

THANKS
On Sun, Feb 25, 2024 at 1:52 PM 승현 @.***> wrote:

IT
WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
On Fri, Feb 23, 2024 at 2:50 PM quamis @.***> wrote:

Hello
installing pip's websockets works.
These are the commands I ran.
sudo apt remove python3-websockets
sudo apt purge python3-websockets
pip install websockets
scratch_link -d
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/kawasaki/pyscrlink/issues/40#issuecomment-1960765769,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BF62UNB2PTQNAJHPTKJDRC3YVAUZ3AVCNFSM6AAAAABDLPW5A2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQG43DKNZWHE
.
You are receiving this because you commented.Message ID:
@.***>

🇰🇷
승현 reacted via Gmail
https://www.google.com/gmail/about/?utm_source=gmail-in-product&utm_medium=et&utm_campaign=emojireactionemail#app
On Sun, Feb 25, 2024 at 1:52 PM 승현 @.***> wrote:

THANKS
On Sun, Feb 25, 2024 at 1:52 PM 승현 @.***> wrote:

IT
WORKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
On Fri, Feb 23, 2024 at 2:50 PM quamis @.***> wrote:

Hello
installing pip's websockets works.
These are the commands I ran.
sudo apt remove python3-websockets
sudo apt purge python3-websockets
pip install websockets
scratch_link -d
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/kawasaki/pyscrlink/issues/40#issuecomment-1960765769,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BF62UNB2PTQNAJHPTKJDRC3YVAUZ3AVCNFSM6AAAAABDLPW5A2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQG43DKNZWHE
.
You are receiving this because you commented.Message ID:
@.***>


Fix missing render area when rendering without attachments.

Rewrite logic for setting MTLRenderPassDescriptor properties renderTargetWidth, renderTargetHeight, and renderTargetArrayLength to reduce render area to viewport area when rendering without attachments, and ensure that some kind of render area is always defined.

Since viewport area is possibly not available until drawing, defer calling MVKCommandEncoder::beginMetalRenderPass() until the first finalizeDrawState() of the renderpass.

Add MVKCommandEncoder::enqueueNextMetalRenderPass() to end current render encoding, but does not start a new render pass, and call it wherever beginMetalRenderPass() was being called.

Add MVKCommandEncoder::ensureMetalRenderPass() to call beginMetalRenderPass() if it hasn't been invoked since enqueueNextMetalRenderPass() was last called.

Add convenience functions mvkMakeVkRect(), mvkVkRectFromVkViewport(), mvkVkRect2DIntersection(), and mvkVkRect2DUnion().

Set label for render area clear different from clear attachments.

Update MoltenVKPackaging.xcodeproj build settings to Xcode 14.1 (unrelated).

Rewinds and replaces PR #1797.

Fixes issue #1650.

One bit that seems to be missing is that when the application changes the viewport, we might use a stale setting?
More broadly, I'm not sure that it's MoltenVK that should be working around the issue. It's an unfortunate quirk that you can't preset a huge render area, but also something that applications should be able to avoid.

@js6i

One bit that seems to be missing is that when the application changes the viewport, we might use a stale setting?

Potential late viewport setting is the reason I deferred creating a Metal renderpass until the first draw call. And there is definitely a danger that the viewport could move or be upsized, which would mean tiles were not available, which will trigger a Metal validation warning. To get around this, when no attachments are present, we could use a change in viewport to trigger a Metal renderpass restart to reestablish the render area based on the new viewport.
BTW...the danger is even worse if we let the app (or emulator) take care of this before the renderpass begin, because it could then also submit a viewport that is not compatible with the viewport it used to set the render area.

More broadly, I'm not sure that it's MoltenVK that should be working around the issue. It's an unfortunate quirk that you can't preset a huge render area, but also something that applications should be able to avoid.

I'd love to be able to dump this. It is awkward. But it is a disappointment that other Vulkan drivers on other tile-based platforms seem to somehow cope with synthetically-huge render areas and layer counts, without drastically over-allocating tile storage.
Or are they? Maybe all the platforms encountered in other drivers from games that are doing this, are being run on IM drivers that don't preallocate tile storage.
@cdavis5e @js6i
If we do decide to push this back to the games and Vulkan emulators, formally, that would just remove the hasAttachments check here. But is there still value in retaining the code changes I've made to defer creating the Metal renderpass until the draw call is being finalized? Or is that behavior unnecessarily complex, fragile, or a source of possible performance or lag issues?

But is there still value in retaining the code changes I've made to defer creating the Metal renderpass until the draw call is being finalized? Or is that behavior unnecessarily complex, fragile, or a source of possible performance or lag issues?

I believe the latter.

More broadly, I'm not sure that it's MoltenVK that should be working around the issue. It's an unfortunate quirk that you can't preset a huge render area, but also something that applications should be able to avoid.

But is there still value in retaining the code changes I've made to defer creating the Metal renderpass until the draw call is being finalized? Or is that behavior unnecessarily complex, fragile, or a source of possible performance or lag issues?

I believe the latter.

Given the openness of the discussion, I'm going to mark this as WIP, until some of the discussion points above are addressed better, and we see whether this code path is actually needed to solve the problem it is meant to solve.


Side drawer screen

Side drawer with:

log in/ create user
add new manual
app settings
log out
contact us

Hi, I need some information for UI design requirements such as Colors, logo, project name, etc.

done

Need to fix overflow with bigger font size and hide upload button when not logged in