JavaScript heap out of memory

Describe the bug
Trying to get relations with tables, for a show view I selected a child view (1-many relation), but instead it selected itself and tried to  embed it and threw:
2023-04-11T06:52:26.535241605Z Saltcorn listening on http://localhost:3000/

2023-04-11T06:53:01.508589065Z

2023-04-11T06:53:01.509404175Z <--- Last few GCs --->

2023-04-11T06:53:01.509415697Z

2023-04-11T06:53:01.509420065Z [420:0x51cc270]  3361487 ms: Mark-sweep (reduce) 2045.0 (2083.1) -> 2044.5 (2083.3) MB, 4224.0 / 6.7 ms  (average mu = 0.283, current mu = 0.001) allocation failure scavenge might not succeed

2023-04-11T06:53:01.509424654Z [420:0x51cc270]  3365621 ms: Mark-sweep (reduce) 2045.7 (2083.3) -> 2045.0 (2083.8) MB, 4123.5 / 0.9 ms  (average mu = 0.162, current mu = 0.003) allocation failure scavenge might not succeed

2023-04-11T06:53:01.509429001Z

2023-04-11T06:53:01.509432508Z

2023-04-11T06:53:01.509435964Z <--- JS stacktrace --->

2023-04-11T06:53:01.509439701Z

2023-04-11T06:53:01.509443268Z FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

2023-04-11T06:53:01.537662176Z  1: 0xb00e10 node::Abort() [/usr/local/bin/node]

2023-04-11T06:53:01.537706448Z  2: 0xa1823b node::FatalError(char const*, char const*) [/usr/local/bin/node]

2023-04-11T06:53:01.537711026Z  3: 0xcee09e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]

2023-04-11T06:53:01.537742454Z  4: 0xcee417 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]

2023-04-11T06:53:01.540180340Z  5: 0xea65d5  [/usr/local/bin/node]

2023-04-11T06:53:01.540219473Z  6: 0xeb5cad v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]

2023-04-11T06:53:01.540223871Z  7: 0xeb89ae v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node]

2023-04-11T06:53:01.540227277Z  8: 0xe79dda v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/local/bin/node]

2023-04-11T06:53:01.540230794Z  9: 0x11f33d6 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]

2023-04-11T06:53:01.540234030Z 10: 0x15e7cf9  [/usr/local/bin/node]

2023-04-11T06:53:20.180109627Z worker 420 died

2023-04-11T06:53:28.076177517Z (node:604) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

2023-04-11T06:53:28.076227189Z

2023-04-11T06:53:28.076231818Z Please migrate your code to use AWS SDK for JavaScript (v3).

2023-04-11T06:53:28.076235433Z For more information, check the migration guide at https://a.co/7PzMCcy

2023-04-11T06:53:28.076238820Z (Use `node --trace-warnings ...` to show where the warning was created)

2023-04-11T06:53:28.480602586Z Saltcorn listening on http://localhost:3000/

... multiple times
To Reproduce
Steps to reproduce the behavior:

field of table A = key to table B
Show of table A embeds show view of table B, but is automatically replaced by show of table A (itself) and embed view disappears, only F5 shows it replaced with itself
spins out of control (spinning network, no working link)
wait for server to restart and escape from this downward spiral as fast as possible (configuring views has auto-save, auto-crash in this case)
See error in server logs

Expected behavior
Prevent self-embedding
Being able to embed child view with relationship
Extra mile:
In Saltcorn, how to view events from groups of which you are a participant, in this setup?:

@j2l Hi As answer to "extra mile" question - please refer to Room Views for Messages.

This is embeded into Saltcorn and looks simular to what you want.

View Pattern will be Room

Thanks but I'm speaking about EVENTS (another table) related to a room.

@j2l  In any case You can use SQL view. https://github.com/saltcorn/sql-list

Thank you @AleksandrSokolov


Raise require nim version of checksums to 2.0?

Heyho, the nimble version of this package currently states: requires "nim >= 1.6.12"
Is this actually correct?
Mostly asking because the following does not compile:
import checksums/bcrypt
import std/sysrand

proc hash(pw: string): string =
  let salt = urandom(16)
  let hash = bcrypt(pw, generateSalt(12))
  return $hash

echo hash("lala")

/home/philipp/.nimble/pkgs2/checksums-0.1.0-5da023bd508223aa026ccd5fc3a75177f111226b/checksums/bcrypt.nim(464, 47) Error: expression has no address; maybe use 'unsafeAddr'

Which makes me assume it's not covered by the test suite, thus making me assume 1.6.12 may not actually be supported :smile:

Make sense


Add strain exercise

The exemplar is longer than it needs to be, though it took me a while to see how to improve it (too much Julia going on in my old, tired head recently). Suggested alternative:
keep <- function(input, fun) {
  if (is.null(input)) return(c())
  input[sapply(input, fun)]
}

I kind of feel there should be a one-liner using ifelse, but that struggles with a NULL on one branch and a vector on the other.

After writing my previous comment, I realized there is no need to test for null input. Only the input[sapply(input, fun)] is needed, so it is a one-liner.

@colinleach That is really cool, but it goed against the instructions:

Keep your hands off that filter/reject/whatchamacallit functionality provided by your standard library!
Solve this one yourself using other basic tools instead.


Cannot download/sync folders

Trying to download or sync the folders manually has no effect with no error on the output. I tried it on 2 different computers one with Windows 8.1 and another with Windows 10 Pro using VSCode Insiders 1.33. The SFTP icon on VSC task bar keeps "spinning" indefinetely
The logs arent conclusive at all:
[info] config at d:\Projects\airports {"remotePath":"Web/airports/","uploadOnSave":true,"downloadOnOpen":false,"ignore":[],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"remoteTimeOffsetInHours":0,"name":"NAS","host":"****.***.**","port":*****,"username":"******","password":"******"}
[warn] ENOENT: no such file or directory, open 'C:\Users\ff_be\.ssh\config' load C:\Users\ff_be\.ssh\config failed

Syncing on save works but trying to download into an empty folder only creates all the folders of the project but with no contents. Then a ping message popsup in logs from time to time but nothing else.

Extension Logs from Startup - required

Open User Settings.

On Windows/Linux - File > Preferences > Settings
On macOS - Code > Preferences > Settings

Set sftp.debug to true and reload vscode.

Reproduce the problem, get the logs from View > Output > sftp.

