TLS / SSL on ringojs.org

We should provide a letsencrypt-based TLS setup on ringojs.org

I also looking forward this too.
I really want to use plain ringo not servlet.
but i failed to manage to enable https without servlet.

I think I will update RingoJS to https://github.com/grob/httpserver (which I hope will replace the current HTTP server in 2.0). The configuration is easier and we need some real world tests. ringojs.org looks like a good place for that.
The other way is to use Jetty's jetty.xml and configure the keystore stuff there:
http://www.eclipse.org/jetty/documentation/9.3.x/configuring-ssl.html

Releases will be served by simplesite and not by Apache in the future. For this all release files have to be uploaded into ringojs.org under /releases/MAJOR.MINOR.PATCH. This makes releases and checksums better trackable, even if it needs some binaries inside an repository. But imho for this case this is okay. See https://github.com/ringo/ringojs.org/commit/34969bc9cbe1fa9c6eae13a000d90d84805dc469 and https://github.com/ringo/simplesite/commit/11fda436f5439227d9fa755eb7c81cc7065e1afd and https://github.com/ringo/simplesite/commit/222c38e9208182688c3e9756a709d9f68dcf05bd
We use https://letsencrypt.org as provider for the certificate.
The old Apache-based sites will redirect everything from the ringojs.org content to the https site, but not the old http://ringojs.org/downloads/* links. This would break older installations via brew and other tools.


frigate: 0.13.1 -> 0.13.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for frigate is: NVR with realtime local object detection for IP cameras
meta.homepage for frigate is: https://github.com/blakeblackshear/frigate
meta.changelog for frigate is: https://github.com/blakeblackshear/frigate/releases/tag/v0.13.2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 0.13.2 with grep in /nix/store/x3q74lsj3zg8r7gwx660d8yyzb783ihm-frigate-0.13.2
found 0.13.2 in filename of file in /nix/store/x3q74lsj3zg8r7gwx660d8yyzb783ihm-frigate-0.13.2

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
frigate

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/b0d8a540a96f9ba77cee0e66e394a51baddc6a44#frigate

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

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

1 package built:

frigate

Maintainer pings
cc @mweinelt for testing.

Warning: a test defined in passthru.tests did not pass


Significant size increases across all iOS builds

See: https://flutter-flutter-perf.skia.org/e/?begin=1681173515&end=1681183285&keys=Xb21246d4468ffbe9c99b6dd606e4b490&selected=commit%3D34297%26name%3D%252Carch%253Dintel%252Cbranch%253Dmaster%252Cconfig%253Ddefault%252Cdevice_type%253DiPhone_11%252Cdevice_version%253Dnone%252Chost_type%253Dmac%252Csub_result%253Drelease_size_bytes%252Ctest%253Dcomplex_layout_ios__compile%252C&xbaroffset=34296
https://flutter-flutter-perf.skia.org/e/?begin=1681168801&end=1681183285&keys=X955c14461efc5582079c46ce5fa7e29c&selected=commit%3D34297%26name%3D%252Carch%253Darm%252Cbranch%253Dmaster%252Cconfig%253Ddefault%252Cdevice_type%253DiPhone_11%252Cdevice_version%253Dnone%252Chost_type%253Dmac%252Csub_result%253Dflutter_framework_uncompressed_bytes%252Ctest%253Dhello_world_ios__compile%252C&xbaroffset=34295
Compressed size bytes has nearly doubled on hello_world
This happend on https://github.com/flutter/flutter/pull/124562 . I suspect it was probably https://github.com/flutter/engine/pull/40844 .

The size of the ios-release/Flutter.xcframework/ios-arm64/Flutter.framework/Flutter artifact has increased by 80% for some builds around the time of the engine_v2 switch.
(Other configurations of the iOS engine do not seem to be affected)
Not every recent engine commit has the larger ios-release/arm64 binary. Possibly some commits are getting artifacts uploaded by the old CI recipe?

After https://github.com/flutter/engine/pull/41097 files sizes are now identical:
Old artifact:

gsutil cp gs://flutter_infra_release/flutter/b8f1fa4e7032b15a3a2d744317e7cf9c0431c357/ios-release/artifacts.zip

New artifact:

gsutil cp gs://flutter_infra_release/flutter/experimental/b8f1fa4e7032b15a3a2d744317e7cf9c0431c357/ios-release/artifacts.zip

Sizes:

9655624 Apr 11 19:25 new/Flutter.xcframework/ios-arm64/Flutter.framework/Flutter
9655624 Apr 11 19:17 old/Flutter.xcframework/ios-arm64/Flutter.framework/Flutter


overlapping keymap of which-key

Version confirmation

[X] Confirm

Following prerequisites

[X] Confirm

Neovim version
NVIM v0.10.0
Branch info
main (Default/Latest)
Minimal (user) folder structure required to reproduce the issue
/user
├── configs
│   ├── dap-clients
│   ├── editor
│   │   └── visual-multi.lua
│   ├── formatters
│   └── lsp-servers
├── event.lua
├── keymap
│   ├── completion.lua
│   ├── core.lua
│   ├── editor.lua
│   ├── init.lua
│   ├── lang.lua
│   ├── tool.lua
│   └── ui.lua
├── options.lua
├── plugins
│   ├── editor.lua
│   ├── leetcode.lua
│   ├── nvim-surround.lua
│   └── xmake.lua
└── settings.lua

Minimal config with steps on how to reproduce the issue
When I open neovim, the following pop-up window always appear:

I use :checkhealth which-key The information output is as follows:

==============================================================================
which-key: require("which-key.health").check()

- OK Most of these checks are for informational purposes only.
  WARNINGS should be treated as a warning, and don't necessarily indicate a problem with your config.
  Please |DON't| report these warnings as an issue.
- WARNING |mini.icons| is not installed
- OK |nvim-web-devicons| is installed

Checking for issues with your mappings ~
- WARNING You're using an old version of the which-key spec.
  Your mappings will work, but it's recommended to update them to the new version.
  Please check the docs and suggested spec below for more info.
  Mappings: >
  {
    ["<leader>"] = {
      S = {
        name = "󰍉 Search"
      },
      W = {
        name = " Window"
      },
      b = {
        name = "󰓩 Buffer"
      },
      d = {
        name = " Debug"
      },
      f = {
        name = " Fuzzy Find"
      },
      g = {
        name = "󰊢 Git"
      },
      l = {
        name = "󱜙 Lsp"
      },
      n = {
        name = " Nvim Tree"
      },
      p = {
        name = " Package"
      },
      s = {
        name = " Session"
      }
    }
  }

  -- Suggested Spec:
  {
    { "<leader>S", group = "󰍉 Search" },
    { "<leader>W", group = " Window" },
    { "<leader>b", group = "󰓩 Buffer" },
    { "<leader>d", group = " Debug" },
    { "<leader>f", group = " Fuzzy Find" },
    { "<leader>g", group = "󰊢 Git" },
    { "<leader>l", group = "󱜙 Lsp" },
    { "<leader>n", group = " Nvim Tree" },
    { "<leader>p", group = " Package" },
    { "<leader>s", group = " Session" },
  }

checking for overlapping keymaps ~
- WARNING In mode `n`, <t> overlaps with <tj>, <to>, <tn>, <tk>:
  - <tj>: tab: Move to previous tab
  - <to>: tab: Only keep current tab
  - <tn>: tab: Create a new tab
  - <tk>: tab: Move to next tab
- WARNING In mode `n`, <s> overlaps with <spacefg>, <spacefc>, <spaceff>, <spacefd>, <spacefm>, <spacefp>:
  - <s>: Flash
- WARNING In mode `n`, <yS> overlaps with <ySS>:
  - <yS>: Add a surrounding pair around a motion, on new lines (normal mode)
  - <ySS>: Add a surrounding pair around the current line, on new lines (normal mode)
- WARNING In mode `n`, <ys> overlaps with <yss>:
  - <ys>: Add a surrounding pair around a motion (normal mode)
  - <yss>: Add a surrounding pair around the current line (normal mode)
- WARNING In mode `n`, <gc> overlaps with <gcc>:
  - <gc>: edit: Toggle comment for line with operator
  - <gcc>: edit: Toggle comment for line
- WARNING In mode `n`, <gb> overlaps with <gbc>:
  - <gb>: edit: Toggle comment for block with operator
  - <gbc>: edit: Toggle comment for block
- OK Overlapping keymaps are only reported for informational purposes.
  This doesn't necessarily mean there is a problem with your config.

Checking for duplicate mappings ~
- OK No duplicate mappings found

At the same time, when I use , the pop-up prompt also has the problem of duplicate icons：

Expected behavior
I'd like to know how to check and modify these overlapping keymappings, and what causes the duplicate icons.
Additional information
No response

#1323 #1324


Terraform vs. Rspec logger isolation

Hi there! Thanks for this project. We found your RubyTerraform project and used it to write an rspec-terraform plugin... until we realized you all had done the same thing (and better).
Some usage feedback: One of the things it'd be nice to do is have the option to silence the terraform plan output. To do so, I can do
RSpec.configure do |config|
    config.terraform_stdout = Logger::LogDevice.new(IO::NULL)
end

However this appears to have the unintended side-effect of also silencing the rspec-terraform plugin's logging output. I assume this is because the logger gets reused between the RubyTerraform and RSpec::Terraform. It seems like it might be worthwhile to isolate the loggers so that we can toggle them/redirect them independently of one another.
Perhaps alternatively (or in addition to), it might be nice to have an rspec option flag called silence_terraform_output that would redirect the terraform output to IO::NULL.
I'm happy to submit a PR implementing either/both of these options if you all think this would be valuable. Thoughts?

Hi @plukevdh,
We're glad you found it as we haven't even finished documenting / officially released it yet! I hope you are finding it useful and would be very open to further feedback in terms of how to improve. I'm not sure whether you are already aware but all the InfraBlocks terraform modules are already using rspec-terraform for their testing, both at unit and integration level so if you need any inspiration, they are worth a look.
In terms of your specific issue, the logging/output configuration probably needs some more work as it's a bit over complex. However, as it stands, there are 3 different outputs at play:

rspec-terraform's log output
ruby_terraform's log output
The standard output produced by Terraform when it is invoked

ruby_terraform allows its logger to be configured (in order to control the libraries log output) and also allows the stdout and stderr streams that get passed to shell invocations to be configured (in order to control Terraforms output). Then, wrapping that within rspec-terraform, we log additional lifecycle information throughout test execution.
Right now, rspec-terraform exposes a few different configuration options for managing all this output:

terraform_log_file_path: if file logging is enabled, this is the path where the file will be stored, required when file logging is enabled.
terraform_log_level: the level of logs to output, shared for rspec-terraform logs and ruby-terraform logs, defaulting to INFO.
terraform_log_streams: where to log to, zero or more of [:file, :standard] allowing logging to be output in the terminal or to a file, defaulting to :standard.
terraform_logger: the IO device to use for logging, used for both rspec-terraform logs and ruby-terraform logs (but not for Terraform output, see terraform_stdout), defaulting to a log device that logs to the provided terraform_stdout.
terraform_stdout: the IO device to use as the stdout stream provided to the Terraform commands invoked via a shell
terraform_stderr: the IO device to use as the stderr stream provided to the Terraform commands invoked via a shell

As emboldened above, I believe the problem you are facing is that because you are overwriting terraform_stdout to be a null device, the default terraform_logger is also redirecting to that null device. If you were to additionally specify terraform_logger as a logger sending its output to $stdout you should resume capturing both rspec-terraform logging and the (small amount of) ruby_terraform logging, e.g.:
RSpec.configure do |config|
    config.terraform_logger = Logger::LogDevice.new($stdout)
    config.terraform_stdout = Logger::LogDevice.new(IO::NULL)
end

I do like the idea of separating the IO devices used for rspec-terraform and ruby_terraform but I don't believe it will solve your problem and since ruby_terraforms logging is not particularly noisy, it might be fine to leave that outputting to the same place as rspec-terraform and instead just silence Terraform's standard output.
Let me know how you get on and as I say, feedback very welcome,
Thanks,
Toby

@tobyclemson Great feedback. I'd not associated the split-ability in the logger functionality with the stdout configuration. I missed that after I saw the default association. Also, super helpful delineation on what the three logging output components/concerns are. I'm actually not so concerned to split ruby_terraform the gem output and rspec-terraform. What I meant by ruby_terraform was actually the stdout output from terraform itself. Your solution handles that really well (though I think you want to assign a Logger.new($stdout) to terraform_logger rather than the LogDevice).
With that said, it might be helpful to delineate which of the output options is associated with what component. stdout to me is just any output to the console, not specifically just the output of the terraform runtime. Maybe rspec_terraform_logger vs. terraform_logger? Not sure.
In the end, I think it would be clearer to make the options configurable based on behavior (do I want terraform plan output to the console, do I want info/debug logging from the underlying Rspec plugin) rather than the underlying system concerns (what are my loggers, stdout, etc.) So instead of terraform_logger or terraform_stdout/stderr, it seems like a more descriptive interface to provide options like silence_terraform_output = true or debug_terraform_runtime = true.
It is still 💯 worth it to have that stuff configurable in the ruby_terraform library, perhaps less so in the rspec-terraform library.
Definitely take this all as constructive feedback from a very thankful developer. This library is solving a definite pain point and it's super validating to see someone else solving the same pains the way we would.


bug: lost css in generated epub

Even the example in test_books is the same. I unzip the generated epub and find that the <head> in html is missing.
I tried to find the reason but couldn't...

do not use --allow_navigable_strings

@yihong0618  I did not use this option

after your pr merge css lost？

@yihong0618  It should have existed a long time ago, so the books in test_books/ have this problem

@yihong0618
from ebooklib import epub

def main():
    input_epub_path = "input.epub"
    output_epub_path = "output.epub"

    book = epub.read_epub(input_epub_path)
    epub.write_epub(output_epub_path, book)

if __name__ == "__main__":
    main()

I try this will cause lose <head>

its ok for now, let us try to figure out why~

@yihong0618  It can be solved by modifying one line of code in ebooklib, but the original repo has not been updated for several months. How about copying its code and referencing the local library after modification?  On the right is the modified

we can use money patch

like what I did
you can try or you can share which line I will try to fix it
https://github.com/yihong0618/bilingual_book_maker/blob/main/book_maker/loader/epub_loader.py#L144-L164

@yihong0618  https://github.com/aerkalov/ebooklib/blob/a55089afc40042e2dcaddd2fc7364192f0b3ca0a/ebooklib/epub.py#L1360
change to self.out.writestr('%s/%s' % (self.book.FOLDER_NAME, item.file_name), item.content) will work

@hleft seems not ebooklib's bug....let me check


Issue Template: Render configuration

Which issue(s) this PR fixes:
None
What this PR does / why we need it:
Most users doesn't quote Your Configuration field manually when they report a bug.
So it should be quoted automatically.
Docs Changes:
None
Release Note:
None

Available Languages:
https://github.com/github/linguist/blob/master/lib/linguist/languages.yml


RexSonic and Rayvisoft merge?

By our powers combined...
Both branches are ahead of MWisBest's master, could they be merged?

Bump!
What happened to this? Is it possible to merge these two?

Bump!
What happened to this? Is it possible to merge these two?

Don't think is needed at all. All RexSonic got is README and license updates. Rayvisoft has a few actual changes to the program, just use it instead

That's great, thank you!
NΞZΔЯ
On Mon, Feb 26, 2024, 22:17 AverageDood @.***> wrote:

Bump!
What happened to this? Is it possible to merge these two?
Don't think is needed at all. All RexSonic got is README and license
updates. Rayvisoft has a few actual changes to the program, just use it
instead
—
Reply to this email directly, view it on GitHub
https://github.com/RexSonic/StadiEm/pull/1#issuecomment-1965303511, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A6OBBMFDQRCIXZGE6WGKB5LYVT3YBAVCNFSM6AAAAAAT7GR5BGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRVGMYDGNJRGE
.
You are receiving this because you commented.Message ID:
@.***>


Unable to locate dotnet/aspnetcore project in source.dot.net

Prior to the .Net 5 index fix, I was able to navigate projects that are from dotnet/aspnetcore, for example, Microsoft.AspNetCore, Microsoft.AspNetCore.WebHost etc..
After the fix, these projects are nowhere to be found on source.dot.net, would be grateful if you can include them again, thank you.

@alexperovich

This is not working because the aspnetcore build for the indexer isn't working. I will fix it.

I have fixed this.

Awesome job Alex.


Update patch flag help message

It wasn't clear what patch flag is doing exactly, so I had to ask and got a very clear reply here https://github.com/vmware-tanzu/carvel-kapp/discussions/382#discussioncomment-1773079

I signed CLA a while ago, no idea why  clabot isn't picking it up.

The CLA request is  under review. hoping to hear back from the assigned team soon.


Evaluation reproducing issues

Thanks for the great work. I'm trying to reproduce the results and facing following errors:

Can I use lm-evaluation-harness script instead of yours to evaluate the results? When I used lm-harness ammlu dataset, I got 34.1 accuracy as compared to yours 37. What could be the difference?

How to use this script for another model's evaluation?
i. When I changed the model to jais-13b it gave 0% accuracy on Ammlu (all the responses are empty string).
ii. On any other model such as Phi-2, MobiLlama-1B, I am getting the following error:

below are the changes I made to config.yaml:

and in ArabicMMLU_few_shots.sh, I changed the model id to Phi-2B-base. Can you please tell me the solution of this?

Please note that when I changed the model to google/gemma-2b then the accuracy was computing. I think it's the problem with the few open-source models. Can you point to any corrections in the codebase that can handle it?

Thank you for reaching out and for your efforts in reproducing the results.

You can indeed use the lm-evaluation-harness script to evaluate the dataset, but please note that the results may differ from ours. Our custom script is closer to "HELM".

Regarding the evaluation with Jais-13b:

I guess you are using fp16 for Jais. We found that jais should work with fp32. But recently we also meet some problem when we try to reproduce our evaluation result on Jais. Although we use fp32, Jais always reply with something like "I can't answer" rather  than to follow our script. We guess this phenomelon maybe caused by the training about safety?
Due to uncertain reasons, we have not reproduced the results of our previous testing of Jais ourselves.

For the errors encountered with models like Phi-2 and MobiLlama-1B:

Could you please share the specific error messages you're encountering? Detailed error reports would greatly help us in understanding the problem more precisely. Our resources are currently limited, and it may take some time for machines to become idle before we can attempt to solve this problem

We appreciate your understanding and patience as we work through these challenges.

Thank you for your response.

Is there a reason for such a difference in accuracy? lm-evaluation-harness is often considered as a benchmark and their ammlu task has quoted AceGPT's ammlu dataset as a contributor. I thought the results would be identical on them.

The numbers you quoted in the paper are implemented using the same evaluation script that's given in the eval folder? Do you have the inference scripts for them? It'll be great if you can provide that.

The errors are the same as I shared the screenshot of, it's mainly around "if 'eos_token_id' is defined then make that that 'pad_token_id' is also defined"
Looks like that's the issue with the generate function. People solved it by passing (pad_token_id = tokenizer.eos_token_id) in the generate function. But since you're using accelerator.unwrap(self.model).generate(), and the tokenizer isn't passed in the argument, I'm not sure if this should go here. Can you please take a quick look at it and fix it for models like Phi-2, MobiLlama etc?

The difference between harness and HELM can be found here.
There are some mistake about the number in the paper, and we will update it in arxiv after NAACL. The result of AceGPT could be reproduced by the script in this repository and summarized with the function. And we are trying to find the script for JAIS.
I thought we had defined pad_token_id here, maybe you can try pass (pad_token_id = tokenizer.eos_token_id) in generate function.

Yes although it's defined here, but when it goes to the transformer's function code, the error pops up. The generate function it not passed with the tokenizer as argument. Looks like it would require a few changes.


Webpack sqlcigher for difference system on macos

5.3.0  version change：Don't fallback to building from source。
On macos M1 i want to webpack  package for arm64 or darwin or linux  or window，But when I use 5.3.1， webpack electron，it cannot fallback to build source,  only download darwin  x64.   I want to known darwin x64 can be used for  installaton package on  difference system？ Or i should rebuild sqlcigher  for difference system?

You don't need to rebuild anything, but you do need to download the correct pre-built binaries.
You can that by running a command like this in node_modules/@journeyapps/sqlcipher:
npm run install -- --target_arch=arm64 --target_platform=win32

You don't need to rebuild anything, but you do need to download the correct pre-built binaries.
You can that by running a command like this in node_modules/@journeyapps/sqlcipher:
npm run install -- --target_arch=arm64 --target_platform=win32

I want to webpack package for arm64 on linux ，But when I use 5.3.1， webpack electron，it cannot build source。 can you provide this package？


How to mark patients complete for a practical support fund?

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

What are we trying to do?

NMRCRC is pushing us forward in this respect. They need a way to mark someone as all clear without pledges. How do we do that? I have no idea, but we should figure something out for them.

What feature or behavior is this required for?

NMRCRC support

How could we solve this issue? (Not knowing is okay!)

no idea, but highly suggestible!

Anything else?

n

