Payments - "Add Payment Method" does not response when tap on it while offline

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

Action Performed:

Navigate to Settings > Payments
Disable the internet connection in the device
Tap on "Add Payment Method"

Expected Result:
User should be able to tap on "Add Payment Method" button and select "PayPal.me" when navigate there when offline
Actual Result:
"Add Payment Method" does not response when tap on it while offline
Workaround:
Unknown
Platforms:

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

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/92544e92-58dc-43b9-b59a-78d8d95d90ca
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Add payment method button is disabled when the device is offline.
What is the root cause of that problem?
The button's isDisabled flag is modified based on an isOffline flag int he PaymentMethodList component.
What changes do you think we should make in order to solve the problem?
Remove the isOffline flag from the isDisabled prop then conditionally display options.
What alternative solutions did you explore? (Optional)
None.

In close account page and connect bank account, the user can't access when offline. So I think this is not a bug, because we should prevent user do important action like add payment method when offline like we did in close account and connect bank account

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~010c6310ab55f3d17d

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~010c6310ab55f3d17d

I agree with other GH and will close this as well.


problem with recognizing embedded text in a scanned document

Hi, I wonder if you can help me troubleshoot this file:
http://<IP_ADDRESS>:34555/pdf/a1d38a2631d78302c0f2dd49113cadc996386b39
Tabula doesn't give me an error message, but neither does it seem to be able to parse the document (a fairly clean scan that has been OCR'd).
Any tips on how to proceed would be much appreciated.  Maybe there's some additional pre-processing that I can do?

Hi @dcontre: You've included a link to the version of Tabula that's running on your computer, which won't be accessible to anyone else but you. If you attach the PDF here, someone can take a look.
It'd be helpful if you added some additional detail about what happens when you select a table. Do you get an empty table? A message saying "no data"? Only a few characters?

Thanks, and sorry about that - I thought that link was to the uploaded file.  Here it is attached.
In fact I don't even get so far as a table, but rather seem to get a failure in reading the file.  I've tried a couple of different versions of the file to make sure that it wasn't an upload error, and just tried updating to 1.2.0, but without a difference.  No error message, but here's a screenshot:

Ziolkowski_biblio.pdf

@dcontre Hmm. It works fine for me. Are you running Mac, Linux or Windows? If you're running Windows, are you running Tabula with administrator permissions? I wonder if -- for some strange reason -- Tabula doesn't have permission to write the screenshots to disk.

Hmm, strange.  I'm running OS X 10.10.1, and have not had trouble with other pdfs.  I just tried it on a Windows 10 machine as well (though w/o admin permissions), with identical results.

@dcontre I just tried it with the downloaded 1.2.0 (rather than my dev version). It worked fine, but it took a weirdly long time, "waiting to be processed". I think what happened is that the process that writes out the thumbnails must've died, or you visited the page too quickly, and so the thumbnails never got written out -- hence the missing images.
Can you try it again, but let it sit for a few minutes in another tab, before returning to it?

Thanks for putting some time into this.  I did as you suggested and gave the Tabula tab some time to think, but without any change in results.  It does run other files of similar size happily enough.


Unable to set storage URL correctly

Describe the bug
export const nhost = new NhostClient({
  backendUrl: NEXT_PUBLIC_API_URL
});

I am using backendUrl because I am using self hosted for now.
When I try to get the getPresignedUrl, the result is always returned pre-appended with http://localhost:8080/ rather than my NEXT_PUBLIC_API_URL
const resp = await nhostClient.storage.getPresignedUrl({
        fileId: fileId?.fileId,
      });

It's recommended to use individual service URLs when using the self-hosted version. Here's an example of how we set it up in our dashboard: https://github.com/nhost/nhost/blob/main/dashboard/src/utils/nhost.ts#L11

I've done that but it doesn't seem to overwrite the getPresignedUrl. Uploading images works no problems and i can see it hits the storage endpoint to upload the image, and retrieving the image hits the correct endpoint, but the actual hostname received always stays as localhost

I just tried using a custom storage service URL, and the request URL was updated for the getPresignedUrl function as I expected.
export const client = new NhostClient({
  authUrl: "https://local.auth.nhost.run/v1",
  storageUrl: "https://local.test.nhost.run/v1",
  graphqlUrl: "https://local.graphql.nhost.run/v1",
  functionsUrl: "https://local.functions.nhost.run/v1",
});

When I used a configuration like this, my getPresignedUrl requests went to the local.test.nhost.run endpoint.

So apparently this comes from the env variable PUBLIC_URL in the hasura-storage image rather than the NhostClient. Setting this solves the issue.


GRPC rpms on centos7

What version of gRPC and what language are you using?
1.20 , C++
What operating system (Linux, Windows,...) and version?
Centos 7
What runtime / compiler are you using (e.g. python version or version of gcc)
gcc (GCC) 8.3.1  ,
What did you do?
I tried installing grpc rpms from https://cbs.centos.org/koji/rpminfo?rpmID=165014 . But I am facing dependency issues. I have libprotobuf.so.10. But the grpc rpm libprobuf.so.17.  libprobuf.so.17 installation in turn requires many dependencies(libstdc++,   glibc-core >= 6:2.3.6-alt7).  I have gibc 2.27. So I am getting conflicts. I cannot remove gibc 2.27 because of local dependencies.
What did you expect to see?
What did you see instead?
Getting dependencies issues.
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?
Can you please share the whole procedure for  grpc rpm installation  and the necessary dependencies ....

@rahul7rajdn Sorry for the late response. We don't have much to do since those rpms are not developed nor maintained by us. Maybe you can built gRPC without using prebuilt rpm?


How to test other backbone architectures besides the default one (Transfuser) such as (geometric fusion, late fusion...)

Dear author,
I have a question regarding the changes that I should make in your code to test other architectures such as (geometric fusion, late fusion...) besides the default one which is Transfuser. To this end, I have the following questions:

For this end, do I have to set another option for the backbone only in the submsiion_agent.py (as illustrated in line 72 of screenshot 1 attached to this prompt) ? Or, in addition to this, I need also to change the value for the backbone in config.py (as illustrated in line 51of screenshot 2 attached to this prompt) ?
Is there any other changes that I need to make in these files or any other files for this end ?

You don't have to make any changes, these configurations are automatically updated based on the args.txt file that come with the model (see here).