Hello,
I had already activated the debug logs. Nothing shows there. Here is another output I just got after I tried to sync remote to local:
[debug] register command "Cancel All Transfer" from "./commandCancelAllTransfer.ts"
[debug] register command "Config" from "./commandConfig.ts"
[debug] register command "List Active Folder" from "./commandListActiveFolder.ts"
[debug] register command "Open Ssh Connection" from "./commandOpenSshConnection.ts"
[debug] register command "Set Profile" from "./commandSetProfile.ts"
[debug] register command "Toggle Output Panel" from "./commandToggleOutputPanel.ts"
[debug] register command "Upload Changed Files" from "./commandUploadChangedFiles.ts"
[debug] register command "Delete Remote" from "./fileCommandDeleteRemote.ts"
[debug] register command "Diff" from "./fileCommandDiff.ts"
[debug] register command "Diff Active File" from "./fileCommandDiffActiveFile.ts"
[debug] register command "Download" from "./fileCommandDownload.ts"
[debug] register command "Download Active File" from "./fileCommandDownloadActiveFile.ts"
[debug] register command "Download Active Folder" from "./fileCommandDownloadActiveFolder.ts"
[debug] register command "Download File" from "./fileCommandDownloadFile.ts"
[debug] register command "Download Folder" from "./fileCommandDownloadFolder.ts"
[debug] register command "Download Force" from "./fileCommandDownloadForce.ts"
[debug] register command "Download Project" from "./fileCommandDownloadProject.ts"
[debug] register command "Edit In Local" from "./fileCommandEditInLocal.ts"
[debug] register command "List" from "./fileCommandList.ts"
[debug] register command "List All" from "./fileCommandListAll.ts"
[debug] register command "Reveal In Explorer" from "./fileCommandRevealInExplorer.ts"
[debug] register command "Reveal In Remote Explorer" from "./fileCommandRevealInRemoteExplorer.ts"
[debug] register command "Sync Both Directions" from "./fileCommandSyncBothDirections.ts"
[debug] register command "Sync Local To Remote" from "./fileCommandSyncLocalToRemote.ts"
[debug] register command "Sync Remote To Local" from "./fileCommandSyncRemoteToLocal.ts"
[debug] register command "Upload" from "./fileCommandUpload.ts"
[debug] register command "Upload Active File" from "./fileCommandUploadActiveFile.ts"
[debug] register command "Upload Active Folder" from "./fileCommandUploadActiveFolder.ts"
[debug] register command "Upload File" from "./fileCommandUploadFile.ts"
[debug] register command "Upload Folder" from "./fileCommandUploadFolder.ts"
[debug] register command "Upload Force" from "./fileCommandUploadForce.ts"
[debug] register command "Upload Project" from "./fileCommandUploadProject.ts"
[info] config at c:\Projects\airports {"remotePath":"Web/airports","uploadOnSave":true,"downloadOnOpen":false,"ignore":[".vscode",".gitattributes",".DS_Store",".gitignore",".editorconfig",".env",".env.example"],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"remoteTimeOffsetInHours":0,"name":"NAS","host":"ftp.dimitris.in","port":65432,"username":"******","password":"******","context":"C:\\Projects\\airports"}
[trace] run command 'Sync Remote To Local'
[warn] ENOENT: no such file or directory, open 'C:\Users\DIKA706\.ssh\config' load C:\Users\DIKA706\.ssh\config failed
[trace] handle sync for c:\Projects\airports
[debug] Local ident: 'SSH-2.0-ssh2js0.3.1'
[debug] Client: Trying ftp.dimitris.in on port 65432 ...
[debug] Client: Connected
[debug] Remote ident: 'SSH-2.0-OpenSSH_7.4'
[debug] Outgoing: Writing KEXINIT
[debug] DEBUG: Comparing KEXINITs ...
[debug] (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
[debug] (remote) KEX algorithms: curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
[debug] KEX algorithm: ecdh-sha2-nistp256
[debug] (local) Host key formats: ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
[debug] (remote) Host key formats: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
[debug] Host key format: ssh-rsa
[debug] (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm<EMAIL_ADDRESS>[debug] (remote) Client->Server ciphers: aes128-ctr,aes128-gcm@openssh.com,aes192-ctr,aes256-ctr,aes256-gcm<EMAIL_ADDRESS>[debug] Client->Server Cipher: aes128-ctr
[debug] (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm<EMAIL_ADDRESS>[debug] (remote) Server->Client ciphers: aes128-ctr,aes128-gcm@openssh.com,aes192-ctr,aes256-ctr,aes256-gcm<EMAIL_ADDRESS>[debug] Server->Client Cipher: aes128-ctr
[debug] (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
[debug] (remote) Client->Server HMAC algorithms: hmac-sha1,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-512-etm@openssh.com,umac-128-etm@openssh.com,umac-128@openssh.com,umac-64-etm<EMAIL_ADDRESS>[debug] Client->Server HMAC algorithm: hmac-sha2-256
[debug] (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
[debug] (remote) Server->Client HMAC algorithms: hmac-sha1,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-512-etm@openssh.com,umac-128-etm@openssh.com,umac-128@openssh.com,umac-64-etm<EMAIL_ADDRESS>[debug] Server->Client HMAC algorithm: hmac-sha2-256
[debug] (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib
[debug] (remote) Client->Server compression algorithms<EMAIL_ADDRESS>[debug] Client->Server compression algorithm: none
[debug] (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib
[debug] (remote) Server->Client compression algorithms<EMAIL_ADDRESS>[debug] Server->Client compression algorithm: none
[debug] Outgoing: Writing KEXECDH_INIT
[debug] DEBUG: Checking host key format
[debug] DEBUG: Checking signature format
[debug] DEBUG: Verifying host fingerprint
[debug] DEBUG: Host accepted by default (no verification)
[debug] DEBUG: Verifying signature
[debug] Outgoing: Writing NEWKEYS
[debug] Outgoing: Writing SERVICE_REQUEST (ssh-userauth)
[debug] Outgoing: Writing USERAUTH_REQUEST (none)
[debug] Client: none auth failed
[debug] Outgoing: Writing USERAUTH_REQUEST (password)
[debug] Outgoing: Writing CHANNEL_OPEN (0, session)
[debug] Outgoing: Writing CHANNEL_REQUEST (0, subsystem: sftp)
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing READDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing READDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing CLOSE
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing OPENDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing READDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing READDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing READDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing READDIR
[debug] Outgoing: Writing CHANNEL_DATA (0)
[debug] Outgoing: Writing ping (GLOBAL_REQUEST<EMAIL_ADDRESS>

Your local is empty. Use download not sync.

Hi,
do you mean to run SFTP: Download Project?
The result is the same anyway

Try using an absolute path in remotePath.


How to approach hero headings on department pages

@gregoryspragginsjr Talked to Andrew about this. The best option for us would be to use everything as is, but just swap the h1 and h2. We think it would be best for the page title, the top small text to be the H1 (styled the same), and the larger text to be the H2.
Let me know if this is doable. If not, we can talk internally about other options.

@bwaltz Okay, this change has been applied via a few commits, including the following: https://github.com/ColbyCommunications/colby-college-theme/commit/957fe8a423a822109c5bc558472610955bc9204e
Please be advised, this move affects both the standard hero component (featured on most pages and posts) as well as the overlay-hero (featured on the People page and a few other places).
Please verify and close when ready.

@gregoryspragginsjr, this works everywhere BUT post pages. On post pages, we really need the post title to be the H1.
https://master-7rqtwti-ouiqvb5juucvu.us-4.platformsh.site/art/plesch-presents-paper-at-international-conference-on-british-artist-tom-phillips/
Sorry if this causes some headaches. It seems on most other pages the page name is going into that spot, but on post pages we're using the date there instead.
Not sure if we need to create a new hero element just for posts.

@bwaltz no worries! I see what you're referring to and have pushed a commit to facilitate posts better at: https://github.com/ColbyCommunications/colby-college-theme/commit/5a2d33c6680db398f534b75423ee38828b8a5be7
The second heading on posts will now be marked as the h1 whereas everywhere else, they will be h2


Refactor requeue logic and logging format

For state handling, we agreed to only keep requeueAfter for consistency check to reduce the requests to apiServer, but for other case, relay on rateLimiter to control frequency.
In this issue, I also modified zap logging setting to apply with kyma Consistent Logging

/test pull-tests

/test pull-tests

closed because all changes included in #167


Fix input field for creating a new sender profile

For https://www.userinterviews.com/teams/domain-settings , on this modal:

The type ahead behavior is awful--after selecting an existing email, the user can type over that email to change it. However, the cursor stays at the beginning of the input and it's not clear that you don't need to erase the previous email before filling it in. We should have the cursor appear at the end of the email and allow the user to delete that email to enter a new one.

@fausgaitan @jojolee1996 for visibility if you both have opinions on better behavior with this specific input field


How to share Environment Variables (eg: python venv) between recipes?

How to share Environment Variables (eg: python venv) between recipes?
# create venv
venv:
  #!/usr/bin/env bash
  [ ! -f 'venv' ]&& python -m venv venv
  source venv/bin/activate

# install dependencies.
dev: venv
  #!/usr/bin/env bash
  which python
  pip install -r requirements.txt

There is no good way to share environment variables between recipes.
Instead of sourcing the venv, can you run the venv binaries directly?
venv:
  [ ! -f 'venv' ]&& python -m venv venv

dev: venv
  venv/bin/pip install -r requirements.txt

Or can you add venv/bin to your path?
export PATH = "venv/bin:" + env_var("PATH")

venv:
  [ ! -f 'venv' ]&& python -m venv venv

dev: venv
  pip install -r requirements.txt

I haven't used python virtual environments much, so I'm not sure if either of these approaches work.

Thanks, it should work.

@mokeyish Which solution do you think is best, adding venv/bin to PATH, or executing the binaries in it directly? This specific question comes up a lot, so I'd like to add the best solution to the readme.

I think the second solution is better, It's simple than the first one.
Will you add  feature share Environment Variables to just?

I think the second solution is better, It's simple than the first one.

Thanks, I'll note it in the readme.

Will you add feature share Environment Variables to just?

Unfortunately I don't think there's a reasonable way to implement it. If someone comes up with a good strategy for implementing it, I'd definitely consider it.

Unfortunately I don't think there's a reasonable way to implement it. If someone comes up with a good strategy for implementing it, I'd definitely consider it.

Generate all command in recipes into a bash srcipt dynamiclly？
subprocess?

Do you think?


Using CupertinoTabView makes CupertinoThemeData.scaffoldBackgroundColor darker

Steps to Reproduce
Using latest stable 3.0.3 In a 100% pure CupertinoApp with tabs, the usage of a CupertinoTabView makes CupertinoThemeData.scaffoldBackgroundColor darker than expected.
Expected results: I expect to have the same scaffoldBackgroundColor defined in the CupertinoApp.theme property. In other words, I expect that the usage of a CupertinoTabView does not change the background color; instead it just add features like navigation et all.
Actual results: When a CupertinoTabView is placed, the background color shown is darker than the actual one. For example, if I use CupertinoColors.white color, the background is grey.
https://user-images.githubusercontent.com/4610108/176829408-bb8571b1-25a9-4f1f-a0e4-a92ef3366155.mp4
Workarround: You need to add an extra Container using desired background color:
CupertinoTabView(
  defaultTitle: "Title",
  builder: (context) {
    return Container(
        // Place here your desired color
        color: CupertinoColors.white,
        child: const TabContentsWidget());
  });

Code demo
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const DemoBugCupertinoTabView());
}

class DemoBugCupertinoTabView extends StatelessWidget {
  const DemoBugCupertinoTabView({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
        theme: CupertinoThemeData(
          brightness: Brightness.light,
          primaryColor: CupertinoColors.destructiveRed,
          primaryContrastingColor: CupertinoColors.white,
          scaffoldBackgroundColor: CupertinoColors.white,
          barBackgroundColor: CupertinoColors.white.withOpacity(0.4),
        ),
        builder: (context, x) => CupertinoTabScaffold(
            tabBar: CupertinoTabBar(
              items: const [
                BottomNavigationBarItem(
                  icon: Icon(CupertinoIcons.home),
                  label: 'Demo',
                ),
                BottomNavigationBarItem(
                  icon: Icon(CupertinoIcons.home),
                  label: 'Other Demo',
                ),
              ],
            ),
            tabBuilder: (context, index) => Home()));
  }
}

class Home extends StatefulWidget {
  const Home({Key? key}) : super(key: key);

  @override
  State<Home> createState() => _HomeState();
}

class _HomeState extends State<Home> {
  bool useTabView = false;

  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Column(
        children: [
          CupertinoButton(
              child: const Text("Toggle"),
              onPressed: () => setState(() => useTabView = !useTabView)),
          Expanded(
              child: useTabView
                  ? CupertinoTabView(
                      builder: (context) =>
                          const Center(child: Text("With Tabview")))
                  : const Center(child: Text("Without Tabview")))
        ],
      ),
    );
  }
}

Logs
% flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.3, on macOS 12.4 21F79 darwin-arm (Rosetta), locale es-ES)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.68.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Hi @henry2man, this issue is due to the underlying CupertinoPageRoute that the CupertinoTabView uses.
This issue has been reported and is being tracked in https://github.com/flutter/flutter/issues/105738.
Kindly follow up in the linked issue for updates.
Closing from here as duplicate.
Thank you

This issue has been reported and is being tracked in #105738.

@danagbemava-nc Thanks, I tried to find this one but I didn't found anything related with CupertinoTabView.

Oh wow, I just ran into this, too! spent about an hour debugging what's going on, found this issue :)


[AIRFLOW-523] Add AltX as Airflow user

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

AIRFLOW-523

Testing Done:

Tests passing in Travis CI

Travis CI is passing on my fork.  Looks like a test flakiness issue here.


chatMember method not exist

get error when call chatMember method :
When I try this:
$chat =  TelegraphChat::where('chat_id', '-1001917277777')->first();
$chat->chatMember('367389764')->send();

I get this error:
local.ERROR: Call to undefined method DefStudio\Telegraph\Models\TelegraphChat::chatMember()

Hi , you can now use the memberInfo() method


'stopRecordingWithHandler:', dropping incoming message and calling failure block.

File is unable to be retrieved in ios > 11.0 and shows following error :
Exception caught during decoding of received reply to message 'stopRecordingWithHandler:', dropping incoming message and calling failure block.
Exception: *** -[AVAssetWriter finishWritingWithCompletionHandler:] Cannot call method when status is 0

Ha I have indeed not checked with iOS > 11.0, did you get a chance to investigate? I will do that as soon as possible 👌

I think this library is not working in iOS 12.
Waiting updated version.

any update?

Any Update on this ?


Strange behaviour, maybe an error when using peek on Android 5.1.1

The following code runs fine on newer Android versions. However, I've encountered an issue on Android 5.1.1.
After an HTTP request is returned, attempting to use peek to retrieve either the data or an error response results in unexpected behavior.
My request looks like this:
public Either<Failure, Authenticated> executeRequest(Params params) {
// return Failure or Authenticated
}

I expect the result to be received in my view model. Here's a simplified example of the expected behavior:
myUseCase.execute(signIn).peek(
   failure -> {},
   result -> {}
);

Neither the failure nor the success callback is triggered in the view model. However, I observed the following log message:
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda0>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda0>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda1>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda1>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda2>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda2>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.Function1>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.Function1>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.PartialFunction>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.PartialFunction>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Seq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Seq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.IndexedSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.IndexedSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Vector>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Vector>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.IndexedSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Array>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Array>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Array>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.IndexedSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.CharSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.CharSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.CharSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.PartialFunction>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Seq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.LinearSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.LinearSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.List>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.List>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.List>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.LinearSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Queue>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Queue>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Queue>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.LinearSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Stream>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Stream>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Stream>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.List>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.List>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Vector>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Vector>
Rejecting re-init on previously-failed class java.lang.Class<com.mypackage.myapp.fragments.LoginFragmentViewModel$$ExternalSyntheticLambda1>

If I rewrite this using the following, it works:
Either<Failure, Authenticated> result = myUseCase.execute(signIn);

if(result.isLeft()) {
   Failure failure = result.getLeft();
} else {
   Authenticated authenticated = result.get();
}

This is caused by some Android-specific internal lambda expression handling, but it's impossible to debug without full stacktraces. Can you attach those as well?

I don't think I will be able to, as no error is occurring. I wait for a minute or two, then I stop the app. This is the complete log generated by the emulator. This is not that bad because Android 5.1 pratically dead, but in a corporate enviroment some devices live a long time.
/data/app/vmdl1845847888.tmp already staged; skipping copy
Unknown element under <manifest>: queries at /data/app/vmdl1845847888.tmp/base.apk Binary XML file line #19
Renaming /data/app/vmdl1845847888.tmp to /data/app/com.mydomain.myapp.debug-2
Force stopping com.mydomain.myapp.debug appid=10047 user=-1: uninstall pkg
Package com.mydomain.myapp.debug codePath changed from /data/app/com.mydomain.myapp.debug-1 to /data/app/com.mydomain.myapp.debug-2; Retaining data and using new
Package com.mydomain.myapp.debug desires unavailable shared library androidx.camera.extensions.impl; ignoring!
Package com.mydomain.myapp.debug desires unavailable shared library androidx.window.extensions; ignoring!
Package com.mydomain.myapp.debug desires unavailable shared library androidx.window.sidecar; ignoring!
Running dexopt on: /data/app/com.mydomain.myapp.debug-2/base.apk pkg=com.mydomain.myapp.debug isa=arm64 vmSafeMode=false
Error opening trace file: Permission denied (13)
/system/bin/dex2oat --zip-fd=6 --zip-location=/data/app/com.mydomain.myapp.debug-2/base.apk --oat-fd=7 --oat-location=/data/dalvik-cache/arm64/data@app@com.mydomain.myapp.debug-2<EMAIL_ADDRESS>--instruction-set=arm64 --instruction-set-features=default --runtime-arg -Xms64m --runtime-arg -Xmx512m --swap-fd=12
Accepted running with swap.
Before Android 4.1, method int androidx.appcompat.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
Before Android 4.1, method int androidx.appcompat.widget.MenuPopupWindow$MenuDropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
Before Android 4.1, method android.graphics.drawable.Drawable com.google.android.material.progressindicator.BaseProgressIndicator.getCurrentDrawable() would have incorrectly overridden the package-private method in android.widget.ProgressBar
dex2oat took 4.774s (threads: 4) arena alloc=1226KB java alloc=48MB native alloc=22MB free=25MB swap=64MB
Force stopping com.mydomain.myapp.debug appid=10047 user=-1: update pkg
Code path for pkg : com.mydomain.myapp.debug changing from /data/app/com.mydomain.myapp.debug-1 to /data/app/com.mydomain.myapp.debug-2
Resource path for pkg : com.mydomain.myapp.debug changing from /data/app/com.mydomain.myapp.debug-1 to /data/app/com.mydomain.myapp.debug-2
Force stopping com.mydomain.myapp.debug appid=10047 user=0: pkg removed
Explicit concurrent mark sweep GC freed 3304(224KB) AllocSpace objects, 36(1496KB) LOS objects, 39% free, 5MB/8MB, paused 333us total 15.692ms
Receieved: android.intent.action.PACKAGE_REMOVED
Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.mydomain.myapp.debug flg=0x4000010 (has extras) }
Reconfiguring input devices.  changes=0x00000010
Reconfiguring input devices.  changes=0x00000010
Start proc 2582:com.android.keychain/1000 for broadcast com.android.keychain/.KeyChainBroadcastReceiver
Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.
Explicit concurrent mark sweep GC freed 10764(1029KB) AllocSpace objects, 2(5MB) LOS objects, 39% free, 4MB/7MB, paused 213us total 52.999ms
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:com.mydomain.myapp.debug flg=0x4000010 (has extras) }
Removing schedule queue dupe of com.mydomain.myapp.debug
Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1692 android.content.ContextWrapper.startService:516 android.content.ContextWrapper.startService:516 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:2609
Explicit concurrent mark sweep GC freed 69751(3MB) AllocSpace objects, 6(880KB) LOS objects, 33% free, 7MB/11MB, paused 357us total 59.620ms
no available voice recognition services found for user 0
System.exit called, status: 0
VM exiting with result code 0.
>>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
CheckJNI is OFF
Error opening trace file: No such file or directory (2)
Couldn't load memtrack module (No such file or directory)
failed to load memtrack module: -2
Calling main entry com.android.commands.am.Am
Shutting down VM
>>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
CheckJNI is OFF
Error opening trace file: No such file or directory (2)
Couldn't load memtrack module (No such file or directory)
failed to load memtrack module: -2
Calling main entry com.android.commands.am.Am
Force stopping com.mydomain.myapp.debug appid=10047 user=-1: set debug app
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity} from uid 0 on display 0
addAppToken: AppWindowToken{9fc455c token=Token{282677cf ActivityRecord{2a36f02e u0 com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity t9}}} to stack=1 task=9 at 0
Shutting down VM
Adding window Window{b2391c7 u0 Starting com.mydomain.myapp.debug} at 2 of 8 (after Window{1c6d5ca3 u0 com.android.launcher/com.android.launcher2.Launcher})
Start proc 2632:com.mydomain.myapp.debug/u0a47 for activity com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity
Late-enabling -Xcheck:jni
eglMakeCurrent: 0x7c13d5b060: ver 3 0 (tinfo 0x7c13d6c800)
Application com.mydomain.myapp.debug is waiting for the debugger on port 8100...
Sending WAIT chunk
gralloc_alloc: Creating ashmem region of size 3686400
Validating map...
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
Initialized EGL, version 1.4
eglCreateContext: 0x7c13cfc740: maj 3 min 0 rcv 3
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13cfc740: ver 3 0 (tinfo 0x7c13c99cc0)
glUtilsParamSize: unknow param 0x00008cdf
glUtilsParamSize: unknow param 0x00008824
eglMakeCurrent: 0x7c13cfc740: ver 3 0 (tinfo 0x7c13c99cc0)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
-----------------
Debugger is active
Debugger has connected
waiting for debugger to settle...
waiting for debugger to settle...
waiting for debugger to settle...
waiting for debugger to settle...
waiting for debugger to settle...
waiting for debugger to settle...
waiting for debugger to settle...
waiting for debugger to settle...
waiting for debugger to settle...
debugger has settled (1369)
eglMakeCurrent: 0x7c13cfc740: ver 3 0 (tinfo 0x7c13c99cc0)
Checking for metadata for AppLocalesMetadataHolderService : Service not found
Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
Before Android 4.1, method android.graphics.drawable.Drawable com.google.android.material.progressindicator.BaseProgressIndicator.getCurrentDrawable() would have incorrectly overridden the package-private method in android.widget.ProgressBar
Rejecting re-init on previously-failed class java.lang.Class<androidx.vectordrawable.graphics.drawable.Animatable2Compat$AnimationCallback$1>
Rejecting re-init on previously-failed class java.lang.Class<androidx.vectordrawable.graphics.drawable.Animatable2Compat$AnimationCallback$1>
Background sticky concurrent mark sweep GC freed 2758(221KB) AllocSpace objects, 0(0B) LOS objects, 5% free, 4MB/4MB, paused 5.525ms total 20.807ms
Suspending all threads took: 5.712ms
Background partial concurrent mark sweep GC freed 1046(104KB) AllocSpace objects, 2(40KB) LOS objects, 39% free, 4MB/6MB, paused 15.611ms total 110.459ms
removeObsoleteFile: deleting file=8_task.xml
removeObsoleteFile: deleting file=8_task_thumbnail.png
Setting the fragment as the LifecycleOwner might cause memory leaks because views lives shorter than the Fragment. Consider using Fragment's view lifecycle
Rejecting re-init on previously-failed class java.lang.Class<com.mydomain.myapp.fragments.LoginFragmentViewModel$$ExternalSyntheticLambda1>
Rejecting re-init on previously-failed class java.lang.Class<com.mydomain.myapp.fragments.LoginFragmentViewModel$$ExternalSyntheticLambda1>
Use EGL_SWAP_BEHAVIOR_PRESERVED: true
HostConnection::get() New Host Connection established 0x7c13cee3c0, tid 2632
Validating map...
Adding window Window{73d7fa7 u0 com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity} at 2 of 9 (before Window{b2391c7 u0 Starting com.mydomain.myapp.debug})
HostConnection::get() New Host Connection established 0x7c13cee890, tid 2658
Initialized EGL, version 1.4
Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
eglCreateContext: 0x7c13caed80: maj 3 min 0 rcv 3
eglMakeCurrent: 0x7c13caed80: ver 3 0 (tinfo 0x7c13ef4620)
glUtilsParamSize: unknow param 0x00008cdf
glUtilsParamSize: unknow param 0x00008824
Enabling debug mode 0
eglMakeCurrent: 0x7c13caed80: ver 3 0 (tinfo 0x7c13ef4620)
Displayed com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity: +3s733ms
Starting input. Cursor position = -1,-1
Unable to connect to the editor to retrieve text.
Will try to retrieve text later.
InputType.TYPE_NULL is specified
Starting input. Cursor position = 0,0
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c168c6840: ver 3 0 (tinfo 0x7c168cc0e0)
Killing 1636:com.android.printspooler/u0a39 (adj 15): empty #17
Debugger is no longer active
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
AUDIO_OUTPUT_FLAG_FAST denied by client
Starting input. Cursor position = 0,0
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
AUDIO_OUTPUT_FLAG_FAST denied by client
eglMakeCurrent: 0x7c168c6840: ver 3 0 (tinfo 0x7c168cc0e0)
AUDIO_OUTPUT_FLAG_FAST denied by client
--> POST https://serverdev.mydomain.net.br/pws3_j/service.asmx
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 417
SOAPAction: http://mydomain.com/myapp_webservice/ValidarLogin
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
   <soap12:Body>
      <ValidarLogin xmlns="http://mydomain.com/myapp_webservice/">
         <senha>password</senha>
         <terminal>020000000000</terminal>
         <usuario>username</usuario>
      </ValidarLogin>
   </soap12:Body>