a quick idea: practical support mode, which hides some fields and instead shows a 'all set' checkbox or something to mark stuff donezo?

@colinxfleming Let me know what you think! I'm open to wording/language suggestions
https://www.figma.com/file/Zry1ECvlVlSylFFKc6AxVv/DCAF-2?node-id=2%3A141

Coming back to this, I think this design does crystalize for me what we should do under a practical support mode:

new Config to turn on 'Practical Support Mode'
Submit Pledge button -> Mark Complete button (with a new modal flow to match) when that config is on. (unclear what the requirements should be to mark someone complete)
new patient field along the lines of marked_complete for this flow (and include in status, exports, etc)
Don't display Pledge Fulfillment if the config is on under any circumstances
DO display in the accountant flow if marked complete

Open question (repeated from inline):

what should be required to mark someone complete? (I think we can get started without this but good to know)

(Probably also hide the abortion information and budget bar sections)


Full Text Search Postgres

Is there a way to constuct a query like
SELECT to_tsvector('The quick brown fox jumped over the lazy dog')
    @@ to_tsquery('fox');

I know that you can use the CustomFunction to use the to_tsvector and to_tsquery like this:

to_tsvector = CustomFunction('to_tsvector', ['text'])
to_tsquery = CustomFunction('to_tsquery', ['text'])

sql = Query.select(to_tsvector('The quick brown fox jumped over the lazy dog'), to_tsquery('fox'))

But the output will be
SELECT to_tsvector('The quick brown fox jumped over the lazy dog'),to_tsquery('fox')

IDK how to add the @@ that you have there. You can use Concat, but I don't think it will work as you want.

You could use BasicCriterion.
import enum
from pypika import PostgreSQLQuery, CustomFunction
from pypika.terms import BasicCriterion

class Comp(enum.Enum):
    match = "@@"

to_tsvector = CustomFunction('to_tsvector', ['text'])
to_tsquery = CustomFunction('to_tsquery', ['text'])

sql = PostgreSQLQuery.select(BasicCriterion(Comp.match, to_tsvector('The quick brown fox jumped over the lazy dog'), to_tsquery('fox')))

Closing as this seems to be possible.


Cannot run the fuzzer with steps in README

I use tiffcp.1 which you provided and step by step as README.
I generated relation_tiffcp.json and combination_tiffcp.txt as appended files in generated_file.zip.
It always get zero coverage when I do Step 3 to fuzz tiffcp

generated_file.zip
Thanks

provid initial seed fuzzer use : input.zip

Hi, could you please provide me with the command you used to test the program and the version of LLVM you're using? I tested it myself and the fuzzer worked well. After comparing the contents of the 'generated_file.zip' you provided and the ones I generated locally, I found no differences, so I think the issue may be related to the version of LLVM.
# Command
${CarpetFuzz}/fuzzer/afl-fuzz -i input/ -o output/ -K ${CarpetFuzz}/output/stubs/ranked_stubs_tiffcp.txt -- $PWD/build_carpetfuzz/bin/tiffcp @@

# clang --version
Ubuntu clang version 12.0.0-3ubuntu1~20.04.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Command
${CarpetFuzz}/fuzzer/afl-fuzz -i input/ -o output/ -K ${CarpetFuzz}/output/stubs/ranked_stubs_tiffcp.txt -- $PWD/build_carpetfuzz/bin/tiffcp @@
clang --version
clang version 10.0.0-4ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

After I re-compile the fuzzer with LLVM_CONFIG=llvm-config-12 and re-compile libtiff, it can get coverage now.
Thanks

It's great to hear that.


Oncoprint output in text format

Hello,
Is it possible to export the Oncoprint output as a text file ? The figure gets too crowded after about 50 genes and I would like to look at all the mutated genes so it would be easy to have it as a text file.
Is there an easy way to do this ?
Thanks.

Yes. Use writeMatrix = TRUE in oncoplot function and it should generate an output tsv file onco_matrix.txt. Genes and samples would be in the same order as in the plot.


[Regression] there is no full response when complicated YG query sends

Send complicated YG query where it is required to bring data from the different graphs (the example of real use case will be provided by email)
Expected results: full response from all graphs appear
Actual results: partial response appears (there is no on part of the graph)

Some troubleshooting steps that I did;

If I remove one predicate from the query, it works as expected
the predicate is Boolean vs the rest
Search by this predicate works as expected for both cases: full path and prefix

It impacts negatively our customer.

To elaborate on the cause:
Before last release, we dealt with historic unmangled data by evaluating each filter as unmangled (which have string semantics when used as mangled field) as well as all type derivative fields.
e.g:
If we had a field isActive.ns which has domain of booleans, the meta data stored to support it is:
an infoton under the ns id: /meta/ns/id(ns)/isActive which has a field mang:['b'].
The value 'b' means that we should refer to values of that field as booleans.
This translate to a search in Elasticsearch with mangling prefixed fields. more specifically, ES sources for such infoton will contain:
"fields" : {   "${id(ns)}" : {     "b$isActive" : [ true ]   } }
if same field is used with other types, e.g. integers, the meta infoton of the field will have multiple values. e.g:
path = /meta/ns/${id(ns)}/isActive
fields = mang : [ 'b' , 'i' ]