So if I am understanding you correctly, in order to experiment the geometric fusion backbone for example, do I need to only (and I emphasize on the word 'only)'  change the content of the variable backbone located in config.py (line 51) from backbone = 'transfuser' to backbone = 'geometric_fusion' ?

No, you basically never need to change the default config in config.py.
For evaluation you only need to set the --agent-config= to the folder with the geometric_fusion model.
If you want to train a new geometric_fusion model you set the --backbone option in the training script to geometric_fusion.

Now, I understand you clearly. Thank you so much for your quick and clear reply.


utility: add support for g-prefixed coreutils ls

Fixes #1758
Proposed Changes

Define g-prefixed ls aliases
Default to g-prefixed ls in aliases

Note that this does change default behavior a bit by changing which ls will be selected for the default alias.

@wadkar
I myself have not installed gnu coreutils yet, because I wasn't aware of this being available on my mac. So you've lifted me to the idea here, thanks! 👍
But seeing this brings me to the idea to look if it'd make sense to do something similar with darwin users having gnu- programmes installed.
I for example, have gnu-sed, gnu-tar and gnu-getopt because I really don't like their standard darwin counterparts.

This actually already exists in https://github.com/sorin-ionescu/prezto/tree/master/modules/gnu-utility.
On a similar note, maybe it would make more sense to only change to the g-prefixed tools if gnu-utility is enabled.


published diagnostics are discarded due to file version

In the Helix editor I'm seeing published diagnostics being discarded because of a version mismatch. I see that there is a todo in the computation of the version:
https://github.com/elixir-lsp/elixir-ls/blob/987b4de463cbb264351398b5594027e72b09cbb6/apps/language_server/lib/language_server/server.ex#L1475-L1487
Could this be the reason of the version mismatch in the Helix editor? If so, should we have the option to disable sending the version? (it's optional, right?)
context: https://github.com/helix-editor/helix/discussions/8754

Yeah I think that's what's going wrong, because this PR fixes the issue: https://github.com/helix-editor/helix/pull/8760/files
Let's see what the feedback on that PR will be

Wow that was fast: https://github.com/helix-editor/helix/pull/8760#issuecomment-1802690057

Can you post log including textDocument/didChange notifications where update for version x + 1 happens before diagnostic for version x is published? I'd like to be sure there are no obvious bugs on ElixirLS side.

Here is an example session
2023-11-08T22:11:18.505 helix_lsp::transport [ERROR] elixir-ls err <- "Running /Users/dvic/.config/local/share/nvim/mason/packages/elixir-ls/launch.sh\n"
2023-11-08T22:11:18.513 helix_lsp::transport [ERROR] elixir-ls err <- "Preferred shell is zsh, relaunching\n"
2023-11-08T22:11:18.523 helix_lsp::transport [ERROR] elixir-ls err <- "Looking for ASDF install\n"
2023-11-08T22:11:18.523 helix_lsp::transport [ERROR] elixir-ls err <- "ASDF install found in /opt/homebrew/opt/asdf/libexec/asdf.sh, sourcing\n"
2023-11-08T22:11:19.089 helix_lsp::transport [ERROR] elixir-ls err <- "Installing ElixirLS release v0.17.7\n"
2023-11-08T22:11:19.089 helix_lsp::transport [ERROR] elixir-ls err <- "Running in /Users/dvic/Development/pluto/pluto\n"
2023-11-08T22:11:19.297 helix_lsp::transport [ERROR] elixir-ls err <- "Install complete\n"
2023-11-08T22:11:20.123 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:20.123 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:20.124 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:20.139 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:20.176 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:20.182 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:20.189 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:21.534 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:21.837 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:23.704 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:24.044 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:24.979 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:35.432 helix_lsp::client [INFO] Using custom LSP config: {"elixirLS":{"dialyzerEnabled":false}}
2023-11-08T22:11:35.432 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"positionEncodings":["utf-8","utf-32","utf-16"]},"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"disabledSupport":true,"isPreferredSupport":true,"resolveSupport":{"properties":["edit","command"]}},"completion":{"completionItem":{"deprecatedSupport":true,"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{}},"hover":{"contentFormat":["markdown"]},"inlayHint":{"dynamicRegistration":false},"publishDiagnostics":{"versionSupport":true},"rename":{"dynamicRegistration":false,"honorsChangeAnnotations":false,"prepareSupport":true},"signatureHelp":{"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown"],"parameterInformation":{"labelOffsetSupport":true}}}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":false},"executeCommand":{"dynamicRegistration":false},"inlayHint":{"refreshSupport":false},"symbol":{"dynamicRegistration":false},"workspaceEdit":{"documentChanges":true,"failureHandling":"abort","normalizesLineEndings":false,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"helix","version":"23.10 (f6021dd0)"},"initializationOptions":{"elixirLS":{"dialyzerEnabled":false}},"processId":56084,"rootPath":"/Users/dvic/Development/pluto/pluto","rootUri":"file:///Users/dvic/Development/pluto/pluto","workspaceFolders":[{"name":"pluto","uri":"file:///Users/dvic/Development/pluto/pluto"}]},"id":0}
2023-11-08T22:11:35.449 helix_lsp::transport [ERROR] elixir-ls err <- "Running /Users/dvic/.config/local/share/nvim/mason/packages/elixir-ls/launch.sh\n"
2023-11-08T22:11:35.455 helix_lsp::transport [ERROR] elixir-ls err <- "Preferred shell is zsh, relaunching\n"
2023-11-08T22:11:35.464 helix_lsp::transport [ERROR] elixir-ls err <- "Looking for ASDF install\n"
2023-11-08T22:11:35.464 helix_lsp::transport [ERROR] elixir-ls err <- "ASDF install found in /opt/homebrew/opt/asdf/libexec/asdf.sh, sourcing\n"
2023-11-08T22:11:36.058 helix_lsp::transport [ERROR] elixir-ls err <- "Installing ElixirLS release v0.17.7\n"
2023-11-08T22:11:36.058 helix_lsp::transport [ERROR] elixir-ls err <- "Running in /Users/dvic/Development/pluto/pluto\n"
2023-11-08T22:11:36.268 helix_lsp::transport [ERROR] elixir-ls err <- "Install complete\n"
2023-11-08T22:11:37.093 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Started ElixirLS v0.17.7","type":3}}
2023-11-08T22:11:37.093 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Running in /Users/dvic/Development/pluto/pluto","type":3}}
2023-11-08T22:11:37.093 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Started ElixirLS v0.17.7" }
2023-11-08T22:11:37.093 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Running in /Users/dvic/Development/pluto/pluto" }
2023-11-08T22:11:37.095 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"ElixirLS built with elixir \"1.15.7\" on OTP \"26\"","type":3}}
2023-11-08T22:11:37.095 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Running on elixir \"1.15.7 (compiled with Erlang/OTP 26)\" on OTP \"26\"","type":3}}
2023-11-08T22:11:37.095 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "ElixirLS built with elixir \"1.15.7\" on OTP \"26\"" }
2023-11-08T22:11:37.095 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Running on elixir \"1.15.7 (compiled with Erlang/OTP 26)\" on OTP \"26\"" }
2023-11-08T22:11:37.096 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Protocols are not consolidated","type":3}}
2023-11-08T22:11:37.096 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Protocols are not consolidated" }
2023-11-08T22:11:37.101 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"eep48","measurements":{},"properties":{"elixir_ls.eep48":"true","elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.mix_env":"dev","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26"}}}
2023-11-08T22:11:37.101 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:37.101 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"elixir_sources","measurements":{},"properties":{"elixir_ls.elixir_release":"1.15","elixir_ls.elixir_sources":"true","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.mix_env":"dev","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26"}}}
2023-11-08T22:11:37.101 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:37.101 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"otp_sources","measurements":{},"properties":{"elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.mix_env":"dev","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26","elixir_ls.otp_sources":"true"}}}
2023-11-08T22:11:37.101 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:37.117 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"dialyzer_support","measurements":{},"properties":{"elixir_ls.dialyzer_support":"true","elixir_ls.dialyzer_support_reason":"","elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.mix_env":"dev","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26"}}}
2023-11-08T22:11:37.117 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:37.153 helix_lsp::transport [INFO] elixir-ls <- {"id":0,"jsonrpc":"2.0","result":{"capabilities":{"codeActionProvider":false,"codeLensProvider":{"resolveProvider":false},"completionProvider":{"triggerCharacters":[".","@","&","%","^",":","!","-","~"]},"definitionProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n"},"documentSymbolProvider":true,"executeCommandProvider":{"commands":["expandMacro:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5","getExUnitTestsInFile:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5","manipulatePipes:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5","mixClean:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5","restart:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5","spec:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5"]},"foldingRangeProvider":true,"hoverProvider":true,"implementationProvider":true,"macroExpansion":true,"referencesProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":{"includeText":true}},"workspace":{"workspaceFolders":{"changeNotifications":false,"supported":false}},"workspaceSymbolProvider":true},"serverInfo":{"name":"ElixirLS","version":"0.17.7"}}}
2023-11-08T22:11:37.153 helix_lsp::transport [INFO] elixir-ls <- {"capabilities":{"codeActionProvider":false,"codeLensProvider":{"resolveProvider":false},"completionProvider":{"triggerCharacters":[".","@","&","%","^",":","!","-","~"]},"definitionProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n"},"documentSymbolProvider":true,"executeCommandProvider":{"commands":["expandMacro:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5","getExUnitTestsInFile:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5","manipulatePipes:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5","mixClean:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5","restart:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5","spec:1OGTvYhdCTkCTaLKk2v9mgxi4ufVEhQ5"]},"foldingRangeProvider":true,"hoverProvider":true,"implementationProvider":true,"macroExpansion":true,"referencesProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"textDocumentSync":{"change":2,"openClose":true,"save":{"includeText":true}},"workspace":{"workspaceFolders":{"changeNotifications":false,"supported":false}},"workspaceSymbolProvider":true},"serverInfo":{"name":"ElixirLS","version":"0.17.7"}}
2023-11-08T22:11:37.153 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"initialized","params":{}}
2023-11-08T22:11:37.153 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"lsp_request","measurements":{"elixir_ls.lsp_request_time":46},"properties":{"elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.lsp_command":"initialize","elixir_ls.mix_env":"dev","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26"}}}
2023-11-08T22:11:37.153 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"elixirLS":{"dialyzerEnabled":false}}}}
2023-11-08T22:11:37.153 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"elixir","text":"defmodule Pluto.Events.CropType.Added do\n  @moduledoc \"\"\"\n  Emitted when a crop type is added.\n  \"\"\"\n\n  use Pluto.TypedStruct\n\n  typedstruct do\n    field :id, UUID.t()\n    field :name, Text.t()\n    field :aspect_ratio, pos_integer() | float() | :free_mode\n    field :min_size, Pluto.CropType.size(), default: {0, 0}\n    field :mask, atom() | nil\n  end\n\n  def foo do\n    foo + 123\n  end\nend\n\ndefimpl Pluto.Upcast, for: Pluto.Events.CropType.Added do\n  def upcast(%{mask: _} = event), do: event\n  def upcast(event), do: Map.put(event, :mask, nil)\nend\n","uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":0}}}
2023-11-08T22:11:37.153 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:37.154 helix_lsp::transport [INFO] elixir-ls <- {"id":1,"jsonrpc":"2.0","method":"workspace/configuration","params":{"items":[{"scopeUri":"file:///Users/dvic/Development/pluto/pluto","section":"elixirLS"}]}}
2023-11-08T22:11:37.154 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","result":[{"dialyzerEnabled":false}],"id":1}
2023-11-08T22:11:37.155 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Received client configuration via workspace/configuration\n%{\"dialyzerEnabled\" => false}","type":3}}
2023-11-08T22:11:37.155 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Received client configuration via workspace/configuration\n%{\"dialyzerEnabled\" => false}" }
2023-11-08T22:11:37.160 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"lsp_config","measurements":{},"properties":{"elixir_ls.autoBuild":"true","elixir_ls.autoInsertRequiredAlias":"true","elixir_ls.dialyzerEnabled":"false","elixir_ls.dialyzerFormat":"","elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.enableTestLenses":"false","elixir_ls.envVariables":"false","elixir_ls.erts_version":"14.1.1","elixir_ls.fetchDeps":"false","elixir_ls.languageServerOverridePath":"false","elixir_ls.mixEnv":"test","elixir_ls.mixTarget":"host","elixir_ls.mix_env":"test","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26","elixir_ls.projectDir":"false","elixir_ls.signatureAfterComplete":"true","elixir_ls.suggestSpecs":"true"}}}
2023-11-08T22:11:37.160 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:37.160 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Client does not support workspace/didChangeConfiguration dynamic registration","type":3}}
2023-11-08T22:11:37.160 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Starting build with MIX_ENV: test MIX_TARGET: host","type":3}}
2023-11-08T22:11:37.160 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Client does not support workspace/didChangeConfiguration dynamic registration" }
2023-11-08T22:11:37.160 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Registering for workspace/didChangeWatchedFiles notifications","type":3}}
2023-11-08T22:11:37.160 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Starting build with MIX_ENV: test MIX_TARGET: host" }
2023-11-08T22:11:37.160 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Registering for workspace/didChangeWatchedFiles notifications" }
2023-11-08T22:11:37.160 helix_lsp::transport [INFO] elixir-ls <- {"id":2,"jsonrpc":"2.0","method":"client/registerCapability","params":{"registrations":[{"id":"607C03C7C86BBBE1F1B24CEC1ACF341C01DE8E52","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.ex"},{"globPattern":"**/*.exs"},{"globPattern":"**/*.erl"},{"globPattern":"**/*.hrl"},{"globPattern":"**/*.yrl"},{"globPattern":"**/*.xrl"},{"globPattern":"**/*.eex"},{"globPattern":"**/*.leex"},{"globPattern":"**/*.heex"},{"globPattern":"**/*.sface"}]}}]}}
2023-11-08T22:11:37.160 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","result":null,"id":2}
2023-11-08T22:11:37.160 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"client/registerCapability succeeded","type":3}}
2023-11-08T22:11:37.160 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "client/registerCapability succeeded" }
2023-11-08T22:11:37.160 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Received workspace/didChangeConfiguration","type":3}}
2023-11-08T22:11:37.160 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Received workspace/didChangeConfiguration" }
2023-11-08T22:11:37.160 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Received client configuration via workspace/didChangeConfiguration\n%{\"dialyzerEnabled\" => false}","type":3}}
2023-11-08T22:11:37.160 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Received client configuration via workspace/didChangeConfiguration\n%{\"dialyzerEnabled\" => false}" }
2023-11-08T22:11:37.169 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"lsp_config","measurements":{},"properties":{"elixir_ls.autoBuild":"true","elixir_ls.autoInsertRequiredAlias":"true","elixir_ls.dialyzerEnabled":"false","elixir_ls.dialyzerFormat":"","elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.enableTestLenses":"false","elixir_ls.envVariables":"false","elixir_ls.erts_version":"14.1.1","elixir_ls.fetchDeps":"false","elixir_ls.languageServerOverridePath":"false","elixir_ls.mixEnv":"test","elixir_ls.mixTarget":"host","elixir_ls.mix_env":"test","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26","elixir_ls.projectDir":"false","elixir_ls.signatureAfterComplete":"true","elixir_ls.suggestSpecs":"true"}}}
2023-11-08T22:11:37.169 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:37.172 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":0}}
2023-11-08T22:11:37.727 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Loaded DETS databases in 565ms","type":3}}
2023-11-08T22:11:37.727 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Loaded DETS databases in 565ms" }
2023-11-08T22:11:38.601 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Loaded DETS databases in 552ms","type":3}}
2023-11-08T22:11:38.601 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Loaded DETS databases in 552ms" }
2023-11-08T22:11:38.814 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Compiling 5 files (.ex)","type":4}}
2023-11-08T22:11:38.814 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "Compiling 5 files (.ex)" }
2023-11-08T22:11:38.845 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"error: undefined variable \"foo\"\n  lib/pluto/events/crop_type/added.ex:17: Pluto.Events.CropType.Added.foo/0\n","type":2}}
2023-11-08T22:11:38.845 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Warning, message: "error: undefined variable \"foo\"\n  lib/pluto/events/crop_type/added.ex:17: Pluto.Events.CropType.Added.foo/0\n" }
2023-11-08T22:11:38.848 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"\n== Compilation error in file lib/pluto/events/crop_type/added.ex ==\n** (CompileError) lib/pluto/events/crop_type/added.ex: cannot compile module Pluto.Events.CropType.Added (errors have been logged)\n","type":2}}
2023-11-08T22:11:38.848 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Warning, message: "\n== Compilation error in file lib/pluto/events/crop_type/added.ex ==\n** (CompileError) lib/pluto/events/crop_type/added.ex: cannot compile module Pluto.Events.CropType.Added (errors have been logged)\n" }
2023-11-08T22:11:38.858 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Compile took 1698 milliseconds","type":3}}
2023-11-08T22:11:38.858 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"build","measurements":{"elixir_ls.build_time":1698},"properties":{"elixir_ls.build_result":"mix_compile_error","elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.mix_env":"test","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26"}}}
2023-11-08T22:11:38.858 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Compile took 1698 milliseconds" }
2023-11-08T22:11:38.858 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:38.859 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"message":"(CompileError) lib/pluto/events/crop_type/added.ex: cannot compile module Pluto.Events.CropType.Added (errors have been logged)","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"Elixir"},{"message":"undefined variable \"foo\"","range":{"end":{"character":3,"line":16},"start":{"character":3,"line":16}},"severity":1,"source":"Elixir"}],"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":0}}
2023-11-08T22:11:38.859 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] Indexing...","type":3}}
2023-11-08T22:11:38.859 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Starting build with MIX_ENV: test MIX_TARGET: host","type":3}}
2023-11-08T22:11:38.859 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] Indexing..." }
2023-11-08T22:11:38.859 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Starting build with MIX_ENV: test MIX_TARGET: host" }
2023-11-08T22:11:38.871 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] Module discovery complete","type":3}}
2023-11-08T22:11:38.871 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] Module discovery complete" }
2023-11-08T22:11:38.928 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] 116 callbacks added to index","type":3}}
2023-11-08T22:11:38.928 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] 116 callbacks added to index" }
2023-11-08T22:11:39.027 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] 447 modules added to index","type":3}}
2023-11-08T22:11:39.027 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] 447 modules added to index" }
2023-11-08T22:11:39.229 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] 668 types added to index","type":3}}
2023-11-08T22:11:39.229 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] 668 types added to index" }
2023-11-08T22:11:40.555 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Stopping pluto","type":4}}
2023-11-08T22:11:40.555 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Unloading pluto","type":4}}
2023-11-08T22:11:40.555 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "Stopping pluto" }
2023-11-08T22:11:40.555 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "Unloading pluto" }
2023-11-08T22:11:40.680 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] 8477 functions added to index","type":3}}
2023-11-08T22:11:40.680 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] 8477 functions added to index" }
2023-11-08T22:11:40.808 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Compiling 5 files (.ex)","type":4}}
2023-11-08T22:11:40.808 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "Compiling 5 files (.ex)" }
2023-11-08T22:11:40.822 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"error: undefined variable \"foo\"\n  lib/pluto/events/crop_type/added.ex:17: Pluto.Events.CropType.Added.foo/0\n","type":2}}
2023-11-08T22:11:40.823 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Warning, message: "error: undefined variable \"foo\"\n  lib/pluto/events/crop_type/added.ex:17: Pluto.Events.CropType.Added.foo/0\n" }
2023-11-08T22:11:40.824 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"\n== Compilation error in file lib/pluto/events/crop_type/added.ex ==\n** (CompileError) lib/pluto/events/crop_type/added.ex: cannot compile module Pluto.Events.CropType.Added (errors have been logged)\n","type":2}}
2023-11-08T22:11:40.824 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Warning, message: "\n== Compilation error in file lib/pluto/events/crop_type/added.ex ==\n** (CompileError) lib/pluto/events/crop_type/added.ex: cannot compile module Pluto.Events.CropType.Added (errors have been logged)\n" }
2023-11-08T22:11:40.833 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Compile took 1973 milliseconds","type":3}}
2023-11-08T22:11:40.833 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"message":"(CompileError) lib/pluto/events/crop_type/added.ex: cannot compile module Pluto.Events.CropType.Added (errors have been logged)","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"Elixir"},{"message":"undefined variable \"foo\"","range":{"end":{"character":3,"line":16},"start":{"character":3,"line":16}},"severity":1,"source":"Elixir"}],"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":0}}
2023-11-08T22:11:40.833 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"build","measurements":{"elixir_ls.build_time":1973},"properties":{"elixir_ls.build_result":"mix_compile_error","elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.mix_env":"test","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26"}}}
2023-11-08T22:11:40.833 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Compile took 1973 milliseconds" }
2023-11-08T22:11:40.833 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:44.403 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":7,"line":16},"start":{"character":4,"line":16}},"text":""}],"textDocument":{"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":1}}}
2023-11-08T22:11:44.415 helix_vcs::diff::worker [INFO] Diff computation timed out, update of diffs might appear delayed
2023-11-08T22:11:44.426 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":4,"line":16},"textDocument":{"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex"}},"id":1}
2023-11-08T22:11:44.466 helix_lsp::transport [INFO] elixir-ls <- {"id":1,"jsonrpc":"2.0","result":{"activeParameter":1,"activeSignature":0,"signatures":[{"documentation":{"kind":"markdown","value":"Defines a public function with the given name and body."},"label":"def(call, expr \\\\ nil)","parameters":[{"label":"call"},{"label":"expr \\\\ nil"}]}]}}
2023-11-08T22:11:44.466 helix_lsp::transport [INFO] elixir-ls <- {"activeParameter":1,"activeSignature":0,"signatures":[{"documentation":{"kind":"markdown","value":"Defines a public function with the given name and body."},"label":"def(call, expr \\\\ nil)","parameters":[{"label":"call"},{"label":"expr \\\\ nil"}]}]}
2023-11-08T22:11:44.466 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"lsp_request","measurements":{"elixir_ls.lsp_request_time":40},"properties":{"elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.lsp_command":"textDocument_signatureHelp","elixir_ls.mix_env":"test","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26"}}}
2023-11-08T22:11:44.467 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:44.706 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"message":"(CompileError) lib/pluto/events/crop_type/added.ex: cannot compile module Pluto.Events.CropType.Added (errors have been logged)","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"Elixir"},{"message":"undefined variable \"foo\"","range":{"end":{"character":3,"line":16},"start":{"character":3,"line":16}},"severity":1,"source":"Elixir"}],"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":2}}
2023-11-08T22:11:44.710 helix_term::application [INFO] Version (2) is out of date for "/Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex" (expected (1), dropping PublishDiagnostic notification
2023-11-08T22:11:45.613 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":4,"line":16},"start":{"character":4,"line":16}},"text":"1"}],"textDocument":{"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":2}}}
2023-11-08T22:11:45.625 helix_vcs::diff::worker [INFO] Diff computation timed out, update of diffs might appear delayed
2023-11-08T22:11:45.646 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":5,"line":16},"start":{"character":5,"line":16}},"text":"2"}],"textDocument":{"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":3}}}
2023-11-08T22:11:45.696 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":6,"line":16},"start":{"character":6,"line":16}},"text":"3"}],"textDocument":{"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":4}}}
2023-11-08T22:11:45.998 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"message":"(CompileError) lib/pluto/events/crop_type/added.ex: cannot compile module Pluto.Events.CropType.Added (errors have been logged)","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"Elixir"},{"message":"undefined variable \"foo\"","range":{"end":{"character":3,"line":16},"start":{"character":3,"line":16}},"severity":1,"source":"Elixir"}],"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":5}}
2023-11-08T22:11:46.000 helix_term::application [INFO] Version (5) is out of date for "/Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex" (expected (4), dropping PublishDiagnostic notification
2023-11-08T22:11:46.446 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"textDocument/formatting","params":{"options":{"insertSpaces":true,"tabSize":2},"textDocument":{"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex"}},"id":2}
2023-11-08T22:11:46.483 helix_lsp::transport [INFO] elixir-ls <- {"id":2,"jsonrpc":"2.0","result":[]}
2023-11-08T22:11:46.483 helix_lsp::transport [INFO] elixir-ls <- []
2023-11-08T22:11:46.483 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"lsp_request","measurements":{"elixir_ls.lsp_request_time":37},"properties":{"elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.lsp_command":"textDocument_formatting","elixir_ls.mix_env":"test","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26"}}}
2023-11-08T22:11:46.484 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:46.484 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"text":"defmodule Pluto.Events.CropType.Added do\n  @moduledoc \"\"\"\n  Emitted when a crop type is added.\n  \"\"\"\n\n  use Pluto.TypedStruct\n\n  typedstruct do\n    field :id, UUID.t()\n    field :name, Text.t()\n    field :aspect_ratio, pos_integer() | float() | :free_mode\n    field :min_size, Pluto.CropType.size(), default: {0, 0}\n    field :mask, atom() | nil\n  end\n\n  def foo do\n    123 + 123\n  end\nend\n\ndefimpl Pluto.Upcast, for: Pluto.Events.CropType.Added do\n  def upcast(%{mask: _} = event), do: event\n  def upcast(event), do: Map.put(event, :mask, nil)\nend\n","textDocument":{"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex"}}}
2023-11-08T22:11:46.484 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"workspace/didChangeWatchedFiles","params":{"changes":[{"type":2,"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex"}]}}
2023-11-08T22:11:46.484 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Starting build with MIX_ENV: test MIX_TARGET: host","type":3}}
2023-11-08T22:11:46.485 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Starting build with MIX_ENV: test MIX_TARGET: host" }
2023-11-08T22:11:47.169 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Stopping pluto","type":4}}
2023-11-08T22:11:47.169 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Unloading pluto","type":4}}
2023-11-08T22:11:47.169 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "Stopping pluto" }
2023-11-08T22:11:47.169 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "Unloading pluto" }
2023-11-08T22:11:47.380 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Compiling 5 files (.ex)","type":4}}
2023-11-08T22:11:47.380 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Log, message: "Compiling 5 files (.ex)" }
2023-11-08T22:11:48.012 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"Compile took 1527 milliseconds","type":3}}
2023-11-08T22:11:48.012 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":5}}
2023-11-08T22:11:48.012 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"build","measurements":{"elixir_ls.build_time":1527},"properties":{"elixir_ls.build_result":"mix_compile_ok","elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.mix_env":"test","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26"}}}
2023-11-08T22:11:48.012 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "Compile took 1527 milliseconds" }
2023-11-08T22:11:48.012 helix_term::application [INFO] Version (5) is out of date for "/Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex" (expected (4), dropping PublishDiagnostic notification
2023-11-08T22:11:48.012 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:48.012 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] Updating index...","type":3}}
2023-11-08T22:11:48.012 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] Updating index..." }
2023-11-08T22:11:48.023 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] 4 modules need reindexing","type":3}}
2023-11-08T22:11:48.023 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] 4 modules need reindexing" }
2023-11-08T22:11:48.024 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] 0 callbacks added to index","type":3}}
2023-11-08T22:11:48.024 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] 0 callbacks added to index" }
2023-11-08T22:11:48.024 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] 4 modules added to index","type":3}}
2023-11-08T22:11:48.024 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] 4 modules added to index" }
2023-11-08T22:11:48.025 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] 1 types added to index","type":3}}
2023-11-08T22:11:48.025 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] 1 types added to index" }
2023-11-08T22:11:48.029 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"window/logMessage","params":{"message":"[ElixirLS WorkspaceSymbols] 25 functions added to index","type":3}}
2023-11-08T22:11:48.029 helix_term::application [INFO] window/logMessage: LogMessageParams { typ: Info, message: "[ElixirLS WorkspaceSymbols] 25 functions added to index" }

