⚠ Spryr has degraded performance

In 46ab534, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4329 ms

Resolved: Spryr performance has improved in 861d3ba after 29 minutes.


Ver. 3.9 (RescueOps). Can't do scanning on NOAA channels?

Hi,
While reviewing the NOAA channel functionality added to Ver. 3.9 (RescueOps), I (unsuccessfully) tried to scan the NOAA channels. Is it a bug or a feature? :-)
Note that Canada provides as well a radio weather service similar to the US.
Keep up your excellent work!
Simon Forget, VA2ESF

Hi,
The NOAA feature works in the same way as on the Egzumer firmware. I can't improve it, as I can't test this feature (I live in France...).
Armel F4HWN.


Add policy check to verify if the digest was scanned

This reverts commit 7ca728010b10f4dd58a4be12cf606ab4900b693b.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (0c3bcba) to head (6197fe1).

Additional details and impacted files

@@            Coverage Diff            @@
##              main      #975   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          103       103
  Lines         4889      4914   +25
=========================================
+ Hits          4889      4914   +25

Files
Coverage Δ

policy/release/lib/attestations.rego
100.00% <100.00%> (ø)

policy/release/test.rego
100.00% <100.00%> (ø)

policy/release/test_test.rego
100.00% <100.00%> (ø)

can we please re-merge this after https://github.com/enterprise-contract/ec-cli/pull/1486 is released?

@enterprise-contract/devs I think this should be okay to merge, comments?

It has an effective_on date for a month for now. I think it's ok to merge this.


Journal or paper publication

Hello,
I wondering if you have published any paper or journal regarding this project ?
Thank you..

Hi Ibrahim,
I don't have any paper published regarding this. Feel free to ping me in case of any queries though. :)
Thanks. :)


ValueError: Model 'gwae has not been registered'

When I input the command: python train.py setting/gwae.yaml
I got an error: ValueError: Model 'gwae has not been registered'
Could you tell me how to register the model 'gwae'?

I tried the command, but it did not reproduce in a new venv environment with pip install -r requirements.txt. Is it sure that import models imports models/__init__.py? If there is a name conflict, the gwae model will not be registered.
The model 'gwae' is registered here:
https://github.com/ganmodokix/gwae/blob/ee1abfaaa3dadb7fd8a2cf6ccdcec598aa75809e/models/__init__.py#L4
The module in question models/__init__.py is imported in train.py:
https://github.com/ganmodokix/gwae/blob/ee1abfaaa3dadb7fd8a2cf6ccdcec598aa75809e/train.py#L6


Delete project 14a26f57-9117-42c2-a613-891e173899cf

Dataset/group this task is for:
14a26f57-9117-42c2-a613-891e173899cf
atlasOfHumanTeeth
Wrangler responsible for this dataset/lab:
Rachel Schwartz
Description of the task:
Duplicate project was accidentally created in ingest and exported, this needs to be deleted from Ingest and from the google staging area.
https://humancellatlas.slack.com/archives/C9XD6L0AD/p1626974639135500
Acceptance criteria for the task:

[ ] project 14a26f57-9117-42c2-a613-891e173899cf deleted from the staging area
[ ] project 14a26f57-9117-42c2-a613-891e173899cf deleted from ingest

@ESapenaVentura to set up a discussion following deletions/cleanups etc.


Add a middleware for compression

Add a minimal middleware (like in express), at router level (for GET routes) to compress responses.
It sets Content-Encoding to deflate in headers.
The compression is based on haxe.zip.Compress.
With hl runtime, it uses Zlib.

For reference:
https://developer.mozilla.org/fr/docs/Web/HTTP/Headers/Content-Encoding
http://expressjs.com/en/guide/using-middleware.html#middleware.router


Datagram Transport Layer Security (DTLS) implementation

I need secure UDP connection between server and client both written in Dart. If DTLS can be implemented in dart:io, it can prevent developers from implementing a security protocol on top of UDP from stratch. This could be very useful for real-time comunication Flutter apps and games.
From DTLS spec

An increasing number of application layer protocols have been designed that use UDP transport. In particular, protocols such as the Session Initiation Protocol (SIP) [SIP] and electronic gaming protocols are increasingly popular. (Note that SIP can run over both TCP and UDP, but that there are situations in which UDP is preferable.) Currently, designers of these applications are faced with a number of unsatisfactory choices. First, they can use IPsec [RFC4301]. However, for a number of reasons detailed in [WHYIPSEC], this is only suitable for some applications. Second, they can design a custom application layer security protocol. Unfortunately, although application layer security protocols generally provide superior security properties (e.g., end-to-end security in the case of S/MIME), they typically require a large amount of effort to design -- in contrast to the relatively small amount of effort required to run the protocol over TLS.
In many cases, the most desirable way to secure client/server applications would be to use TLS; however, the requirement for datagram semantics automatically prohibits use of TLS. This memo describes a protocol for this purpose: Datagram Transport Layer Security (DTLS). DTLS is deliberately designed to be as similar to TLS as possible, both to minimize new security invention and to maximize the amount of code and infrastructure reuse.

Can i work on this issue?

Would appreciate if this was implemented also, so it could be used in flutter.

+1
Having DTLS in dart:io would also be great for secure communication with IoT devices.

FYI: In the meantime, there are two approaches for DTLS in Dart available in "userland" based on FFI bindings: Two libraries based on OpenSSL (dtls and its spiritual successor dtls2) and one based on Eclipse tinydtls (dart_tinydtls).
While the OpenSSL packages only provide client-side implementations for now, dart_tinydtls also provides a server implementation. However, I am currently working on also supporting the server side in dtls2, based on my prior work in dart_tinydtls[^1].
Both approaches still have some limitations, but are already relativly stable. If you find the time to try them out, I would appreciate your feedback very much :) Maybe the OpenSSL bindings and the APIs could also be adapted to bring DTLS support to the Dart SDK itself one day.
[^1]: Since the first dtls package has been discontinued, I decided to fork it and port some of the code from dart_tinydtls (where I am one of the maintainers) to it.

While the OpenSSL packages only provide client-side implementations for now, dart_tinydtls also provides a server implementation.

Small update: dtls2 now also offers support for a DTLS server.


Error including module in some generic classes

I'm still unsure about the reason of this error, so the title is quite vague. This doesn't happen just with any generic class and couldn't find the exact reason yet.
module Foo
end

class Array(T)
  include Foo
end

puts [1].as(Foo)

Error:
In /usr/local/Cellar/crystal/0.34.0/src/array.cr:1878:24

 1878 | join ", ", io, &.inspect(io)
                         ^------
Error: undefined method 'inspect' for T (compile-time type is (T | U))

Apparently this is happening since Crystal 0.19.0

The unbound T | U comes from here:
https://github.com/crystal-lang/crystal/blob/1db5d45650e43adbc40c16e0d25cf0be0856a418/src/iterator.cr#L813-L817
Removing this iterator type makes the code compile.

It seems T | U (and generic instances that use it as an argument) is not considered an unbound type so it leaks into the list of subtypes during virtual method lookup.


floobits-version

for reporting issues it would be sane to provide a function which spits out the current version (this is pretty much emacs standard for bigger packages)

Thanks for the suggestion. The latest version of the emacs plugin can get debugging info by running M-x floobits-debug-output

faster responses on issues (not necessarily fixes) would foster contribution


PHP language support

We would like to support PHP as a language for matching against.
Review this guide and join us on Discord to discuss.
Acceptance criteria

Working grammar + language support
At least 10 test cases, including rewrites and metavariables.

/bounty $1500

@iamnamananand996 Do you want to attempt this bounty?

@morgante can I get assigned?

/attempt #48
I've made a few tools using tree-sittter (https://github.com/urbit-pilled/tree-sitter-hoon and https://github.com/urbit-pilled/hoon-ts-editors) so I'd like to work on this

@iamnamananand996 Do you want to attempt this bounty?

hi @morgante, yes I am on it, look like a race now, 😃, let see who wins.

@abhishek818 @urbit-pilled @iamnamananand996 I will assign this bounty to someone once they land the first main PR (ex. adding the grammar + parse test + initial metavariables).

@morgante
The tree-sitter-php project adopted the same split as tree-sitter-typescript two months ago^1 where they have two dialects: php_only and php.

php_only: which allows top level statements, start/end tags are optional;
php: which parses both PHP and HTML (i.e. normal PHP parser since PHP started out as a templating language).

Which of these two grammars should we pick for the initial support? I imagine this will be php_only?
How do we approach naming of the two dialects within the Grit project? Naming is hard and agree that in an ideal world^2 it would have been better to use the names:

php_only => php
php => php_html

Hi @ayewo, thanks for flagging this.
I think we probably want to use php as the default, since that matches the largest number of PHP codebases in the wild.
For toggling between them, we should use the flavor mechanism we added for JS/TS here. This would support language php(html) or language php(only) with the default as php(only).

Finally got metavariables to work in my PR, this commit contains the biggest changes I had to make: :https://github.com/getgrit/gritql/pull/52/commits/197575d534326e8913b5f788780d3ab181d5cfce

/assign @urubit-pilled

@morgante I just submitted a pull request that solves this issue why are you assigning this to someone else?