if type 's' is used, which means a string, ES mappings have the bare field without an extra character and dollar sign prefixing it.
Now, as said above, old data didn't have strict types, and pre-migration environment had to deal with the dual mode. the hack was to always add the bare field name.
This worked in ES, since it was evaluated as nested should (per type).
It relates to current problem because the same FieldFilter class was used to model the filters to ES,
but also internally, when we used direct fetches from cassandra, we used those filters in memory with our own implementation to do the filters in expansion APIs (xg/yg/gqp).
Now, since FieldFilters needs to be evaluated by translating prefixes to internal ns identifiers for example, we used the same evaluation process; which yielded the mangling field names, which while we used the dual mode hack, was OK, since bare field was part of the fields set.
Now, after we fixed the dual mode post migration, we also needed to patch the internal filtering to account for mangled fields.
The PR (#530) is a quick patch.
A more concise approach is needed here. since we now can count on mangling,
we can match against the correct types, and only check appropriate FieldValues.

Verified by execution of complete automated regression suite + customer use cases.


Encrypt string hangs for ever

Hi,
I tried using your example but it gets hung on the encryption itself. Any recommendations?
Jagan

hey there @jagan999 I'm not sure why it's not working.  There are log statements in the catch blocks throughout the call chain.  If you could see if there is a stack trace in the log it could lead to the issue.  let me know what you find and if i can help you out in any way.

Any luck @jagan999 ??


Added source does not show up in lamindb instance

Report
I'm using LaminDB and want to add a source to bionty.
Following the docs I've added to my sources_local.yaml file the following:
...
Tissue:
  po:
    plants:
      '2024-04-17':
        url: https://purl.obolibrary.org/obo/po/releases/2024-04-17/po.owl
    name: Plant ontology
    website: https://obofoundry.org/ontology/po.html
  uberon:
...

When I run bt.base.display_currently_used_sources() my new source doesn't show up. I think this is because it looks in the file .lamindb_current_sources.yaml instead of my sources_local.yaml file when using lamindb. It does show up when I run bt.base.display_available_sources() but this is because that method uses the sources_local.yaml file. How can I get this to work with LaminDB?
I'm using the versions:
lamin-utils                        0.13.7         Lamin Utils.
lamindb                            0.76.15        A data framework for biol...
lamindb-setup                      0.80.0         Setup & configure LaminDB.
bionty                             0.51.2         Registries for basic biol...

Version information
No response

@mossjacob Would you like us to add this ontology to sources.yaml?

Is this written somewhere in the documentation? Perhaps that might be useful for future reference.

We are updating the ontology update process and this whole sources_local.yaml will very soon be replaced with just modifying the bionty.Source table.

I think the plant ontology is one file for all organisms, cell types, tissues, etc. Would, for example, bt.Tissue.import_from_source() only import the tissues from the plant ontology? We wouldn't want plant organisms being imported as tissues.

In that case, it would be better if we add the subset of plant ontology to Tissue, isn't it? We can do the curation on our side, is there a prefix of the ontology IDs we can use for filtering?

Are you sure that it doesn't already do any filtering? I ran bt.Tissue.df() and it only output 100 rows?

I think that .df() actually is limited to 100 rows in this case. If I run filter().df() then I get all of the ontology rows. So no filtering (you were right of course). Unfortunately no prefix of ontology IDs, but maybe it's possible to determine from the parent ontology term for each row.

Are you sure that it doesn't already do any filtering? I ran bt.Tissue.df() and it only output 100 rows (there are many more rows in the actual ontology)?

Sorry, what I meant by filtering was often an owl file contains a mix of sources, we filter them by specifying a prefix of ontology IDs. (.filter() in lamindb is querying the DB, which is a completely different notion).
Looking at PO: https://www.ebi.ac.uk/ols4/ontologies/po, it seems to be mainly composed of PO, and a small fraction of BFO, NCBITaxon, GO. Are your terms all under plant anatomical entity? If so, prefixing it with PO: should fix your need.
We'll follow up with a PR for adding PO!

Yes--I understand, I meant that running bt.Tissue.df() outputs only 100 rows whereas bt.Tissue.filter().df() outputs all the rows in the ontology.
Re prefixing the ontology: yes you could be right in that I just need to prefix with PO:, and I hope to do the same for plant organism ontologies (which might be prefixed by OBI?)
Many thanks for your help and for working on a PR for my use-case!

Yes--I understand, I meant that running bt.Tissue.df() outputs only 100 rows whereas bt.Tissue.filter().df() outputs all the rows in the ontology.

Right, and this is the intended behavior, .df() was meant to be a more performant check of recent rows in a registry, you can change the limit to show more rows. .filter, in comparison, returns the query result.

Ah, thank you for the link!
I think I will close the issue now as the original issue has been resolved!

@sunnyosun Sorry- another question! Do you have any docs on how to ingest ensembl genes for a particular species? I've been looking at
https://github.com/laminlabs/bionty-assets/blob/main/docs/ingest/gene-ensembl-release-110.ipynb for example.
I would like to add the ensembl plant genes to my ontology (https://plants.ensembl.org/index.html)

Here's our latest documentation: https://github.com/laminlabs/bionty-assets/blob/main/docs/ingest/gene-ensembl-release-112.ipynb
Would you like to make a PR to the bionty-assets repo? We can then host the curated df on s3 for quick access publicly.
Otherwise, you can also register the curated df as an Artifact in your lamindb instance and link the artifact to a new bionty.Source record.

I have tried to do this; and there's a tiny PR for one of the problems encountered (specifying the kingdom to obtain the right set of organisms), but unfortunately it seems that Ensembl may not offer plants in their database?  http://www.ensembl.org/info/docs/api/core/core_schema.html#gene
I'm running:
ensembl_gene = EnsemblGene(organism="arabidopsis thaliana", version="release-57", kingdom="plants")
df = ensembl_gene.download_df()

But I'm getting

OperationalError: (MySQLdb.OperationalError) (1049, "Unknown database 'arabidopsis_thaliana_core_57_110_11'")


Better handling of multimodel files and new operational modes.

Should fix #18 by removing arbitrary thresholds for the number of models.
Introduces two operational modes PRODUCTION and DEVELOPMENT that can be switched with the environmental variable IHMV_MODE.
In the DEVELOPMENT mode, the maximum number of models is set to 20 speedup processing.

@benmwebb please have a look at the modified version.


Add feature - Export Favorites list as text

Added ability to export favorites list as text. Available under the
Advanced settings. Exports in a format like this:
627 - Tech Support Cheat Sheet
641 - Free
645 - RPS
675 - Revolutionary
688 - Self-Description

The user can choose any app to export to that supports text/plain, such
as Gmail or a note-taking app.
Note that my computer and phone are not set up for Android development,
so I haven't tested or even compiled this, but it's a pretty simple
feature and hopefully I have done everything right. I used google
translate to add new text to the other languages, but I cannot vouch for
their accuracy.

Good work :)
I don't really like using google translator, I usually just use the English strings for Czech/Serbian and translate the German one by myself. This also makes it easier for the translators to see which strings are new and have to be translated.

Yeah, no worries, I don't blame you but I wasn't sure if you (or others) were translating manually, or with a tool. Should I change them back to English, or can we notify your translators directly?

Yep it's manually, so just change them back to English. Not sure if you can send private messages on GitHub, so we'll just wait until they show up to translate it.

Ok, I removed the google translated strings and included them in this Pull Request. I think you can probably notify users by using the @ convention in a comment, like @T-Rex96.


Peer Grade

0/.1
.1/.1
0/.1
0/.1

@h4seeb-cmd here, my laptop is not cooperating so I am commenting from Max's laptop. This week he gets a 0.1/0.4 extra because he has a functioning frontend UI demo that takes input and sorts various game results by win, loss, or draw.


error running

When running " python main.py --dataset "MATH" --split "test" --topic "algebra" " I got:
Interrupt at 0:data\MATH\test\algebra\1.json
Interrupt at 1:data\MATH\test\algebra\10.json
And then stoped without results.
Observation: in requiresments.txt it is "openai>=0.27.8", not "opanai>=0.27.8"

It is really a mistake in requiresments.txt, and I will fix it later.
The specific reason for the interrupt and detailed information will be clear if you comment out exception handling in line 71~74 of main.py


Update typo in config-builder.md

Removed erroneous "is".

Thank you for the PR, @aTuck!

Thank you for the PR, @aTuck!


Exclude kotlin-compiler-embeddable in distributions

 117.96 MB valkyrie-0.6.0-SNAPSHOT-after.zip
 184.73 MB valkyrie-0.6.0-SNAPSHOT-before.zip

Please check the related feature in #67.

oh, nice catch!

waiting compose multiplatform embedded 😄

Do you mean we can exclude compose-desktop deps as well?

Do you mean we can exclude compose-desktop deps as well?

they have this one, but last time I tried it not worked
https://github.com/JetBrains/compose-multiplatform/blob/master/tooling/compose-intellij-platform/README.md

It's about 75 MB now.
These libs are excluded now, we have to make sure this plugin can work on Windows or Linux.
   8.94 MB skiko-awt-runtime-macos-x64-0.8.4.jar
  10.35 MB skiko-awt-runtime-linux-arm64-0.8.4.jar
  10.53 MB skiko-awt-runtime-windows-x64-0.8.4.jar
  12.35 MB skiko-awt-runtime-linux-x64-0.8.4.jar

Looks like will not work without

Yeah, I've confirmed they are still necessary on Linux devices.

We can leave it as it is for now and wait for more news from JetBrains. The mentioned plugin hasn't been updated for 2 years, and it's dangerous to use in production 🙂

Reverted, I'll squash this PR later.

Can you verify #67 after this excluding? I'm not very sure if we can drop kotlin-compiler-embeddable.

It's crash 🙁
java.lang.NoClassDefFoundError: org/jetbrains/kotlin/com/intellij/openapi/project/Project
	at io.github.composegears.valkyrie.psi.ProjectKt.<clinit>(Project.kt:8)
	at io.github.composegears.valkyrie.psi.IconPackPsiParser.extractIconPack(IconPackPsiParser.kt:23)

Alright, we still need it.


make realmon work on Linux

this involves the following -

using the Diagnostics Client library to start an EventPipe session instead of an ETW session which is what TraceEventSession.EnableProvider does. conveniently there's already sample code here that shows how to start such a session in real time!

the necessary build files to build this on Linux.

resolved by #9


Support for RTSP Stream from IP CAM

Hello,
I have a question and maybe its already working. Does the player support also URLs with rtsp stream from IP Cameras or do you plan to integrate this. I was trying with the demo page but when I use a URL from a RTSP stream its not showing up the video.
Any plans on this to implement or is there a solution already which I did not see?
Thx
Daniel

What does the stream URL look like? If it works in a regular <video> tag then adding support is as easy as updating the supported extensions regex in FilePlayer

Should be fixed in 0.7.5

Ah, this fix was rather shortsighted of me. It seems like RTSP streams are generally not supported very well (or at all) by HTML5 media elements right now. Fixing this properly would involve some sort of additional flash/VLC/webRTC plugin.
http://stackoverflow.com/questions/1735933/streaming-via-rtsp-or-rtp-in-html5


Where can I see the logged on user?

I'd like to be able to see the user currently logged on to the website.

Fixed in PR #32.


Installable via OS package managers

As a user, I'd love to install the spin CLI similar to how I'd install other packages on Linux - through apt.
Something similar to
$ curl -fsSL https://apt.releases.fermyon.dev/gpg | sudo apt-key add -
$ sudo apt-add-repository "deb [arch=amd64] https://apt.releases.fermyon.dev $(lsb_release -cs) main"
$ sudo apt-get update && sudo apt-get install spin

(note: this is a very similar experience for HashiCorp's installation instructions for nomad, consul, vault, etc.)

I'd expand the scope of this and suggest we look at supporting package managers for macOS and Window as well.

I look for any kind of managed way to install something before sighing and running an installer script. Having only this option could be a deterrent for some types of devs to try out Fermyon. I realize it's a lot more work to define and generate other installation methods, however, so I understand if it's not time for this just yet.
Also, I'll just mention Homebrew on Linux here since it doesn't seem well-known. Or people automatically treat it as heretical without learning more. I've been using it for a few years and it's been pretty awesome, especially when I want to match up versions of software on my Mac and Linux PC. It uses the same package sources for both, so it would provide an option to release often on both--if you can get people to try it.

Hi, @neodon, thanks for the comment!
I agree, which is why I think this issue is something we want to prioritize really soon.
Particularly for the default package managers on Debian, macOS and Windows.

The spin software validation tool has claimed the spin package name in many OS installers (brew , apt , chocolatey at minimum).
It seems like we may want to prioritize brew, apt, and chocolatey, for all of which spin is taken.
Wanted to kick off some brainstorming on alternative package names:

fermyon-spin
spin-up

Also, for brew, I am not familiar with how difficult it is to create a bottle that can be directly installed with brew install vs creating a fermyon tap that needs to be installed first. I am assuming creating a fermyon tap is easier, creating an installation experience similar to Nomad's.

IIRC Homebrew does allow taps to be namespaced such that you can do a brew install fermyon/spin. This requires you to maintain your own tap.
https://github.com/Homebrew/brew/blob/master/docs/Taps.md
This is what we did for Draft: https://github.com/Azure/homebrew-draft
But yeah, rather unfortunate that we can't namespace the package for apt or chocolatey...
In cases where a name conflict arises and concepts like namespacing does not exist, I think fermyon-spin would be most appropriate.

Found this while browsing how to create DEB packages: https://www.makeuseof.com/create-deb-packages-debian-ubuntu/

Any thoughts or any process regarding publishing a Fermyon PPA (Personal Package Archive)?

Would appreciate effort around Linux friendly package managers as well, considering it could become part of a development toolchain. Brew is an afterthought and can be quite harmful for Linux systems.


Symfony\Component\Locale\Locale class is deprecated

The Symfony\Component\Locale\Locale class is deprecated since version 2.7, to be removed in Symfony 3.0. Use the methods provided by the \Symfony\Component\Intl\Intl class instead.

Called from require() at line 150
Called from DebugClassLoader::loadClass()
Called from spl_autoload_call() at line 82
Called from LocaleValidator::validate() at line 872
Called from RecursiveContextualValidator::validateInGroup() at line 711
Called from RecursiveContextualValidator::validateGenericNode() at line 138
Called from RecursiveContextualValidator::validate() at line 134
Called from RecursiveValidator::validate() at line 166
Called from RecursiveValidator::validateValue() at line 45
Called from MetaValidator::isAllowed() at line 62
Called from SessionLocaleGuesser::guessLocale() at line 120
Called from LocaleGuesserManager::runLocaleGuessing() at line 88
Called from LocaleListener::onKernelRequest()
Called from call_user_func() at line 61
Called from WrappedListener::__invoke()
Called from call_user_func() at line 1853
Called from EventDispatcher::doDispatch() at line 1771
Called from EventDispatcher::dispatch() at line 132
Called from TraceableEventDispatcher::dispatch() at line 120
Called from HttpKernel::handleRaw() at line 62
Called from HttpKernel::handle() at line 69
Called from ContainerAwareHttpKernel::handle() at line 190
Called from Kernel::handle() at line 30
Called from require() at line 36

I think this deprecation warning is about some other code but the same deprecated class is used here too:
https://github.com/lunetics/LocaleBundle/blob/6149a024be34afc7e7e9af362ad020037d0ab87f/Form/Extension/ChoiceList/LocaleChoiceList.php

would be awesome if you can do a pull request with a class_exists check
that uses the new class if available.

@dbu I don't have time for it. Anybody can do it :-)

well, same here. but thanks for reporting anyways.

to be fixed in #179

Any news on when you plan to release a SF3 compatible version?

https://github.com/lunetics/LocaleBundle/releases/tag/2.4.5 ?

Oh perfect. I just looked at the tickets and they are still all open^^

fixed in #179


Quilt Installer (0.1.1) doesn't install Quilt

Hi,
Great work with the new installer!
I understand that 0.1.1 is a pre-release, but I just wanted to point out that when I try to install a Quilt version, it doesn't actually download the JAR to the versions directory; it just creates the JAR file. However, 0.1.0 works just fine.
Thanks!

Oh, sorry, just tried it again, it turns out I have to launch the game. Sorry!


Add methods for optionally displaying the background/axes of a Plot

These are particularly useful when using the Plot widget as an overlay
over an existing grid or some other content.

Here's a screenshot of one of my intended use cases - using a Plot tool to visualise signals/patterns over a custom egui_timeline widget:

PS thanks for the awesome work on this lib! I'm the original author of conrod, which I made out of necessity back around Rust 0.9 as there were literally zero other GUI libraries out there at the time :) So nice to see a much more serious and well-thought-out immediate mode GUI lib! I'm blown away at how feature-full it is already. I especially appreciate the ease of integrating into different event loops and graphics backends :ok_hand: It has made it a breeze to integrate into nannou projects.

That's a really cool screenshot! I hope you release that app one day :)

I've rebased onto master and updated the new method to take [bool; 2], allowing the user to specify whether or not to show each axis individually.


Misleading feature avalibility of Rules (maybe more)

Existing documentation URL(s)
As said on Rule's homepage:

https://developers.cloudflare.com/rules/

it is "available on all plans". (Same situation also applies to some other products.)
But specific features like "'Host header' overriding" of "Origin Rules", although not introduced as a paid feature on its doc:

https://developers.cloudflare.com/rules/origin-rules/

is actually only available on Enterprise plans, and won't appear on Free plan user's dashboard.
The fact that it's Enterprise-only is mentioned under "Page Rules" -> "How To" -> "Rewrite Host Headers", which makes me confused. And since there's no sign or description on dashboard either, I once had no idea why the feature is missing and even thought it's my display or network issue.

https://developers.cloudflare.com/rules/page-rules/how-to/rewrite-host-headers/

What changes are you suggesting?

I'd like a more clear notice about product / sub-product / feature availability (I think I've seen them before), like, on their "Overview" page.
It might be even better if there's an feature overview table on each Product's homepage.
Additional information
No response

Hi @kLiHz
Each type of rule has its own Availability section (for example, in Origin Rules), which provides details on which exact features are available per plan.
I'll check how we can make this more clear in the documentation of each rule type.

@pedrosousa Sorry I didn't notice that earlier... Thanks for pointing out that for me!
I think a simple badge (something like Free × Pro ✓ Enterprise ✓) at the very beginning (just under the title, for example) might help?
Or maybe add some emoji alongside the text in the availability table (which makes it easier for visitors to notice)?

For now we won't be adding extra info per setting about what's supported in each plan. We'll revisit this choice if we get additional feedback, and in that case we'll take your suggestions into consideration.


Allow theme to live in sub folders on GitHub

Problem
When attempting to add a valid Hugo Module/Theme to themes.txt, the build fails stating it cannot find the GitHub repo.
It appears that the build script treats the Hugo Module path as the GitHub repo when that is not how the Go Module spec is defined.
According to the spec for Hugo and Go modules/themes:

a module/theme may be located within a subdirectory of a repository (i.e. you are allowed to have a repository containing multiple modules/themes)

e.g. modules/themes are allowed to exist at github.com/myname/myrepo/mytheme1/ and github.com/myname/myrepo/mytheme2/ according to the spec, but will cause the hugoThemesSiteBuilder to fail

a module/theme with a version greater than 2 must postfix the version to the Go Module path (and also worth mentioning, it does not need to create a physical subfolder for each version - a v5 subfolder doesn't need to exist although it must be in the module path)

currently, when a valid Hugo Module URI github.com/myname/myrepo/mytheme1/v5 is entered in themes.txt, the hugoThemesSiteBuilder fails when it should pass as it's a valid Hugo Module/Theme that meets the module spec

Solution
I propose we:

allow valid Hugo Module/Theme URIs to be defined in themes.txt (rather than treating Hugo Modules as GitHub repos, which is not how the Modules spec was defined)
introduce some simple logic in the build script to extract the GitHub Repo from the Hugo Module path

e.g. accept the valid Hugo Module/Theme URI github.com/myname/myrepo/mytheme1/v5
and extract the Github repo github.com/myname/myrepo from the module path

I can see how it fails to find GitHub info (which is an easy fix), but I don't see how it could fail the entire build?

I can see how it fails to find GitHub info (which is an easy fix), but I don't see how it could fail the entire build?

Here's an example: https://app.netlify.com/sites/hugothemes/deploys/60fd3de4fd8a140007135f91

panic: failed to get GitHub repo
...
Failing build: Failed to build site


Add adddebt command

Resolves #54

Codecov Report
Base: 72.06% // Head: 70.53% // Decreases project coverage by -1.53% :warning:

Coverage data is based on head (def56a2) compared to base (1825c8a).
Patch coverage: 31.11% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #80      +/-   ##
============================================
- Coverage     72.06%   70.53%   -1.54%
- Complexity      439      455      +16
============================================
  Files            77       82       +5
  Lines          1364     1432      +68
  Branches        141      148       +7
============================================
+ Hits            983     1010      +27
- Misses          343      382      +39
- Partials         38       40       +2

Impacted Files
Coverage Δ

...n/java/paymelah/logic/commands/AddDebtCommand.java
0.00% <0.00%> (ø)

...va/paymelah/logic/parser/AddDebtCommandParser.java
0.00% <0.00%> (ø)

.../java/paymelah/logic/parser/AddressBookParser.java
80.00% <0.00%> (-8.89%)
:arrow_down:

src/main/java/paymelah/model/debt/Description.java
80.00% <ø> (ø)

src/main/java/paymelah/model/debt/Money.java
76.92% <ø> (ø)

...n/java/paymelah/logic/parser/AddCommandParser.java
100.00% <100.00%> (ø)

src/main/java/paymelah/logic/parser/CliSyntax.java
87.50% <100.00%> (+4.16%)
:arrow_up:

...rc/main/java/paymelah/logic/parser/ParserUtil.java
97.87% <100.00%> (+0.65%)
:arrow_up:

...h/model/person/DebtsContainsKeywordsPredicate.java
75.00% <0.00%> (ø)

... and 2 more

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

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


[Suggestion] Add syntax for uploading a portion of a file in UNFLoader.

Expected Behavior
Currently, you can only upload an entire binary file by surrounding a path with @ symbols when you send a command through UNFLoader. I'd like to be able to send a range of bytes of the file.
Possible Solution
I'm thinking it could be implemented like<EMAIL_ADDRESS>The actual syntax doesn't really matter to me, just having the feature would be nice.
Context (Environment)
I recently added hot-reloading support to Diddy Kong Racing, in which I only reload the first megabyte of the ROM instead of the entire thing. During the building of the ROM, I added an extra step at the end to create a new file that contains only the first megabyte of the ROM to upload. I'm not actually monitoring if the ROM itself has changed for the hot reload, but instead I'm monitoring that copy.
Possible Implementation
debug_send() in UNFLoader/debug.c would need to be modified just before the fopen.
I made a function that can parse the range and should be easy to slot in:
/*==============================
    parse_file_range
    Parses out the file range syntax `[start:end]` for a given token if it exists.
    Note: end may be larger than the file size.
    @param token to parse (from debug_send). The range syntax will get removed after the function completes.
    @param The outputted start position of the file (0 by default)
    @param The outputted end position of the file.<PHONE_NUMBER> by default)
==============================*/
void parse_file_range(char *token, uint32_t *start, uint32_t *end)
{
    char *bracketOpen;
    char *bracketClose;
    char *colon;
    char *tokenEnd;
    char *number;

    bracketOpen  = strchr(token, '[');
    colon        = strchr(token, ':');
    bracketClose = strchr(token, ']');

    // Default values, representing the entire file.
    *start = 0;
    *end   =<PHONE_NUMBER>; // Largest uint32_t value.

    // Check if there is a file range.
    if(!bracketOpen && !colon && !bracketClose) {
        return;
    }

    // Check for obvious syntax errors.
    if(!bracketOpen || !colon || !bracketClose ||
        (bracketClose < bracketOpen) ||
        (bracketClose < colon) ||
        (colon < bracketOpen))
    {
        terminate("Invalid file range syntax.");
    }

    // Fix token
    tokenEnd = bracketOpen;
    while(tokenEnd[-1] == ' ') tokenEnd--; // Exclude whitespace
    *tokenEnd = '\0'; // Make sure the token ends up being just the filepath.

    // Get start & end positions
    number = bracketOpen + 1;
    while(*number == ' ') number++; // skip over whitespace
    if(*number != ':')
    {
        *start = strtol(number, 0, 0);
    }
    number = colon + 1;
    while(*number == ' ') number++; // skip over whitespace
    if(*number != ']')
    {
        *end = strtol(number, 0, 0);
    }
}

Here are a few examples of it's usage:
char token[64] = "file.bin[16:0x1234]";
uint32_t start, end;
parse_file_range(token, &start, &end);
printf("%s, %d, %d\n", token, start, end); // Output: file.bin, 16, 4660

char token[64] = "file.bin[:0x100000]";
uint32_t start, end;
parse_file_range(token, &start, &end);
printf("%s, %d, %d\n", token, start, end); // Output: file.bin, 0, 1048576

char token[64] = "file.bin[250:]";
uint32_t start, end;
parse_file_range(token, &start, &end);
printf("%s, %d, %d\n", token, start, end); // Output: file.bin, 250,<PHONE_NUMBER>

char token[64] = "file.bin";
uint32_t start, end;
parse_file_range(token, &start, &end);
printf("%s, %d, %d\n", token, start, end); // Output: file.bin, 0,<PHONE_NUMBER>

Note that file.bin[:] would have the same output as file.bin.
You would need to check the bounds to the size of the file. if end is larger than the size of the file, which it is by default, then you'd need to overwrite end with the size of the file.

Sounds like a good feature to have. We'd have to think about how (or if) we should expose the file's offsets on the N64 side. Perhaps this data could be included next to the @ syntax already in use by USB reading.


Add --errand option

Errands don't have drain scripts and therefore the container doesn't need to hang around once the errand is done, so with --errand the container-run wrap will exit once the main process exits, even when the exit code is 0.
Errands also shouldn't have post-start processes, so there isn't really any reason to wrap them with container-run, in which case this PR becomes unnecessary.
Manual testing
# ./container-run --job-name main --process-name main --errand $PWD/main.sh; echo $?
Start
Loop 1
Loop 2
Loop 3
Loop 4
Loop 5
Loop 6
Loop 7
Loop 8
Loop 9
Loop 10
End
0
#

This change is not needed because quarks no longer wraps errands with container-run: https://github.com/cloudfoundry-incubator/quarks-operator/pull/1324


adding a feature of bmi calculator

i want to add a feature of bmi calculator to this page

hey i want to contribute in this project plz assign me this issue

ok i will do it

@iamrahulmahato sir please give level to me


Change html lang with adapter-static

Describe the problem
I have make a Blog using Svelte kit, it is data driven through Github discussions.
Case all data is via environment or Github discussion, you can set a default lang with env or config, and specific post set lang with post frontmatter.
I found a solution, but it is not compatible with adapter-static.
https://github.com/sveltejs/kit/issues/3091#issuecomment-1112589090
Describe the proposed solution
Maybe provid like <svelte:head> a <svelte:html>?
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response

I don't understand, is the language known at prerender time? If so, https://github.com/sveltejs/kit/issues/3091#issuecomment-1112589090 will indeed work. If not, and the content is being injected with JavaScript (not recommended!) then you can set the lang attribute at the same time:
document.documentElement.lang = lang

I don't understand, is the language known at prerender time? If so, https://github.com/sveltejs/kit/issues/3091#issuecomment-1112589090 will indeed work. If not, and the content is being injected with JavaScript (not recommended!) then you can set the lang attribute at the same time:

document.documentElement.lang = lang

I think I know why, because I miswrite hooks into hooks…


Beetle Initial Support

Can you attach here the test results? We review this PR soon

Can you update device.h file , there were updates to the code base, to use features ?

Test summary:
+---------------+----------------+-----------+-------------+---------------------------------------+--------------------+---------------+-------+
| Result        | Target         | Toolchain | Test ID     | Test Description                      | Elapsed Time (sec) | Timeout (sec) | Loops |
+---------------+----------------+-----------+-------------+---------------------------------------+--------------------+---------------+-------+
| OK            | ARM_BEETLE_SOC | ARM       | DTCT_1      | Simple detect test                    |        0.49        |       10      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | EXAMPLE_1   | /dev/null                             |        3.51        |       20      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_10     | Hello World                           |        0.38        |       5       |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_11     | Ticker Int                            |       11.35        |       15      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_12     | C++                                   |        1.38        |       10      |  1/1  |
| NOT_SUPPORTED | ARM_BEETLE_SOC | ARM       | MBED_16     | RTC                                   |         0          |       0       |   -   |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_2      | stdio                                 |        0.76        |       20      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_23     | Ticker Int us                         |       11.35        |       15      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_24     | Timeout Int us                        |       12.27        |       15      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_25     | Time us                               |       11.46        |       15      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_26     | Integer constant division             |        1.37        |       20      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_34     | Ticker Two callbacks                  |       11.39        |       15      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_37     | Serial NC RX                          |       11.03        |       20      |  1/1  |
| FAIL          | ARM_BEETLE_SOC | ARM       | MBED_38     | Serial NC TX                          |        5.5         |       20      |  0/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_A1     | Basic                                 |        1.35        |       20      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_A21    | Call function before main (mbed_main) |        1.43        |       20      |  1/1  |
| OK            | ARM_BEETLE_SOC | ARM       | MBED_A9     | Serial Echo at 115200                 |        6.71        |       20      |  1/1  |
| FAIL          | ARM_BEETLE_SOC | ARM       | MBED_BUSOUT | BusOut                                |        2.32        |       15      |  0/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | DTCT_1      | Simple detect test                    |        0.53        |       10      |  1/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | EXAMPLE_1   | /dev/null                             |        3.49        |       20      |  1/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_10     | Hello World                           |        0.38        |       5       |  1/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_11     | Ticker Int                            |       11.34        |       15      |  1/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_12     | C++                                   |        1.38        |       10      |  1/1  |
| NOT_SUPPORTED | ARM_BEETLE_SOC | GCC_ARM   | MBED_16     | RTC                                   |         0          |       0       |   -   |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_2      | stdio                                 |        0.76        |       20      |  1/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_23     | Ticker Int us                         |       11.36        |       15      |  1/1  |
| FAIL          | ARM_BEETLE_SOC | GCC_ARM   | MBED_24     | Timeout Int us                        |       15.93        |       15      |  0/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_25     | Time us                               |       11.47        |       15      |  1/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_26     | Integer constant division             |        1.4         |       20      |  1/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_34     | Ticker Two callbacks                  |       11.38        |       15      |  1/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_37     | Serial NC RX                          |       11.06        |       20      |  1/1  |
| FAIL          | ARM_BEETLE_SOC | GCC_ARM   | MBED_38     | Serial NC TX                          |        5.5         |       20      |  0/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_A1     | Basic                                 |        1.36        |       20      |  1/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_A21    | Call function before main (mbed_main) |        1.44        |       20      |  1/1  |
| OK            | ARM_BEETLE_SOC | GCC_ARM   | MBED_A9     | Serial Echo at 115200                 |        6.73        |       20      |  1/1  |
| FAIL          | ARM_BEETLE_SOC | GCC_ARM   | MBED_BUSOUT | BusOut                                |        2.26        |       15      |  0/1  |
+---------------+----------------+-----------+-------------+---------------------------------------+--------------------+---------------+-------+
Result: 5 FAIL / 29 OK / 2 NOT_SUPPORTED

This is great! @fvincenzo could you please rebase on the latest master (sorry to ask you for second time). "features" is now "device_has".
Also do you have any idea why the BusOut test is failing?

@screamerbg Thanks! I hope it is the last time I have to rebase my code because you change the name of the keywords, it is already the second :-)
BUSOut does not work because Beetle does not have leds and BusOut reads the leds registers.

@0xc0170 Rebased on the lastest code.


[STK-212] use variables for cm

@waseem-h Image is available for testing. docker pull stakater/chowkidar:PR-7-1


regexp/syntax: limit memory used by parsing regexps [go1.17 backport] - CVE-2022-41715

From Golang security announcement:
The parsed regexp representation is linear in the size of the input,
but in some cases the constant factor can be as high as 40,000,
making relatively small regexps consume much larger amounts of memory.
Each regexp being parsed is now limited to a 256 MB memory footprint.
Regular expressions whose representation would use more space than that
are now rejected. Normal use of regular expressions is unaffected.
Thanks to Adam Korczynski (ADA Logics) and OSS-Fuzz for reporting this issue.
This is CVE-2022-41715 and Go issue https://go.dev/issue/55949.

Top level tracking issue: https://github.com/aws/eks-distro-build-tooling/issues/623


[bug] can't create non focused window on MacOS

Describe the bug
I use latest tauri from dev
And I try to create non focused (minimized) window on MacOS
in tauri.conf.json -> windows[0] I set  focus to false but when the app opens in MacOS the window is focused instead of being in background / minimized.
The same happens as well with dynamic created windows with focused(false).
Reproduction
    "windows": [
      {
        "fullscreen": false,
        "height": 600,
        "resizable": true,
        "title": "app",
        "width": 800,
        "label": "main",
        "focus": false // still focused and not minimized on launch
      }
    ]

or
WebviewWindowBuilder::new(&app, "second", tauri::WebviewUrl::External(Url::from_str("https://github.com".into()).unwrap())).focused(false).build().unwrap(); // still focused and not minimized on execute

Expected behavior
Newly created window should be non focused (minimized?)
Full tauri info output
app npx tauri info
WARNING: no lock files found, defaulting to npm

[✔] Environment
    - OS: Mac OS 14.2.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.75.0 (82e1608df 2023-12-21)
    ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.19.0
    - npm: 10.2.3

[-] Packages
    - tauri [RUST]: 2.0.0-beta.8
    - tauri-build [RUST]: 2.0.0-beta.6
    - wry [RUST]: 0.37.0
    - tao [RUST]: 0.26.1
    - tauri-cli [RUST]: 1.5.9
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.1

[-] App
    - build-type: bundle
    - CSP: unset

Stack trace
No response
Additional context
Looks like an issue in tao, it happens there as well.

@amrbashir Any chance we could get this issue looked at or any workarounds we can apply for now? This bug is detrimental to our app.

There is no workaround that I know of atm, I also don't have access to a macOS to help with these issues


Fix Check Hooks

Sensu check request JSON parsing produces a hash with symbolized keys, therefor symbolized keys must be used for hooks. This pull-request fixes hooks named after status codes, e.g. 1, and non-zero.
Previously, if a Sensu client had a local check definition, the settings loader provided both symbol and string keys and hooks worked. Hooks with severity names, e.g. warning, also worked, because Sensu was converting them to symbols.
Closes https://github.com/sensu/sensu/issues/1773

We can't find this version in the yum repo. Is it available?


Possibly Related Work

Diffusion Reward: Learning Rewards via Conditional Video Diffusion: https://diffusion-reward.github.io/

Thank you for referring to this paper. I read the article and found the idea interesting. Also, the paper is highly related to the topic of our survey. The paper has been included in this repo and will be added to our survey paper in the next update.

Thank you!


what to enter in Callback Token??

what to enter in Callback Token??
atleast create a docs if you want users to use your client system.

totally died support

what to enter in Callback Token?? atleast create a docs if you want users to use your client system.

Are you able to install it? Can you share what do you did? Thanks.

na its not working correctly.

what to enter in Callback Token?? atleast create a docs if you want users to use your client system.

Are you able to install it? Can you share what do you did? Thanks.

it has reached a point where no one uses this. this ui is amazing and i really want to use it...


getting mixed content warnings

getting warnings like the one below. Is there a way to force the map to also use an ssl connection?
Mixed Content: The page at 'https://noderedsite/ui/#/0' was loaded over HTTPS, but requested an insecure image 'http://a.tile.openstreetmap.org/10/507/342.png'. This content should also be served over HTTPS.

I should probably change them all to https anyway - all the sources I have built in all serve https.
(though my browser does try to auto switch to https in preference so I've never noticed :-)


Adding hover effect to social media icons

Fixes:  #2163
Description
Change in color according to their logo to the icons in footer section.
Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/anuragverma108/SwapReads/assets/168854094/b1efe5b8-8769-446a-b3c9-f303bcf85634
Checklist:
[X ] I have made this change from my own.
[X ] My code follows the style guidelines of this project.
[X ] I have performed a self-review of my own code.
[X ] My changes generate no new warnings.
[ X] I have tested the changes thoroughly before submitting this pull request.
[ X] I have provided relevant issue numbers and screenshots after making the changes.

@huamanraj Sir, please review this PR.
Thank You!


Create Asset / Asset Overview

Scope
issue-web38
Work Done

Create Asset Tokens to be minted card
Create Asset Linked resource upload card
Asset Overview Linked Resources display
Asset Overview Linked Resource detail modal

Steps to Test

Create an Asset

Screenshots

Your Circle CI tests are failing. Fix the issue and resubmit.


Unable to Generate Resources API Version 2017-08-31-preview

When running autorest.go with this tag the following error is produced when building the resulting package:
# github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-08-31-preview/management
services\resources\mgmt\2017-08-31-preview\management\client.go:39:10: undefined: uuid

It seems that satori.uuid is getting pulled in incorrectly.
In the mean-time, this isn't a blocker because I can fix this manually. However, this is a pain, and something that needs to get fixed and soon.

While we're at it, we may as well change the import line to be unaliased.
import (
  uuid "github.com/satori/go.uuid"
)

and
import (
  "github.com/satori/go.uuid"
)

Are both used by using the specified uuid, so the alias is unnecessary. Apparently unappreciated too: https://www.reddit.com/r/golang/comments/781tlv/unimport_a_go_static_analysis_tool_to_find/


added pt_PT translation

I am confused, but I believe this has already been merge a while back. Thanks for your contribution !


Get-PnPProvisioningTemplate generates wrong pnp:Security section

As I can guess, Get-PnPProvisioningTemplate cmdlet generates output XML with <pnp:AdditionalAdministrators> after <pnp:AdditionalOwners> in <pnp:Security> section, while XSD desribes them in opposite order in the sequence. So, Apply-PnPProvisioningTemplate fails with error “The provided template is not valid”.

We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”


Readme should be updated

Dangling sentences.
Register table default 0004 check?
Not alll sensors based on cht expose all pins

done with 0.1.4


Task1

first task

@kurubabullesairam
Please provide PR number in respective task on tracker.
Task – 1
Code verified. Change Default activity names and provide annotations

Task – 2
Code verified.


Ada language support

Hi,
I have attempted to add support for Ada to the Compiler Explorer using the GNAT compiler. I have been able to get syntax highlighting working in the editor, all example programs compile and produce an assembly file that can be viewed. Currently the default result of compilation is just an assembly file, no binary is produced and there is no execution available.  It should however at least give someone who is a starting point.
I have based the ada.amazon.properties file on the fortran.amazon.properties file. I believe that GNAT should be included in GCC much like GFORTRAN if the build includes Ada as a language, if this is not the case let me know what I need to change.
I have run make lint and make check and everything appears to be passing for the Ada support.
Please let me know if there is anything else I may have missed.

Hello @Mitchtdk! Thank you for taking the time to implement Ada to the CE supported languages, it looks really good, and the code is super nicely commented :)
We need to check that we do indeed have Ada available, or change some things around to get it. We'll get back to you as soon as possible with more info.
Thank you again for your contribution :)