I tagged you along in that helix issue by the way, hope you don't mind, I really want to get to the bottom of this 😄

This does look like a bug on elixirls side, doesn't it? if you look at these lines:
2023-11-08T22:11:44.403 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":7,"line":16},"start":{"character":4,"line":16}},"text":""}],"textDocument":{"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":1}}}
2023-11-08T22:11:44.415 helix_vcs::diff::worker [INFO] Diff computation timed out, update of diffs might appear delayed
2023-11-08T22:11:44.426 helix_lsp::transport [INFO] elixir-ls -> {"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":4,"line":16},"textDocument":{"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex"}},"id":1}
2023-11-08T22:11:44.466 helix_lsp::transport [INFO] elixir-ls <- {"id":1,"jsonrpc":"2.0","result":{"activeParameter":1,"activeSignature":0,"signatures":[{"documentation":{"kind":"markdown","value":"Defines a public function with the given name and body."},"label":"def(call, expr \\\\ nil)","parameters":[{"label":"call"},{"label":"expr \\\\ nil"}]}]}}
2023-11-08T22:11:44.466 helix_lsp::transport [INFO] elixir-ls <- {"activeParameter":1,"activeSignature":0,"signatures":[{"documentation":{"kind":"markdown","value":"Defines a public function with the given name and body."},"label":"def(call, expr \\\\ nil)","parameters":[{"label":"call"},{"label":"expr \\\\ nil"}]}]}
2023-11-08T22:11:44.466 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"telemetry/event","params":{"name":"lsp_request","measurements":{"elixir_ls.lsp_request_time":40},"properties":{"elixir_ls.elixir_release":"1.15","elixir_ls.elixir_version":"1.15.7","elixir_ls.erts_version":"14.1.1","elixir_ls.lsp_command":"textDocument_signatureHelp","elixir_ls.mix_env":"test","elixir_ls.mix_target":"host","elixir_ls.otp_release":"26"}}}
2023-11-08T22:11:44.467 helix_term::application [ERROR] received malformed notification from Language Server: Unhandled
2023-11-08T22:11:44.706 helix_lsp::transport [INFO] elixir-ls <- {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"message":"(CompileError) lib/pluto/events/crop_type/added.ex: cannot compile module Pluto.Events.CropType.Added (errors have been logged)","range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"severity":1,"source":"Elixir"},{"message":"undefined variable \"foo\"","range":{"end":{"character":3,"line":16},"start":{"character":3,"line":16}},"severity":1,"source":"Elixir"}],"uri":"file:///Users/dvic/Development/pluto/pluto/lib/pluto/events/crop_type/added.ex","version":2}}