@digital-phoenix I'm sorry you went into the effort of submitting a pull request, but we can only award the bounty to one person. @urbit-pilled's PR is earlier and closer to completion.

@urbit-pilled  test cases are not even generating abstract syntax trees yet it is just doing regex comparisons. In order for php to see text as code it has to be contained within php tags. My test cases work not just as regex comparisons but as actual code.

I don't think <?php is required when using the php-only grammar.

@morgante I tested it before when I was adding php. Unless you use <?php the test will just be interpreted as text. Just using regex leads to issues such as not being able to match a function body when it is split across multiple lines.

Language support is usually not completed in a single PR. I plan to merge @urbit-pilled's PR and award part of the bounty, but will award additional bounties for PRs adding more test cases and fixing associated bugs.

@morgante @urbit-pilled's grammar file does not seem to even compile correctly. It seems to contain conflicts that have not been included in the conflict table I'm not convinced they have ever even used their own grammar file. Whereas my code includes support for a broad range of language features.

If the grammar file wasn't used I don't see how the test cases could pass.

@morgante I understand the importance of collaboration but your'e backing code that doesn't work properly over everyone else's efforts

@morgante I understand the importance of collaboration but you're backing code that doesn't work properly over everyone else's efforts

90% of the work is the same in your PRs. It would not be fair to discard the earlier PR, even if it is incomplete.
As I noted, you will have an opportunity to add (and fix) more test cases for your share.
For what it's worth, this is making me see the problems with the bounty model. We put this out as an experiment, but it's becoming a lot of trouble to manage.

For what it's worth, this is making me see the problems with the bounty model. We put this out as an experiment, but it's becoming a lot of trouble to manage.

I was trying to point this out this very scenario playing out in Discord. Glad you've also come to the same conclusion—it can cause some bad blood for contributors and logistical headaches for projects that is completely avoidable.
As I said, battle royale style, only works well if the bounty is a few hours of work. This is a multi-day PR.

@morgante if you are going to have a public bounty either you need to accept whoever provides the first work that solves the requirements or you need to assign the task to someone.
Most of the code will be the same because this project requires a lot of boiler plate to add a language. But the most important part the changes to the base grammar files are different.

@ayewo battle royale style is a lot riskier but I think it can work okay as long as the submissions are easy to measure and are all compared against a well defined benchmark.

As far as I know, I am not required to accept any pull request. If you prefer not to contribute to our repository, I understand, but I'm just trying to be fair to everyone.

@morgante if you base this off of whoever opens a PR first that just encourages people to open broken buggy PRs. Which will just make work for you.

@morgante @urbit-pilled's grammar file does not seem to even compile correctly. It seems to contain conflicts that have not been included in the conflict table I'm not convinced they have ever even used their own grammar file. Whereas my code includes support for a broad range of language features.

@morgante @urbit-pilled's test cases are not even generating abstract syntax trees yet it is just doing regex comparisons. In order for php to see text as code it has to be contained within php tags. My test cases work not just as regex comparisons but as actual code.

You may have been testing an older version?, Because the grammar file does compile correctly.And the test cases are not regex matches, and the php tags are optional if you set php_only as the default which was requested earlier in the comment thread.
I think you started too late @digital-phoenix , because your PR doesn't implement the prefix change (^ instead of $) or support php without tags yet. I already finished what you did in the first day (get php working without prefix change) on my PR but you have added more tests.

Thanks @urbit-pilled for landing the main PR here. I'll award $1k from the bounty for that. There's still a bit more work to be done to consider this complete:

PHP templates (ie. in HTML) should be supported as an alternative flavor (like we have in JS) with language php(html)
We definitely need more test coverage, I'd like at least 5-6 more cases.

I'll award $1k from the bounty for that.

@morgante Algora has a command for making partial awards on GitHub. Simply add a comment on this issue with:
/tip $1000 @urbit-pilled
Apologies if you already know this.

/tip $1000 @urbit-pilled

Thanks morgante, I'll work on the rest today.

Tests cases that should work:

echo $_

hey @morgante you need to click on the link posted by algora-pbc to award the tip. it hasn't been awarded yet.

👉 @morgante: Navigate to your dashboard to proceed

Tests cases that should work:

echo $_

just added a test case for this called php_echo
`echo ^_;` => `print "modified;`

The prefix in php is ^ instead of $ and there is a semicolon needed due to: https://github.com/getgrit/gritql/pull/52#discussion_r1541360156

/tip $250 @urbit-pilled

@algora-pbc what are the correct commands to use when paying out a bounty incrementally?

Anything else that needs to be done for the rest of this bounty @morgante? (currently $1250 paid from $1500 bounty)

Hi @urbit-pilled, before we consider a language "complete" we usually like to try it on a few repos and run some sample migrations. For this to be complete, I think I'd like to see:

Run this on some larger open source codebases and make sure you don't see tons of parse errors
Add 1-2 sample rules to the PHP stdlib: https://github.com/getgrit/stdlib/tree/main/.grit/patterns

@morgante Anything left with this to complete the issue further. From conversations I have seen there is some part of bounty to add test cases more and increase test coverage.
Would I proceed with it ?

@varshith257 We haven't seen much PHP usage so I'm closing this out. No further bounty is available.


Fix two bugs in xss-bot

await page.goto(url) can take forever if a page loads infinite image for example
page.close() only closes one page which makes other opened tabs stay forever.

@sroettger


supabase start can't pull Postgres Docker image

Describe the bug
Running supabase start fails to pull the postgres image
To Reproduce

