stack size 1036KB

In thread: Thread[Thread-2762,5,main]
UncaughtException detected: java.lang.StackOverflowError: stack size 1036KB
at com.easemob.chat.EMChat.getVersion(Unknown Source)
at com.easemob.cloud.HttpClientConfig.getDefaultUserAgent(Unknown Source)
at com.easemob.cloud.HttpClientConfig.getDefaultHttpClient(Unknown Source)
at com.easemob.cloud.HttpClientManager.httpExecute(Unknown Source)
at com.easemob.cloud.EMHttpClient.httpExecute(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.core.l.c(Unknown Source)
at com.easemob.chat.core.n.h(Unknown Source)
at com.easemob.chat.core.j.p(Unknown Source)
at com.easemob.chat.core.j.o(Unknown Source)
at com.easemob.chat.c

@sqc0720 freeline 导致的？错误信息都在环信的 sdk 里...

使用freeline 加载项目。报错如果把freeline 在项目中删除可以正常使用

@sqc0720 使用环信 + freeline 的工程有不少，并没有遇见别人提出类似的问题。如果可以的话，看你那边是否可以提供可以复现问题的 sample 工程？

好的， 有时间我会提供一个sample 功能，我这面也检测一下

还有一个问题。 今天使用python freeline.py -f 运行程序显示成功了但是终端没有显示应用图标。下面为截图：E:\changekdkj>python freeline.py -f
[DEBUG] [dispatcher] command line args: Namespace(all=False, clean=False, cleanBuild=True, debug=False, version=False, wait=False)
[DEBUG] [dispatcher] *** Android Gradle Plugin Version: 2.0.0
[DEBUG] [dispatcher] *** Freeline Gradle Plugin Version: 0.8.4
[DEBUG] [dispatcher] *** Freeline Python Version: v0.8.4
[DEBUG] collecting project info, please wait a while...
[DEBUG] update apk time path: E:\changekdkj\app\build\freeline\freeline-assets\apktime
[DEBUG] new clean build flag value: 712000
[DEBUG] [task_engine] depth: 1, task: [read_project_info_task]
[DEBUG] [task_engine] depth: 1, task: [generate_file_stat_task]
[DEBUG] [task_engine] depth: 2, task: [gradle_clean_build_task]
[DEBUG] [task_engine] depth: 3, task: [clean_all_cache_task]
[DEBUG] [task_engine] depth: 3, task: [install_apk_task]
[DEBUG] [task_engine] depth: 4, task: [build_base_resource_task]
[DEBUG] [task_engine] depth: 4, task: [generate_project_info_task]
[DEBUG] [task_engine] depth: 4, task: [generate_apt_files_task]
[DEBUG] [task_engine] depth: 4, task: [append_file_stat_task]
[DEBUG] [read_project_info_task] read_project_info_task start to run after waiting 0.0s
[DEBUG] [generate_file_stat_task] generate_file_stat_task start to run after waiting 0.0s
[DEBUG] [generate_file_stat_task] save app module file stat
[DEBUG] [generate_file_stat_task] save library module file stat
[DEBUG] [generate_file_stat_task] save share module file stat
[DEBUG] [generate_file_stat_task] save easeui module file stat
[DEBUG] [generate_file_stat_task] save PushSDK module file stat
[DEBUG] [generate_file_stat_task] generate_file_stat_task finish in 0.2s
[DEBUG] [read_project_info_task] read_project_info_task finish in 14.1s
[DEBUG] [gradle_clean_build_task] gradle_clean_build_task start to run after waiting 14.1s
[DEBUG] [gradle_clean_build_task] gradlew.bat :app:assembleDebug -P freelineBuild=true --stacktrace
[DEBUG] [gradle_clean_build_task] Gradle build task is running, please wait a minute...
[DEBUG] [gradle_clean_build_task] gradle_clean_build_task finish in 101.3s
[DEBUG] [clean_all_cache_task] clean_all_cache_task start to run after waiting 115.4s
[DEBUG] [install_apk_task] install_apk_task start to run after waiting 115.4s
[DEBUG] [install_apk_task] check device' connection...

[DEBUG] [generate_apt_files_task] generate_apt_files_task finish in 0.0s
[DEBUG] collecting project info, please wait a while...
[DEBUG] [append_file_stat_task] no new modules found.
[DEBUG] [append_file_stat_task] append_file_stat_task finish in 0.0s
[DEBUG] [build_base_resource_task] E:\changekdkj\app\build\freeline\public_keeper.xml exists, move to dst: E:\changekdkj\app\build\freeline\app\backup\res\values\freeline_id_keeper_public.xml
[DEBUG] [build_base_resource_task] generating ids.xml from public.xml...

[DEBUG] [install_apk_task] start to launch application com.haixue.android.accountlife/com.haixue.android.accountlife.ui.splash.SplashActivity
[DEBUG] [install_apk_task] D:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe shell am start -n com.haixue.android.accountlife/com.haixue.android.accountlife.ui.splash.SplashActivity
[DEBUG] [build_base_resource_task] generate base resource success: E:\changekdkj\app\build\freeline\base-res.so
[DEBUG] [tracing] build_base_resource_aapt_task: 9692.99983978ms
[DEBUG] [build_base_resource_task] build_base_resource_task finish in 9.8s
[DEBUG] [install_apk_task] install_apk_task finish in 9.9s
[DEBUG] [task_engine] it takes task engine 125.32s to execute tasks.
[DEBUG] --------------------------------------------------------
[DEBUG] Prepare tasks time: 0.2s
[DEBUG] Task engine running time: 125.3s
[DEBUG] Total time: 125.5s
[DEBUG] --------------------------------------------------------


Rotated mp4 files are warped in importing with ffmpeg

OS: Windows 10 Home x64 19041.508
Program: ScreenToGif 2.27 portable
I recorded my iPad screen in the landscape mode, and the resulting mp4 file has a rotate tag of 270 degrees and a display aspect ratio of 3:4. Any normal player plays it as expected: the video is exactly the same as when it was recorded in the landscape mode.
But while trying to import the mp4 file in ScreenToGif, I found two weird behaviors.

FFmpeg rotates the video but the display aspect ratio(DAR) is warped: it still remains 3:4.
MediaPlayer does not respect the rotate tag.

Well, 2) doesn't matter since I can always rotate the frames within ScreenToGif. But 1) is a big problem.
In an attempt to fix this problem, I remuxed the mp4 file with a new DAR tag as follows:
ffmpeg -hide_banner -i INPUT.mp4 -aspect 4:3 -c copy OUTPUT.mp4
But there was no change. ScreenToGif does not respect this new DAR and just rotates the video with a warped aspect ratio as before.
So this time I just removed the rotate tag without aspect ratio change as follows:
ffmpeg -hide_banner -i INPUT.mp4 -c copy -metadata:s:v:0 rotate=0 OUTPUT.mp4
And as expected, this worked the same as 2), and I just needed to rotate the frames in ScreenToGif.
Well, IMHO, this seems like a bug.

Hi, do you have a sample video that you can share?
Like 1-3 seconds long.

Here's the link: here.
This clip will be removed in two days.

Thanks. I downloaded it.

I fixed the FFmpeg importer.


Pluggable loggers for sbt-coursier

This change allows you to set coursierLoggerFactory to any Cache.Logger you wish. I'm planning to use this for sbt-lockfile, but this also fixes #363 (by letting you set it to a no-op logger).

Thanks @teozkr. I wonder if this could be tested via a scripted test (those are under this directory). The test could set up its own logger, run an update, and check that a few methods on the logger are actually called (init, …). Is it something you would feel like adding? I can look into it else…

Merging, thanks!

Thanks! Any idea when the next milestone is happening?


PayPal Direct Doesn't Work On Mobile Devices

On mobile devices user is redirected to normal 2checkout.com checkout page instead PayPal.

Thank you for reporting this issue. When you get to the checkout page, are any fields missing? If any of the required fields are not populated 2Checkout will take you to the appropriate pleat to collect the missing fields.


CCM: add patches for CVE-2023-45288

Issue #, if available:
Description of changes:
add ccm patches for CVE-2023-45288 for 1.26-1.30
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/test all

/test all

/test all

/lgtm

/approve


feat: add read/write cheatcodes for binary files

Motivation
Closes #3421
adds variants for handling binary input for read/write file to support non-utf8 input
cc @benesjan

Solution

That was fast! You guys are legends 🙏


DRAFT: Modify upgrade test case to manifest problem after 1.12

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

Making progress on the wrong-version-shown-in-view bug over here: https://issues.apache.org/jira/browse/GEODE-8240

Is this PR still needed, or did @Bill fold these in to GEODE-8240 work?

The PR is not needed anymore.
Bill corrected the problem with his work on the mentioned JIRA ticket.
Alberto G.
Obtener Outlook para Androidhttps://aka.ms/ghei36