</soap12:Envelope>
--> END POST (417-byte body)
<-- 200 https://serverdev.mydomain.net.br/pws3_j/service.asmx (344ms)
date: Sat, 05 Oct 2024 21:04:11 GMT
content-type: application/soap+xml; charset=utf-8
content-length: 830
cache-control: private, max-age=0
x-aspnet-version: 4.0.30319
x-powered-by: ASP.NET
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=t%2BaKe2XkIeZHfVzXKoKe1cnrJXrECymzQF0YMXkb3UB%2FUIW%2BtGHjtw8nO6mPpdyvG47IfxeMVKRwlICk041S1xhefARtzTXLZgh0CPBijf%2Bo6I46SrJZUZpN4oBZ5i9S9nxmDEx222i3yCJT"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 8ce05cd48bb41aa5-GRU
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ValidarLoginResponse xmlns="http://mydomain.com/myapp_webservice/"><ValidarLoginResult><?xml version="1.0" encoding="utf-8" standalone="yes"?><Dados xmlns="http://mydomain.com"><Resultado>1</Resultado><Codigo>0</Codigo><Conteudo><Registro><usuario>PDA</usuario><nivel>1</nivel><perfil>7</perfil><limdes>0</limdes><token>USERNAME#431133431642520023</token><codigotef/><tokentef/></Registro></Conteudo></Dados></ValidarLoginResult></ValidarLoginResponse></soap:Body></soap:Envelope>
<-- END HTTP (830-byte body)
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda0>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda0>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda1>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda1>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda2>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.control.Either$$ExternalSyntheticLambda2>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.Function1>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.Function1>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.PartialFunction>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.PartialFunction>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Seq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Seq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.IndexedSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.IndexedSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Vector>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Vector>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.IndexedSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Array>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Array>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Array>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.IndexedSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.CharSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.CharSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.CharSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.PartialFunction>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Seq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.LinearSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.LinearSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.List>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.List>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.List>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.LinearSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Queue>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Queue>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Queue>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Map>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.SortedMap>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.LinearSeq>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Stream>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Stream>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Stream>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.List>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.List>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Vector>
Rejecting re-init on previously-failed class java.lang.Class<io.vavr.collection.Vector>
Rejecting re-init on previously-failed class java.lang.Class<com.mydomain.myapp.fragments.LoginFragmentViewModel$$ExternalSyntheticLambda1>
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
Debugger told VM to exit with status -1
HostConnection::get() New Host Connection established 0x7c169370f0, tid 2642
[com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity] cancelBuffer: slot 1 is not owned by the producer (state = 2)
tid 2658: eglQuerySurface(989): error 0x3001 (EGL_NOT_INITIALIZED)
tid 2658: eglQuerySurface(989): error 0x3001 (EGL_NOT_INITIALIZED)
tid 2658: eglSwapBuffers(1728): error 0x3001 (EGL_NOT_INITIALIZED)