Hi @Mitchtdk, sorry for the lack of updates!
We currently do not build/have access to GCC's gnat binaries, but it should not be too hard to change the necessary bits over at the sister repo.
If you want, feel free to open a PR there (mattgodbolt/compiler-explorer-image), otherwise, we will end up adding it ourselves, but it may take a while until we actually do add it (You might have noticed we're all kinda busy around here! :) )


Got a task FAILED for the task generateCodegenSchemaFromJavaScript when executing yarn install-android-jsc with nothing modified

Description
Got the FAILED without modification and it just occurs suddenly.

React Native Version
0.72.0-rc2
Output of npx react-native info
System:
OS: macOS 13.3.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 127.24 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 16.13.1
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 8.1.2
path: /usr/local/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.11.3
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK:
Android NDK: 22.1.7171670
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9619390
Xcode:
version: 14.3/14E222b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.12
path: /usr/bin/javac
Ruby:
version: 3.0.5
path<EMAIL_ADDRESS>npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: true
newArchEnabled: Not found
Steps to reproduce
On the main branch:

yarn
yarn install-android-jsc

Snack, code example, screenshot, or link to a repository
no

Hi @jcdhlzq, can you try to rm -rf packages/react-native-codegen/lib folder and try again?
What I think has happened is that you had an outdated version of codegen. You pulled in some changes we landed last week, and when building again, rn-tester is not rebuilding codegen as it can find an existing prebuilt already on disk.
By deleting the lib folder, we should force it to rebuild Codegen and it should work. Let me know if that helps.

It's helpful! Thanks!

Where we have to run this command?

Where we have to run this command?

Same question

@harisbitsol123 @ngxhuyhoang:  are you trying to run RN-Tester from the React Native repo?
If yes, you have to run it from the main folder of the repository.
This command does not work for regular apps, as regular apps don't have the packages/react-native-codegen package.

Hello everyone after update my RN project from 070.4 to 0.75.4 react native and i am facing below error any one has any solution for this?
What went wrong:
Execution failed for task ':datadog_mobile-react-native:generateCodegenSchemaFromJavaScript'.

Process 'command 'node'' finished with non-zero exit value 7

@Kavahardik Can you try the following:

run yarn install
run cd android && ./gradlew clean
Try to build

It could be that there are some stale files

Hello everyone after update my RN project from 0.70.4 to 0.75.4 react native and i am facing below error any one has any solution for this?

Please open a new task and provide the FULL build log


Add examples on the fetch Problem input in collab Page

People are unable to understand how to give a proper url. It would be nice if we can show them some examples initially.

make a snackbar for every user that enters the room to tell people you can share the url for collaboration


fix: return saveDate and updateDate to match the typeDefs

The typeDefs define that these fields are there and required

But asking for them in the query throws an error

Never mind, the PR is bad, these types are not on Abstract Identity


Use logstash index pattern

The default index pattern is "waf-logs-%{+YYY.MM.dd}".  It's using logstash, usually logstash indexes are prefixed with logstash-*. This also helps with the default security rules. Please use logstash- at the beginning of the string.
Also WAF is a bit generic, maybe also f5 in the index name to be able to distinguish from other sources.

Hi @ict-one-nl, thank you for raising the issue. Could you please give some more details on why having logstash- prefix is useful? Links to ELK docs or some other trusted sources would be perfect as well.

A of people will prefix the indexes with logstash because they will have security roles enabled that enable logstash to write data to logstash-*. To KISS it's more efficient not having to create extra roles / or index patters for each individual log flow.
Opensearch does this by default as well.

I got what you are saying. It makes sense to me.

Well it's more like common sense, but you can see it referenced here: https://www.elastic.co/guide/en/kibana/6.8/tutorial-define-index.html#:~:text=An index pattern can match,DD .
Also, in opensearch it's the default config.

Could you please also share a link to security rules you mentioned in the first comment?

Already linked the elastic docs, config example from opensearch as well: https://github.com/opensearch-project/security/blob/main/securityconfig/roles_mapping.yml

Let's stick to elastic for now. Is there a doc for elastic on default security rules you've mentioned in the very first comment?


[Window->Navigation->Next Tab] on last tab blocks tab navigation on dbeaver 4.2.1

Hi I'm using dbeaver 4.2.1 on Linux
These lines have two purposes, to report a little tiny bug and ask for an enhancement.

bug: I changed user keys for Previous Tab and Next Tab when I travel to the last tab and press Next Tab again, tab navigation is blocked, this isn't happening when I travel to the first tab and press Previous Tab combination, to "unblock" it I have to click on the SQL Editor section.

enhancement: It would be nice if tab navigation were an infinite loop, I mean when the last tab is reached, it moves to the first tab and vice-versa, instead of the current behavior that when it reaches any of the ends it keeps there.

Keep up the good work dbeaver is awesome.
Regards

This is standard Eclipse platform behavior, I'm afraid I can't fix it (see Eclipse FR https://bugs.eclipse.org/bugs/show_bug.cgi?id=210311).
Workaround (poor) is to use Ctrl+F6/Ctrl+Shift+F6 to traverse over opened editor tabs.

Well, that's a shame, but thanks for Ctrl+F6/Ctrl+Shift+F6, it lit a light.
I also remapped those shortcuts and now when I stuck in the last tab I use the Previous Editor shortcut and it send me to the first tab and the Next Editor shortcut sends me to the previous one.
I changed SQL Editor and New SQL Editor too and I feel like I using a mix between a text editor and a browser.
With Alt + direction I can now move between queries and SQL editors, when I stuck in the last tab Shift+Alt+Right sends me to the first tab.
When I need a new sql editor I'm using Ctrl+T or to reopen any Shift+Ctrl+T
I'm pretty happy thank you very much.
If somebody is interested in the actual key bindings they're here:


Images in Mastodon Feeds are recognized as Podcast and get auto-enqueued

Newsboat version:
Newsboat 2.30.1
System: Linux 6.1.15-hardened1-1-hardened (x86_64)
Compiler: g++ 12.2.0
ncurses: ncurses 6.4.20221231 (compiled with 6.3)
libcurl: libcurl/7.88.1 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.10.0 nghttp2/1.52.0 (compiled with 7.87.0)
SQLite: 3.41.1 (compiled with 3.40.0)
libxml2: compiled with 2.10.3

Config file:
urls-source "ocnews"
ocnews-url ***
ocnews-login ***
ocnews-password ***
ssl-verifypeer no
ssl-verifyhost no
podcast-auto-enqueue yes

Steps to reproduce the issue:

Add a Mastodon feed to Nectcloud news.
The article must not be in Newsboat cache. Retrieve Nextcloud news with Newsboat – i. e. open Newsboat and reload feed.
Auto-enqueue should already have enqueued the image to the podboat podcast queue.

Other info you think is relevant:
Feed URL<EMAIL_ADDRESS>Toot URL: https://social.tchncs.de/@kuketzblog/109975086360478784
The full article as shown by newsboat:
Feed: Kuketz IT-Security » Mastodon
Title:<PHONE_NUMBER>60478784
Date: Mon, 06 Mar 2023 08:10:44 +0100
Link: https://social.tchncs.de/@kuketzblog/109975086360478784
Podcast Download URL:
https://f2.tchncs.de/media_attachments/files/109/975/078/545/360/548/original/5d55b6d57093f18a.png (type:
image/png)

Nachdem das neueste Update von GrapheneOS eingespielt ist, kann man unter
"Einstellungen -> Standort" nun den SUPL-Proxy-Server auswählen. 👇

Comment:
What is the logic behind auto-enqueueing? Does every attachment get enqueued, no matter what?
I think newsboat should at least check if the file is an audio file.

What is the logic behind auto-enqueueing? Does every attachment get enqueued, no matter what?

Good point, I think I overlooked this behavior in https://github.com/newsboat/newsboat/pull/2218.
Will be fixed by https://github.com/newsboat/newsboat/pull/2378.

A big thanks for this fix. I can confirm that images indeed don't get auto-enqueued anymore in 2.32.
The images are still displayed as Podcast Download URL though, which is not the intended behavior, I reckon.


Patch FMV endpoints and view

Resolve #754 and resolve #755
Fixes the endpoints:

Oh shoot, that was not supposed to be committed (a local change I had)

Forced pushed to clean that up

Looks like tests are failing because of https://github.com/ResonantGeoData/ResonantGeoData/blob/main/django-rgd/client/rgd_client/utils.py#L13, since https://www.resonantgeodata.com/api is no longer up.


HeaderDictionary.Add(string key, StringValues value) initializes without StringComparer.OrdinalIgnoreCase

In the other three places where Store is initialized, it is case-insensitive:
new Dictionary<string, StringValues>(1, StringComparer.OrdinalIgnoreCase)
but in the Add(string key, StringValues value) method Store appears to be initialized as case-sensitive:
new Dictionary<string, StringValues>(1)
Shouldn't this match the other three places where Store is initialized? Could this lead to unexpected cases where the HeaderDictionary will be case-sensitive?

Link: https://github.com/aspnet/HttpAbstractions/blob/4fdeeb31311bb8cca8b62ed9ea4407c10b30518c/src/Microsoft.AspNetCore.Http/HeaderDictionary.cs#L198
Agreed, this is a bug.
That said, be careful calling Add, it has the IDictionary.Add semantic of throwing if the header already exists. The indexer or Append methods are preferred.


Update packages during ami building

We see build-ami script is failing with ganglia install
on centos 7. As we dig in we found issue is with libEGL.so whose
dependencies are not correctly loaded in centos 7. Hence to fix that
updating packages in all ami building json.
Fixes : https://github.com/awslabs/cfncluster-cookbook/issues/41
Signed-off-by: Mohan Gandhi<EMAIL_ADDRESS>== Testing ==
./build_ami.sh centos7 us-east-1 private --> successful ( triggered all build now, since it will take a while I am adding PR now and will merge it once all ami are successful built)
1509666781,,ui,message,    amazon-ebs: cfncluster-1.3.2
1509666781,,ui,say,==> amazon-ebs: Stopping the source instance...
1509666782,,ui,say,==> amazon-ebs: Waiting for the instance to stop...
1509666803,,ui,say,==> amazon-ebs: Enabling Enhanced Networking (SR-IOV)...
1509666803,,ui,say,==> amazon-ebs: Enabling Enhanced Networking (ENA)...
1509666803,,ui,say,==> amazon-ebs: Creating the AMI: cfncluster-1.3.2-centos7-hvm-201711022341
1509666803,,ui,message,    amazon-ebs: AMI: ami-aa04afd0
1509666803,,ui,say,==> amazon-ebs: Waiting for AMI to become ready...
1509667117,,ui,say,==> amazon-ebs: Adding tags to AMI (ami-aa04afd0)...
1509667117,,ui,say,==> amazon-ebs: Tagging snapshot: snap-075a6e22b4a7379e8

Addressed comments

All ami build are successful.
cfncluster-1.3.2-amzn-hvm-201711031709 | ami-caba0fb0 | hvm |
cfncluster-1.3.2-centos6-hvm-201711031709 | ami-96ca7fec | hvm |
cfncluster-1.3.2-centos7-hvm-201711031709 | ami-b0b207ca | hvm |
cfncluster-1.3.2-ubuntu-1404-lts-hvm-201711031814 | ami-c6a015bc | hvm |
cfncluster-1.3.2-ubuntu-1604-lts-hvm-201711031830 | ami-3fa91c45 | hvm


Fix TransactionRemoteHTTPService.stop

Fix the prefix path to remove when the TransactionRemoteHTTPService is
stopped.

retest this please


Roadmap for next 6 week cycle

Description
Introduces ROADMAP.md that will be used to coordinate our proposed open source efforts.
Our biggest immediate priority is to respond to open issues/PRs here and in the other ruby repos. We propose the following roadmap. We'd love to hear your feedback to validate our direction. We look forward to building in public with you 😎

@nelsonwittwer it would be awesome to see some roadmap on Ruby libraries 👍 But maybe using repository Projects for that purpose would be easier than static file?

Is the goal of this roadmap to be visible to outsiders and for it to be sitting in the base of the repo? Or was this PR where it was expected to live for the six-week period?

thank you @nelsonwittwer , @zzooeeyy , and everyone else involved.
a sincere shoutout again to @vfonic as well


Updating protos and bumping to v1.0.3-rc.1

'Nuff said
/cc @XavierGeerinck

Thanks a lot for this PR! Merged


Enable attaching exhibits

Uses ALExhibit to allow the user to attach documents in support of their claim.

Closes #88


[question/feature] Benchmarks / Requests per second

Would love to know the QoS/RPS of this gateway. If you guys need help, I can have my team write something in locus. But if anyone has some reports on hardware => performance, would love to hear about it before making a decision on joining this community :).