supabase login (not sure if it's needed)
supabase init
supabase start
See error

Expected behavior
supabase start should work (last time I used the CLI 6 months ago it worked just fine)
Screenshots

System information
Rerun the failing command with --create-ticket flag.

Ticket ID: 3352f8df129149c1a2464a0acfb47c69
Version of OS: Fedora 41
Version of CLI: 2.1.1 and 2.2.0
Version of Docker: 27.4.1
Versions of services:

        SERVICE IMAGE      │      LOCAL       │   LINKED
  ─────────────────────────┼──────────────────┼─────────────
    supabase/postgres      │ <IP_ADDRESS>       │ <IP_ADDRESS>
    supabase/gotrue        │ v2.167.0         │ v2.167.0
    postgrest/postgrest    │ v12.2.3          │ v12.2.3
    supabase/realtime      │ v2.33.70         │ -
    supabase/storage-api   │ v1.14.4          │ v1.14.4
    supabase/edge-runtime  │ v1.66.0          │ -
    supabase/studio        │ 20241202-71e5240 │ -
    supabase/postgres-meta │ v0.84.2          │ -
    supabase/logflare      │ 1.4.0            │ -
    supabase/supavisor     │ 1.1.56           │ -

Additional context
If applicable, add any other context about the problem here.

Version of Node.js: 20.18.1

There's an issue with the latest docker build. You can workaround it by unpinning the postgres version.
rm supabase/.temp/postgres-version

Apologies for any inconvenience.

I don't know if it's pure bad luck but if the workaround fixes the image pulling, supabase start still do not work.

I tried running with --debug but there wasn't any useful information either.
Created a new ticket: 116ae317d8204d53813bfad69b10d57e

Error status 502 sounds like an issue with container health check.
Could you give this a try
pnpx supabase@beta start --ignore-health-check

Without the health check it doesn't fail and I can access studio.
But it doesn't seem I can stop having problems lol
I wanted to test auth in the local environment so I setup Discord + GitHub OAuth apps:
[auth.external.github]
enabled = true
client_id = "env(SUPABASE_AUTH_EXTERNAL_GITHUB_ID)"
secret = "env(SUPABASE_AUTH_EXTERNAL_GITHUB_SECRET)"
redirect_uri = ""
url = ""

[auth.external.discord]
enabled = true
client_id = "env(SUPABASE_AUTH_EXTERNAL_DISCORD_ID)"
secret = "env(SUPABASE_AUTH_EXTERNAL_DISCORD_SECRET)"
redirect_uri = ""
url = ""

I have put http://<IP_ADDRESS>:54321/auth/v1/callback as callback URL in both apps and when I use the Subabase client to signInWithOAuth every single try fails at the callback level with the browser just staying on the callback "page" having returned 504 with a content like {"code":504,"error_code":"request_timeout","msg":"Processing this request timed out, please retry after a moment.","error_id":"edabed98-3f09-4525-8252-5a74c6786b0f"}.
I can see in studio logs for the auth module that more than half a minute after the 504 error we get another 500 error for some reason (this is the result of one call to signInWithOAuth with the discord provider):


support for prometheus probes so that I can verify if the SLOs are breached during a chaos run

It would be great if litmus has support for native prometheus probes. Idea is that, we can run promQL expression(s) against prometheus api so that we can verify if our applications SLOs are being breached during a chaos run.

The prometheusProbe is available since 1.11.0 release of litmus: https://docs.litmuschaos.io/docs/litmus-probe/#promprobe


Unable to compile from cargo

Is it supposed to work? I don't see any usage docs anywhere, either :/
error[E0432]: unresolved import `clap::Clap`
 --> /home/janek/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/sampitor-0.0.1/src/main.rs:1:25
  |
1 | use clap::{AppSettings, Clap};
  |                         ^^^^ no `Clap` in the root

error: cannot determine resolution for the derive macro `Clap`
 --> /home/janek/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/sampitor-0.0.1/src/main.rs:8:10
  |
8 | #[derive(Clap)]
  |          ^^^^
  |
  = note: import resolution is stuck, try simplifying macro imports

error: cannot find attribute `clap` in this scope
 --> /home/janek/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/sampitor-0.0.1/src/main.rs:9:3
  |
9 | #[clap(
  |   ^^^^
  |
  = note: `clap` is in scope, but it is a crate, not an attribute

error: cannot find attribute `clap` in this scope
  --> /home/janek/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/sampitor-0.0.1/src/main.rs:17:7
   |
17 |     #[clap()]
   |       ^^^^
   |
   = note: `clap` is in scope, but it is a crate, not an attribute

error[E0599]: no function or associated item named `parse` found for struct `Options` in the current scope
  --> /home/janek/.local/share/cargo/registry/src/github.com-1ecc6299db9ec823/sampitor-0.0.1/src/main.rs:23:28
   |
15 | struct Options {
   | -------------- function or associated item `parse` not found for this
...
23 |     let options = Options::parse();
   |                            ^^^^^ function or associated item not found in `Options`
   |
   = help: items from traits can only be used if the trait is implemented and in scope
   = note: the following traits define an item `parse`, perhaps you need to implement one of them:
           candidate #1: `Parser`
           candidate #2: `TypedValueParser`
           candidate #3: `object::read::elf::file::FileHeader`
           candidate #4: `object::read::macho::file::MachHeader`
           candidate #5: `object::read::pe::file::ImageNtHeaders`

Some errors have detailed explanations: E0432, E0599.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `sampitor` due to 5 previous errors
error: failed to compile `sampitor v0.0.1`, intermediate artifacts can be found at `/tmp/cargo-installln8mIX`

The crates.io 0.0.1 release is somehow not the equivalent Git tag version. I probably mistakenly ran cargo publish while editing code. A new 0.0.2 release is pushed and should be installable via cargo install. I've yanked the 0.0.1 release from crates.io, but the 0.0.1 release is still installable via the binaries on the GitHub releases page.
As for usage docs, there are none. This project has not reached alpha status and very few features have been implemented.


GridFieldConfig_RelationEditor doesn't work with $searchable_fields

Affected Version
Vanilla SilverStripe 4.3
Description
The GridFieldAddExistingAutocompleter falls on its face when working with DataObject that define a private static $searchable_fields.
Basically, the Ajax request to fetch the list of DataObject fails with a 500 error when you start typing the auto complete field.
ERROR [Emergency]: Uncaught SilverStripe\Core\Injector\InjectorNotFoundException: ReflectionException: Class DataListFilter.SilverStripe\ORM\Filters\PartialMatch does not exist in /home/maxime/Projects/ss4x/vendor/silverstripe/framework/src/Core/Injector/InjectionCreator.php:17

This may or may not be related to the new react search field.
Steps to Reproduce

Implement this GIST in your SilverStripe SilverStripe project https://gist.github.com/maxime-rainville/9f544d1858b761db323c209933fd038c
Create a Sub Dummy.
Create a Dummy.
Try to link your Dummy to your SubDummy.
You'll get a 500 Internal server error

If you remove $searchable_fields from SubDummy and flush, everything works fine.
PRs

[x] https://github.com/silverstripe/silverstripe-framework/pull/9991
[x] https://github.com/silverstripe/silverstripe-framework/pull/10211

Confirm the bug in 4.0, 4.1 and 4.2. So it's not related to the react search ... for a change.
My got feeling at this stage is that GridField Search context is bleeding into the search context for GridFieldAddExistingAutocompleter.
The problem is probably with GridFieldAddExistingAutocompleter::scaffoldSearchFields().

Just wanted to add my two cents and mention that this issue is still present in 4.7.3.  @maxime-rainville is spot on, it's related to the scaffoldSearchFields() method in GridFieldAddExistingAutocompleter.  It occurs when the $searchable_fields config for the model object refers to a filter using the full class name.
This code will generate the error:
private static $searchable_fields = [
        'Title' => [
            'title' => 'Title (partial)',
            'filter' => PartialMatchFilter::class,
        ]
    ];
}

...while this won't:
private static $searchable_fields = [
        'Title' => [
            'title' => 'Title (partial)',
            'filter' => 'PartialMatchFilter'
        ]
    ];
}

Now, createSearchFilter() in DataList is expecting the filter to be one of the types defined by the coresearchfilters config, i.e. DataListFilter.PartialMatch. GridFieldAddExistingAutocompleter::scaffoldSearchFields() is taking the filter spec and trimming off "Filter" from the end:
$filter = preg_replace('/Filter$/', '', $spec['filter']);

This works fine for the PartialMatchFilter string, and will generate Title:PartialMatch for the above example. However, when we use the full class name in the spec, we end up with Title:SilverStripe\ORM\Filters\PartialMatch, which is obviously going to fail.
The workaround is to the short class name string in the filter spec, but that's probably not best in the long run. Ideally, we should be detecting whether the spec refers to a subclass of SearchFilter and handling appropriately.

@colintucker just got the issue as well. I'm defining a specific instance if $spec['filter'] as it is allowed in
https://github.com/silverstripe/silverstripe-framework/blob/ff409d5e3127994ea1ef94b2f0644fed96ee2e10/src/ORM/DataObject.php#L3921
but that doesn't work and you get an error because there is a preg_replace being applied on an object. Getting the filter name won't work either because you can map an arbitrary string to the filter (in my case, I have a "SoftDelete" filter being mapped to a "SoftDeleteSearchFilter"... trimming Filter is therefore naive at best.
So the class needs to be updated to:

Detect objects
Find matching filter based on DataListFilter definitions

I've tried to find a way to get a list of all DataListFilters, but the injector only seems to support getting specific filters
this works
Injector::inst()->getServiceSpec("DataListFilter.EndsWith");
this doesn't
Injector::inst()->getServiceSpec("DataListFilter");
therefore, finding the right alias might be tricky!

So I've made a pull request. It's not perfect, but it's better than what is currently in place :) at least it's not crashing.

Everything should be working now.


fix: add Type to SystemSpec

I noticed SystemSpec was missing the optional field Type, and I need it on a project I'm working on, so I just went ahead and added it.

Nice one @avashadhikari

Nice one @avashadhikari

thank you! whenever you get some time, can you run the ci workflow once more please? I addressed the linter complaining about line length on a comment, but the PR is waiting on an approval for ci again


MUI: The value provided to Autocomplete is invalid.

I am seeing lots of warning in the console for MUI: The value provided to Autocomplete is invalid.
react_devtools_backend.js:4026 MUI: The value provided to Autocomplete is invalid.
None of the options match with `{"node":{"value":{"id":"GAMES_AND_CONSOLES","name":"Games & Consoles"}},"type":0,"path":[]}`.
You can use the `isOptionEqualToValue` prop to customize the equality test.

This can also be reproduced in the demo by selecting a city then opening the select again and clicking the back arrow

Hi @joshf,
Thanks for bring this up!.  Tree select uses MUI-Autocomplete under the covers.  MUI-Autocomplete preforms a dev env check to make sure that the options prop of Autocomplete contains the value prop.  It is meant to help warn developers of a potential mismatch of those Autocomplete props.
The warning is not applicable to Tree select, luckily there is a way of turning it off that I am working on for the v1 release.
Respectfully,
MP

Ah that's a good to know !


PERF: Use std::move inside itkSetMacro, declare parameter non-const

Avoids an unnecessary copy (possibly involving memory allocation) of the argument of a Set member function.
Note that itkSetMacro calls that define a Set member function which passes the argument by const-reference must explicitly specify the const keyword now.

Thanks for merging, Hans. Note that itkSetMacro(Name, std::string) may now compete with the dedicated string macro, itkSetStringMacro(Name)!
itkSetStringMacro(Name) creates two overloaded member functions, SetName(const std::string &) and SetName(const char *), while itkSetMacro(Name, std::string) only creates a single one, SetName(std::string), but I think that's usually just enough now!


Add support for getting previous extended grapheme cluster break

Resolves #362.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

[X] Read, understood, and followed the contributing guidelines, including the relevant style guides.
[X] Read and understand the Code of Conduct.
[X] Read and understood the licensing terms.
[X] Searched for existing issues and pull requests before submitting this pull request.
[X] Filed an issue (or an issue already existed) prior to submitting this pull request.
[X] Rebased onto latest develop.
[X] Submitted against develop branch.

Description

What is the purpose of this pull request?

This pull request:

Adds support for getting the previous extended grapheme cluster break in a string before a specified position.

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #362
fixes #297
fixes #299

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Just as next-grapheme-cluster-break imagines a break at the end of the string (return value str.length), this package imagines a break at the start of the string (return value -1).

@stdlib-js/reviewers

This PR has similar concerns as #361 . Based on the resolution of those concerns, this PR may need to be similarly updated.

Closing as plan to include this auxiliary functionality in the next-grapheme-cluster-break package.

Sounds good!


ERROR] The target platform you're using does not have network configuration pre-implemented.