Here the version sent with didChange is 1 but we respond with 2? Shouldn't there always be a corresponding publishDiagnostics?


host: Fix recent files design and add truncation

This required a preparatory step of splitting the recent files in localStorage into realm URL and file path, as it was not possible to distinguish them when stored in a single string.

There’s a Percy diff I don’t understand where the realm has changed:

And another that I’m sure is not caused by this PR, I’ve seen seemingly-random indentation changes before, would be great to eliminate this somehow:

Hmm for the percy change. mango.png is in Workspace A right?

Hmm for the percy change. mango.png is in Workspace A right?

Hmm for the percy change. mango.png is in Workspace A right? Are you showing an animation st the Workspace changes in-flight. Or are you showing the diff.

Hmm for the percy change. mango.png is in Workspace A right?

There’s a Percy diff I don’t understand where the realm has changed:

What I don't understand is the greyed out section

I noticed there is a failed test in basics.-test.ts
Cud it be solved by adding
    realm = await TestRealm.createWithAdapter(adapter, loader, this.owner, {
      isAcceptanceTest: true,
      overridingHandlers: [
        async (req: Request) => {
          return sourceFetchReturnUrlHandle(req, realm.maybeHandle.bind(realm));
        },
      ],
    });

There’s a Percy diff I don’t understand where the realm has changed:

What I don't understand is the greyed out section

The grayed out section is how you can tell Percy to ignore a region. I’ve been adding that for dates and for Monaco content that is not the focus of the test.

I noticed there is a failed test in basics-test.ts
Cud it be solved by adding
    realm = await TestRealm.createWithAdapter(adapter, loader, this.owner, {
      isAcceptanceTest: true,
      overridingHandlers: [
        async (req: Request) => {
          return sourceFetchReturnUrlHandle(req, realm.maybeHandle.bind(realm));
        },
      ],
    });

This is the diff tht might affect u https://github.com/cardstack/boxel/pull/667/files#diff-1763af2fab71f5660be4fa4dae87cc018edc3af30d06c954f2a8d74f9d771362L157-L166

This worked, thanks!


[Feature Request] Support for VuePress Next v2.0

Hello @adamdehaven Thank You so much for this great plugin, Can you please update this for v2.0 as I really need it in my docs.

Sorry opened issue at wrong repo here the correct one is https://github.com/adamdehaven/vuepress-plugin-custom-tooltip/issues/3


Unconfirmed transactions need work in explorer

This may be a bug in getrawtransaction, but anyway...
Take the following transaction view:

Issues:

Except possibly for the tx id, all input values are bogus (e.g. value of -0.0000001)
Transaction time say unix time 0, so this should be empty instead.
Included in block says 0, but this isn't in the genesis block, it has yet to be mined.
Need copy text icon on all hashes and addresses

Created separate issue for last item,
https://github.com/dcrdata/dcrdata/issues/127

This looks fixed in https://github.com/dcrdata/dcrdata/pull/128


2D primitives ordering/layering

We don't currently define which order 2D shapes are painted. Once we support more primitives like filled rectangles, circles, text etc, it will be very important to be able to specify what is on top of what.
We also need good default, e.g. images should probably be furthest down whatever happens.
We should maybe default to painters-algorithm (whatever is logged first is painted furthest back), as that is what many users are used to from e.g. opencv.
Let's investigate nomenclature other libraries and tools use.

related to

#702
#1025

Let's avoid confusion by not calling this "Z". A depth-image contains Z-values, but can also have a draw-order/layer which is completely unrelated.

proposal: DrawOrder(f32) component

We should also have a default DrawOrder for all the 3D stuff projected into 2D, so that you can specify:

Paint my image
Project 3D stuff on top of the image
Paint these rectangles on top of everything else


Selected wordHighlight looks the same as unselected

VSCode Version:  1.8.1
OS Version: macOS 10.11.6

Steps to Reproduce:
In my theme I have:
<key>selection</key>
<string>#ff0</string>
<key>selectionHighlight</key>
<string>#0f0</string>
<key>wordHighlight</key>
<string>#f00</string>
<key>wordHighlightStrong</key>
<string>#00f</string>

Test code:
function test(source) {
	let parsedProps;
	try {
		parsedProps = propsParser(source);
	}
	catch (exception) {
		parsedProps = [];
	}
	return parsedProps;
}

Put cursor inside one of the parsedProps (looks fine so far):

Select part of parsedProps (selected part has the same style as non-selected):

@sapegin The trick is to use 8 hex chars. The last two represent the alpha.
e.g.:
<key>wordHighlight</key>
<string>#ff000044</string>
<key>wordHighlightStrong</key>
<string>#0000ff44</string>


Grove fails to start if a remap rule has bad keys

If a remap rule (delivery service) has bad keys, Grove fails to start and logs an error.
ERROR: proc.go:195: 2018-10-18T21:22:55.98514Z: starting service: loading certificates: loading rule foo.https.https.foo certificate: tls: private key does not match public key

It should log the error, but start, just without serving that Remap/DS. This will be critically important when Self Service is implemented, to prevent one tenant from breaking all Grove caches.

@rob05c Is grove actively developed and maintained? Should this still have the major label?

@rob05c Is grove actively developed and maintained? Should this still have the major label?

IMO if we're not running it in production I don't think it warrants major severity and the attention that requires.

IMO if we're not running it in production I don't think it warrants major severity and the attention that requires.

It's production-ready, and we did run it in production for a while. But we aren't right now, and I'm not aware of anyone who is.
I'd probably agree with @rawlinp I'd say it's medium-priority. Unless someone is running it in prod that I'm not aware of.
That said, I do think we should make an effort to fix critical issues if they appear. Production-ready is a difficult bar, and having put in the development to reach it, I don't think we should lose that.

It's production-ready, and we did run it in production for a while. But we aren't right now, and I'm not aware of anyone who is.
I'd probably agree with @rawlinp I'd say it's medium-priority. Unless someone is running it in prod that I'm not aware of.
That said, I do think we should make an effort to fix critical issues if they appear. Production-ready is a difficult bar, and having put in the development to reach it, I don't think we should lose that.