see #379


use HTTP_PROXY for registry endpoint

use HTTP_PROXY in transport object for registry endpoint if defined in environment

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

Hey thanks for the feedback. I have switched to the http.ProxyFromEnvironment method.


Linux availability

Hey,
I just started working on moving an ASP.NET Core application from Windows to Linux server (made by third party). From reading the documentation I assumed there should be no issue. The app sends emails via amazon and the profile registration fails.
var profile = new CredentialProfile(profileName, credentials) {
    Region = RegionEndpoint.EUWest1
};

var netSDKFile = new NetSDKCredentialsFile();
netSDKFile.RegisterProfile(profile);

with the following exception
Unhandled Exception: Amazon.Runtime.AmazonClientException: The encrypted store is not available.  This may be due to use of a non-Windows operating system or Windows Nano Server, or the current user account may not have its profile loaded.
   at Amazon.Util.Internal.SettingsManager.EnsureAvailable()
   at Amazon.Runtime.CredentialManagement.NetSDKCredentialsFile..ctor()

The message seems to state non-Windows OS are not supported, or am I misunderstanding?

Hi @pikausp, thanks for the feedback about our documentation not making it clear enough that this method of credentials won't work on Linux.  In some of our docs, we mention that this method is dependent on the Windows Data Protection API, which is specific to Windows OS, but we could still make this clearer.
If you need to change between Linux and Windows, the credentials methods other than SDK Store (e.g. SharedCredentialsFile) will work.