Hi ,
Board: NUCLEO_F429ZI
I am using  Anjay-mbedos-client for demo purpose for my device.
NUCLEO_F429ZI board have internet connectivity via ethernet.
But as I can see this example have only cellular connectvity support.
What should I do enable ethernet connectivity/ Add Support for ethernet in this sdk ??

Hi,
You can get the Ethernet interface on that board to work by removing the configuration option that unconditionally sets the default interface type to cellular:
--- a/mbed_app.json
+++ b/mbed_app.json
@@ -16,8 +16,7 @@
       "platform.stdio-baud-rate": 115200,
       "platform.stdio-convert-newlines": 1,
       "target.OUTPUT_EXT": "bin",
-      "target.app_offset": "0x10000",
-      "target.network-default-interface-type": "CELLULAR"
+      "target.app_offset": "0x10000"
     },
     "DISCO_L496AG": {
       "stmod_cellular.provide-default": "true",

This fix will be committed to this repository in the near future as well.
Please note that this (i.e., Anjay-mbedos-client) repository is only intended as a demo application for testing and reference purposes. If you want to build your own application, I recommend you to create a new Mbed OS project, using https://github.com/AVSystem/Anjay-mbedos as a dependency.

Thanks for @kFYatek for quick for reply.
By doing above change, I am able to connect my device on Coiote IoT Device Management.


Only return the real UsageTrack impl if not in unit test mode

fixes #2031
Always return the Noop usage tracker in unit test mode.
The previous CI build was failing due to a thread leak caused by the call to PermanentInstallationId.get() in GoogleUsageTracker (which apparently was fixed in 2018.1). This workaround prevents that call from ever executing in unit test mode.

@ivanporty just fyi I took a different approach here than in the previously (now closed CL). This will be more efficient as it won't require PermanentInstallationId.get() (which reads from the filesystem) to be called on every ping.

for some reason I thought we were already doing this

we were doing it at the ping level. not at the service provider level. t


v1.26.0

Codecov Report

Merging #37 (4b7b621) into main (2ca266d) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   81.98%   82.02%   +0.03%
==========================================
  Files          15       15
  Lines         533      534       +1
  Branches        4        4
==========================================
+ Hits          437      438       +1
  Misses         96       96

Impacted Files
Coverage Δ

src/main/scala/ton/sdk/client/modules/Proofs.scala
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


[cli] [contractKit] publish contractKit and cli changes

Since removeAttestationSigner functionality has been exposed in contractKit and the CLI, re-publish these packages to reflect the change
See issue #6397


add myself to the members list

Just to clarify — does your name follow the same order as the other names in the list (Pavel Kryukov and not Kryukov Pavel)?


401 Not authorized

the  right Authorization： EG1-HMAC-SHA256 client_token=akab-7fumbdauzqneq7yq-zalhzyep36afvacw;access_token=akab-f7lxhzj6axbnklnd-wqxemp23fgebgqb7;timestamp=20161104T15:34:14+0000;nonce=6a764a11-56c8-4541-96d6-c47cfd06e12b;signature=/U4JdnX4YMEAyDc1aqx+LxZviUC2e1VRCCZpFpPYzuk=
the Authorization I get by this library：EG1-HMAC-SHA256 client_token=akab-7fumbdauzqneq7yq-zalhzyep36afvacw;access_token=akab-f7lxhzj6axbnklnd-wqxemp23fgebgqb7;timestamp=20161104T15:34:14+0000;nonce=6a764a11-56c8-4541-96d6-c47cfd06e12b;signature=c7t85HBImm5IW/uzg0gQyzhDkxFCHCH2cxtJtqdm/wY=
what is wrong？

Can you please provide more information, e.g., code you have used to generate whole HTTP request or HTTP request itself?
It will help us reproduce and troubleshoot the issue you reported.

I used the GoogleHttpClientEdgeGridRequestSignerTest ,and replace tokens with mine.Then I modify com.akamai.edgegrid.signer.EdgeGridV1Signer to make  timestamp=20161104T15:34:14+0000;nonce=6a764a11-56c8-4541-96d6-c47cfd06e12b;  . Last， I  ran the unit test  and  found the Authorization was not equal with the right one.

so sorry,I made a mistake.I used post request to equal a get request.  Can u  give me a demo how to build a post content com.google.api.client.http.HttpContent ？  Thank u ！

OK   I have resolved.   Maybe something wrong when I config on Luna Control Center，I can request CCU v2 apis success，but  return 401 when request CCU v3 apis

OK  I have resolved it .thank u


Unable to view journal since upgrading

I cannot recall the version I was on previously, I think 0.2.3 - however I just upgraded and can now no longer hit /journal, I get the following in debug mode:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1836, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1820, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1403, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1477, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1381, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python3.5/site-packages/fava/application.py", line 212, in journal
    return render_template('journal.html')
  File "/usr/local/lib/python3.5/site-packages/flask/templating.py", line 128, in render_template
    context, ctx.app)
  File "/usr/local/lib/python3.5/site-packages/flask/templating.py", line 110, in _render
    rv = template.render(context)
  File "/usr/local/lib/python3.5/site-packages/jinja2/environment.py", line 989, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/local/lib/python3.5/site-packages/jinja2/environment.py", line 754, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.5/site-packages/jinja2/_compat.py", line 37, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.5/site-packages/fava/templates/journal.html", line 2, in top-level template code
    {% set active_page = 'journal' %}
  File "/usr/local/lib/python3.5/site-packages/fava/templates/_layout.html", line 86, in top-level template code
    {% block content %}{% endblock %}
  File "/usr/local/lib/python3.5/site-packages/fava/templates/journal.html", line 6, in block "content"
    {% with journal = api.journal(), show_tablefilter=True, show_change_and_balance=config['journal-general-show-balances']  %}
  File "/usr/local/lib/python3.5/site-packages/fava/api/__init__.py", line 322, in journal
    self.entries, with_change_and_balance=with_change_and_balance)
  File "/usr/local/lib/python3.5/site-packages/fava/api/__init__.py", line 198, in _journal
    return [serialize_entry(entry) for entry in entries]
  File "/usr/local/lib/python3.5/site-packages/fava/api/__init__.py", line 198, in <listcomp>
    return [serialize_entry(entry) for entry in entries]
  File "/usr/local/lib/python3.5/site-packages/fava/api/serialization.py", line 49, in serialize_entry
    new_entry['postings'] = [serialize_posting(p) for p in entry.postings]
  File "/usr/local/lib/python3.5/site-packages/fava/api/serialization.py", line 49, in <listcomp>
    new_entry['postings'] = [serialize_posting(p) for p in entry.postings]
  File "/usr/local/lib/python3.5/site-packages/fava/api/serialization.py", line 88, in serialize_posting
    _add_metadata(new_posting, posting)
  File "/usr/local/lib/python3.5/site-packages/fava/api/serialization.py", line 115, in _add_metadata
    new_entry['meta']['filename'] = entry.meta['filename']
KeyError: 'filename'

Is there any further info I can give to help debug?
Thanks

I can't reproduce this. What version of beancount are you running?

Beancount version is 2.0b7. bean-check passes fine.

Do you also get this with a minimal beancount file? Do you use any beancount plugins, or do you have any options set that might be relevant to the journal?

I just tested, works in 0.2.5, does not work in 0.2.6. I do have plugins but disabling them doesn't resolve.
By process of elimination I've managed to identify 3 transactions similar to this appear to be causing the issue:
2015-11-09 * "Example"
  Assets:Broker:Foobar:ISA                                                                   367 ABC @ 6.86376021798365 GBP
  Expenses:Trading:Commission                                                                 12.5 GBP
  Assets:Broker:Foobar:ISA                                                               -2531.5 GBP

Further digging suggests option "account_rounding" "RoundingError" is the cause.

Thank you for the detailed report and the digging! I think I know the cause of this now. Will provide a fix later.
Since 0.2.6 fava will also display posting metadata. For this we have to remove some attributes that we don't want to show (filename and lineno). But for autogenerated postings like the ones that the account_rounding option adds, these don't exist of course, so the code fails.

Can you try and see if my fix works for you?
I've attached a source distribution, if you don't want to setup a dev environment. (pip3 install 0.2.7.dev0.zip should work)
0.2.7.dev0.zip

That fixes, thanks for the speedy resolution! :+1:


Outdated aiohttp version for pycarwings3 in 2024.12.0b1

System Health details
System Information

version
core-2024.12.0b1

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.13.0

os_name
Linux

os_version
6.6.54-haos

arch
x86_64

timezone
Europe/Warsaw

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
5000

Installed Version
2.0.1

Stage
running

Available Repositories
1483

Downloaded Repositories
70

Home Assistant Cloud

logged_in
true

subscription_expiration
1 stycznia 2018 01:00

relayer_connected
false

relayer_region
null

remote_enabled
true

remote_connected
false

alexa_enabled
false

google_enabled
true

cloud_ice_servers_enabled
true

remote_server
null

certificate_status
null

instance_id
62d6cf8d59e1415d8d27954de8d614c0

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 13.2

update_channel
beta

supervisor_version
supervisor-2024.11.4

agent_version
1.6.0

docker_version
27.2.0

disk_total
146.9 GB

disk_used
138.6 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization
kvm

board
ova

supervisor_api
ok

version_api
ok