From: Owen Nichols<EMAIL_ADDRESS>Sent: Sunday, July 26, 2020 6:48:03 PM
To: apache/geode<EMAIL_ADDRESS>Cc: Alberto Gomez<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [apache/geode] DRAFT: Modify upgrade test case to manifest problem after 1.12 (#5224)
Is this PR still needed, or did @Billhttps://github.com/Bill fold these in to GEODE-8240 work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/apache/geode/pull/5224#issuecomment-664012150, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGIDJLZBKIPO3MNFBHPC6LTR5RM4HANCNFSM4NYXBKMA.


StorageLoader: write JSON Path file for a com.mparticle.snowplow/session_context

@Aerlinger - this file being uploaded to all snowplow-hosted-assets-* buckets now, should be there in a few mins...

That's done


Porting document

Write a document with all the steps needed to port the old Lasair to version 4.2

Start is here
Ken -- Django migrations
Dave -- Alter tables
Gareth -- Flipping DNS to lasair-status

Thanks @RoyWilliams - alter tables added

This document is ready.

I don't think the document addresses my comment. If we're only trying to do a partial release, I don't understand why? If we're trying to do a full release then the process is wrong.

Can we talk on the phone about this? What time is good today?


open /home/username/go/src/github.com/maxence-charriere/app/logo.png: no such file or directory

Hello @maxence-charriere
I am trying to build the demo (goapp init -v ) outsite $GOPATH and I am getting the following error
goapp run -v -b default
‣ building wasm app
‣ building server
‣ installing go wasm support file
‣ generating etag
‣ generating service worker
‣ generating icons
x open /home/username/go/src/github.com/maxence-charriere/app/logo.png: no such file or directory

search for a solution I came across this thread and comment in particular https://github.com/golang/go/issues/31529#issuecomment-484944113
indeed after go get -u -v github.com/maxence-charriere/app/cmd/goapp while
goapp init -v & goapp build -v & goapp update -v work fine the directory $GOPATH/go/src/github.com/maxence-charriere/app/ doesn't exist.
Am I doing something wrong?

I think it requires that you have github.com/maxence-charriere/app installed with go get.
Usually your go repo are located in  GOPATH/src/...
Unless you are using go mod.
If it's the case can you give be the step to reproduce?

Where you repo is located
the commands you used before   running goapp run

hey, I just saw you answered asap, :+1:
yes I am using go mod, I assumed it was alright since in the getting started the $GOPATH step was marked as optional.
this is what I 've tried
$ mkdir app
$ cd app
$ goapp init -v
‣ initializing project layout
‣ generating /home/username/testing/app/cmd/app-server/main.go
‣ generating /home/username/testing/app/cmd/app-wasm/main.go
✔ initialization succeeded
$ go mod init app
go: creating new go.mod: module app
$ goapp build -v
‣ building wasm app
    go: finding github.com/maxence-charriere/app latest
    go: finding golang.org/x/net latest
    app/cmd/app-wasm
‣ building server
    app/cmd/app-server
‣ installing go wasm support file
‣ generating etag
‣ generating service worker
‣ generating icons
x open /home/username/go/src/github.com/maxence-charriere/app/logo.png: no such file or directory

uh I am so sorry, this was unrelated to you.
I had GO111MODULE=on, to solve my problem I just GO111MODULE=auto go get -u -v github.com/maxence-charriere/app/cmd/goapp


The unit test result did not reach the expected object store

I tested all of the supported object stores( include file tikv redis pg and mysql etc), and the following is a list of exception results to watch out for.

[x] UFile: This is a us3 overwrite upload bug
[x] Azure:  not supported by the server
[x] B2  #3274
[x] BOS #3270
[x] HDFS: HDFS server does not support : and other characters.
[x] OOS #3273
[x] MySQL #3299 #3303
[x] Disk #3301

TestUFile
=== RUN   TestUFile
    object_storage_test.go:87: PUT testEncodeFile failed: parse "https://zhijian-test4.cn-wlcb.ufileos.com/unit-test/测试编码文件{\"name\":\"zhijian\"}\x1f": net/url: invalid control character in URL
    object_storage_test.go:232: list api error: not supported delimiter
3
    object_storage_test.go:330: CompleteMultipart failed: CompleteMultipart: status: 400, message: {"RetCode":-148669, "ErrMsg":"validate initidx and partlist [zhijian-test4:c5a134b6-9899-4692-8e6f-4fa8ad6a361d] failed, err: invalid middle block size"}
--- FAIL: TestUFile (14.17s)

TestAzure
=== RUN   TestAzure
    object_storage_test.go:87: PUT testEncodeFile failed: ===== INTERNAL ERROR =====
        ===== INTERNAL ERROR =====
        PUT https://zhijiantest1.blob.core.windows.net/testbucket1/unit-test/测试编码文件{"name":"zhijian"}
        --------------------------------------------------------------------------------
        RESPONSE 400: 400 Bad Request
        ERROR CODE UNAVAILABLE
        --------------------------------------------------------------------------------
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
        <TITLE>Bad Request</TITLE>
        <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii">

Bad Request - Invalid URL

HTTP Error 400. The request URL is invalid.

        --------------------------------------------------------------------------------
    object_storage_test.go:232: list api error: not supported delimiter
    object_storage_test.go:340: wasb://testbucket1/unit-test/ does not support multipart upload: not supported
--- PASS: TestAzure (75.78s)
PASS

TestB2
=== RUN   TestB2
    object_storage_test.go:87: PUT testEncodeFile failed: bad_request: File names must not contain unicode characters with codes less than 32
    object_storage_test.go:340: b2://zhijian-dev/unit-test/ does not support multipart upload: not supported
    object_storage_test.go:357: delete slash/ failed range_not_satisfiable: byte range bytes=0-1 for a file of length 0
    object_storage_test.go:346: delete empty file failed: range_not_satisfiable: byte range bytes=0-1 for a file of length 0
--- PASS: TestB2 (124.78s)

TestBOS
=== RUN   TestBOS
    object_storage_test.go:92: List testEncodeFile Failed: expect key 测试编码文件{"name":"zhijian"}, but got 测试编码文件{"name":"zhijian"}_
1
--- PASS: TestBOS (19.76s)

TestHDFS
=== RUN   TestHDFS
    object_storage_test.go:87: PUT testEncodeFile failed: create /unit-test/.测试编码文件{"name":"zhijian"}.tmp.5495815735913262218: create call failed with ERROR_APPLICATION (org.apache.hadoop.fs.InvalidPathException)
    object_storage_test.go:234: list api error: not supported
    object_storage_test.go:342: hdfs://localhost:8020/unit-test/ does not support multipart upload: not supported
--- PASS: TestHDFS (1.00s)

TestOOS
=== RUN   TestOOS
    object_storage_test.go:73: Can't create bucket oos://zhijian-dev2/: please create bucket zhijian-dev2 manually
--- FAIL: TestOOS (0.29s)

TestMySQL
=== RUN   TestMySQL
    object_storage_test.go:87: PUT testEncodeFile failed: Error 1267: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '='
    object_storage_test.go:234: list api error: not supported delimiter
    object_storage_test.go:342: mysql://(localhost:3306)/test2/unit-test/ does not support multipart upload: not supported
--- PASS: TestMySQL (0.71s)

=== RUN   TestDisk
object_storage_test.go:139: out-of-range get: '', but got 0, error: EOF
object_storage_test.go:234: list api error: not supported
object_storage_test.go:342: file:///tmp/abc/unit-test/ does not support multipart upload: not supported
--- PASS: TestDisk (0.03s)

All object stores have been processed


Not able to add Tezos Ownership card

Hi,
In my existing wallets I was missing the Tezos Ownership card.
I'm not able to add this card, it doesn't show up.

The only option is to create or import a new wallet.

Which build do you have ?

Version 2.4.21 iOS

you have one account credential already created ?
If yes it is normal as you need to create a new tezos account (up right menu)  to get a new GET card
Or you need to delete the one you have to create anothere one for the same account
So you can see your account cards for the account selected

I did a fresh install on a new iPhone 11 v 2.4.21 (441) (never had altme installed on it before)

imported 4 accounts
added tz ownership cards
closed the app
reopened it
all 4 tz ownership cards are gone
cannot add them again

fixed in beta 2.4.28


update to node16 and switch to karma-chrome

This PR updates the node run time to node 16 in the package.json, Dockerfile and GitHub Actions.
To accomplish this, we switch as well to the supported karma chromeheadless launcher instead of phantomJS.
It also fixes a small bug in a one of the tests, where a promise wan't awaited.

Coverage remained the same at 89.831% when pulling 73e42051e67730fe8f1ebebfdacfde9ca1a3f332 on Shegox:node-16 into 97095bf28a8ae631fdffe6aba73cf5b3fca13ef6 on cla-assistant:main.


Enable OSRM zoom parameter, shorten drag interval

The LRM option useZoomParameter was specifically implemented for the OSRM frontend, because it was considered important by @TheMarex, but it seems it has been accidentally disabled in the current version (it's off by default in LRM because of legacy reasons).
Also, the interval between route calculations (routeDragInterval) when dragging markers was drastically shorter before, which makes the app feel snappier, which I've seen complaints about after the new frontend was shipped.

Good catch!


Add a consts module containing version number and protocol version

This should make it easier to update them. Also bumped to 1.8.9 while I was at it.

LGTM :godmode: :+1:


PieChart does not preserve order of values

I just created a small test of a PieChart and noticed that apparently The values are not rendered in the same order as they are provided. When I provide the values [x,y,z] they are instead rendered as for example [y,x,z].

I will have a look. Thanks for noticing!

D3.js sorts the Pie Chart by default but there is a way to disable that. After I thought about how to implement that API-wise I will make that optional.

I added a optional sort= property to the PieChart. It behaves like d3 pie.sort() https://github.com/mbostock/d3/wiki/Pie-Layout
Default is to sort by value, and if you set the prop to null no sorting will be done. You can also supply your own sort function. Will update Readme and publish update later today.


Multiple possible walking goals

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

What are your (walking) goals you want to achieve with this issue? What are the problems?

(@NFiedler pls add a description)


Remove cell typing from main workflow

This does feel like a permissions issue, and I suspect it is related to Ally working on cell typing (the singleR model files changed today) We should probably comment out the cell typing process for now, as it is not fully implemented.

Just confirming that this was me working on the build-index.nf workflow. I think because we have cell typing separate right now, we should remove running it from both the index and the main workflow until it's fully developed as we discussed in slack. Just commenting here for posterity.
Originally posted by @allyhawkins in https://github.com/AlexsLemonade/scpca-nf/issues/312#issuecomment-1540852615
We will want to make sure that this is removed until we release the new changes to support multiple organisms. We should create a branch off dev to remove the call to cell typing and then after making the release/ when we are ready to add cell typing back in we can revert those changes.

Closed by #316


Implement property indexing

This change adds support for property indexing on CookieStorage, as discussed in #5. The basic use case is:
var myCookieStorage = new CookieStorage();
myCookieStorage['mykey'] = 'myvalue';
var cookieValue = myCookieStorage['mykey']; //this will be 'myvalue'!

Since implementing this required using a Proxy object (see documentation), I went ahead and did a complete implementation (following the spec) with the goal of matching the behavior of localStorage and sessionStorage. As a result, the following property-related operations will also work:

'mykey' in myCookieStorage == true;
delete myCookieStorage['mykey'];
Object.defineProperty(myCookieStorage,'myKey','myValue');
Object.keys(myCookieStorage) <- returns an array of all keys
for (key name in storage) { /*do something with key*/ }
Reflect object operations.

Hmm... apparently support for the Proxy object was introduced in Node 6. Is it still a project goal to support Node 4 and 5? I will explore this polyfill in the meantime to try to get things working on the older platforms.

Okay I fixed it so that it only uses the Proxy object if the runtime supports it. This should be a best-of-both-worlds approach where people can use the existing features of CookieStorage on any platform, and use the indexing features on any modern platforms that support Proxy (which includes latest Chrome, Firefox, Edge, and Safari, and Node 6+).

I also updated the npm scripts so that they will successfully run on Windows. (Previous versions of these scripts used single quotes ('), which caused issues--see here)

👍


Add SLF4JReporter

Hello,
In my company we are using automatic pact verification with report portal for easy time checking what went wrong for both consumers and providers.
Unfortunately, provider output does not log and only logs are transferred to report portal.
Thus, I had to implement my custom reporter that outputs to SLF4J logger. Then, I thought it would be nice if such reporter was available out of the box as right now we have to move it between different projects. Hence the pull request. This version is adjusted to the latest changes on the master.
The reporter should be roughly equivalent to the console one. I hope I didn't miss anything and it can be integrated smoothly!

Ok, didn't realize there were some breaking changes on the master. :D Gonna fix it first.

Ok, fixed. Though, master seems to be broken and tests don't finish now.

Awesome, thanks for the PR!
I released 4.1.0 to master yesterday, which has all the modules renamed. I think you might have been caught by that.


Fix missing padding of the transformed 2d-src and 1d-dst tensors in Generic-Tensor Reduction

This is pushed in order to solve the issue raised by SWDEV-284291
Regular testing has passed on (rocm-3.10,rocm-3.7,rocm-4.2)/MI00,  rocm-4.2/MI25, rocm-4.2/Navi21, rocm-3.10/MI60
Method for regular testing
#>bin/test_reduce_test --all
#>bin/test_reduce_test --half --all

Is the issue fixed in Huggingface as described in SWDEV-284291? Could you please attach some test log?

@qianfengz Please confirm if this PR would fix the issue for all these files
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/develop/src/kernels/composable_kernel/include/kernel_algorithm/gridwise_generic_2d_reduction_blockwise.hpp
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/develop/src/kernels/composable_kernel/include/kernel_algorithm/gridwise_generic_2d_reduction_direct_threadwise.hpp
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/develop/src/kernels/composable_kernel/include/kernel_algorithm/gridwise_generic_2d_reduction_direct_warpwise.hpp
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/develop/src/kernels/composable_kernel/include/kernel_algorithm/gridwise_generic_2d_reduction_multiblock.hpp

@qianfengz Please confirm if this PR would fix the issue for all these files
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/develop/src/kernels/composable_kernel/include/kernel_algorithm/gridwise_generic_2d_reduction_blockwise.hpp
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/develop/src/kernels/composable_kernel/include/kernel_algorithm/gridwise_generic_2d_reduction_direct_threadwise.hpp
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/develop/src/kernels/composable_kernel/include/kernel_algorithm/gridwise_generic_2d_reduction_direct_warpwise.hpp
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/develop/src/kernels/composable_kernel/include/kernel_algorithm/gridwise_generic_2d_reduction_multiblock.hpp

Tensor transform is completely done in
 src/kernels/composable_kernel/include/kernel_algorithm/gridwise_generic_reduction.hpp
before calling the functions in those files

@atamazov @asroy this is a release cherry picking candidate, can you please review? Looks like CI has passed: http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/reduction-oob/1/pipeline/


Question about path names

I get AppData\Roaming\Godot Modules like this
public static string GetGameDataPath() => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), GameManager.GameName);

And then I do Path.Combine(GetGameDataPath(), "Server/Players" and I loop through the Players directory with foreach (var file in Directory.GetFiles(PathServer)) print(file)
And this is the result
AppData\Roaming\Godot Modules\Server/Players\joe.json

Notice the direction of the slashes
Is this okay? Will this break on other OS's like Mac / Linux? It does not seem to break on Windows as I tested it with no crashes.

I suppose I'll just follow what is said here https://docs.microsoft.com/en-us/dotnet/api/system.io.path.directoryseparatorchar?view=net-6.0
Just find it tedious to always write something like {separator} for a mere slash and I can't think of a better shorter name either.


[release-2.5] rebuild with new base image

Signed-off-by: Subbarao Meduri<EMAIL_ADDRESS>

/test test-e2e

/test test-e2e

/lgtm


Feature view tasks for particular day

This PR adds the tasksOn command which lists the tasks on a particular day.
It's still a work in progress as I have not wrote the test cases yet, but the functionality of command should be there

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7f484f7). Click here to learn what that means.
Patch coverage: 50.87% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #207   +/-   ##
=========================================
  Coverage          ?   65.95%
  Complexity        ?      581
=========================================
  Files             ?      115
  Lines             ?     2009
  Branches          ?      223
=========================================
  Hits              ?     1325
  Misses            ?      606
  Partials          ?       78

Impacted Files
Coverage Δ

...seedu/uninurse/logic/commands/ListTaskCommand.java
0.00% <0.00%> (ø)

...seedu/uninurse/logic/commands/ViewTaskCommand.java
0.00% <0.00%> (ø)

...eedu/uninurse/logic/parser/UninurseBookParser.java
69.56% <0.00%> (ø)

src/main/java/seedu/uninurse/model/task/Task.java
85.00% <0.00%> (ø)

.../seedu/uninurse/logic/commands/TasksOnCommand.java
37.50% <37.50%> (ø)

.../main/java/seedu/uninurse/model/task/TaskList.java
75.00% <38.46%> (ø)

.../main/java/seedu/uninurse/model/task/DateTime.java
75.00% <70.58%> (ø)

...du/uninurse/logic/parser/TasksOnCommandParser.java
100.00% <100.00%> (ø)

...java/seedu/uninurse/storage/JsonAdaptedPerson.java
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add example of qasm2.CustomInstruction

Summary
We didn't have an explicit usage example of this in the documentation before, and several people seem to have been confused by it.

Details and comments
For example, #13166.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
9 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.01%) to 88.917%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
94.02%

crates/qasm2/src/lex.rs
8
91.73%

Totals

Change from base Build<PHONE_NUMBER>1:
0.01%

Covered Lines:
73473

Relevant Lines:
82631

💛  - Coveralls


Non-determinism in tests [Meta-task]

We have some sort of non-determinism in the balancer (?) that leads to errors, but only sometimes.
Let's use this issue to collect failing logs that hopefully can help us pin down the issue eventually.
Grouped by type of error:
submit call failed. Error from Ogmios: [{"valueNotConserved...
log1.txt
commit, PR
Tests affected:

Evaluation with additional UTxOs with native scripts

Could not find unspent output locked at script address
log2.txt
commit PR
Test affected:

ReferenceScripts

(ClientHttpError There was a problem making the request: request failed)
  Error: (ClientHttpError There was a problem making the request: request failed)
    at Object.exports.error (/home/me/c/cardano-browser-tx/output/Effect.Exception/foreign.js:8:10)
    at Object.$$throw [as throw] (/home/me/c/cardano-browser-tx/output/Effect.Exception/index.js:18:45)
    at /home/me/c/cardano-browser-tx/output/Ctl.Internal.Plutip.Server/index.js:149:57
    at /home/me/c/cardano-browser-tx/output/Data.Either/index.js:203:24
    at /home/me/c/cardano-browser-tx/output/Ctl.Internal.Plutip.Server/index.js:151:71
    at run (/home/me/c/cardano-browser-tx/output/Effect.Aff/foreign.js:278:22)
    at /home/me/c/cardano-browser-tx/output/Effect.Aff/foreign.js:348:19
    at drain (/home/me/c/cardano-browser-tx/output/Effect.Aff/foreign.js:120:9)
    at Object.enqueue (/home/me/c/cardano-browser-tx/output/Effect.Aff/foreign.js:141:11)
    at /home/me/c/cardano-browser-tx/output/Effect.Aff/foreign.js:339:27

Happens on develop, looks like all tests are affected (very low chance)
(Right unit) doesn't satisfy predicate
log3.txt
PR
Test affected:

runPlutipContract: InlineDatum Failure

ownStakePubKeyHash: failed to convert to base address
Fixed in https://github.com/Plutonomicon/cardano-transaction-lib/commit/37d9d41e3b8377dbbe726540e8c4495c766a44c6

Looks like example of the last problem: https://ci.staging.mlabs.city/build/121841/nixlog/2

submit call failed. Error from Ogmios: [{"valueNotConserved...
this time for Evaluation with additional UTxOs
https://ci.staging.mlabs.city/build/134166/log
makes sense

I think the valueNotConserved + badInputs in AdditionalUtxoSet* tests happens because when we make two subsequent submit calls there's no guarantee that ogmios will see the outputs of the first transaction when we send the second one. We should probably ask upstream if it is possible to provide an additional UTxO set for submit endpoint as well, just like it is done for evaluteTx.

@klntsky
https://github.com/Plutonomicon/cardano-transaction-lib/pull/1267 says it covers ClientHttpError case. If so it seems like this issue solved?

@uhbif19 as it always is with race condition issues, remains to be seen.

@klntsky I mean the PR is merged for more than a week. And as far as I understand, ClientHttpError was quite frequent in CIs. So if there was no fails for last days, then bug is fixed, no?

I think I got the insights of this error:
  ✗ gero:http://localhost:4008/?gero:ECDSA:

  Error: Error: (TxOutRefWrongType (TransactionInput { index: 0u, transactionId: (TransactionHash (hexToByteArrayUnsafe "3ca8852ff76537383dded28f3d65249b76b605890193ee306f7e0584b2e5d19a")) }))
    at exports.error (webpack-internal:///./output.js:2367:12)
    at Object.$$throw [as throw] (webpack-internal:///./output.js:2415:47)
    at eval (webpack-internal:///./output.js:33552:47)
    at eval (webpack-internal:///./output.js:2215:26)
    at eval (webpack-internal:///./output.js:9248:36)
    at run (webpack-internal:///./output.js:11927:24)
    at eval (webpack-internal:///./output.js:11997:21)
    at drain (webpack-internal:///./output.js:11769:11)
    at Object.enqueue (webpack-internal:///./output.js:11790:13)
    at eval (webpack-internal:///./output.js:11988:29)

in this pr : #1326
Basically, the failure on eternl made it an error that always happens in one of the commits from the beginning, which allow me to trace the error.
Basically, the test,

first locks some value behind a script
get the full array of utxos locked at that script
keep the first utxo
-attempt to expend the outxo

That means sometimes the chosen utxo wasn't the one we performed, this was solved by passing to the second stage of the script the has of the transaction we expect to consume and look for it.
Currently this make the test to bypass this error but broke the assertions.


FileNotFoundError: [WinError 2] The system cannot find the file specified

This script works on my laptop, but my laptop is prone to shutting down randomly throughout the day. After installing it on my desktop computer yesterday, I consistently run into this error upon running the script:
PS C:\Users\DBH> py twitch-recorder.py -u a_seagull
checking for a_seagull every 15 seconds, recording with best quality
a_seagull online, stream recording in session
Traceback (most recent call last):
File "twitch-recorder.py", line 199, in
main(sys.argv[1:])
File "twitch-recorder.py", line 195, in main
twitch_recorder.run()
File "twitch-recorder.py", line 82, in run
self.loop_check(recorded_path, processed_path)
File "twitch-recorder.py", line 152, in loop_check
subprocess.call(
File "C:\Program Files\Python38\lib\subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Program Files\Python38\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\Python38\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
PS C:\Users\DBH

Make sure you have streamlink installed and on your system path


Zip files from S3

Hi,
is there a solution to zip files from S3 disk? Is it possible to get some pice of code?

Hi there! I can suggest you a starting point ;)
// Array of files to add from the S3 bucket.
$files_to_add = [
        'documents/0001.pdf',
        'documents/0002.pdf',
        'documents/0003.pdf'
];

// Create the Zipper instance.
$zipper = new \Chumper\Zipper\Zipper;

// Create (or open, please read README.md file) the documents.zip archive file.
$zip = $zipper->make('documents.zip');

// For each file in the $files_to_add array
foreach ($files_to_add as $file)
{
        // Split the string and take the filename (eg. 0001.pdf)
        $file_name = explode('/', $file);
        $file_name = $file_name[count($file_name) - 1];

        // Obtain the file contents from the Storage driver, in this case, AWS S3.
        $file_contents = Storage::disk('s3')->get($file);

        // Add them to the ZIP file.
        $zip->add($file_name, $file_contents);
}

// Good to go :)
$zip->close();

@gdevdeiv Any idea on batch queuing this whole process? Say I have around 10k PDF (monthly statements) files to be zipped. Each document is stored on s3, when I am using a queue to download each of the files then zip it, am getting timeout due to a large number of files to process. Any idea on how to do this as a batch export?

Sure. PHP has a max_execution_time directive that kills any script that runs longer than the value set there (in seconds). You can find it on the php.ini config file.
To solve that problem you can either:

set max_execution_time that to a high number: let's say your script takes 20 minutes to complete, then you would want to set it to, at least, 1200. More info

make use of queues.

The first one is far easier and only requires a web server restart after it to be applied, but the downside is that apache/nginx could return a 502 Bad Gateway error while waiting for PHP to respond. You can solve that by adjusting the server configuration to wait as long as PHP does, so no timeout. Apache. Nginx. More.
The second one is preferred because queues are pieces of code that you can process independently by another PHP process. You could encapsulate your PDF generation code in a job that, for example, generates the PDF files, stores them in S3, saves the path in a database record and sends a notification (or email) to the user. This is far more complex and would require the use of queues.

The first doesn't seem to be fit as per the current scenario since we are growing. It may temporarily fix the issue, but not a permanent fix. As I said, I am already using jobs to move the load on this entire process, but the problem is I can't figure out logic to batch download files from s3, say 500 documents in every batch, add them to a single zip file and then trigger an email once all the batches are finished and store the zip to s3 and share the link via an email.


If main file is set but executable is unrecognized, main file isn't run

if myexec is not in Sumatra's list of known programs, then even if a main file is specified it doesn't get executed. This results in Sumatra just trying to run the arguments, so
smt run -e myexec -m main_file arg1 arg2
runs
myexec arg1 arg2
instead of
myexec main_file arg1 arg2
Imported from Bitbucket issue 163,  created by apdavison on 03-18-2013 at 21:26, last modified: 03-25-2013 at 17:58

fixed in r664
Trac comment by apdavison on 03-25-2013 at 17:58


Softmax benchmark

Hi
I don't see DNN workloads in level 0, 1 and 2 folders. I mean softmax,  activation and ...
Where should I look exactly?

They were moved to the deprecated branch and should be inside the darknet directory at level2

I cloned that branch and ran setup.sh. However, it seems that not enough. I also switched to src/cuda/level2/darknet and executed make and got this error
./src/convolutional_layer.c:167:13: error: ‘CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT’ undeclared (first use in this function)
  167 |             CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT,

Without knowing your execution environment, the answers here are merely speculative. This error is likely caused by CUDA 11 and cuDNN  8. It was tested with CUDA 9 and 10 with cuDNN 7 before and it's likely not supported by newer versions. There might be plans to address those issues but downgrading the CUDA and cuDNN might solve the problem.

Yes that was CUDA 11.2. Thanks.


Update to libcint v5.0

Make libcgto module compatible with both v4 and v5 of libcint

This solved #1111, thanks!


Create g.rmxgrp.dev.md

Are you sure this is correct? I seem to be getting much smaller sizes registered: https://tools.pingdom.com/#5fdd5d571c800000

I can't edit the file, could you please change it to 42.5


CC BY-SA-4.0 license

It appears that the CC BY-SA-4.0 license is not included in the repository, which raises concerns about its licensing status. Could you please provide a link to the license or clarify where it can be found? As per my understanding, the license must be included with the code, and its absence may render the code unlicensed.

Thanks for flagging this.
This repo contains exclusively code released under the Apache-2.0 license.
In the README file, we provide links to download the model checkpoints and vocabulary files (hosted on the HuggingFace Hub) which are released under CC BY-SA 4.0.
Hope this clears all your concerns!


How to add dependency SVN project in my Podspec.

Hi,
How to add dependency SVN project path in my Podspec.
Ex: Project1 (SVN)
|------Project2 (SVN)
|-----------Project3 (SVN)
When i Pod "URL to Project 2", It creates pod for Project2 not created for Porject3. But Project2 is dependent on Project3.
How to specify the SVN path for Project3 in Project2 podspec. Thanks in advance.
Project2.podspec Looks like:
Pod::Spec.new do |s|
s.name = ‘Project2’
s.version = '0.0.1'
s.summary = ''
s.homepage = ‘svn url’
s.authors = ‘authr’
s.source = { :svn => ‘SVN url to Project2’ }
s.source_files = '*/.{h,m}'
pch_AF = <<-EOS
#ifndef TARGET_OS_IOS
#define TARGET_OS_IOS TARGET_OS_IPHONE
#endif
#ifndef TARGET_OS_WATCH
#define TARGET_OS_WATCH 0
#endif
#ifndef TARGET_OS_TV
#define TARGET_OS_TV 0
#endif
EOS
s.prefix_header_contents = pch_AF
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.9'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.dependency 'Project3', :svn => ‘url_of_podspec.podspec'
s.dependency 'AFNetworking'
s.dependency 'Mantle'
s.dependency 'XMLDictionary'
end

@malaiseven How did u fix it?I have the same issue, thanks!

@rush397

Have a custom pod spec repo for your svn libraries. This should be in folder structure of default podspect repo. (PFA: podspec_repo.png)

Your pod file should have the custom pod spec repo ( PFA: podfile.rtf )
In Podspec , add the dependency like ( PFA: depedency_podspec.png )

Hope this helps.

@malaiseven
s.dependency 'iOSSDK-Dev', '~> 2.0.17'
This does not affect the command 'pod install'.
But when i execute the command 'pod spec lint', the terminal shows
- ERROR | [iOS] unknown: Encountered an unknown error (Unable to find a specification for `xxx` depended upon by `xxx`) during validation.

Did you encounter this problem?


Boiler plate content for reasons for rejection

When a provider rejects a candidate, we want to show some text to help the candidate take the next step.
Trello ticket: https://trello.com/c/zmcV9v7v/495-r4r-draft-boiler-plate-feedback-text
Image shows the text above the rejected applications, each bullet point would only show depending in what 'rejection reason' a provider chooses. From analysis, the majority of providers only ever select 1 or 2 reasons. So in the screenshot below a candidate would mostly only see 1 or 2 bullet points.

 R4R: Draft boiler plate feedback text


docs: Fix build status CI badge in README

What problem does this PR solve?

What is changed and how it works?
Replaced by new CI service's badge.
Release note
None.

/cc @BusyJay @zhouqiang-cl
PTAL

BTW, do we just do cargo build for this job?

/merge


Odd sprite generation - not following marked areas

Was hoping to get this working, but the segmentation's seem not to be aligning properly with my sprites. I thought it was an issue with using a spritesheet, but have the same result when generating from an individual sprite.
Fragments Generated in editor:

Generated segments:

Not sure what's going on here, or if this is just broken in 2018.1.1f1

Here's the sprite I'm trying to use for the test.

i'm noticing this problem when a parent gameobject has different scale.

update to this:
I have found some issues.
(Same applies to Triangle methods)
inside GenerateVoronoiPieces

store the originalscale local scale in a separate vector3,
set the origScale = the source.lossyscale
at the bottom of the same method, set the source localscale to 1)
inside GenerateVoronoiPieces
set the piece localscale to the source lossyscale
inside calcUV

change the textHeight and texWidth to divide by losscale instead of localscale.
Lastly, inside: the getRect(GameObject source) method,
set the return to:
return new Rect(sr.bounds.extents.x * -1, sr.bounds.extents.y * -1, sr.bounds.size.x * 2, sr.bounds.size.y * 2);
if that doesnt fix it also set change it from Renderer to SpriteRenderer


Fix Strings.truncate with length '1'

Describe the change
Fixes an issue where passing a truncate value of 1 results in an unhandled exception.
[2] pry(main)> Strings.truncate('data', 1)
NoMethodError: undefined method `gsub' for nil:NilClass
from /usr/home/kschiesser/.rvm/gems/ruby-2.6.3/gems/strings-ansi-0.1.0/lib/strings/ansi.rb:29:in `sanitize'
[3] pry(main)> wtf
Exception: NoMethodError: undefined method `gsub' for nil:NilClass
--
0: /usr/home/kschiesser/.rvm/gems/ruby-2.6.3/gems/strings-ansi-0.1.0/lib/strings/ansi.rb:29:in `sanitize'
1: /usr/home/kschiesser/code/strings/lib/strings/truncate.rb:103:in `display_width'
2: /usr/home/kschiesser/code/strings/lib/strings/truncate.rb:74:in `shorten'
3: /usr/home/kschiesser/code/strings/lib/strings/truncate.rb:62:in `truncate'
4: /usr/home/kschiesser/code/strings/lib/strings.rb:99:in `truncate'

vs
[2] pry(main)> Strings.truncate('data', 1)
=> "\u2026"

Why are we doing this?
Unhandled exceptions are generally bad :)
Related to piotrmurach/tty-table#20
Benefits
Better handling for all cases on Strings::Truncate
Drawbacks
None that I can see.
Requirements
Put an X between brackets on each line if you have done the item:
[x] Tests written & passing locally?
[x] Code style checked?
[x] Rebased with master branch?
[x] Documentaion updated?

Coverage increased (+0.06%) to 97.361% when pulling e5382ddcd2297b7438e87eac9db01a71bf677f58 on slowbro:truncate-zero-length into 6ff3143cfdfb671ffaaaf117c8786969409363ec on piotrmurach:master.

Coverage increased (+0.06%) to 97.356% when pulling e5382ddcd2297b7438e87eac9db01a71bf677f58 on slowbro:truncate-zero-length into 6ff3143cfdfb671ffaaaf117c8786969409363ec on piotrmurach:master.

Thanks ❤


[Bug] [crontab] The maximum value of hour selection is 59

Search before asking

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

What happened
在官方发布的3.0版本中，设置定时参数时出现问题，在时、天、月选择最大值都到了59，未与秒、分选择区分

这样会导致解析crontab表达式失败

而这些在2.0.5版本中，做的很好
What you expected to happen
我希望修复这个bug，像2.0.5中的那样
How to reproduce
工作流上线后，设置定时任务，在“时”页签的具体小时数对应下拉框可以看到
Anything else
No response
Version
3.0.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I will fix it


feat(explore): give filter prop the DomainExplorerContent component

Hey, I just made a Pull Request!

This will probably need some tweaking along the way. But the Goal in this PR is give the user control over what type of Entities to show with the DomainExplorerContent Component.
:heavy_check_mark: Checklist

[x ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x ] All your commits have a Signed-off-by line in the message. (more info)

closing this in favour of trying out another approach.


Birthday Date client-side validation not working for MX users on Thor

Before I fill out the form:

After I filled out the form:

cc: @weerd

Note:
After I got the client side errors, I tried a birthday that would pass (01/02/1996) and it stored the month and day fields properly (I think):

Hmmm... 05/30/1996 doesn't work either:

Hmmm...this is working for me.

Oh also I was able to successfully submit the form.

@shae were you on thor.dosomething.org/mx using TorGuard?

@mikefantini torGuard

Here is the doc of use cases we'll talk through IRL in tomorrow's meeting https://docs.google.com/spreadsheets/d/1Fwe8yVJ615M0ZkFnUDvd4ikVIjWyy1KNpH6L-iPy9Y0/edit#gid=0

@sbsmith86 does this issue still represent work that needs to be done for this or is this still needed?

@mikefantini so what we are going to do is update the POEditor translations to translate YYYY to AAAA see issue #5636 which is assigned to @weerd
And then, we will update the code to switch between MM/DD/YYYY and DD/MM/YYYY formats based on country code. That should match everything up.

Closing via #5637


Super Resolution Issue: Visible Tile Boundaries

I've been experiencing a consistent issue with super-resolution results where the boundaries between separate tiles are clearly visible. Despite following various preprocessing steps and using different model weights, the problem persists. Below are the details of my preprocessing steps and normalization methods.
For TCI Bands (Using 8-S2 Weights)
Normalization Steps 1:
1. Take TCI bands.
2. Divide TCI band by 10,000.
3. Multiply the data by 255 and clip to [0, 1].
4. Stack the data 8 times.
5. Perform inference with the model.
Normalization Steps 2:
1. Take TCI bands.
2. Divide TCI band by 4,095 and clip to [0, 1].
3. Multiply the data by 255 to convert to [0, 255].
4. Stack the data 8 times.
5. Perform inference with the model.
For TCI + Non-TCI Bands (Using 8-S2 Weights)
Normalization Steps 1:
1. Take TCI bands.
2. Divide TCI band by 10,000 and clip to [0, 1].
3. Divide non-TCI band by 8,160 and clip to [0, 1].
4. Concatenate TCI and non-TCI band data.
5. Multiply normalized data by 255.
6. Stack the data 8 times.
7. Perform inference with the 10m-S2-bands model.
Normalization Steps 2:
1. Take TCI bands.
2. Divide TCI band by 4,095 and clip to [0, 1].
3. Divide non-TCI band by 8,160 and clip to [0, 1].
4. Concatenate TCI and non-TCI band data.
5. Multiply the data by 255 to convert to [0, 255].
6. Stack the data 8 times.
7. Perform inference with the model.
Note:
To subset & resample, I’ve used SNAP tools.
For Resampling:
Upsampling method: nearest
Downsampling method: first
Flag Downsampling method: First
Reference Band: B02
Additional Attempt:
I've also tried using min-max normalization but still faced the same issue.
Is there any best & ideal preprocessing step ?
Can someone help me understand why the tile boundaries are so visible and how I can mitigate this problem? Any suggestions or insights would be greatly appreciated. Thank you!

Sure, here's the rest of the text with the description of the weighting process:

I have managed to resolve this issue by running inference on the tile with overlap. For instance, the size of the patch is 256, and I used a stride of 128. Then I convert the RGB output from each patch to LAB color space and compute the average color with weighting.
To elaborate on the weighting process:

Overlap Count: This tracks the number of times each pixel in the large image has been covered by a patch. As we stitch patches back together, each pixel's value is accumulated, and the overlap count is incremented.

Distance Transform Weights: These weights are created based on the distance from the patch edges, using the Euclidean Distance Transform (EDT). The process is as follows:

We initialize a weight matrix with the center region set to 1 (covering the overlap area).
The scipy.ndimage.distance_transform_edt function is applied to this matrix to compute the distance of each pixel from the nearest zero (edge of the patch).
The resulting weights matrix gives higher weights to pixels near the center of the patch and lower weights near the edges. This ensures a smooth transition between overlapping patches.

The final color values are computed by accumulating the weighted LAB color values for each pixel and dividing by the total weight for that pixel. This technique blends the overlapping regions seamlessly and avoids visible seams between patches.
Here is a snippet of the relevant code for applying the weights and stitching the patches together:
def apply_weights(image_shape, chunk_size, overlap):
    weights = np.zeros((chunk_size, chunk_size), dtype=np.float32)
    center = (chunk_size - overlap) // 2
    weights[center:center+overlap, center:center+overlap] = 1
    weights = scipy.ndimage.distance_transform_edt(weights)
    weights /= weights.max()
    return weights

def stitch_in_memory(chunks, img_height, img_width, chunk_size=256, overlap=32):
    stitched_image = np.zeros((img_height, img_width, 3), dtype=np.float32)
    overlap_count = np.zeros((img_height, img_width), dtype=np.float32)
    weights = apply_weights((img_height, img_width), chunk_size, overlap)

    grid_size_y = (img_height - overlap) // (chunk_size - overlap)
    grid_size_x = (img_width - overlap) // (chunk_size - overlap)

    idx = 0
    for i in range(grid_size_y + 1):
        for j in range(grid_size_x + 1):
            load = chunks[idx]
            idx += 1
            y_start = i * (chunk_size - overlap)
            x_start = j * (chunk_size - overlap)
            y_end = min(y_start + chunk_size, img_height)
            x_end = min(x_start + chunk_size, img_width)

            load = load[:y_end - y_start, :x_end - x_start, :]

            lab_load = color.rgb2lab(load)

            for c in range(3):
                stitched_image[y_start:y_end, x_start:x_end, c] += lab_load[..., c] * weights[:y_end-y_start, :x_end-x_start]
            overlap_count[y_start:y_end, x_start:x_end] += weights[:y_end-y_start, :x_end-x_start]

    overlap_count[overlap_count == 0] = 1

    averaged_lab = np.zeros_like(stitched_image)
    for c in range(3):
        averaged_lab[..., c] = stitched_image[..., c] / overlap_count

    stitched_image_rgb = (color.lab2rgb(averaged_lab) * 255).astype(np.uint8)
    return stitched_image_rgb

By following this method, the final super-resolved image is free from noticeable seams, providing a smooth and visually consistent output.

Note: I trained the model to super-resolve SPOT satellite imagery to aerial resolution.

Thanks @patriksabol . I implemented your method and it worked well.
After that I noticed I can also just process a larger mosaic of s2 tiles directly.


Upon odo push, odo logs "Creating Kubernetes resources" for OpenShift cluster

/kind bug

What versions of software are you using?

Using minishift/CRC as a backend, I created a nodejs component and tried to push it. The message logged on stdout was "Creating Kubernetes resources"
Actual behavior
$ odo push

Validation
 ✓  Validating the devfile [19025ns]

Creating Kubernetes resources for component nodejs
 ✓  Waiting for component to start [7s]
...
...

Expected behavior
It should mention Creating OpenShift resources.
/kind code-refactoring

It should mention Creating OpenShift resources.

But OpenShift is Kubernetes.
/close


SpannerIO: retry if concurrent transaction is aborted by emulator

Fixes https://github.com/apache/beam/issues/28092

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @damccorm

retest this please

@damccorm could you check or suggest a reviewer ?

This LGTM, just adding another retry scenario.
I'm rerunning the tests that failed


Unsigned integer overflow in wav_io.cc:297

Hi! We've been searching errors in tensorflow with sydr-fuzz security predicates and have found an error of unsigned integer overflow in wav_io.cc:297.
The error appears in computing the expected bytes_per_second value. Then it is compared with the input bytes_per_second value, and if they are not equal, the error is reported. But on the attached input, the unsigned integer overflow occurs and despite the fact that bytes_per_sample and sample_rate don't correspond to input bytes_per_second, the expected_bytes_per_second appears to be equal to bytes_per_second and the following check is passed.
With the attached input, bytes_per_sample equals to 128, sample_rate equals to<PHONE_NUMBER>, and the expected_bytes_per_second equals to bytes_per_second equals to<PHONE_NUMBER>.
To fix the error we suggest to change expected_bytes_per_second type to uint64 and explicitly cast types to uint64 in multiplication.
TensorFlow version: 0db597d0d758aba578783b5bf46c889700a45085
How to reproduce

Build docker from here and run the container:
 sudo docker build -t oss-sydr-fuzz-tensorflow .
 sudo docker run --privileged --rm -v `pwd`:/fuzz -it oss-sydr-fuzz-tensorflow /bin/bash

Run the target on this input: tf-wav-overflow.wav.txt
 /fuzzer/decode_wav_fuzz tf-wav-overflow.wav.txt

You will see the following output:
 tensorflow/core/lib/wav/wav_io.cc:297:61: runtime error: unsigned integer overflow: 128 *<PHONE_NUMBER> cannot be represented in type 'unsigned int'
 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior tensorflow/core/lib/wav/wav_io.cc:297:61 in

@gbaned
Hi! Will someone review these changes please?

@rohan100jain
Hi! Will you take a look at the changes please?

@akuegel
Hi! Seems like the assigned reviewer won't review this. Could you help with the review please?


[GEARPUMP-287] Trigger data process on watermark

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

[x] Make sure the commit message is formatted like:
[GEARPUMP-<Jira issue #>] Meaningful description of pull request
[x] Make sure tests pass via sbt clean test.
[x] Make sure old documentation affected by the pull request has been updated and new documentation added for new functionality.

R: @huafengw build passes in https://travis-ci.org/manuzhang/incubator-gearpump/builds/206877873

+1


crypto: add constant time equal and rand gen

Currently used in OAuth server and its operator, these are generally useful.

/lgtm
Small but not code that I want repeated everywhere.

Note that this is also used by the console operator to generate its OAuth client secret.

I think you can get a away with one liners (just embed them, wrappers aren't helpful) and a four line function (at most)  in two spots.
/close

If you can find three callers in different binaries, I can live with Random256 and Random512.

/hold
for evidence

If you can find three callers in different binaries, I can live with Random256 and Random512.

OAuth server
Authn operator
Console operator

I am sure I can find others.

If you can find three callers in different binaries, I can live with Random256 and Random512.

OAuth server
Authn operator
Console operator

I am sure I can find others.

if you're moving it here to be useful you should find them all.

If you can find three callers in different binaries, I can live with Random256 and Random512.

OAuth server
Authn operator
Console operator

I am sure I can find others.

Then do so.

@tnozicka verify-deps again

oc
extended tests (I do not really count this though)

GitHub search is lacking in this regard.

/retest

Removed the constant-time-comparison, kept only the RandomBitsString* functions, while keeping their base still exporrted

/unassign
/uncc
@stlaz @sttts @mfojtik


Adding Data preparation + changing Evaluation model based on that

I have to change the evaluation model and also I have added the Preparation method to the project because I believe by backing the data and normalizing it. the result would be better. Let me explain the code in more detail;
the full process for preparing the data is:
Read text file and split into lines, split lines into pairs
Normalize text, filter by length and content
Make word lists from sentences in pairs
def prepareData(lang1, lang2, reverse=False):
input_lang, output_lang, pairs = readLangs(lang1, lang2, reverse)
print("Read %s sentence pairs" % len(pairs))
pairs = filterPairs(pairs)
print("Trimmed to %s sentence pairs" % len(pairs))
print("Counting words...")
for pair in pairs:
input_lang.addSentence(pair[0])
output_lang.addSentence(pair[1])
print("Counted words:")
print(input_lang.name, input_lang.n_words)
print(output_lang.name, output_lang.n_words)
return input_lang, output_lang, pairs
input_lang, output_lang, pairs = prepareData('eng', 'fra', True)
print(random.choice(pairs))
Preparing Training Data
To train, for each pair of words, we will need an input tensor (indexes of the words in the input sentence) and target tensor (indexes of the words in the target sentence). While creating these vectors we will append the EOS token to both sequences.
def indexesFromSentence(lang, sentence):
return [lang.word2index[word] for word in sentence.split(' ')]
def tensorFromSentence(lang, sentence):
indexes = indexesFromSentence(lang, sentence)
indexes.append(EOS_token)
return torch.tensor(indexes, dtype=torch.long, device=device).view(-1, 1)
def tensorsFromPair(pair):
input_tensor = tensorFromSentence(input_lang, pair[0])
target_tensor = tensorFromSentence(output_lang, pair[1])
return (input_tensor, target_tensor)
Evaluation
Every time it predicts a word we add it to the output string, and if it predicts the EOS token we stop there. We also store the decoder’s attention outputs for display later.
def evaluate(encoder, decoder, sentence, max_length=MAX_LENGTH):
with torch.no_grad():
input_tensor = tensorFromSentence(input_lang, sentence)
input_length = input_tensor.size()[0]
encoder_hidden = encoder.initHidden()
    encoder_outputs = torch.zeros(max_length, encoder.hidden_size, device=device)

    for ei in range(input_length):
        encoder_output, encoder_hidden = encoder(input_tensor[ei],
                                                 encoder_hidden)
        encoder_outputs[ei] += encoder_output[0, 0]

    decoder_input = torch.tensor([[SOS_token]], device=device)  # SOS

    decoder_hidden = encoder_hidden

    decoded_words = []
    decoder_attentions = torch.zeros(max_length, max_length)

    for di in range(max_length):
        decoder_output, decoder_hidden, decoder_attention = decoder(
            decoder_input, decoder_hidden, encoder_outputs)
        decoder_attentions[di] = decoder_attention.data
        topv, topi = decoder_output.data.topk(1)
        if topi.item() == EOS_token:
            decoded_words.append('<EOS>')
            break
        else:
            decoded_words.append(output_lang.index2word[topi.item()])

        decoder_input = topi.squeeze().detach()

    return decoded_words, decoder_attentions[:di + 1]

@reyhanehjaafari
Thanks for your valuable contribution! It was insightful and I will take into consideration just one note that we will evaluate random sentences from the training set and print out the input, target, and output to make some subjective quality judgements! So I guess you should consider this in your new PR as well.
Once yor code is updated, please submit your code in .py format to Prediction_Project/src/  in the new branch.

@shirin1996 Thank you for your feedback. I have updated the pull request. I have considered a random evaluation process. I have added evaluate.py file in the src in the Add Random Evaluation commit


[Improve][CDC] Improve cdc task ddl restore for zeta

Purpose of this pull request
[Improve][CDC] Improve cdc task state restore for zeta
Does this PR introduce any user-facing change?
No
How was this patch tested?
Added
https://github.com/apache/seatunnel/pull/7463/files#diff-56c06c7dde242a3733bec78c1d71f5a32baa3530be2c8f336e28de7e390312a8
Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

It seem lack test case. Shall we add some? For example, read updated/deleted column data to unsupported transform/sink, what's will happen? And read table -> savepoint -> update column -> restore? I think the change will solve the problem of this scenario. But we need test case.

Adding test cases later

@hailin0 hi, I think this part needs a design to help me understand the whole process

@hailin0 hi, I think this part needs a design to help me understand the whole process

cc @Carl-Zhou-CN
https://github.com/apache/seatunnel/issues/7930

LGTM. cc @dailai for a look

Waiting to merge #7908

@hailin0 hi, I think this part needs a design to help me understand the whole process

cc @Carl-Zhou-CN
#7930

He is great


Remove deprecation warnings for using contentConfiguration before iOS 16 since its used for UIHostingConfiguration

Describe your changes
Since the only current use case for cell.backport.contentConfiguration is to enable the UIHostingConfigration backport, having iOS 14 deprecation warnings each time its used leads to a lot of unnecessary and unfixable warnings in a project targeting iOS 15 when using Backport.UIHostingConfiguration. Keeping the deprecation version the same as the UIHostingConfiguration one means that we'd only be warned when the project goes to iOS 17 and can remove all uses at once.

Makes sense, I usually try and keep the deprecations matching the actual releases, but I get your point and tend to agree 👍


fix error display for websocket fetchers

Fixes #2534
The issue is caused by the default ws-fetcher which wraps joins multiple error messages and wraps them in a new error.
Open TODOs:

[ ] add changeset
[ ] write some tests for displaying correctly formatted errors in general

yeah i think this is a longtime issue, maybe not a regression, so feel free to fix it in 2.0.0. will take a look at this later today!

We could also fix that with a new patch in v1 as we decided not to do the prereleases and this does not contain breaking changes 😉

ah yes of course! i was hoping to make it easier on you but that's exactly what we agreed to isn't it, i forgot we have a path for this now! so nice to have, looking forward to using pre-release more often
it looks like there is a new cypress failure here, are you familar with this one?
https://github.com/graphql/graphiql/runs/7176376103?check_suite_focus=true#step:8:412

Looks good! I approve just need to fix the e2e suite

oh my bad i see the write tests task


Submit Verification Resend as Post

Route requires POST.
| POST | email/resend | verification.resend | App\Http\Controllers\Auth\VerificationController@resend | web,auth,throttle:6,1 |

Thanks!


e2e test infrastructure

This PR sets up the e2e test infrastructure.
There's a dummy test, which will be changed into a real e2e test later on.
Check individual commits.

/lgtm


[Android Editor] Update handling of the REQUEST_INSTALL_PACKAGES permission

Only request the REQUEST_INSTALL_PACKAGES permission the first time the editor tries to install an exported apk
Disable the permission for the HorizonOS build as the HorizonOS store doesn't support it yet

Thanks!


New song request: Enya - Only Time

Haha wow. Totally forgot this existed

Although I love the mood of this track, it really misses the "schuifel" feeling IMO...


Return the bar with resutls to overview section.

The bar with total results was removed in new overview page. So it would be nice to return it back.

Also I propose to add to this widget information run start/stop time


LocationTag object

A LocationTag object to represent locations, should match the server-side's format of l@<x>,<y>,<z>,<pitch>,<yaw>,<world> (see https://meta.denizenscript.com/Docs/Search/LocationTag)

Added in #15


Allow navigating to Flutter screen from within Ensemble

copied from discussion -
Use case:
I have an existing Flutter app that I want to add Ensemble screens to
From an Ensemble screen I want to navigate to a Flutter screen
Example:
- Button:
          label: Navigate and pass inputs to a Flutter screen
          onTap:
            executeCode:
              body: |
                //@code
                ensemble.navigateFlutterScreen(
                  'MyFlutterWidget', # this is my screen's name
                  { # and here are the constructor parameters
                    'input': someInput
                  }
                );

You should be able to do this directly in the navigateScreen action as well without having to write code.
Support the same for showModal action as well
Support the other way around too i.e. navigating to an Ensemble screen from Flutter
As the first step, propose the yaml and the corresponding javascript syntax before proceeding with the implementation

assigning to @vusters for assessment and re-assignment

@snehmehta please update, this was completed a while ago I thought?


Fix code generation

Rationale
Use correct helpers

else needs help too.
should we start returning JavaScriptFragment from methods like this?

Good point... fixed else case.
Seems like a good direction (returning JavaScriptFragment). In this case, might want to reconcile Button vs. ActionButton first.


Document Full-Disk Encryption

@adamkrellenstein added a note here https://github.com/towercomputers/toweros/blob/dev/docs/src/hardware.md#host-hardware
not sure if it's the best place thought..

that's great! I'll make another note under "Security" and I think that's enough. :)


quickstart_finetune.py requires the OpenAI Api key even though it doesn't use the gpt model.

I use "pythia" as the large model and "opt" as the small model, I deleted openai_key arg but it throws this error;
Downloading (…)lve/main/config.json: 100%|███████████████████████████████████████████████| 644/644 [00:00<00:00, 1.88MB/s]
Downloading pytorch_model.bin: 100%|███████████████████████████████████████████████████| 663M/663M [04:30<00:00, 2.45MB/s]
Downloading (…)neration_config.json: 100%|████████████████████████████████████████████████| 137/137 [00:00<00:00, 344kB/s]
Downloading (…)okenizer_config.json: 100%|███████████████████████████████████████████████| 685/685 [00:00<00:00, 1.33MB/s]
Downloading (…)olve/main/vocab.json: 100%|█████████████████████████████████████████████| 899k/899k [00:00<00:00, 1.54MB/s]
Downloading (…)olve/main/merges.txt: 100%|█████████████████████████████████████████████| 456k/456k [00:00<00:00, 2.02MB/s]
Downloading (…)cial_tokens_map.json: 100%|███████████████████████████████████████████████| 441/441 [00:00<00:00, 1.19MB/s]
Using model: pythia
The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.
Exception in thread Thread-3 (new_thread):
{'completion': 'Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use the currency in myanmmarAnswer question Q.Q.\n\nHow to use', 'status': 200}
Traceback (most recent call last):
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/site-packages/llm_vm/completion/optimize.py", line 44, in new_thread
    t[0] = foo()
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/site-packages/llm_vm/completion/optimize.py", line 301, in promise
    return succeed_train(use_completion)
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/site-packages/llm_vm/completion/optimize.py", line 275, in actual_train
    for j in self.data_synthesizer.data_synthesis(self,prompt,best_completion,openai_key=self.openai_key, regex = regex, type = type, choices = choices, **kwargs):
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/site-packages/llm_vm/completion/data_synthesis.py", line 42, in data_synthesis
    datapoint = self.generate_example(final_prompt, openai_key, regex = regex, type = type, choices = choices)
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/site-packages/llm_vm/completion/data_synthesis.py", line 97, in generate_example
    response = openai.ChatCompletion.create(messages=cur_prompt,model=model,max_tokens=max_tokens,temperature=temperature)['choices'][0]['message']['content']
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/site-packages/openai/api_resources/chat_completion.py", line 25, in create
    return super().create(*args, **kwargs)
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 149, in create
    ) = cls.__prepare_create_request(
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 106, in __prepare_create_request
    requestor = api_requestor.APIRequestor(
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/site-packages/openai/api_requestor.py", line 138, in __init__
    self.api_key = key or util.default_api_key()
  File "/home/berkay/anaconda3/envs/anarchy/lib/python3.10/site-packages/openai/util.py", line 186, in default_api_key
    raise openai.error.AuthenticationError(
openai.error.AuthenticationError: No API key provided. You can set your API key in code using 'openai.api_key = <API-KEY>', or you can set the environment variable OPENAI_API_KEY=<API-KEY>). If your API key is stored in a file, you can point the openai module at it with 'openai.api_key_path = <PATH>'. You can generate API keys in the OpenAI web interface. See https://platform.openai.com/account/api-keys for details.

I believe this is caused due to the generate_example function here which calls the openai API regardless of the given big_model as it does not have support for other models.
https://github.com/anarchy-ai/LLM-VM/blob/05d771b467970cfd0fa9bd191d409cf2c00ba37a/src/llm_vm/completion/data_synthesis.py#L50-L54

If we replace line 54 with optimizer.big_model.generate() it'll work. @cartazio @VictorOdede can you confirm?
I'll make a PR to fix it!

that looks correct :(

(in that we clearly have a bug there)

alright- will work on a PR for this! could you assign it to me?

opened a PR to fix it #299

update: generating examples for finetuning can't be done using other big models yet since only chatGPT can reliably mimic prompts (for now)- so the previous PR to support all big models was reverted.
https://github.com/anarchy-ai/LLM-VM/pull/299#issuecomment-1769094312


Header row selection not working as expected for table with pagination, groupBy , expansion and row selection

Describe the bug (required)
First of all thank you for this excellent library it has solved all the complex requirements I had.
There is one issue I have run into
If we have a paginated table with groupBy and expansion added plus enabled with Row Selection, the parent (Header) toggle for the checkbox is able to select all the rows of the page but no unselect it.
Also after selection it should show the intermediate state of the table (-) sign on the parent checkbox. However it does not show any indication.
Reproduction of the issue in codesandbox
Here is the codesandbox react-table codesandbox to reproduce the issue.
Steps To Reproduce (required)
Steps to reproduce the behavior:

Go to the above mentions sandbox
Group it by one of the columns "First Name"
Click on the parent checkbox to mark all the rows in the page
There will be no display of state in the parent checkbox (selection)
Now try to uncheck the parent checkbox , it does not work
If there are no grouped columns it works fine.

Expected behavior (Recommended)
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

When go grouping is selected the parent check box works and shows the (-) on selecting one row

Within the grouped and expanded row it works as expected

However if group it by one of the columns , in this case I have selected "First Name". Then we select the Parent checkbox , it selects all the rows in the page and there is no indication of the selection in the parent (like in previous case)  . Now it stops working and you cannot deselect the selected rows.

Desktop (please complete the following information):

OS: Windows 10
Browser : Chrome
Version : Latest

I am facing similar issue...did you get any solution?


Turn on binary UART protobuff commands

Turn on binary UART protobuff commands

Coverage remained the same at ?% when pulling ad105393b7f645efef9b87a791a331029da39531 on TurnOnProtobufBinaryUart into 42a2ac477051ff9da7cf5de8ba48f4b1b0f493df on next.


connection handler: correct the handling of listener update

Signed-off-by: He Jie Xu<EMAIL_ADDRESS>Commit Message: connection handler: correct the handling of listener update
Additional Description:
To balance the IPv4 mapped address request to IPv4-mapped IPv6 address listener, inserting a mapping item into tcp_listener_map_by_address_ using IPv4 mapped address as the key.
There can be a chance to override the mapping with the same key(the IP address key). The override cases are:

a listener using the same IPv4 address with a listener which has the same IPv4 mapped address.
an update of IPv4 mapped address listener.

Currently, the override checks only allow the stopped listener can be overridden.
https://github.com/envoyproxy/envoy/blob/a866dceb91d0ae0d2f1b45f116463bd33d1a9310/source/server/connection_handler_impl.cc#L117-L118
But this will lead to a memory leak when an update happened on an IPv4-mapped IPv6 listener.
When updating a listener, the old listener mapping will be left in the tcp_listener_map_by_address_ since the old listener will be stopped after adding new listener. After draining the old listener, the old listener will be stopped and removed, then the old listener's left mapping item in the tcp_listener_map_by_address_ still reference the old listener resource, which leads to segment fault.
Risk Level: high
Testing: unittest added
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features:
Fixes #22449

cc @mattklein123 @ggreenway

/wait
need double check

This is ready for review

gently ping @mattklein123 @ggreenway since want to include this into v1.22.5 release https://github.com/envoyproxy/envoy/pull/22556


Azure Container App - Ignore template container image changes

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
I am creating a new ContainerApp setting the Template > Container > ContainerArgs > ImageName to a hello world image on the initial creation. After deploying my application via CICD with the actual container image for the application via az containerapp update, I would still like to manage other template setting via Pulumi. However this results in the image being overridden. How can I ignore image changes in subsequence changes to my infrastructure code?

Hi @alhardy I think the feature you're looking for is the IgnoreChanges resource option.

I have applied ignore changes however the latest image name still gets overridden, my diff only shows me the changes however the whole container template seems to get replaced. example:
var conainterApp = new ContainerApp(containerAppName, new ContainerAppArgs
    {
        ResourceGroupName = resourceGroup.Name,
        ContainerAppName = containerAppName,
        ManagedEnvironmentId = containerAppsEnvironment.Id,
        Configuration = new ConfigurationArgs
        {
            Dapr = new DaprArgs
            {
                Enabled = true,
                AppId = containerAppImageName
            },
            Ingress = new IngressArgs
            {
                External = true,
                TargetPort = 80
            },
            Registries =
            {
                new RegistryCredentialsArgs
                {
                    Server = platformGlobalStackOutput.PlaformGlobalContainerRegistryLoginServer,
                    Username = platformGlobalStackOutput.PlatformGlobalContainerRegistryUsername,
                    PasswordSecretRef = "acrpassword"
                }
            },
            Secrets =
            {
                new SecretArgs
                {
                    Name = "acrpassword",
                    Value = platformGlobalStackOutput.PlatformGlobalContainerRegistryUserPassword
                },
                new SecretArgs
                {
                    Name = "appinsights-key",
                    Value = appInsights.InstrumentationKey
                }
            }
        },
        Template = new TemplateArgs
        {
            Containers =
            {
                new ContainerArgs
                {
                    Name = containerAppImageName,
                    Image = containerAppImage.Name,
                    Probes = new[]
                    {
                        new ContainerAppProbeArgs
                        {
                            HttpGet = new ContainerAppProbeHttpGetArgs
                            {
                                Path = "/hc/liveness",
                                Port = 80
                            },
                            InitialDelaySeconds = 3,
                            PeriodSeconds = 5,
                            Type = Type.Liveness
                        }
                    }
                }
            }
        },
        Identity = new ManagedServiceIdentityArgs
        {
            Type = ManagedServiceIdentityType.SystemAssigned
        },
        Tags = commonTags
    }, new CustomResourceOptions { IgnoreChanges = new List<string> { "template.containers[0].image" } });

When I can for example "PeriodSeconds" to another value the image name in the state overrides the last image deployed

Is there a way to pull the image name from the latest revision and set this if it exists to avoid the override or is there another way around it?

Thanks @danielrbradley.
I could perform the update of the image via pulumi in my CD pipeline. Is it possible to pass arguments to pulumi up? I can't find anything in the docs. If so I can build/test the image then pass the image name to pulumi cli


feat(views): Update addView() to disallow named views that select more than one instrument.

Which problem is this PR solving?
This PR simplifies the the public API for MeterProvider.addView() as mentioned in #2592 and makes addView() adhere to the following spec statement:

In order to avoid conflicts, views which specify a name SHOULD have an instrument selector that selects at most one instrument.

Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

[x] Unit tests

Checklist:

[ ] Followed the style guidelines of this project
[x] Unit tests have been added
[ ] Documentation has been updated

In case you missed it: this PR is still marked as WIP. You need to click the button "Ready for review" to gather attention from other approvers.


Como resolver problema de detecção da extensão Flutter e Dart no Android Studio pelo comando flutter doctor

Olá estou tentando usar o Flutter e Dart com o Android Studio, porém quando executo o comando flutter doctor, não detecta a extensão do Flutter e Dart no Android Studio

[Versão do Android Studio = 4.1.2]
[Versão da extensão Flutter no Android Studio = 53.1.1]
[Versão da extensão Dart no Android Studio = 201.9317]

> flutter --version
Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9b2d32b605 (5 weeks ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5
> dart --version
Dart SDK version: 2.10.5 (stable) (Tue Jan 19 13:05:37 2021 +0100) on "windows_x64"
> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [versÃ£o 10.0.19042.804], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.53.2)
[√] Connected device (1 available)
! Doctor found issues in 1 category.

Seems like there is a problem with the Android Studio installation you may want to run flutter doctor --verbose to get more details about the problem.

possible duplicate of https://github.com/flutter/flutter/issues/67986
please note this answer

Here's the original issue which was fixed and merged.
Even though it says plugins not installed, they are just warnings, but you may continue to use those as usual in your project.
#67986 (comment)
#67986 (comment)
You want check by switching to latest master version and see if this is fixed.
Closing this as invalid.

flutter doctor --verbose

godofredoc
>flutter doctor --verbose
[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [versÃ£o 10.0.19042.804], locale pt-BR)
• Flutter version 1.22.6 at C:\src\flutter
• Framework revision 9b2d32b605 (5 weeks ago), 2021-01-22 14:36:39 -0800
• Engine revision 2f0af37152
• Dart version 2.10.5
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Luciano\AppData\Local\Android\sdk
• Platform android-S, build-tools 30.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.53.2)
• VS Code at C:\Users\Luciano\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.19.0
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.


Can't open files owned by root

I'm on Linux Debian 8, Atom v0.174.0. When I try to open a file (/etc/hosts) that is owned by root, either by

file-menu->open file
pressing Ctrl-O, navigating to the file and double-click it
dragging a file onto the atom window
typing atom <file> from a command line

I get an error notification saying Permission denied: <file>, even though the file has permissions 644, so reading is permitted for everyone. No messages in the console
Then I tried to sudo atom <file>, expecting a new atom window would open with root permissions, with also the file opened, but instead atom tried to open the file in the atom window that was already open (without root permissions), and I got the same error.
So then I tried just sudo atom, expecting again that a new window with root permissions would open, only to find out that it opened a new window without root permissions. This does work, however, when no other atom window is already open.
This means that when I just want to read a file owned by root, I have to shut down all other atom windows, then open up another window with root permissions and open the file. Now I'm risking saving edits to a file I just want to read.

This will be fixed in 0.175.0 thanks to https://github.com/atom/atom/pull/5114. It should be out soon, feel free to reopen this issue if the issue persists.

Great! Thanks for the link


Nullable fields which are not marked as null

I've found some nullable fields which are not marked as null, I've tried to make a PR but I found the "non monorepo" monorepo style really confusing. I couldn't get it to use my changes. I think something like pnpm workspaces would work better here?
Nullable Fields:

country_at in Player Info
player_locale in Player Info
roundDamage in Match Details
sessionPlaytimeMinutes in Match Details
abilityCasts in Match Details
playerEconomies  in Match Details
playerScores in Match Details

Thanks for the info 👍
Right now, I'm just using the types library version on npm for building the web docs instead of the local version.
If you have the local version built, it should be as easy as uninstalling the version from npm and running an npm install with the path to the local version.
Honestly, I think I just did this to make CI simpler, it could go either way.
Does the pnpm workspace make handling things simpler than a local npm package? I'm not sure I understand.

Oh also I don't even test the web version of things locally lmao. I just sorta trust that it works and fix it if it breaks in "prod" (hasn't yet 🤞).

Does the pnpm workspace make handling things simpler than a local npm package? I'm not sure I understand.
pnpm workspaces are made to solve this problem. Yarn and npm offer similar things but i've found the pnpm version to easiest to work with.
You are able to have multiple npm projects in a single repo and can use local changes without needing to publish them. I can make a PR if you want to try that out.

Does a npm installation from the filesystem do the same thing or have any downsides compared to the pnpm workspace? And does the pnpm workspace have a "vanilla" downgrade like how you can still use npm in pnpm repos?

you must use pnpm in a pnpm workspace to function correctly. But you can install pnpm easily on Node 16+ with corepack enable.
By default pnpm is a bit different, it symlinks to save storage and only symlinks direct dependencies to avoid using transitive dependencies, but that can be changed with a flag.

Ah I see. In that case, I think it would be best to stick with the npm setup for now, but I appreciate the info, thank you 👍


Ability to disable flag button

Hi @grifas ! Love this project!
In my current app, I'd like to freeze the flag to the US one.
I took a look at the code (PhoneNumberTextField.swift) and figured out that the flag button's user interaction needs to be disabled for this task.
So basically, I'll have to change
private var flagButton: UIButton!

to
public var flagButton: UIButton!

or
create a method to update the button's characteristics.
Which approach do you recommend, and is it alright if I submit a PR with this enhancement?

Hi @akilanarasu1994 thanks to use this lib :)
I think to pass the flagButton to public like this people can customize it as they want. It will be a part of improvements in the coming days.

Hi @grifas , I've already made this customization. Since I didn't want to disturb the project, I created a private pod. The changes work perfectly!
I'll make the changes in my fork and create a PR. Is that alright?

Yes it is ;)


VitalSigns update to allow graph population in the UI

Also some merge clean-up from my fork in other files.

Merged into master already.


Hmmer and Prodigal Package Access Problem

Anacaonda3
Python 3.7
Windows 10
In the process of installing deepBGC get an error message  that the package can't be installed because hmmer and Prodigal are not accessible.    Any clarification and guidance much appreciated

I have this issue as well :(