Encountered EGL error 12289 EGL_NOT_INITIALIZED during rendering
Fatal signal 5 (SIGTRAP), code 1 in tid 2658 (RenderThread)
channel '73d7fa7 com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
channel '73d7fa7 com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
WIN DEATH: Window{73d7fa7 u0 com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity}
Attempted to unregister already unregistered input channel '73d7fa7 com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity (server)'
unexpected waitpid response: n=2658, status=0000ff00
---------------
tid exited before attach completed: tid 2658
Process com.mydomain.myapp.debug (pid 2632) has died
Process 2632 exited cleanly (255)
Force removing ActivityRecord{2a36f02e u0 com.mydomain.myapp.debug/com.mydomain.myapp.activities.MainActivity t9}: app died, no saved state
eglMakeCurrent: 0x7c13d5b060: ver 3 0 (tinfo 0x7c13d6c800)
Got RemoteException sending setActive(false) notification to pid 2632 uid 10047
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
>>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
CheckJNI is OFF
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
eglMakeCurrent: 0x7c13d25100: ver 3 0 (tinfo 0x7c13cabb20)
Couldn't load memtrack module (No such file or directory)
failed to load memtrack module: -2
Calling main entry com.android.commands.am.Am
Force stopping com.mydomain.myapp.debug appid=10047 user=0: from pid 2681
Shutting down VM
eglMakeCurrent: 0x7c13d5b060: ver 3 0 (tinfo 0x7c13d6c800)
eglMakeCurrent: 0x7c13d5b060: ver 3 0 (tinfo 0x7c13d6c800)
eglMakeCurrent: 0x7c13d5b060: ver 3 0 (tinfo 0x7c13d6c800)
Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
eglMakeCurrent: 0x7c13d5b060: ver 3 0 (tinfo 0x7c13d6c800)


sub-pixel transform alignment discussion

example_all_O2.py demonstrates pretty good agreement between the transform methods, but at the pixel level there are positional differences between transform methods, as illustrated by the right figure zoom.

The offsets are sub-pixel, about 1/2-pixel difference between the hansenlaw method and three_point.
Here is the situation for the "Ominus" sample image [code]

Neither hansenlaw nor Dasch three_point align perfectly with the original image, but NB these are inverse Abel transforms of the projected sample image, the forward hansenlaw transform.
To attempt to track down any issues with transform method coding, I have run some 1-d function tests. 2d testing will follow.  The 1d-functions include a Gaussian function, which transforms to the same function  xσ√π, where σ is the Gaussian width at 1/e height, and "curve A" from the Hansen and Law paper also listed in @DhrubajyotiDas ipython notebook, which also has a well defined transform. [Test code].