installed_addons
AdGuard Home (5.1.2), Advanced SSH & Web Terminal (19.0.0), Bambu Lab P1 - Spaghetti Detection Server (1.0.0), Cloudflared (5.2.1), ESPHome (2024.9.0), File editor (5.8.0), Frigate Proxy (1.5), Grafana (10.2.2), Home Assistant Google Drive Backup (0.112.1), JupyterLab (0.15.5), Let's Encrypt (5.1.4), Mosquitto broker (6.4.1), NGINX Home Assistant SSL proxy (3.10.1), Piper (1.5.2), Samba share (12.3.2), Terminal & SSH (9.14.0), Tesla HTTP Proxy (2.2.8), Whisper (2.1.2), ZeroTier One (0.18.0), Zigbee2MQTT (1.41.0-1), chrony (4.0.0), evcc (0.131.4), phpMyAdmin (0.10.0), MariaDB (2.7.1), InfluxDB (5.0.0), Log Viewer (0.17.0), openWakeWord (1.10.0), Studio Code Server (5.17.3)

Dashboards

dashboards
6

resources
35

views
37

mode
storage

Recorder

oldest_recorder_run
17 listopada 2024 18:58

current_recorder_run
28 listopada 2024 14:13

estimated_db_size
13331.59 MiB

database_engine
mysql

database_version
10.11.6

Sonoff

version
3.8.1 (ffa7e22)

cloud_online
1 / 1

local_online
1 / 1

Spotify

api_endpoint_reachable
ok

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
Pycarwings3 requires aiohttp<3.11 and HA 2024.12 has aiohttp 3.11.8 resulting in requirements conflict
Reproduction steps

Install HA >= 2024.12.0b0

Debug logs
Unable to install package pycarwings3~=0.7.8: × No solution found when resolving dependencies: ╰─▶ Because pycarwings3==0.7.8 depends on aiohttp>=3.10.1,<3.11.dev0 and aiohttp==3.11.8, we can conclude that pycarwings3==0.7.8 cannot be used. And because only pycarwings3<=0.7.8 is available and you require pycarwings3>=0.7.8, we can conclude that your requirements are unsatisfiable. hint: pycarwings3 was requested with a pre-release marker (e.g., pycarwings3>0.7.8,<0.8.dev0), but pre-releases weren't enabled (try: `--prerelease=allow`)

Diagnostics dump
No response

@Arquiteto thank you for this issue. I have fixed the issue in the related pycarwings3 library. Could you please verify it this also fixes the issue in your case? It should install 0.7.9 now.

It's not fixed
`Logger: homeassistant.util.package
Source: util/package.py:152
First occurred: 15:29:24 (3 occurrences)
Last logged: 15:29:26
Unable to install package pycarwings3~=0.7.9: × No solution found when resolving dependencies: ╰─▶ Because pycarwings3==0.7.9 depends on aiohttp>=3.10.1,<3.11.dev0 and aiohttp==3.11.8, we can conclude that pycarwings3==0.7.9 cannot be used. And because only pycarwings3<=0.7.9 is available and you require pycarwings3>=0.7.9, we can conclude that your requirements are unsatisfiable. hint: pycarwings3 was requested with a pre-release marker (e.g., pycarwings3>0.7.9,<0.8.dev0), but pre-releases weren't enabled (try: --prerelease=allow)`
My HA apparently has aiohttp==3.11.8. Not sure if it's core requirement or a colision with some other custom component.

aiohttp==3.11.8 is HA core 2024.12 requirement

@Arquiteto ok, I see.. could you please try it again now, it should install 0.7.10 without issues. Thanks!

With 0.7.10 it was not working, but I saw the update to 0.7.11 and tried that one.
I had to edit the manifest.json to:
  "requirements": [
    "pycarwings3~=0.7.11"
  ],

With pycarwings3~=0.7.10 it wouldn't work, becasue it still wanted to load 0.7.10 (which is strange, because I tought this marker would load the latest version lower than 0.8.x)

@Arquiteto yeah, the 0.7.10 was buggy, I have released 0.7.11 afterwards. Everything should work out of the box without any changes to manifest.json. Could u please try that?

Ok, I can confirm it works with ~=0.7.8 too.


Support for redis via ioredis

Can the session store be implemented with redis using ioredis?

A driver can be made for ioredis, but I'm wondering if this would be better as an external driver than part of the hono-sessions library. For the core package, I only want to support databases included with the core of the runtime, such as Bun SQLite or Deno KV. I may put guidance in the readme for how to create your own storage driver. This is similar in approach to Golang's Gorilla Sessions.
I found this Redis driver for hono-sessions, it's node-redis instead of ioredis though.
https://github.com/crossunit/connect-redis-hono

Here's an ioredis port
https://www.npmjs.com/package/hono-sessions-redis


[BUG] Invalid selector for OnionBalancedService

Describe the bug
I see that there is some weird name selector problem when using OnionBalancedService. This caused the balanced service itself to not work, but the backends (OBB) still worked
I0809 12:11:50.648859       1 request.go:665] Waited for 1.024788492s due to client-side throttling, not priority and fairness, request: GET:https://<IP_ADDRESS>:443/apis/network.kubesphere.io/v1alpha2?timeout=32s
time="2023-08-09T12:11:52Z" level=info msg="Listening for events"
time="2023-08-09T12:11:52Z" level=info msg="Running event controller"
time="2023-08-09T12:11:52Z" level=info msg="Starting controller"
W0809 12:11:52.008129       1 shared_informer.go:372] The sharedIndexInformer has started, run more than once is not allowed
W0809 12:11:52.010323       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
E0809 12:11:52.010444       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
W0809 12:11:53.599169       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
E0809 12:11:53.599335       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
W0809 12:11:56.530255       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
E0809 12:11:56.530287       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
W0809 12:11:59.916694       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
E0809 12:11:59.916813       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
W0809 12:12:11.362886       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
E0809 12:12:11.363052       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
W0809 12:12:27.750180       1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'
E0809 12:12:27.750367       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.23.4/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: invalid selector: 'metadata.nameexample-onionbalanced-service'; can't understand 'metadata.nameexample-onionbalanced-service'

Additional context
Using the latest version of Helm chart (tor-controller-0.1.13)

I downgraded tor-onionbalance-manager to 0.9.0 and it worked. So a regression bug confirmed

https://github.com/bugfest/tor-controller/blob/f274e4c93757ce53af90f38f303fa4f01732ab6c/agents/onionbalance/local/client.go#L157-L161
gotcha

Yep, tor-daemon also kicked the bucket for some reason, reverting to 0.9.0 works

Hi @stevefan1999-personal! Thanks for the bug report (and the fix!) I can see this was introduced some time ago by https://github.com/bugfest/tor-controller/commit/382a511f7dee7081d1f010075c75a3b696b9ce78#diff-ac504e9ab45f16525f55f1d00bfa75ce16cd489cc1b7c5eec1bf6eee49e69190 during the linting changes.


Dashboard UI responsiveness issue @media (max-width: 979px)

How to reproduce

Goto https://localhost:9443/dashboard/index.jag
simulate screen width < 979px
click on hamburger menu at top right of the UI

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Code Quality: Finished renaming service classes that have missed

Summary
This is part of app-wide refactoring.

Renamed to match file names
Removed EnumExtensions class
Removed ILocalizationService & LocalizationService & LocalizationExtensions

Resolved / Related Issues

Follow up for #15473

Steps used to test these changes
None

Somewhat important for future implementation of services.
Ready for merge.


How do I update to 0.8.0 Beta?

How do I update to 0.8.0 Beta?
Many thanks!

You don't. It isn't released, not sure where you got the idea that it was. There will also be no updater for 0.8.0 because of sweeping changes to the panel.


Added status on outside of task card, Created a dev feature component

Issue: https://github.com/Real-Dev-Squad/website-status/issues/936
Description:
Show the task status on task card.
Anthing you would like to inform the reviewer about:
No
Dev Tested:
Yes
Images/video of the change:

Follow-up Issues (if any)

Please add proper PR details. For reference, you can refer to this.


There are some defects when page have highchart's charts.

I used the highchart plugin, please see below:

Hey,
This specially appends on svg text nodes.
It's been a while since the first open issue concerning that bug, and many issues are talking about it.
Despite the fact they're some work-around, nothing has bring a reliable solution.
See: #541 #616
So this fix doesn't duplicate the svg text rendering, but it doesn't respect the style applied to it anymore.

Thanks. I have resolved it. The solution is in: https://stackoverflow.com/questions/34042440/using-html2canvas-to-render-a-highcharts-chart-to-pdf-doesnt-work-on-ie-and-fir


Update README.md

Added YouTube channel (take U forward)
Summary of your changes
Description
I have added take U forward (which is an excellent YouTube channel for learning data structures and algorithms, or honing problem-solving skills) to the list of YouTube channels.
Checklist

[x] My change follows the Contributing Guidelines
[x] I have added only one new link to the list.
[x] I have checked that the link that I added does NOT exist in the project already.
[x] I have sorted the link alphabetically under the related section.

I would love to see my contribution being regarded!


Docker Daemon commands will be deprecated soon.

Is this a request for help?:

Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
What version of acs-engine?:
All