Fix redundant code block

Hi! This code is in quite a few places, so I'd like to keep it consistent. :) The suggested edit is also lacking an await and does not allow you to extend error handling. I will close this PR.


Collisions between student code and Rotor [cc24]

Issue description
When working on the bitwise-shift-execution assignment I've opted (as many will probably do) to declare a func3 section for SLL and SRL instructions (F3_SLL, F3_SRL) - this way we follow the convention that Selfie has been using up until now (there are other F3 declarations as well - ie. F3_SLTU  etc. This, however, collides with the declarations of variables in Rotor
The above collision materializes when we run GH actions with the newly pushed code - specifically in the following actions failing due to multiple declarations:

Make Everything Selfie / Make all of selfie on Linux (push)
Make Everything Selfie / Make everything of selfie on docker (push)

Both of these errors appear to be caused by the inclusion of rotor.c in the compilation stage in the above actions. Note that Autograde Selfie Assignment / Run autograder on linux (push) works just fine.
GH actions failing due to multiple declarations is just an example, the issue is related to the potentially unpredictable connection in the specified actions, another example of a similar issue are functions such as record_lui_addi_add_sub_mul_divu_remu_sltu_jal_jalr - in this case the student may be incentivized to rename the function to something like record_lui_addi_add_sub_mul_divu_remu_sltu_sll_srl_jal_jalr (or rename it altogether) to better match the behavior of the function - this produces errors due to the function also being used in Rotor.
Potential solution