1d-Gaussian
forward
There are only two forward transforms in PyAbel, direct and hansenlaw, both projections agree well with a scaled Gaussian (left side figures below).  The inset is a zoom of the 0-50 radius peak area.
inverse
I have included the Dasch three_point method, which has excellent agreement with the 1d-Gaussian original function. Both hansenlaw and direct diverge from the Gaussian near the image center-line (function maximum).

curve A
forward
For this transform there are larger differences.
inverse
Here direct goes haywire, and has not been excluded from the difference plot (lower right). three_point is stellar, while hansenlaw shows a greater deviation.

Conclusion (so far ...)
The main issue at the moment is, for the 1d-Gaussian transform, is whether the down-turn observed for direct and hansenlaw is the method, or a pixel offset introduced in the coding. This aspect has been discussed in the past, although I cannot easily locate the link. For hansenlaw the deviation is enhanced using a smaller image size.
This issue is raised for advice, ideas, and suggestions as to how best to verify the algorithms. Test cases for 2d images will follow.

@stggh,
Thanks for bringing up this issue. At some level, I think that the transform methods are making an approximation that the curve is well-sampled, and as we look at things on a single-pixel level, that approximation may not apply. However, it would be nice if the transform methods produced similar results, even at a single pixel. I don't have much insight into what is going on at this point, but perhaps you can try to make the "single-pixel step function"e example case to make small shifts easier to spot?

@DanHickstein good thoughts. Testing continues ...

This is interesting. For the analytical step-function test code with n=101 :

The "shark-fin" shaped forward transform (projection) has close agreement until the inner step.
PyAbel direct transform has similar same behaviour to hansenlaw (apart from its own odd step-structure?).
The difference becomes less apparent for large n, but is still present.
BTW, the divergence near x~0 for the hansenlaw inverse Abel transform, is what initiated this investigation.

I am not sure what this all means, but IMO interesting none the less.

Wow, that is interesting behavior. I wonder how much this depends on the method used for calculating the numerical derivative. np.gradient uses second order central differences, but this may not necessarily be what we want. At one point, @rth provides a link to a page about different methods for numerical derivatives.

The forward transform operates on the raw image, no derivative issues (I have had time to think about the this ;-) ).

Good point!
Well, actually the analytical solution looks to be off by a pixel on the inside. Shouldn't the max align with the edge of the step function?

Interesting observation, although the analytical projection has the same behaviour.

? I'm saying that the analytical forward abel (projection) is not quite what I would expect. It seems to be off by a pixel.

Right! I did not read your comment with enough care.

The forward transform Wolfram for a unit step 0≤ x ≤ a, is 2(a2 - x2)½, which is zero at x=a. In principle, there is no signal until x ≤ a, and this behaviour is reflected in the PyAbel transforms (direct and hansenlaw). In this regard, all is well.
For the step-function r0 ≤ r ≤ r1 (slight change of limit notation to match the analytical.py python code abel_step_analytical()). In the region of the step (as above)  g(r) = 2(r12-r2)½, before (inside) the step g(r) = 2(r12-r2)½-2(r02-r2)½ = step - "missing" step.
Hence, the apex of the projection g(x) should be at x=r0, so the analytical function is incorrect at this position. The PyAbel transforms are correct.

In analytical.py the definition of the square-pulse  r0 ≤ r ≤ r1 differs between the function (line 194) and projection (line 287):
    mask = np.abs(np.abs(self.r) - 0.5*(r1 + r2)) < 0.5*(r2 - r1)

    fr = np.zeros(self.r.shape)
    fr[mask] = A0
            :
    mask = (r >= r0)*(r <= r1)
    F_1d[mask] = 2*np.sqrt(r1**2 - r[mask]**2)

While adding <= 0.5 to line 194, fixes the alignment of the analytical projection with direct, but now 'hansenlaw

The test-figure provides some mind-blowing alignment illusions.
Here is the situation for r0=6.1, r1=13.9  (I have dropped the inverse Abel transform plot). There is some limit problem here:

Okay, so it seems like you've basically fixed the analytical case.
But, you now see an issue where the magnitude of the analytical signal doesn't quite line up with the numerical transforms, and the degree of disagreement depends on the exact (decimal) position of the step function. The numerical functions have no knowledge of sub-pixel shifts in the position of the step, so I think that it makes sense that you should see this.
If you can find the shape of the step that causes the best agreement between the analytical methods and the numerical methods, then I think that this tells us the coordinate system that the numerical methods are actually using.
Unraveling this may take us back to the question that came up during the discussion of even/odd image sizes: what x-values do the transform methods actually assume for the different pixels.
BTW: are you using the direct-C implementation, or the Direct-Python? The slight "wiggle" of the forward-direct transform suggests to me that there is some issue with round-off error. Perhaps integer division is accidentally popping up somewhere. The slight disagreement between the Direct-Python and Direct-C implementations is still an outstanding issue (https://github.com/PyAbel/PyAbel/issues/58), so it would be good to see if this step-function is a case where the two clearly disagree.

BTW)
Added a trace print statement to abel/direct.py the backend is definitely using direct-C. The wiggle appears when transforming a step function, but not for a Gaussian. Plot compares projection and direct_C forward transform of a 1d-Gaussian and 1d-step code

even/odd - my nemesis  ... TBC

So, I think that the "wiggle" might come from the integration method. It's even more pronounced for the direct_Python implementation. And, if you pass the parameter int_func=scipy.integrate.trapz, then you can force it to integrate with scipy's built-in trapezoidal rule, which makes the transform look smooth. I think that Simpson's rule might not work well for such sharp functions.

Code: https://gist.github.com/DanHickstein/04952937bab72e78adbea8100f111d31
Try passing correction=False to the direct methods - it changes the result pretty dramatically. Also, the correction involves a numerical derivative, so, there is still a derivative involved in the calculation of the forward transform using the Direct method (assuming correction=True).

I also thought of the integration function, but specified int_func=scipy.integrate.simps, to no effect ;-)
Note, that although smooth, direct_python deviates more than direct_C (not shown in the figure below) from the analytical projections, there is some sort of displacement, and the Gaussian rolls over early.

Your conclusion is correct that the step function is too sharp for the integration method(s).  It may not be a fair test for any of the algorithms.
PS: well spotted the incomplete analytical step projection in my code

I also thought of the integration function, but specified int_func=scipy.integrate.simps, to no effect ;-)

Note also that the int_func only has an effect for the Python implementation. You can also specify np.sum if you want it to be really bad :)
The Simpson's rule should be a good method in most cases - I think that it should be more accurate than a simple trapezoidal approximation, but maybe it gets confused easier with very sharp features.

@stggh, I'm trying to close some of the old issues. Did we come to a conclusion about this? Is this just a fundamental difference between the numerical and analytical approaches?

@DanHickstein this issue is not yet resolved. I do know that there is an annoying 0.5 pixel offset for the hansenlaw inverse Abel transform.  Differences between other transform methods may well be in the noise.
(@DanHickstein, @rth, @DhrubajyotiDas - it is Saturday morning in OZ, and I see the great amount of activity that has taken place overnight. Fantastic work everyone. I will try to catch up ...)


Handle ranges for the remark linter #1207

Add solution and tests for @dirkroorda issue #1207.

Cheers! :beers:


Update Documentation for badge column

As everywhere callback function are evaluated, we can access method params just using proper naming,
But badge column color and icon methods callback functions are not evaluated,  just accepting only one param in callback function will always give the state not the whole record. And it's bit confusing .

In the example, I would use the $state parameter instead of $record->status since the column is already called status


Python runtime need to add two modules

Python runtime need to add two modules to run the latest mtk-client.
python.exe -m pip install pycryptodomex
python.exe -m pip install pyserial
Thank you for your project!

Isn't it documented in step 6 of Creating a distributable archive for Windows? This should install all dependencies for mtkclient.


Fix letter spacing for application count

This inherits some funny letter spacing from govuk-tag, which needs
to be reset to normal.
Screenshots
Before

After

Review app deployed to https://teaching-vacancies-review-pr-3403.london.cloudapps.digital


TypeError: Watchdog is not a constructor

Hi,
I wanted to test your module, but unexpectedly it won't function.
By creating a new instance of the class 'Watchdog' with
var Watchdog = require('watchdog');
const timeout = 5000;
const dog = new Watchdog(timeout);