Seems docker daemon will be deprecated soon. Here is what from docker.
https://docs.docker.com/engine/deprecated/#repositoryshortid-image-references
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
ALL
What happened:
We will have a break soon if we don't replace docker daemon commands
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:

There is one PR #982 . But i think we need to fix more than that.

Thanks @rjtsdl, good catch I'll create issues or each orchestrator and schedule them.

duplicate of #984


no implicit conversion of String into Integer (TypeError) Please Help!

When i write:
wraith capture configs/config.yaml
I've got the next errors:
/Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/wraith.rb:172:in `[]': no implicit conversion of String into Integer (TypeError)
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/wraith.rb:172:in `verbose'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/wraith.rb:11:in `initialize'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/validate.rb:10:in `new'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/validate.rb:10:in `initialize'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/cli.rb:132:in `new'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/cli.rb:132:in `block in capture'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/cli.rb:28:in `within_acceptable_limits'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/cli.rb:131:in `capture'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/bin/wraith:5:in `<top (required)>'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/bin/wraith:23:in `load'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/bin/wraith:23:in `<main>'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
    from /Users/lvlmd/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'

How to fix that? How to start process?
Thanks.

@ChrisBAshton Why did you close this issue? i have still this messages and cant star the process. Why i dont know. Can you describe how to fix it? If user like me can do it ?

the same with Ruby 2.3.0

/Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/wraith.rb:172:in `[]': no implicit conversion of String into Integer (TypeError)
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/wraith.rb:172:in `verbose'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/wraith.rb:11:in `initialize'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/validate.rb:10:in `new'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/validate.rb:10:in `initialize'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/cli.rb:132:in `new'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/cli.rb:132:in `block in capture'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/cli.rb:28:in `within_acceptable_limits'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/lib/wraith/cli.rb:131:in `capture'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/gems/wraith-3.1.2/bin/wraith:5:in `<top (required)>'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/bin/wraith:23:in `load'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/bin/wraith:23:in `<main>'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
	from /Users/lvlmd/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'

@ChrisBAshton may you ask advice what im doing wrong if i've got these messages and cant run app ?

I have the exactly same error. I already tried other versions of Ruby, still this problem is occuring.

Someone had a similar issue not long ago:
https://github.com/BBC-News/wraith/issues/398#issuecomment-191877407
In their case it was because they misspelled the filename passed to the Wraith command. Can you make sure a directory called configs exists, and inside that directory a file called config.yaml exists?
Wraith shouldn't be throwing this error though, it should give a proper error message, we'll definitely want to fix this in the next release.

This step fixed this issue:
Edited .bash_profile
added
export PATH=/Users/MyAccName/.rvm/gems/ruby-2.3.0/bin/wraith:$PATH


Javascript syntax highlight is broken after update to 0.10.8

I tried to reinstall VS Code, but the problem persist.
I have no syntax highlight in javascript files, see screenshots.

expected behavior:

@vsDizzy I assume you mean the JavaScript validation (error squigglies)?

Yes

@vsDizzy  I see that you have Salsa enabled. This is the expected behaviour. Salsa only warns about syntax errors not type errors. Please see the discussion in Microsoft/TypeScript#6802.
If you want more warning we recomment to install the eslint or jshint linter extensions.


No intellisense