Okay, applied medium label.

Okay, applied medium label.


Use char code array in createTextWriter

Inquiring minds wanted to know, based on the performance savings in #44031 , if the same trick would work in createTextWriter. This PR aims to answer that question.
Fixes #44036

This looks like a no go so far. I've explored altering writePunctuation(), writeSpace(), writeTrailingSemicolon to write the character codes directly (i.e. without having to decode them from a string first), and that didn't seem to help much if at all. The build is still slower against my reference codebase.


Sample Project Doesnt build on 5.3?

Cog-main\Source\CogSample\CogSampleLogCategories.h(3): error C2011: 'FLogCategoryLogCogAlways': 'struct' type redefinition

Looks like CogSampleLogCategories.h is just missing:    #pragma once

Other than that - really cool so far

fixed thanks!


[WIFI-2623] Add: uCentral deployment workflow

@dunaev-opsfleet To me it looks like this workflow never succeeded, right?
https://github.com/Telecominfraproject/wlan-testing/actions/workflows/ucentralgw-deployment.yaml

@brennerm True, this pipeline always fails but that's because of uCentralGW not being able to start for some reason (details are in https://telecominfraproject.atlassian.net/browse/WIFI-2623 )

@brennerm , managed to make it work - https://github.com/Telecominfraproject/wlan-testing/pull/73/checks?check_run_id=3019561756


[T4A6][T16-A1]Lai Zhiyuan

Ready for review

@zyjames
Some comments added. Please ack & close the PR after reading comments.


Added the code for pinning object, check if object is pinned and to read object

This pull request introduces enhancements to object management utilizing the IPFS protocol. The implemented changes encompass the addition of code functionalities for object pinning, checking the pinned status of objects, and reading objects from IPFS.

Looks like the clippy and fmt checks are failing. Other than that this looks good!

Make sure to reference the issue this is trying to solve!

@vsawant10949 can you run the formatter so the check passes?

I have a few questions and changes below, otherwise looks good.
If the tests are not passing, but you'd like to keep them, how should we go about testing this?

This stuff all currently relies on you running another external service on your machine. I didn't want to force that on everyone and whatever automated test systems we have deployed. Eventually we'll have our own embedded service built into the codebase, so we'll be able to easily start and stop it without dependencies.


Unable to build with 3.5.0-b2 and Android Studio 3

Hi
I've just updated to 3.5.0-b2 (import of the new template) and I have this error message when building my signed apk:

Warning:Exception while processing task java.io.IOException: proguard.ParseException: Unknown option 'android.support.v7.graphics.**' in line 22 of file '/home/arnaud/Thèmes/Raya/app/proguard-rules.pro'
Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
Job failed, see logs for details

The 4 options of Support Repository are checked.

Android API 27 is partially installed. I don't know why. Can it explain the error?
Thank you.

Open file proguard-rules.pro and follow this commit https://github.com/danimahardhika/candybar-sample/commit/9f3dd975a00a32e8396f55daaed2bec2e28a77e6

Problem solved, thanks for your support.


Exception message and allow list improvements

As I installed zeal in a big project, it founds lots of little violations here and there.
Fixing everything would make a confusing PR, so I thought about starting by installing the tool, ignoring all the existing violations, the fix them one by one. At least the list should not grow in the meantime!
So I had to add ~30 fields to the ZEAL_ALLOWLIST, and these little things would have helped me:

Having the app name in the error message. Of course I know that User is auth.User, but I suspect zeal could know as well and it would have been easier to copy/paste, so a better message would be "N+1 detected on auth.User.my_field with calls:"
Accepting the same format in the allow list. {"model": "auth.User", "field": "my_field"} is very clear, but "auth.User.my_field" is also clear (I mean otherwise the exception would have said something different). What about accepting both?
Of course a couple of times I put the wrong app name, and the tests would fail in the exact same manner as before. What about adding a startup check to ensure that the fields/models actually exist? This would also ensure that when a model is deleted (we delete a lot), the cleanup is complete.

If you agree on all or any, and if you wish to receive PRs, I'd like to participate. Just let me know! 🙂

i just released zeal 2.0.0 which addresses points 1 and 3! (it's a breaking change, because now that zeal validates the allowlist, there might be some extra work to do).


fix: Image-Tag v0.2.0 is not (publicly) available. Changed to nightly build as default.

Might not be the best idea to set it to the main tags, but at least helps running the chart out of the box

Oops, thank you for the contribution and information things are broken! As people are using this chart, i'm going to be more careful about the versioning in the future. :)


use Atom 1.19 buffer API for finding the length of a buffer

Fixes https://github.com/lloeki/ex-mode/issues/183.
Changes Proposed in this Pull Request:

using getLineCount() if it is available rather than lines.length

This seems to fix the issue on my installation of Atom 1.19.0-beta2 (OS X), but I'm gonna double-check the backwards-compatibility works on 1.18 and check back in here.

Yup - it seems to be working fine on 1.18 (Windows) as well :D
The test failures look unrelated to my patch / like they've been in most of the recent builds. I'll see if there's anything I can do about that

Confirmed, this fixes the issue on 1.19 and still works on 1.18.  Very nice!
I hope this can be applied and released soon.

For those who don't want to wait for @lloeki, I have published a fork here with this fix: https://atom.io/packages/ex-mode-hb

@hultberg see #174


Add RPCs required at the DMC side

What this PR does / why we need it:
Adds initial code for the RPC module on the DMC side.
Which issue(s) does this PR fixes?:

Fixes #
Additional comments?:

covered in #64


Feedback for “useSignTransaction”

Hi Sui Team 👋🏼
issues:

variable result is not defined in example (see image)

proposes:

add import { Transaction } from '@mysten/sui/transactions'; to imports for current code example

please, let me know if it make sense
image:

Thanks @denyskozak, this was fixed in #19270.


html/css file opening - rgb2xterm very slow

I'm on vim 8.2 using it from a plain xterm. When I start up html or css files the startup time is extremely slow, can be 3-4 seconds.  As I was searching around found this with more or less the same problem from about 10 years ago:
https://github.com/skammer/vim-css-color/issues/3
Since a lot has changed in the past 10 years I was wondering what I could do to cut down on the startup time.
Strange thing is that I haven't had this problem before when I was using vim 7.
Maybe the problem has to do with xterm settings and vim is perfectly fine?

Try https://github.com/RRethy/vim-hexokinase instead and set termguicolors.

This requires a fully functional go-lang installation which seems a giganormous overkill.
What I'm wondering is that since there isn't a problem with other file types and those other file types also have syntax highlighting and pretty colors, probably the problem is only with vim trying to render color codes in the actual colors in html and css (and probably other file types as well). For me a perfectly fine solution would be to simply switch this feature off. How would I do that (while keeping all pretty colors and visual niceties that I enjoy with C files for example?

that version is unmaintained. Try one of the other forks (note: I also maintain a colorizer plugin).
Note: this is not a vim issue.

I don't use any plugins other than the ones shipped by fedora.
So basically my question is this: why is loading html/css so much slower than loading c/txt/tex or anything else?
I guess it's because some extra features are switched on by default for html/css and I'd like to turn these off.

So basically my question is this: why is loading html/css so much slower than loading c/txt/tex or anything else?

because that plugin is injecting expansive calculations into the default html/css syntax scripts. Use a different one. There exist better colorizer plugins.

Would it be possible to only alter the html/css behavior and not the rest?

This is a problem with a plugin, not Vim itself.  Not sure what is the best place to continue the discussion.


AST parser and media query

Adds @kuldeepkeshwar  as a contributor for code

@all-contributors please add @kuldeepkeshwar as a contributor for code


svg canvas to svg area

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #49266

Changed all occurrences of SVG canvas to SVG area.

Thanks for your first contribution attempt! It's unfortunate that you chose to work on an issue that already has at least 3 other PRs submitted — #49684, #49686, #49688. Due to that and the needless package-lock.json addition, I'm closing this request.


HDDS-3974. StateContext#addPipelineActionIfAbsent does not work as expected

https://issues.apache.org/jira/browse/HDDS-3974
The break in the loop doesn't actually prevent the pipeline action from being added twice. Should be fixed.

I think the action should also be sent to other endpoints?

I think the action should also be sent to other endpoints?

You are right. Should use a flag. Also working on a UT.

I think it may be more concise to put the addition in the if clause?

@symious done, tho in a slightly different way :)

@symious done, tho in a slightly different way :)