I get the following Error: TypeError: Watchdog is not a constructor
Even by testing it with RunKit directly from the npm page (https://npm.runkit.com/watchdog) the error appears.
Maybe the problem appears cause of the mixing of typescript module and JavaScript Code...

Could you please try:
const { Watchdog } = require('watchdog')
And see if this will solve your problem?
Or try to use
import { Watchdog } from 'watchdog'
Is you can use ES6


Multiple collision slides when only one expected.

I've already searched for a duplicate issue.
Godot version:
68f2774
OS/device including version:
Xubuntu 16.04
Issue description:
I'm not sure this is a bug or not, but I just wanted to put it out there.
When using slide collision with "get_slide_collision(x)" and "get_slide_count()" I get more slides then I expect. For instance:

The top part is the character after he has moved forward. There is only the ground plane.
The bottom part is the same as the top, but the character is invisible. As you can see with the red spheres there are two collision slides. Here is some info that I printed from the program:
Current slide collision: 0
Total slide collisions: 2
SlideCollPos = (-54.0494, -0.000023, -7.998839)
-------
Current slide collision: 1
Total slide collisions: 2
SlideCollPos = (-54.0494, -0.000023, -8.015764)

Steps to reproduce:
Simply have a character with a capsule collision shape and have him move around, with gravity affecting him. Use "move_and_slide()". Check minimal project below.
Minimal reproduction project:
FPS_SlideColls.zip

Just tested, and all is correctly.
The algorithm internally performs multiple times the sliding process depending by the velocity applied.
If I've clarified your doubt please close the issue. Also thanks you for the report.

Okay, so this is the way it's supposed to be? The reason that I'm getting multiple slides is because I'm using a capsule, and as it moves forward, it also moves down, causing two slides? I'll close the issue, anyway.

This should explain well what's happens there:

More or less this is how it works

That seems suboptimal, but I'm guessing that's just the nature of 3D physics on computers.


Ability to change user from root to nobody

USER nobody
EXPOSE 8080 9090
ENTRYPOINT [ "node", "--max-http-header-size", "65536", "/app/dist/index.js" ]

Something like this is the Dockerfile equivalent. Is this possible with binci?

Currently, no, but it would be fairly simple to add to both primary container and services by adding to the config/binci.yml:
user: {username or uid}

then we'd just need a handler in command#get to parse cfg.user and add it into the command return as --user={username or uid}.

This is a duplicate of #95, addressing there.


Public scripts and CSS are being enqueued with no content

By default, the boilerplate template used for this plugin enqueues a public stylesheet and script file.
As there is no content in those files and they are not required, they can be safely dequeued to reduce requests and script loads on client sites.

Hi @andrewlreeve - we've got a fix for this one, which is now on our develop branch. We'll release to master probably within the next month, I'll confirm.


Add support for multiple assertions in a single expectation

Example:
RxText { test in
  let source = PublishSubject<Void>()
  test.input(source, [next(100, 1), next(200, 2)])
  test.assert(source).count(2)
  test.assert(source).since(200).equal([2])
}

Codecov Report

Merging #5 into master will increase coverage by 2.45%.
The diff coverage is 92.64%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
+ Coverage   79.06%   81.52%   +2.45%
==========================================
  Files          10       10
  Lines         172      249      +77
==========================================
+ Hits          136      203      +67
- Misses         36       46      +10

Impacted Files
Coverage Δ

Sources/RxAssertion+Empty.swift
100% <100%> (ø)
:arrow_up:

Sources/RxAssertion+Contain.swift
100% <100%> (ø)
:arrow_up:

Sources/RxAssertion.swift
96.77% <100%> (-0.11%)
:arrow_down:

Sources/RxAssertion+Count.swift
100% <100%> (ø)
:arrow_up:

Sources/RxAssertion+Equal.swift
76.47% <100%> (+8.47%)
:arrow_up:

Sources/XCTestCase+RxExpect.swift
28.57% <11.11%> (-38.1%)
:arrow_down:

Sources/RxExpectation.swift
77.77% <91.66%> (+14.14%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9d70108...70556b3. Read the comment docs.


css: use flex to fix floating paginate

Fix #7642
Before:

After :

Codecov Report

Merging #7656 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7656      +/-   ##
==========================================
+ Coverage   41.26%   41.27%   +<.01%
==========================================
  Files         470      470
  Lines       63727    63727
==========================================
+ Hits        26299    26304       +5
+ Misses      34002    33997       -5
  Partials     3426     3426

Impacted Files
Coverage Δ

modules/log/event.go
64.61% <0%> (-1.03%)
:arrow_down:

models/repo_list.go
72.08% <0%> (-1.02%)
:arrow_down:

routers/repo/view.go
43.25% <0%> (+1.01%)
:arrow_up:

modules/process/manager.go
81.15% <0%> (+4.34%)
:arrow_up:

models/unit.go
67.56% <0%> (+5.4%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23e8cff...1cce05e. Read the comment docs.

@sapk please send back port to v1.9


Enable the new model serialization for Apimanagement

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.ApiManagement


Wizmage breaks "Search Image with Google" in Chrome

There is a new feature in Chrome which allows you to right click on any image, and select "Search Image with Google".  It opens a sidebar where you can see the results of the search.  The problem is that wizmage hides all of the images in the sidebar, even if the website you are on is excluded.  Clicking "Show Images" has no effect.

That is because the sidebar is a completely separate page, at lens.google.com. You can exclude this by clicking on the 'Open in new tab' button at the top of the sidebar, and then you can exclude on Wizmage. Note that Google Lens will then be excluded everywhere, even if they are for an image on a non-excluded site.


Compatibility with SE >= 0.6.118

Space Exploration version 0.6.118 adds weapon delivery cannon artillery icons. The corresponding icon for vanilla atomic bomb is added in Space Exploration Graphics Part 1 version 0.6.16. However, the default mod settings for True Nukes has vanilla atomic bomb disabled, resulting in this error message at mod load time:

fyi this is an issue on the side of space exploration. we'll be releasing v0.6.119 with a fix for this. can close this please :)

OK, thanks for confirming, I'll link the issues on factorio mods to here as well.


please add stardust paratime entity

The entity filename is case-sensitive. The entity file is expected to be named mainnet/DenysOf-entity.json. Your filename is mainnet/denysof-entity.json. Please rename it so that I could merge this PR, thanks for your help.

The entity filename is case-sensitive. The entity file is expected to be named mainnet/DenysOf-entity.json. Your filename is mainnet/denysof-entity.json. Please rename it so that I could merge this PR, thanks for your help.

Hi, sorry for the delay, the file has been renamed as requested. Thanks.


Allow dynamic imports for node as well

https://github.com/xing/hops/pull/164/files#diff-d32b7bc6606ed8db9edcbf12f8670e84R47 is the interesting part :)


Adaptive labels in multiform visualizations

If we filter down the table to contain a very few items, we should show category labels and numerical values in the table (if the row height is big enough).

What is missing to complete this issue?

There seems to be a bug in mosaic labels, that I was not able to fix. Holger is looking into that today.

OK. Related to #224.

Works.


Add SDOGE space

Add space for SDOGE
Etherscan: https://etherscan.io/address/0xb25FEda5512445Aa4e481Add71731cD0cffF18C1
CoinGecko:
Website: https://sdoge.org/
Twitter: https://twitter.com/sdoge_master

To use the default theme you will want to delete skin.scss from your space folder.

Deleted


opcr-policy: 0.1.50 -> 0.1.51

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/opcr-io/policy/releases.
meta.description for opcr-policy is: CLI for managing authorization policies
meta.homepage for opcr-policy is: https://www.openpolicyregistry.io/
meta.changelog for opcr-policy is: https://github.com/opcr-io/policy/releases/tag/v0.1.51
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.1.51 with grep in /nix/store/v2nf7rnf9ikhfmaq6n2b740lrl893gl0-opcr-policy-0.1.51
found 0.1.51 in filename of file in /nix/store/v2nf7rnf9ikhfmaq6n2b740lrl893gl0-opcr-policy-0.1.51

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
opcr-policy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/v2nf7rnf9ikhfmaq6n2b740lrl893gl0-opcr-policy-0.1.51 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A opcr-policy https://github.com/r-ryantm/nixpkgs/archive/79394fd6901b04c75465b855146f771079033de4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/v2nf7rnf9ikhfmaq6n2b740lrl893gl0-opcr-policy-0.1.51
ls -la /nix/store/v2nf7rnf9ikhfmaq6n2b740lrl893gl0-opcr-policy-0.1.51/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

opcr-policy

Maintainer pings
cc @naphta @06kellyjac for testing.

Result of nixpkgs-review pr 220158 run on aarch64-darwin 1

1 package built:

opcr-policy


Unpackaged Fabulous Maui app crashes at startup

Steps to reproduce

dotnet new fabulous-mauicontrols -n MauiExample.App
dotnet build succeeds and the app can be run
Add the following properties to the fsproj

<WindowsPackageType Condition="$(TargetPlatformIdentifier) == 'windows'">None</WindowsPackageType>
<WindowsAppSdkUndockedRegFreeWinRTInitialize Condition="$(TargetPlatformIdentifier) == 'windows'">false</WindowsAppSdkUndockedRegFreeWinRTInitialize>

Update Main.fs (manually initialize because WindowsAppSdkUndockedRegFreeWinRTInitialize doesn't yet work out-of-the-box for F#, https://github.com/microsoft/WindowsAppSDK/issues/3663)

open System.Runtime.InteropServices
module private NativeMethods =
    [<DllImport("Microsoft.WindowsAppRuntime.dll", CharSet = CharSet.Unicode, ExactSpelling = true)>]
    extern int WindowsAppRuntime_EnsureIsLoaded()

[<AbstractClass; Sealed>]
type Initializer =

    static member AccessWindowsAppSDK () =
        NativeMethods.WindowsAppRuntime_EnsureIsLoaded ()
        |> ignore // safe to ignore return value

module Program =
    [<EntryPoint; STAThread>]
    let main args =
        Initializer.AccessWindowsAppSDK ()

        do FSharp.Maui.WinUICompat.Program.Main(args, typeof<MauiExample.App.WinUI.App>)
        0

Add a launch profile to run it unpackaged

"Run App": {
  "commandName": "Project"
}

Run the project with a debugger attached

Expected
The app launches as it did in step 2
Actual
An exception is thrown
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.Runtime.InteropServices.COMException (0x80004005): Unspecified error

   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at WinRT.BaseActivationFactory._ActivateInstance[I]()
   at WinRT.ActivationFactory`1.ActivateInstance[I]()
   at Microsoft.UI.Xaml.Controls.XamlControlsResources..ctor()
   at System.RuntimeType.CreateInstanceOfT()
   --- End of inner exception stack trace ---
   at System.RuntimeType.CreateInstanceOfT()
   at System.Activator.CreateInstance[T]()
   at Microsoft.Maui.Platform.ResourceDictionaryExtensions.AddLibraryResources[T](ResourceDictionary resources)
   at Microsoft.Maui.Hosting.MauiAppBuilder.MauiCoreInitializer.<Initialize>g__SetupResources|0_1()
   at Microsoft.Maui.Hosting.MauiAppBuilder.MauiCoreInitializer.Initialize(IServiceProvider services)
   at Microsoft.Maui.Hosting.MauiAppBuilder.Build()
   at MauiExample.App.MauiProgram.CreateMauiApp()
   at MauiExample.App.WinUI.App.CreateMauiApp()
   at Microsoft.Maui.MauiWinUIApplication.OnLaunched(LaunchActivatedEventArgs args)
   at Microsoft.UI.Xaml.Application.Microsoft.UI.Xaml.IApplicationOverrides.OnLaunched(LaunchActivatedEventArgs args)
   at ABI.Microsoft.UI.Xaml.IApplicationOverrides.Do_Abi_OnLaunched_0(IntPtr thisPtr, IntPtr args)

OS: Windows 10

@0x0309 Thanks for the report.
Unfortunately the FSharp.Maui.WinUICompat package is in itself more of a workaround than a proper library.
It's goal is to allow basic F# WinUI apps to run, and does not cover all cases.
Also, I don't have much knowledge of WinUI. The workaround logic was mostly done by @PureWeen. I only packaged it for simpler use with Fabulous. And F# WinUI is not really a priority given Microsoft itself doesn't plan any F# support.
If you or someone else are motivated to investigate the issue, I'll be happy to review the PR and release a new package for it.


dd, ddd, and dddd strict parsing is not working appropriately

date = moment('a', 'dddd', true).isValid() will return true, along with any gibberish input

Same with dd and ddd.  Strangely, it also sets "2014-12-28T00:00:00-08:00" local time.  Not sure where that comes from...

Any progress here?

Close in favor of #2456


Add packages descriptions

In this PR, I added a brief description to each package in the README file.

Thanks @liliumorion :pray:


gles2 renderer/Shading language undefined variable "screen_uv"

Godot version:

29b8364ef09f32467070ac34051f2bc2e2d84ebf
OS/device including version:

Linux eb 4.16.2-2-ARCH #1 SMP PREEMPT Tue Apr 17 19:37:34 UTC 2018 x86_64 GNU/Linux

01:00.0 VGA compatible controller: NVIDIA Corporation GK104GLM [Quadro K3000M] (rev a1)

Issue description:

I'm testing a 2d project which works on the gles3 renderer
with the new gles2 renderer.
But the shader
void fragment() {
	vec4 pixelColor = texture(SCREEN_TEXTURE,SCREEN_UV);  // <- this seems to fail
	//vec4 pixelColor = textureLod(SCREEN_TEXTURE,SCREEN_UV, 0.1); # failes as well
	//vec4 pixelColor = vec4(0.5); // this works
	COLOR = brightnessMatrix( brightnessFac ) * contrastMatrix( contrastFac ) *  saturationMatrix( saturationFac ) * pixelColor;
}

failed to compile and outputs:
0:00:00:0676 - CanvasShaderGLES2: Fragment shader compilation failed:
0(161) : error C1008: undefined variable "screen_uv"

----------
Typ:Fehler
Beschreibung:
Zeit: 0:00:00:0676
C Fehler: CanvasShaderGLES2: Fragment shader compilation failed:
0(161) : error C1008: undefined variable "screen_uv"

C Quelle: drivers/gles2/shader_gles2.cpp:425
C Funktion: get_current_version

and a lot of
0:00:00:0680 - GL ERROR: Source: OpenGL	Type: Error	ID: 1282	Severity: High	Message: GL_INVALID_OPERATION error generated. No active program.
----------
Typ:Fehler
Beschreibung:
Zeit: 0:00:00:0680
C Fehler: GL ERROR: Source: OpenGL	Type: Error	ID: 1282	Severity: High	Message: GL_INVALID_OPERATION error generated. No active program.
C Quelle: drivers/gles2/rasterizer_gles2.cpp:111
C Funktion: _gl_debug_print

Steps to reproduce:
start the attached project with gles2 renderer
Minimal reproduction project:

minimalshader.zip

cc: @karroffel

When did you last merge from his gles2 branch? Commits say he implemented it 9 days ago...

Yup, as @Zireael07 said, it's implemented on my branch, it's just not merged here. But SCREEN_TEXTURE doesn't work yet, some code is there already (but commented out), but it's buggy so it's just not supported for now. Will come soon :tm:

is this fixed now that the GLES2 branch has been merged?

SCREEN_UV should be fine, SCREEN_TEX not :/


Godot crashes while loading C# project after update

Godot version:
master / 1c6d1fcf
OS/device including version:
Manjaro Linux (Testing branch)
Issue description:
After updating Godot from d711c57 to 1c6d1fcf, I'm no longer able to open my project (written in C#) as it crashes with a core dump.
At this moment, I don't have much information except for the trace (attached below) but I'll update the issue if I happen to find more details.
dump.txt
mono_crash.0.0.zip

Today, I updated Godot to 0f80df0 and tested it again. This time, the editor ignored its project history and preferences, but somehow it didn't crash so I was able to run my project again.
I'll close the issue for now.


dart-sdk linux redistributable has incorrect permissions for some directories

I'm using docker to reproduce as otherwise umask takes effect while extracting:
root@dbe466e80cf1:/tmp/y# curl -o dart.zip https://storage.googleapis.com/dart-archive/channels/stable/release/2.13.4/sdk/dartsdk-linux-x64-release.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  181M  100  181M    0     0  64.2M      0  0:00:02  0:00:02 --:--:-- 64.2M
root@dbe466e80cf1:/tmp/y# unzip -q dart.zip
root@dbe466e80cf1:/tmp/y# ls -ald dart-sdk/
drwx------ 5 root root 4096 Jun 23 11:40 dart-sdk/

note in this case the mode of the extracted directory is 700 but I expect it to be 755
there are other directories in the archive which suffer from the same problem
I'm currently working around this by using chmod -R og+rX

Yes, this is wrong. We want drwxr-xr-x (755) on directories, -rwxr-xr-x (755) on executables and -rw-r--r-- (644) on other files.

I suspect this is due to mkdtemp somewhere, I can probably fix it if I have a hint where the build tooling is and how to run it

Creating your own build is documented here: https://github.com/dart-lang/sdk/wiki/Building
Not sure it's that straightforward, the dart-sdk produced by the build already has the wrong permissions. Then a python script zips up the mess (some files have permissions coming from git, some only have owner permissions probably those created by the build). Perhaps we need to do some post-processing similar to what chromium seems to be doing.
The SDK build is tied together by sdk/BUILD.gn but it's not obvious to me what exactly creates the dart-sdk directory (I suspect it's created as a side effect of copying other files in that directory).

I tried to build this, swapped to death (seemed to have 3k+ processes trying to build).  so then I downloaded more ram and even 24GB was not enough to build so I'm kinda out of ideas on what to start trying here
I did notice a lot of mkdtemp throughout the build tooling and that'll create directories which are 0o700 instead of 0o755 which is probably the problem, but I don't really want to guess at where to fix it and I can't seem to run the build myself 😭

@asottile I'd be interested to know how you invoked build.py. If nothing else, I could fix the build script improve the documentation. It sounds to me like the build ran with a high -j but without the internal distributed compiler and then tried to do all the work with a high parallelism on a single machine. That shouldn't happen so we've got a bug somewhere.

this is the command I ran:
./tools/build.py --no-goma -j4 --mode debug --arch x64 create_sdk

this is the command I ran:
./tools/build.py --no-goma -j4 --mode debug --arch x64 create_sdk

Thanks, I haven't been able to reproduce this on my machines (nothing close to 1000s of processes and on my workstation memory usage was below 10GB the whole time). You may want to try --mode release because that's how we normally build the SDK (debug is more used to debug the VM and is probably slow on the create_sdk target).
$ ./tools/build.py --no-goma -j4 --mode release --arch x64 create_sdk
Done. Made 320 targets from 89 files in 266ms
ninja -C out/ReleaseX64 create_sdk
ninja: Entering directory `out/ReleaseX64'
[3231/3231] STAMP obj/create_sdk.stamp
The build took 479.772 seconds

I also tried --release as well -- can seek around in the video but this was the last command I tried: https://www.twitch.tv/videos/1167569850?t=2h57m0s

@asottile as far as I can see you didn't really follow the Getting the source instructions. After having depot_tools in the path, these is what gives you a working checkout:
mkdir dart-sdk
cd dart-sdk
# On Windows, this needs to be run in a shell with Administrator rights.
fetch dart

You might be able to fix-up your checkout by running gclient sync in it (but it might require some additional configuration that fetch dart would've done for you). gclient sync is what provisions the required tooling (e.g. the buildtools directory).

alright I finally managed to build this -- it looks to me like the permissions are correct at least in the output directory:
root@da6dfb2fbfdc:/t/dart-sdk/sdk# ls -ald out/ReleaseX64/dart-sdk/
drwxr-xr-x 5 root root 4096 May  2 00:27 out/ReleaseX64/dart-sdk/

and in subdirs:
root@da6dfb2fbfdc:/t/dart-sdk/sdk# ls -ald out/ReleaseX64/dart-sdk/*/
drwxr-xr-x  5 root root 4096 May  2 00:48 out/ReleaseX64/dart-sdk/bin/
drwxr-xr-x  3 root root 4096 May  2 00:25 out/ReleaseX64/dart-sdk/include/
drwxr-xr-x 29 root root 4096 May  2 00:27 out/ReleaseX64/dart-sdk/lib/

so I suspect this may be something to do with the build machine and not with the build scripts itself


Reimplement and rerun sonar models

The sonar models implementation is apparently outdated so we should re-implement it
https://github.com/facebookresearch/SONAR

Addressed in #127


Custom colors for events

Find a way to implement custom eventboxes, currently there is no customization, but in frontend there are options for such things, but they are not implemented actually.
Ideas: Custom eventboxes
Custom eventpage
idk

Not sure we would want custom colors, makes things trickier and often uglier. Would at least consider this low priority.


Version upgrade on M1 (aarch64) beta build installs Intel version instead of arm

System information:

Operating system (distribution) and version: macOS 12.0.1 Monterey
DBeaver version: 21.2.4 (aarch64) M1 Beta
Additional extensions: none

Connection specification:

Database name and version: Not relevant
Driver name: Not relevant
Do you use tunnels or proxies (SSH, SOCKS, etc)?: No

Describe the problem you're observing:
Steps to reproduce, if exist:

Install DBeaver 21.2.4 aarch64 M1 beta
Start DBeaver
From file menu -> Help -> Check for Updates
21.2.5 is available as of Nov 18 2021. Choose Upgrade.
Close DBeaver and install update
Get Info on Downloaded file show Intel application:

DBeaver download the latest-macos.dmg package. I dont know if you will someday make the application Universal or not, but I guess it will need to download a similar latest-macos.dmg for aarch64 if they are to be maintained separately.
Include any warning/errors/backtraces from the logs

Hello @stogdan,
Thanks for report.

Verified


fix: Set outDir in README to outputDir

Thanks for the awesome plugin!

fix outDir in README to outputDir

references

https://github.com/activeguild/vite-plugin-sass-dts/blob/3f14e5cd309a66b126d79a3a19d2b56726e422c6/src/type.ts#L15

@miso-devel
Thanks!!


Bring ruby buildpack test sample back

Until now, community has announced ruby buildpack is been supported and added into paketo builder image. More details you can refer to here.
So we need to bring ruby test sample back.

The PR was merged. Close this issue.
Thanks Zoe!


External ffmpeg usage

Hi there.
Any chance that you could add a configuration option to use my own ffmpeg.exe in a different folder?
And with that, offer a lightweight download without ffmpeg included?
I use several software that make use of ffmpeg so I have different versions scattered around my PC everywhere, but I always keep an updated version in a specific place.
So with streamlink I just point it towards that location, for example.
I would love to do the same with TL. Thank you :)
Right now I delete ffmpeg_x64.exe and create a symbolic link instead, which works, but it's extra work.

What is the purpose of using a different ffmpeg version? TL is tested with the bundled version every time it gets released. What is the advantage of using a older/newer one? I don't see any good reason why you would want to do that.
I don't want to support this since it opens up TL for errors regarding ffmpeg that are then being posted here on GitHub again. There are ffmpeg versions that don't work probably and I don't want to tell every second guy "no, you are using an unsupported ffmpeg version...".
In addition to that it is such a speciality not many users would actually take advantage of because they simply don't want to care about ffmpeg. Users want to download VODs easily without thinking about ffmpeg versions. That's the main purpose of TL. My goal is to make TL less complicated, not more.


Remove CVec

CVec depends on libc 0.1 which I can't compile anymore because of
   Compiling libc v0.1.12 (file:///tmp/guix-build-rust-libc-0.1.12.drv-0/libc-0.1.12)
error[E0554]: #[feature] may not be used on the stable release channel
  --> rust/src/liblibc/lib.rs:26:19
   |
26 | #![cfg_attr(test, feature(test))]
   |                   ^^^^^^^^^^^^^

error: aborting due to previous error

Only 8 Rust crates in total seem to still use c_vec - and many moved away.
Therefore, I removed c_vec from cairo-rs.
Note that I'm a beginner to Rust. However, the compilation worked and all the tests run by cairo test still pass.

Such a change is quite problematic due to the high unsafety of the from_raw_parts method. Personnally, I'm against this change. What do you think about it @EPashkin?

@GuillaumeGomez, currently I also against merging this PR.
IMHO Better solution will be publishing c_vec 1.0.13 which already updated libc dependence in code but just not published.

I'll try to do the update in the next hours.

I merged the PR. Updating cairo dependency.

@daym: Maybe you could try https://github.com/gtk-rs/cairo/pull/98 ?


Added OnClick and ClickedCommand to Xamarin.Forms.iOS/Droid/UWP

Hello.
I added OnClick event and ClickedCommand command to Xamarin.Forms.iOS project.
Also, I made changes to an example project to reflect my changes.
Thank you in advance.

I added unsubscribe logic to Forms.iOS and implementation to Forms.Droid and Forms.UWP.
Hopefully made this well.
It would be nice to hear what's wrong @modplug
Thanks.

Hi @RustamIrzaev Just had a look at the UWP and Android implementations and they look good. One final question before we merge is why it is necessary to have seperate implementations for OnClick. Couldn't this be solved in a generic way by adding a TapGestureRecognizer in the Xamarin Forms implementation of AnimationView?

If I do something like this in Lottie.Forms.AnimationView then nothing works
var gestureRecognizer = new TapGestureRecognizer();
gestureRecognizer.Tapped += (sender, e) => Click();
GestureRecognizers.Add(gestureRecognizer);

I see. That is probably because we switch out the underlying view when changing animations. Thanks for the contribution, please keep them coming in the future 👍


Adding support for other huggingface models

In the example listed here, is it possible to use other models from the huggingface models hub to generate lexical substitutes? I am happy to contribute more models to the repo once I understand the pipeline of adding new models.
Also, which approach from the paper does this example correspond to? Is it the XLNet+embs approach listed in bold in this table from the paper?

This sounds super helpful. I will try to incorporate more models and get back with the results! Thanks a lot.


Merged fix of #122 (explicitly set the default variable for the db path)

Fixes #124 #122
Replaces #123

LGTM!

LGTM!

... and this is fine too !

... and this is fine too !


[Feat] Add PointCloud ObjectDetection

What does this PR do?

Fixes # (issue)
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests? [not needed for typos/docs]
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[ ] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @tchaton! Thanks for opening this PR.

In the file flash/pointcloud/detection/model.py:

Line 109:9: E265 block comment should start with '# '
Line 109:121: E501 line too long (124 > 120 characters)
Line 114:117: W504 line break after binary operator

In the file flash/pointcloud/detection/open3d_ml/data_sources.py:

Line 73:121: E501 line too long (129 > 120 characters)

Do see the Hitchhiker's guide to code style


Conflict with mismatching connections with same name

Product
Hot Chocolate
Version
13.8.1
Link to minimal reproduction
See zip below
Steps to reproduce
Minimal repro: HotChocolateBugRepro.zip
Code for quick reference:
public class Hero()
{
    [UsePaging(IncludeTotalCount = true)]
    public IEnumerable<Hero> GetFriends() => [];
}

public class Villain()
{
    [UsePaging(RequirePagingBoundaries = true)]
    public IEnumerable<Villain> GetFriends() => [];
}

public class Query
{
    public IEnumerable<Hero> GetHeroes() => [];
    public IEnumerable<Villain> GetVillains() => [];
}

What is expected?
Since the two connections are inferred to have the same name, but are incompatible (different node types and/or other data such as the total field and required inputs), an error should be raised.
What is actually happening?
HotChocolate seems to silently pick one edge type and ignore the other.
Resulting schema for quick reference:

Expand
type Query {
  heroes: [Hero!]!
  villains: [Villain!]!
}

type Villain {
  friends(
    """
    Returns the first _n_ elements from the list.
    """
    first: Int

    """
    Returns the elements in the list that come after the specified cursor.
    """
    after: String

    """
    Returns the last _n_ elements from the list.
    """
    last: Int

    """
    Returns the elements in the list that come before the specified cursor.
    """
    before: String
  ): FriendsConnection
}

type Hero {
  friends(
    """
    Returns the first _n_ elements from the list.
    """
    first: Int

    """
    Returns the elements in the list that come after the specified cursor.
    """
    after: String

    """
    Returns the last _n_ elements from the list.
    """
    last: Int

    """
    Returns the elements in the list that come before the specified cursor.
    """
    before: String
  ): FriendsConnection
}

"""
A connection to a list of items.
"""
type FriendsConnection {
  """
  Information to aid in pagination.
  """
  pageInfo: PageInfo!

  """
  A list of edges.
  """
  edges: [FriendsEdge!]

  """
  A flattened list of the nodes.
  """
  nodes: [Villain!]
}

"""
Information about pagination in a connection.
"""
type PageInfo {
  """
  Indicates whether more edges exist following the set defined by the clients arguments.
  """
  hasNextPage: Boolean!

  """
  Indicates whether more edges exist prior the set defined by the clients arguments.
  """
  hasPreviousPage: Boolean!

  """
  When paginating backwards, the cursor to continue.
  """
  startCursor: String

  """
  When paginating forwards, the cursor to continue.
  """
  endCursor: String
}

"""
An edge in a connection.
"""
type FriendsEdge {
  """
  A cursor for use in pagination.
  """
  cursor: String!

  """
  The item at the end of the edge.
  """
  node: Villain!
}

Relevant log output
No response
Additional context
Note that I am aware how to override the connection name with ConnectionName.

This is mistakenly labelled Area: F#. The repro code is C#.