Issue Type: Bug
There is no intellisense when writing in any languege. No luck after searching the web for hours. Now i reach to nerds of wisdom! i seek your guidance.
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:58:56.166Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
AMD Ryzen 5 1600X Six-Core Processor            (12 x 3593)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.93GB (10.15GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

vscode-firefox-debug
fir
2.6.1

python
ms-
2019.11.50794

csharp
ms-
1.21.9

unity-tools
Tob
1.1.1

unity-debug
Uni
2.7.2

I am having same issue, the intellisense might work at very beginning upon open vsCode and then it will  stop working.
Same version/build as depicted in the issue.
Version: 1.41.1 (system setup)
Commit: 26076a4de974ead31f97692a0d32f90d735645c0
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18363

I was also having the same problem (windows 10).
Reverting to version 1.40.0 fixed it for now.
I've also disabled auto-updates from the settings until this is fixed.

I was also having the same problem with version 1.40.1 - windows 10.
Reverting to version 1.40.0 fixed it for now.
I've also disabled auto-updates from the settings until this is fixed.

 The solution is to install the october version 1.14.0


Install Android Support Repository when installing from CLI

Fixes #400, error message:
Could not resolve all dependencies for configuration ':libtermexec:_debugCompile'.

Thanks! (Maybe we should also add android-22, since I think we now target that as the SDK level.)

You are right, fixed in #417.


mail is not recieved.? what the isssue?

i have installed exe. in my win 8.. but i havent received any emails..i have given my GMAIL accout credentials

Check if you have enabled the less secure apps in your gamil

yes i have enabled that

Do you have runned bee and it don't show some error?

I have the same problem, Bee don't show any error.

Is your issue resolved?

sir plz help ,  beelogger is no send any mail me when i run application { beeLogger} on windows 7.
{ use os windows7- vm virtualbox-linux64

help me

I am also facing the same problem brother.

sir plz help , beelogger is no send any mail me when i run application { beeLogger} on windows 7.
{ use os windows7- vm virtualbox-linux64 / less is on / use gmail
PLZ HELP


feat(dl): add credential support for dl service

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


Remove the need to define a split when running predict

The current code expects that a split will be defined in the [predict] table in the config file. The user can then set the specified split to be 1.0 (100%) of the data in the data directory.
But this feels like an odd requirement for the user to update the [data_set] split definitions in order to run inference.
I would advocate for an approach that doesn't require the user to specify a split in the [predict] table, and just runs all the data found through the trained model.

This will be the expected default user behavior in unsupervised learning scenarios.
In supervised scenarios, users might want to run predict only on the "test" set (i.e., data - train - validation)
I don't think there is a "right" answer here.

Proposing a solution - what is the default value for the split value in [predict] is false, which would indicate "no split, just use all the data in the data directory". And if the value is not "false" then we would expect it to be one of ["train", "validate", "test"].
I think that would suppose both use cases relatively easily:

I just want to use an existing trained model with a bunch of data - no mods required to the config file.
I want to test my trained model on a subset of my input data - the user would expect to have to define the subset in the config.


ServiceMonitor also selects Clickhouse Nodes

Hey,
i noticed when i use the ServiceMonitor in the HelmChart also the clickhouse nodes are selected. So Prometheus tries to scrape them on Port 8888 and Port 9999 which leads to an connection refused.
As far as i understand it is not intentend to scrape the Clickhouse Nodes directly but the clickhouse-operator which provides the metrics. My dashboard is already filled with the correct metrics but i get TargetDown Alerts which i want to fix.
I think it is because the Clickhouse Nodes is:
spec:
  endpoints:
  - port: clickhouse-metrics
  - port: operator-metrics
  selector:
    matchLabels:
      app.kubernetes.io/instance: clickhouse
      app.kubernetes.io/name: altinity-clickhouse-operator

i think the issue is that the Operator and the Clickhouse Services both have the same labels and therefore get picked up by the ServiceMonitor.

how exactly do you install your kind: ClickHouseInstallation manifest?
did you use values.yaml something like that?
serviceMonitor:
  enabled: true
additionalResources:
 - |
   apiVersion: clickhouse.altinity.com/v1
   kind: ClickHouseInstallation
   metatada:
    ...
   spec:
    ...

Yes i pass it via additionalResources.

In clickhouse-operator deployment, 8888 port used for export metrics related to clickhouse-server and these metrics exported by metrics-exporter container which scrape your clickhouse-server nodes via SQL HTTP queries, and 9999 port contains metrics related to clickhouse-operator itself, which exported by clickhouse-operator container
Why do you ensure your clickhouse-server related pods contains the same labels which present in matchLabels in your ServiceMonitor?

I do not pass any additional Labels i think the labels are passed via helm by default but i am not 100% Sure. So since the ClickhouseInstalltion is part of the Clickhouse-Operator the labels are passed automatically. So i think when i is suggested to pass Clickhouse Installtion via .additionalResources the Clickhouse Metrics Service should have another Selector than only the helm default labels?


Digital Ocean docker machine image missing kernel flags "cgroup_enable=memory swapaccount=1"

According to Digital Ocean's official twitter account, the default Digital Ocean Docker one-click image boots with the kernel flags "cgroup_enable=memory swapaccount=1" to enable container memory profiling.
The docker image used for Digital Ocean and Docker machine should use these flags as well—either a different image should be used or they should be set as part of the configuration of the ubuntu 15.10 image.

Hm, yeah, that would definitely be nice.

Since we use the default DigitalOcean images, this one isn't directly actionable today, but we'll keep it in mind for the future.


Open AI API settings lost after restart of docker container

Bug Report
Description
When restarting the Open WebUI docker container API key settings are lost
Bug Summary:
When restarting the Open WebUI docker container API key settings are lost
Steps to Reproduce:
Enter a API key, save and restart Docker
Expected Behavior:
API key persists after restart
Actual Behavior:
API key is lost after restart
Environment

Open WebUI Version: 0.1.1222

Operating System: Docker running in Portainer

Reproduction Details
Confirmation:

[X] I have read and followed all the instructions provided in the README.md.
[X] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[X] I have included the Docker container logs.

Logs and Screenshots
Docker Container Logs:
owebui.log
Screenshots (if applicable):
Before restart

After restart

Installation Method
Docker

follow the documentation to add environment variables


Set a default keybinding for cursorRedo: Ctrl+Shift+J

This PR fixes #82932
It sets a default keybinding to the cursorRedo command (called "Soft Redo" in the command palette): Ctrl+Shift+J

Thank you, but I would not assign it a keybinding by default. Longer explanation in https://github.com/microsoft/vscode/issues/82932#issuecomment-545177568


Dockerfile and comands

We create the DockerFile to the User-API and also we includeo the .sh that is needed to execute the container

Seems good to me :)


Updating status of a couple of projects

This PR updates the following:

CVS Book
Vision framework tutorial

I think this looks pretty good --nice work!


'await' may be missing at async function call

Description
Hi, I am a developer of JavaScript code quality service called DeepScan(https://deepscan.io).
We analyzed atom project's code with DeepScan for benchmarking, and found some issues which would be better to modify it.
I will report on the issues we found below and create pull request for fixing them.
And here is DeepScan's detailed result link for atom project.
https://deepscan.io/dashboard/#view=project&pid=2005&bid=9394&subview=issues
Additional Information
Alarm 1: Condition 'isOpenInEditor(realPath)' is always true because it evaluates to a 'Promise' object. The object is originated from the return value of the function defined at line 226.

Src: src/path-watcher.js(242:24-242:48)
this.subs.add(treeView.onEntryDeleted(async event => {
  const realPath = await getRealPath(event.path)
  if (!realPath || isOpenInEditor(realPath) /*alarm*/) return
...})

Cause

'isOpenInEditor()' is async function, and returns Promise object when calling without 'await', so the condition is always true.
'isOpenInEditor()' function's body returns boolean, so maybe 'await' is unintendedly missing.
'isOpenInEditor()' function code
const isOpenInEditor = async eventPath => {
  const openPaths = await Promise.all(
    atom.workspace.getTextEditors().map(editor => getRealPath(editor.getPath()))
  )
  return openPaths.includes(eventPath) // return boolean value
}

Guide

Call 'isOpenInEditor()' with 'await'.

Alarm 2: Number of arguments passed to 'RegExp.prototype.test()' should be 1. But 2 arguments are passed.

Src: src/main-process/application-menu.js (204:14-204:68)
if (item.command) {
  item.accelerator = this.acceleratorForCommand(item.command, keystrokesByCommand)
  item.click = () => global.atomApplication.sendCommand(item.command, item.commandDetail)
  if (!/^application:/.test(item.command, item.commandDetail) /* alarm */) {
    item.metadata.windowSpecific = true
Cause

'RegExp.prototype.test()' only has one argument, so the second argument 'item.commandDetail' is ignored.

Guide

Remove the second argument 'item.commandDetail'.

Pretty cool project, thanks for creating the issue and PR!


No Download Checksums Available

Description
On the downloads page, none of the files have any method to verify their integrity.
Steps to Reproduce
n/a
Versions
all

These would be essential, if @swmitra you could look into incorporating these into the release chain that would be awesome!


Make Configs.showAdOnFirstColdStart return a Boolean via a lambda.

There may be scenarios were the value passed in might change later on in the app between the Ad is requested, loaded & shown.
If we use a lambda that eventually returns a Boolean, it can be computed & updated later as well.
Also changing the name to Configs.showAdOnColdStart would be a better option.

Completed via ba38b53.
Renamed to Configs.showOnColdStart.


Loosen azure-storage-blob pin

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

In the upstream repo it appears all pinning was removed in 0.7.3:

https://github.com/dask/adlfs/blame/v0.7.3/setup.py#L35

...and then a minimum pin of 12.5.0  added in master:

https://github.com/dask/adlfs/blame/master/setup.py#L35

So, following upstream, there's no reason this shouldn't work with the latest 12.8.0 version of azure-storage-blob

Thanks Tom! :+1:


Issue37 createVersionSnapshot  may return a NO_CONTENT status

I'm currently working for the university of Geneva. They are using Fedora3 and want to migrate to Fedora4. I've tried running the migration-utils tool but got errors each time it tried to create an fcr:versions subpage because the creation of such a page returned NO_CONTENT.
I've changed the FedoraRessourceImpl code so that is does not throw an exception in such a case.
Hope you agree with this.
Thanks

Thanks, @willix71. This looks good. Could you please add a test that verifies the desired functionality in:
https://github.com/fcrepo4-labs/fcrepo4-client/blob/master/fcrepo-client-impl/src/test/java/org/fcrepo/client/impl/FedoraRepositoryImplIT.java
Also, before a code submission can be accepted, please provide a signed CLA:
https://wiki.duraspace.org/display/DSP/Contributor+License+Agreements


Cookbook: tests with scalatest

A short cookbook that will show how to define tests using ScalaTest. I should cover 2 different test files and test utils.
An example test using Munit

duplicate of #323

Thanks, so I will close this issue.


Add prefix support for ::placeholder

::placeholder is not supported by inline-style-prefixer, as shown in this issue:
https://github.com/robinweser/inline-style-prefixer/issues/104
We need to add support for it in prefixer().

Fixed this issue by this commit:
https://github.com/winston0410/camouflage/commit/1d1c00c737a98c8dac663c5b4e5cd0a188cd6bea

Fixed this issue by this commit:
https://github.com/winston0410/camouflage/commit/1d1c00c737a98c8dac663c5b4e5cd0a188cd6bea


GH161: Update to Cake 2.0

fixes #161

@devlead your changes have been merged, thanks for your contribution 👍


java language client plugin doesn't work properly

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
the jdtls in termux throws this error:
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$recursiveFindRpcMethods$0(GenericEndpoint.java:67)
        at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.request(GenericEndpoint.java:120)
        at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.handleRequest(RemoteEndpoint.java:261)
        at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.consume(RemoteEndpoint.java:190)
        at org.eclipse.jdt.ls.core.internal.ParentProcessWatcher.lambda$1(ParentProcessWatcher.java:144)
        at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.handleMessage(StreamMessageProducer.java:194)
        at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:94)
        at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.reflect.InvocationTargetException
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.eclipse.lsp4j.jsonrpc.services.GenericEndpoint.lambda$recursiveFindRpcMethods$0(GenericEndpoint.java:65)
        ... 12 more
Caused by: java.lang.IllegalArgumentException: URI has an authority component
        at java.base/sun.nio.fs.UnixUriUtils.fromUri(UnixUriUtils.java:54)
        at java.base/sun.nio.fs.UnixFileSystemProvider.getPath(UnixFileSystemProvider.java:103)
        at java.base/java.nio.file.Path.of(Path.java:203)
        at java.base/java.nio.file.Paths.get(Paths.java:98)
        at org.eclipse.jdt.ls.core.internal.ResourceUtils.canonicalFilePathFromURI(ResourceUtils.java:230)
        at org.eclipse.jdt.ls.core.internal.handlers.BaseInitHandler.handleInitializationOptions(BaseInitHandler.java:100)
        at org.eclipse.jdt.ls.core.internal.handlers.InitHandler.handleInitializationOptions(InitHandler.java:105)
        at org.eclipse.jdt.ls.core.internal.handlers.BaseInitHandler.initialize(BaseInitHandler.java:64)
        at org.eclipse.jdt.ls.core.internal.handlers.JDTLanguageServer.initialize(JDTLanguageServer.java:284)
        ... 17 more

live completion doesn't show subclasses

how to reproduce:

install java language client plugin in acode
install acode language client & jdtls in termux, as instructed in the plugin
run acode-lsp in termux
open acode with java file opened

Environment
NOTE: I don't have the "copy device info" option on my command palette, I'll just manually put those things here
app version: 1.10.5 [playstore]
android version: android 11
webview version: version 129.0.6668.100
If applicable, add mockups / screenshots regarding your vission

If applicable, attach your Acode.log file to this issue.
Acode.log
[2024-10-27T03:03:34.843Z] [INFO] Loading Settings...
[2024-10-27T03:03:35.117Z] [INFO] Loading language...
[2024-10-27T03:03:35.435Z] [INFO] App started!
[2024-10-27T03:14:04.225Z] [INFO] Loading Settings...
[2024-10-27T03:14:04.297Z] [INFO] Loading language...
[2024-10-27T03:14:04.527Z] [INFO] App started!
[2024-10-27T03:19:21.548Z] [INFO] Loading Settings...
[2024-10-27T03:19:21.618Z] [INFO] Loading language...
[2024-10-27T03:19:21.801Z] [INFO] App started!

This isn’t a bug with Acode; it’s related to the plugin itself.
I understand that Acode’s language client currently doesn’t provide the best LSP experience and could use a major update. The plugin developer has also mentioned plans to work on it, though he's busy at the moment. We're also working to improve the LSP experience, with some contributors already making progress. Hopefully, we'll see improvements soon!
In the meantime, you might try asking in the Telegram group—someone using the Java language client might be able to help.


pickled model predict uses all cores always

lgbm 2.2.4
Ubuntu 18.04

Get this data and decompress: https://archive.ics.uci.edu/ml/datasets/HIGGS

Run this:

import datatable as dt
f = dt.fread("HIGGS.csv")
f = f[:, [bool, int, float]]
target = 'C0'
y0 = f[:, target].to_numpy().ravel()
del f[:, target]

size=1000000
X = f[0:size, :]
y = y0[0:size]

valid_X = f[size:2*size, :]
valid_y = y0[size:2*size]

import lightgbm as lgb
lightgbm_params = dict(num_class=1, max_depth=6, max_leaves=-1, early_stopping_rounds=100, n_estimators=1000, n_jobs=4)
model = lgb.LGBMClassifier(**lightgbm_params)

import numpy as np
from sklearn.preprocessing import LabelEncoder

X_features = list(X.names)

X = np.ascontiguousarray(X, dtype=np.float32)
y_enc = LabelEncoder().fit_transform(y)

valid_X = np.ascontiguousarray(valid_X, dtype=np.float32)
valid_y_enc = LabelEncoder().fit_transform(valid_y)
eval_set = [(valid_X, valid_y_enc)]

import sys, time
print("model.fit") ; sys.stdout.flush()
t0 = time.time()
kwargs = dict(X=X, y=y_enc, feature_name=X_features, eval_set=eval_set)
model.fit(**kwargs)
t1 = time.time()
print("fit: %g" % (t1-t0)) ; sys.stdout.flush()

print("model.predict") ; sys.stdout.flush()
model.predict(X)
t2 = time.time()
print("predict: %g" % (t2-t1)) ; sys.stdout.flush()

from h2oaicore.systemutils import load_obj, save_obj

save_obj((model, X, y_enc, X_features, eval_set), "kwargs.pkl")

# n_jobs = 4
# fit: 81.8104
# predict: 19.874

# n_jobs = 8
# fit: 47.5215
# predict: 10.9998

# n_jobs = 20
# fit: 32.4146
# predict: 4.77632

# n_jobs = 40
# fit: 82.0719
# predict: 2.95501

Notice that uses 4 cores, 400% in top.
Then run:
from h2oaicore.systemutils import load_obj, save_obj
import os, sys, time

from h2oaicore.lightgbm_dynamic import got_cpu_lgb, got_gpu_lgb
import lightgbm as lgb

(model, X, y_enc, X_features, eval_set) = load_obj("kwargs.pkl")

t1 = time.time()
print("model.predict") ; sys.stdout.flush()
model.predict(X)
model.set_params(n_jobs=4)
t2 = time.time()
print("predict: %g" % (t2-t1)) ; sys.stdout.flush()

# predict: 3.30001

Then see how uses all cores, e.g. 3200-4000% on my 40 virtual core system.
This means that if pickle and load and predict, the speed will be very sensitive to anything else running on the system.
Need pickle to either remember n_jobs to use or, even better, respect set_params().

OMP_NUM_THREADS=4 python lgbm_read.py but this works.

1.
Uhmm, it's quite confusing.  Predict has its own params. Try
model.predict(X, n_jobs=4)

Refer to #1340.

Sorry, copy paste bug.
Then lightgbm is not consistent.  E.g., before pickling anything, if I do model.fit and then model.predict without any n_jobs passed to predict, then predict uses the same number of cores that fit uses.
Only when one unpickles the model and then does predict does it not use the same cores.
So there is an inconsistency in how many cores used by predict.

I'll say that the solutions presented are sufficient.


Pick default app and client configurations

We have yet to decide on what values we want as a default when initializing an node.
Notably, there is a default minimum gas price and snapshot interval.
the minimum gas price is important for the security of the network, as leaving the price at 0 will likely allow for anyone to DOS attack the network unless many nodes change this value after initialization.
the default snapshot interval is important, as the default value of 0 means that it will be very difficult to find nodes to download state from during state sync. Having a value that is too small will increase the resource requirements of a node, although by how much is dependent upon many factors.

We haven't made a decision on changing the default snapshot interval, but this value is changed very frequently by node operators, so I'm comfortable leaving it as the default.
the min gas fee was changed to https://github.com/celestiaorg/celestia-app/pull/1000, although we will likely want to change it again in the future. The important thing atm is that it is non-zero


Control open state of SidebarNavDropdown

Hello,
I would like a possibility for the SidebarNav to control the open state of the SidebarNavDropdown.
Usecase: when expanding / collapsing the a nav dropdown, I would like to save its state in the localStorage or something similar. I see this as an UX improvement for the end user if you deal with complex sidebar menus.
Implementation suggestion: maybe provide a default open state to the _nav (state on mount) and a onChange method to store the above state.
I can help with a PR if you want ;)
Thanks

Hi, thank you for your feedback. Right now we are working on version 3.0 where core layout components (including sidebar) will have complete refactor. If you submit a PR, it can possibly influence the functionality of sidebar and sidebar nav in 3.0 version.
Regards :)

Got it ;)
If you could take this suggestion into consideration when implementing v3.0, I would appreciate it.


User-reported unhelpful error message

Program: https://code.world/haskell#PWZOwMeBsqdI7dU3CVdZsaQ
Message:
program.hs:4:1-4: error:
    The type signature for ‘main’ lacks an accompanying binding

This seems pretty accurate.  The bar is very high for mucking with GHC messages in Haskell mode, and I don't see a case here.


[Bug] When Complex datatype is provided in DICTIONARY_EXCLUDE, validated and throwing unsupported exception.

retest this please

LGTM. Apart from one review comment.

Fixed review comment

LGTM


Problem With The Solution

Challenge http://www.freecodecamp.com/challenges/bonfire-return-largest-numbers-in-arrays has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

@dios231 thanks for posting this!
Could you give the description of your issue?
Please review the Guidelines for Contributing, thank you!.

Closing. Please feel free to re-open with steps to reproduce the issue.
Happy Coding!


Pluginify obsidian feeds!!

SOO There's a lot here, at the moment it's not functional.
This is how I'd propose to pluginify this thing and version the releases...
There are a lot of useful things here and moving to typescript as well as cleaning up the view.js which is becoming quite large will definitely clean this up.

Just had a thought, that the quickest way to make it functional would be to wrap the view.js into a class an initialize it in index.ts...

Yeah why not, keep it simple...
Another way of keeping it simple though would be indeed to refactor view.js into several files.
As a first step let's wrap it somehow so we have less migration work.
Looks pretty good from what I have seen (looked at the diff from my phone)!

There's a lot more messages waiting for you on discord when you have time. I'll work on this a little more in the evening, but this also needs a proper hook into re-rendering the dataview which at the moment it's not doing.

@lukemt @madx this is ready for merge!

I like it! Looks good! Will test a little as well.
btw, you can make a list of authors too ;)

I like it! Looks good! Will test a little as well. btw, you can make a list of authors too ;)