Oh, I was proposing
        for (PipelineAction pipelineActionIter : actionsForEndpoint) {
          if (pipelineActionIter.getAction() == pipelineAction.getAction()
              && pipelineActionIter.hasClosePipeline() && pipelineAction
              .hasClosePipeline()
              && pipelineActionIter.getClosePipeline().getPipelineID()
              .equals(pipelineAction.getClosePipeline().getPipelineID())) {
            actionsForEndpoint.add(pipelineAction);
            break;
          }

@symious done, tho in a slightly different way :)

Oh, I was proposing
        for (PipelineAction pipelineActionIter : actionsForEndpoint) {
          if (pipelineActionIter.getAction() == pipelineAction.getAction()
              && pipelineActionIter.hasClosePipeline() && pipelineAction
              .hasClosePipeline()
              && pipelineActionIter.getClosePipeline().getPipelineID()
              .equals(pipelineAction.getClosePipeline().getPipelineID())) {
            actionsForEndpoint.add(pipelineAction);
            break;
          }

hmm, IMO this loop wouldn't actually work as we expect. The goal of the loop inside was to iterate through all the existing actions before deciding if we need to queue it, IIUC?

@symious done, tho in a slightly different way :)

Oh, I was proposing
        for (PipelineAction pipelineActionIter : actionsForEndpoint) {
          if (pipelineActionIter.getAction() == pipelineAction.getAction()
              && pipelineActionIter.hasClosePipeline() && pipelineAction
              .hasClosePipeline()
              && pipelineActionIter.getClosePipeline().getPipelineID()
              .equals(pipelineAction.getClosePipeline().getPipelineID())) {
            actionsForEndpoint.add(pipelineAction);
            break;
          }

hmm, IMO the proposed loop wouldn't actually work as we expect. The goal of the loop inside was to iterate through all the existing actions before deciding if we need to queue it, IIUC?

Oh, sorry, my mistake. Since we can't use labels, your options are both fine with me.

@symious No worries! Please take a look at the latest patch if you are available. Thanks!
Also pending CI.

Thanks @symious and @avijayanhwx for reviewing this. Will merge this later in the day.


LINQ Serialization fails to use json arrows for data field

Hello,
I came across an issue with LINQ serialization. I'm trying to strip it down to only the involved parts. My classes are:
public class ThingProjection : SingleStreamProjection<Thing>
{
 public ThingProjection()
    {
        IncludeType<ThingInitialized>();
        IncludeType<ThingFailed>();
        IncludeType<Deleted>();
    }
   //create methods and apply methods here
}

public class Thing: Aggregate
{
    public ThingState State { get; private set; }
    //some other data fields
    //many methods here that are called from the projection to alter fields
}

public enum ThingState
{
    Draft,
    Initialized,
    Failed,
    Completed,
    Revoked
}

Now when I request entries of Thing that have a certain state, I should be able to do:
var revokedThings = querySession.Query<Thing>().Where(it => it.State == ThingState.Revoked).ToList();
But it serializes this to
Marten executed in 0 ms, SQL: select d.data from public.mt_doc_thing as d where d.state = :p0
  p0: Revoked

And that returns empty, because the data column contains json. It doesnt even give me an error, just an empty list.
A working query would go:
select d.data from public.mt_doc_thing as d where data ->> 'State' = 'Revoked';
Requesting all with .toList() and then adding the Where afterwards so it is evaluated locally works fine and gives me results.
We have some custom serializer settings
           var serializer = new JsonNetSerializer { EnumStorage = EnumStorage.AsString };
            serializer.Customize(s =>
            {
                s.ContractResolver = new NonDefaultConstructorMartenJsonNetContractResolver(
                    Casing.Default,
                    CollectionStorage.Default,
                    NonPublicMembersStorage.NonPublicSetters
                );
            });
            options.Serializer(serializer);

public class NonDefaultConstructorMartenJsonNetContractResolver : JsonNetContractResolver
{
    public NonDefaultConstructorMartenJsonNetContractResolver(
        Casing casing,
        CollectionStorage collectionStorage,
        NonPublicMembersStorage nonPublicMembersStorage = NonPublicMembersStorage.Default) :
        base(casing, collectionStorage, nonPublicMembersStorage)
    {
    }

    protected override JsonObjectContract CreateObjectContract(Type objectType) =>
        JsonObjectContractProvider.UsingNonDefaultConstructor(
            base.CreateObjectContract(objectType),
            objectType,
            base.CreateConstructorParameters
        );
}

Relevant Versions:
.NET 8.0
Marten 6.4.1
Newtonsoft.Json 13.0.3
NPGSQL.Json.NET 7.0.6

@SilvieM Are you maybe accidentally using a duplicated field for the State property up above? That's the most likely explanation. That exact use case is pretty well covered today in the Marten LINQ tests

Ooof. How embarassing. Yes I am. I wasnt aware that fields can be duplicated that way.
Thanks for the help.


Adds endpoint to fetch dummy data to determine network speed

Provides an endpoint to fetch 100kb of dummy data. This is used by local clients to determine if the network speed is fast enough

@anoopc1 PTAL


The app crashes when you doubleclick inserted icon

Describe the bug
The application crashes when double-click on inserted icon.
To Reproduce
Steps to reproduce the behavior:

Open Any Office file
Click "Insert Icon"
Double click inserted icon => Application crashes

Expected behavior
Application does not crash
Screenshots

Additional context
In most countries decimal separator is set to "," (coma) by default, not "." (dot)
You could try using "CultureInfo.InvariantCulture" here to fix the issue, "null" seems to be a problem (it means "current culture"). There are two occurrences of this problem in this file:
https://github.com/fernandreu/office-ribbonx-editor/blob/3d587b0dddfab82b1b123ba8b8b29f2670ee9517/src/OfficeRibbonXEditor/Converters/PowerConverter.cs#L19
This is originating from here ("1.2") - dot is used
https://github.com/fernandreu/office-ribbonx-editor/blob/3d587b0dddfab82b1b123ba8b8b29f2670ee9517/src/OfficeRibbonXEditor/Views/Controls/IconTab.xaml#L164-L165
Log
System.FormatException: Input string was not in a correct format.
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
   at System.String.System.IConvertible.ToDouble(IFormatProvider provider)
   at OfficeRibbonXEditor.Converters.PowerConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture) in D:\a\1\s\src\OfficeRibbonXEditor\Converters\PowerConverter.cs:line 19
   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.Activate(Object item)
   at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
   at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
   at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
   at MS.Internal.Data.DataBindEngine.Run(Object arg)
   at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(Object sender, EventArgs e)
   at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.Interop.HwndSource.SetLayoutSize()
   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   at System.Windows.Window.SetRootVisual()
   at System.Windows.Window.SetRootVisualAndUpdateSTC()
   at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   at System.Windows.Window.CreateSourceWindowDuringShow()
   at System.Windows.Window.SafeCreateWindowDuringShow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.Show()
   at System.Windows.Window.ShowDialog()
   at OfficeRibbonXEditor.App.LaunchDialog(Window mainWindow, IContentDialogBase content, Boolean showDialog) in D:\a\1\s\src\OfficeRibbonXEditor\App.xaml.cs:line 74
   at OfficeRibbonXEditor.App.OnUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e) in D:\a\1\s\src\OfficeRibbonXEditor\App.xaml.cs:line 96
   at System.Windows.Threading.Dispatcher.CatchException(Exception e)
   at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
   at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Thanks for the bug report! Yeah you are right, using CultureInfo.InvariantCulture in the converter from this build onwards.
I'll double-check there are no other places with a hard-coded number format and a variant culture.


Update benefits.md

Adding PCI-DSS's requirement: Restrict connections to untrusted networks

Thanks @petreski . Can you fix the pipeline issue?


Fix invoice thread opens when starting DM with the user after sending invoice to them

Details

When starting a chat, the app will look for the one on one chat by comparing the participants, but it matches the invoice thread participants. This PR fix it.
Fixed Issues

$ https://github.com/Expensify/App/issues/45187
PROPOSAL: https://github.com/Expensify/App/issues/45187#issuecomment-2222143795
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Send an invoice to a user
Open FAB > New chat
Select the user that you sent the invoice to
Verify the user chat is open

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/40ed4347-892a-4989-bc51-d685b671a684

Android: mWeb Chrome

https://github.com/user-attachments/assets/948c73cc-2d25-4739-905e-0e3c00a93bae

iOS: Native

https://github.com/user-attachments/assets/a8de102c-7c5b-4401-bdbf-b035a8ac501a

iOS: mWeb Safari

https://github.com/user-attachments/assets/6d9b0ecc-4a18-471f-9834-e9ebc122c6dc

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/f1bfc9a0-8478-46c8-b3e8-34db9de196cf