Omit the compilation of rotor in student compiler code, ie. by using a specific branch for it. This may not be feasible as I'm not certain how deeply-incorporated rotor is to the 'pure' Selfie project at this moment.
Mention this dependency somewhere, again, this is involved as pretty much all assignments only allow the modification of grammar.md, riscu.md, and selfie.c files.

Another potential solution is to disable the Make everything selfie workflow in your repository. If I recall correctly, this workflow builds selfie on all operating systems, including macOS.
Github actions running on macOS 'cost' 10 minutes for each minute of runtime. Since the number of available minutes for private repositories is limited, this will also consume your available minutes in a month rather quickly. So you might want to disable the Make everything Selfie workflow either way.
@ckirsch Would this be ok? If yes, I would propose it to all students.

You are welcome to recommend turning off make everything in the channel.

I just pushed an updated Makefile. Feel free to suggest ways to utilize the less target in the channel. I am curious about minimal modifications that are easy to describe.

I just pushed an updated Makefile. Feel free to suggest ways to utilize the less target in the channel. I am curious about minimal modifications that are easy to describe.

I just noticed that macOS action should not run in private repositories:
https://github.com/cksystemsteaching/selfie/blob/7dd64f43ce6013e3b5785687e6138e3682d734ba/.github/workflows/selfie.yml#L62-L65
Should be same for windows. @Goubermouche can you confirm this for me?
If I'm right, than this part is fine.
@Goubermouche if that's right, can you then just pull the latest changes from this repository and check if you still have problems?

@nfejzic the Windows target doesn't build for me, as expected (only the Linux one does). The modifications seem to have fixed the issue for me. Thanks a bunch 😄.


Not supported to run on Linux with ARM architecture

I run helloworld on Linux with ARM architecture. When the client sends a request, a panic occurs at position queue.go #249. I want to ask if this is a known issue? Will it be supported in the future?

We have supported ARM architecture, @goodbye-babyer will submit pr.

@Huafanfan Hi, please let us know if you are going to use it in real scenario in your company so that we can provide better and timely support.

@GuangmingLuo Hi, master. my development computer is mac m1, and the architecture is arm. Because mac is not currently supported, I need to run it in docker. Because m1 pulls the arm architecture image by default, an error occurred when I ran it. Now it needs to be run in the amd64 image, but the performance on the m1 chip is very poor. So I hope it can support arm

@GuangmingLuo Hi, master. my development computer is mac m1, and the architecture is arm. Because mac is not currently supported, I need to run it in docker. Because m1 pulls the arm architecture image by default, an error occurred when I ran it. Now it needs to be run in the amd64 image, but the performance on the m1 chip is very poor. So I hope it can support arm

Thanks for your reply, but please do not call me master, call my name instead. You still haven't answered my question yet.  Are going to use it in real scenario in your company (which means in production) ?  The project based on shmipc should be run in Linux env.  @Huafanfan

@GuangmingLuo We are conducting research on this product. We are currently using UDS, but its performance is not good enough in certain scenarios. If shmipc can significantly improve performance and have good stability, it will be deployed to the production environment (Linux).

@goodbye-babyer please evaluate this request to support ARM.

我们已经支持ARM架构，将提交pr。

请问，什么时候可以支持ARM架构，已经修复了吗

any update?

done by https://github.com/cloudwego/shmipc-go/pull/56 , added a tag v0.2.0