How does one make a list of authors @lukemt? Oh do you mean the manifest?

yea

I like it! Looks good! Will test a little as well. btw, you can make a list of authors too ;)

How does one make a list of authors @lukemt? Oh do you mean the manifest?

yeah the manifest, also if it works we could add it to the Community Plugins List


runtime: recover is not functional

recover now works as expected (even with the new compiler backend).


Actions should be pinnable

Is your feature request related to a problem?
Pinning using a cryptographic hash or signature is considered a Best Practice to ensure that a specific version of a component is used, which can help in making builds more reproducible and trustworthy. All of our GitHub OSPO Actions do not follow the best practices in terms of being immutable ("pinnable").
Related OSPO Tool
stale-repos GitHub Action, issues-metrics GitHub Action, automatic-contrib-prs GitHub Action, evergreen GitHub Action, cleanowners GitHub Action, contributors GitHub Action
Describe the solution you'd like
See remediation paths at https://github.com/boostsecurityio/poutine/blob/main/docs/content/en/rules/unpinnable_action.md#remediation
Ideally we would make our actions pinnable, update our docs to encourage that practice, and ensure our CI components are all pinned.
Describe alternatives you've considered
none
Additional context
Found based on running the poutine tool

Turned on OSSF Scorecard on stale-repos and the results agree with this issue. 😄 Will work through them all in a PR per repo.


Show on App Launch: Translations

Task/Issue URL: https://app.asana.com/0/1207908166761516/1208156273709092/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4980  👈
#4952
#4950
#4946
#4944
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mikescamell and the rest of your teammates on  Graphite


Idea how to fix wrong padding for 64 Byte long inputs

The second message block was missing the "1" bit after the
input message.
Fix is not clean at all and I just wanted to showcase the issue and a possible way to solve it.
In particular test_sha256_512bits fails before the fix.

merged in #2 ! thank you!

hmm sorry it seems to have lost the attribution during porting over to my repo


input value getting set to an empty string on blur

Description
ng-currency is setting the field to an empty value on blur
Expected outcome
The field contains the parsed number
Actual outcome
The field is emptied
Live Demo
Live Demo
Steps to reproduce

focus the field
click off the field

Browsers Affected

[x] Chrome
[ ] Firefox
[ ] Safari 9
[ ] Safari 8
[ ] Safari 7
[ ] Edge
[ ] IE 11
[ ] IE 10

Seems this only happens when you provide a min and max value.
I'll look into this tonight.

Not entirely resolved, the value is still blanked out when updateOn is set to blur:
Live Demo