MacOS: Desktop

https://github.com/user-attachments/assets/f1e9e405-6b60-4bee-aadd-0e5903881494

Yes. This is all the usages:

ProfilePage
Task assignee
Finding chat with concierge
navigateToAndOpenReportWithAccountIDs | Message button on profile page
navigateToAndOpenReport
a. Message button on profile page, but with user logins
b. navigateToConciergeChat
c. NewChatPage
d. ChatFinderPage
Finding recipient (of send money) chat
Finding each split participant chat
Finding each split participant chat too/2
Finding either DM or group chat of split chat report
Finding money request chat report

Do you have any recommendation for the function name that is not too long?

🚀 Deployed to staging by https://github.com/cristipaval in version: 9.0.11-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Cherry-picked to staging by https://github.com/francoisl in version: 9.0.11-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/francoisl in version: 9.0.11-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/francoisl in version: 9.0.12-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


No file dist/js/index.bundle.js

On opening index.html file, It is trying to find index.bundle.js file which does not exist.

Yes, the built archives are not included in version control, please run build command first before local developments.


Question about data processing

Hello, I would like to know some specific steps about data set processing, such as what the data set goes through before it is divided into a training set/test set/verification set, and how many size sliding Windows you use to sample the same car. Thank you very much! @SajjadMzf

回复晚了，或许以后还有用。

您好，请问这个tpl库怎末安装哇，谢谢！

回复晚了，或许以后还有人用。


[hw,otp_ctrl_darjeeling] Hard fork of OTP Ctrl from integrated_dev

To unblock the work for integrated, we decided to create a temporary hard fork of otp_ctrl based on the integrated_dev branch. This fork only lives until otp_ctrl is ipgen'ed and will be removed later on.
To avoid package conflicts, all fusesoc packages are renamed to otp_ctrl_darjeeling(_XYZ). The CIP_ID remains the same for the time being.

A better fix should be possible when this is ipgen-ed. See https://github.com/lowRISC/opentitan/issues/25019.

@Razer6, this is probably okay, but we should make sure the CI failures are understood and addressed if needed.

A better fix should be possible when this is ipgen-ed. See #25019.

I agree, I think this is the long-term solution we all want. At the same time, a "hard fork" of otp_ctrl for Darjeeling as implemented in this PR can unblock work, so it's a viable stepping stone.

@Razer6, this is probably okay, but we should make sure the CI failures are understood and addressed if needed.

Agreed; probably some CI failures (hopefully most) can be resolved with a rebase on master. I'm taking the liberty to do so.

Closing in favor of the ipgen'ed  otp_ctrl from https://github.com/notifications


Feat: Add gallery thumbnail

What does this PR do?
Adds the gallery icon thumbnail
Screenshots (if applicable)

Related PRs and Issues
Resolves #21
Have you read the Contributing Guidelines?
yes

Hi @erinknight242 , one of the workflow have been recently update, can you please close this PR and make a new one, so that the updated workflow is triggered?

@VaibhavSaini19 I rebased off of the latest; should be good now


Parameters

Should there be descriptions of parameters here?

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

ID: b1f56a10-dabe-a37e-9ccf-24fe58077d6a
Version Independent ID: 86f1c91c-c475-fa6d-1708-b1093682caad
Content: Add-SPOGeoAdministrator (sharepoint-online)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Add-SPOGeoAdministrator.md
Service: sharepoint-powershell
GitHub Login: @trent-green
Microsoft Alias: trgreen

@officedocsbot assign @yogkumgit

Hello @hwkwicre again! 👍 thanks for noticing and reporting. A fix is on the way!
Thanks for making Docs better!

@get-itips  Thank you very much for the contribution and updating the documentation with PR. @hwkwicre Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Removes field validation from GRPCRoute Method/Service fields

What type of PR is this?
/kind bug
What this PR does / why we need it:
Removes validation for service and method fields in GRPCMethodMatch to allow use of regular expressions.
Which issue(s) this PR fixes:
Fixes #1746

CC @robscott since he advocated for and implemented this validation.
I think this is the only valid way to go here. What was missed with this validation was that we need to accept regexes, but there are two problems here:

The language consisting of all regular expressions is not itself regular and therefore cannot be captured by a standard regular expression
According to the spec, the particular regex engine used is implementation-defined. Therefore, even if we could construct a regular expression to capture the valid regexes, we would not be able to agree on a single implementation's flavor to use in validation.

Hey @sbko, I agree with @gnossen that this change is unfortunately likely required, but I'd like to make sure we still try to capture this validation somewhere. Can you mirror what we're doing for HTTPRoute here?
https://github.com/kubernetes-sigs/gateway-api/blob/ac16d2358125458a8f0ffba4020440d45944b0ed/apis/v1beta1/validation/httproute.go#L157-L189
Of course we'd still need to use the GRPCRoute-specific regexes we're using here, and add the validation to https://github.com/kubernetes-sigs/gateway-api/blob/main/apis/v1alpha2/validation/grpcroute.go, but I think the general logic and structure would be very similar.

@robscott I'll take a look

@robscott PTAL

Thanks @sbko!
/lgtm
/hold cancel

Updates #1016


Inputs don't get generated in Chrome for hosted fields.

General information

SDK version: 3.64.1
Environment: Both
Browser and OS: Chromium 84.0.4147.105 (Official Build) Arch Linux (64-bit) (Chrome on Mac, too)

Issue description
Inputs don't get generated in Chrome for hosted fields. It works with 3.63.0 but breaks after upgrading to 3.64.1.
This is what Chrome looks like:

And this is what the same page looks like in Firefox (notice the generated HTML elements):

I can't reproduce the problem. Can you provide a staging site that reproduces it?
Are you experiencing the same issue in this codepen? https://codepen.io/braintree/pen/grQJQM
Any errors in the console?

I work together with @manukall on the project that is experiencing this issue.
@crookedneighbor Your codepen works for me in all browsers, but I managed to edit it to recreate our issue. I added some styles that we have in our project. It looks to me that adding a style for select:-moz-focusring is causing the problem.
Here's a codepen that works for me (macOS 10.15.5) in Firefox (Developer 80.0b1), but doesn't work in Chrome (Version 84.0.4147.105) or Safari (13.1.1) https://codepen.io/angelikatyborska/pen/oNxNEGQ

Thanks for the codepen!
My guess here is something went wrong with an update to inject-stylesheet. Will report back with what I find.

Yep, I've confirmed that reverting from v3 to v2 for inject-stylesheet fixes the problem. Investigating what the cause is now.
https://github.com/braintree/inject-stylesheet/compare/v2.0.0...v3.0.0

OK, sorted it out.
Turns out, in v2 of injected-stylesheet, we were checking any errors from calling insertRule incorrectly: https://github.com/braintree/inject-stylesheet/blob/6a699ceb02bdde906c9c76bdea32227b64fbb615/lib/inject-stylesheet.js#L67
So all errors were being swallowed.
This got "fixed" in v3: https://github.com/braintree/inject-stylesheet/blob/0df8bf36ab97f4402f02daf39e489430b0866033/src/lib/inject-stylesheet.ts#L84
But now, the DOMException that is getting thrown is halting the setup of the inputs. In this case, the error is getting thrown because a -moz selector is being used in Google Chrome (which explains why Firefox doesn't care)
I think the correct behavior here is that DOMExceptions get ignored, that will most easily fix cases like this.
Fixed upstream (released as v4.0.0): https://github.com/braintree/inject-stylesheet/commit/26c882a5ee262b51259c35c3238510b509b17f18#diff-078b1db67cfc51a1e8e323a10e90d5e0R84
Gonna try to get a patch release out for braintree-web tomorrow which will include the fix for this.

This should be fixed in v3.64.2, thanks for the report!


CS2 instant crash

hello folks. the process crashes immediately after loading the dll into the process, any fix available?

Hey, it is probably due to the recent cs2 updates. You should update the offsets/indexes for the newest version, you can also open a pr for it. We don't have much time to update this project :shrug:

Fixed in https://github.com/neverlosecc/source2gen/commit/6b73085d9ae3111cb672f491907fee6c195eaa31


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 15:42:29 on 2023.04.26
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 4, errors out: 0
Original problem ID: 20013
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=20013

Problem has been resolved in 12m 0s at 15:54:29 on 2023.04.26
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 20013


Possibility of training on COCO 2017 for object detection module

Has authors of this paper trained on COCO? If so,  are there any pre-trained weights available?
If not, any suggestion on parameters that needs to be tuned to train on the COCO dataset?

hi @saimouli,
Unfortunately, we don't train on COCO dataset. We will update our tutorial for custom dataset soon.