Rename index.md to Create index.md

Why:
Closes [issue link]

What's being changed:

Check off the following:

[ ] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Why:
Closes [issue link]
What's being changed:
Check off the following:
* [ ]  I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click **View deployment**).

* [ ]  For content changes, I have completed the [self-review checklist](https://github.com/github/docs/blob/main/CONTRIBUTING.md#self-review).

Writer impact (This section is for GitHub staff members only):
* [ ]  This pull request impacts the contribution experience

  * [ ]  I have added the 'writer impact' label
  * [ ]  I have added a description and/or a video demo of the changes below (e.g. a "before and after video")


Add Code of Conduct and Privacy Policy

Add Code of Conduct and Privacy Policy to their links in the footer.
Consider creating a separate page for them to link to so we're able to share it as links more easily.

previous code of conduct: http://2020.cusec.net/#/codeofconduct
previous privacy policy: N/A

Found some interesting generators:
Privacy Policy and Terms of Use: https://getterms.io/
Code of Conduct: https://miloslav.website/code-of-conduct/


Remove automatic mv2 -> mv3 domainlist migration (issue #302)

In storage.js, why is line 152 being removed?


Fabric Accessibility - High contrast mode

High contrast mode pass with changes to the following:

New Fabric colors for high contrast
People tokens in people picker
Callout beak
Radio buttons and choice fields
Contextual menu hover, focus, selected states
Dialog border, overlay opacity
Dropdowns hover and focus
Disabled dropdowns
Pivot selection
Pivot redesign - new indicator and state colors
Spinner visibility
Label disabled color
Toggle clean up
Progress bar visibility

Set Windows into 'High Contrast Black' or 'High Contrast White' and open Edge/IE to review changes.

It looks good to me -- we should fix Link as well.  I'll file a bug on that so we don't hold up this change.

Yeah there wasn't a bug out there for Link so it wasn't looked at but this is a great catch. I've updated Link with the correct colors and it should be fixed now.

Anchor links are invisible in HC #1

HC Persona doesnt really have a specific color.

It looks like bottom field is kinda funky.

Updates made to the high contrast link color so it's visible in high contrast #1. Fixes for textfield made for all display modes and states. Translate appropriate files (choicefield.scss, persona.scss) from tabs to spaces.


Login dont work anymore | 2023

Hi
I cant login anymore. Website is working.
I have accepted the Cookies but the login screen says "Sorry something went wrong "
Login data checked twice -> working in Safari.

Tested it again ... problem stays

2023-03-03 18:05:17.182 4828-4828/com.github.leonardoxh.f1 I/chromium: [INFO:CONSOLE(0)] "Unrecognized Content-Security-Policy directive 'script-src-attr'.
", source: https://account.formula1.com/#/en/login (0)
2023-03-03 18:05:17.183 4828-4828/com.github.leonardoxh.f1 I/chromium: [INFO:CONSOLE(0)] "Unrecognized Content-Security-Policy directive 'style-src-attr'.
", source: https://account.formula1.com/#/en/login (0)
That seasm to be the problem

Sorry it was my fault by my custom JS  :(


Awkward syntax when working with Promises

Currently, to fetch and log out an API response requires something like the following:
let p = ReasonJs.fetch "https://jsonplaceholder.typicode.com/posts/1";
ReasonJs.Promise.thenDo (ReasonJs.Promise.thenDo p ReasonJs.Response.text) Js.log;

This is rather unwieldy, but can be made somewhat cleaner by aliasing some of the functions:
let fetch = ReasonJs.fetch;
let then_ = ReasonJs.Promise.thenDo;
let p = ReasonJs.fetch "https://jsonplaceholder.typicode.com/posts/1";
then_ (then_ p ReasonJs.Response.text) Js.log;

By flipping the arguments, I am able to get an even nicer syntax:
let fetch = ReasonJs.fetch;
let then_ a b => ReasonJs.Promise.thenDo b a;
let p = fetch "https://jsonplaceholder.typicode.com/posts/1";
p |> then_ ReasonJs.Response.text |> then_ Js.log;

Perhaps the API can be reshaped to make usage more idiomatic.

Fixed by #11, see https://github.com/BuckleTypes/reason-js/blob/master/src/core/promiseRe.re and the example https://github.com/BuckleTypes/reason-js/blob/master/examples/fetch_example.re
I plan on fleshing out both fetch and promise in the near future.

@glennsl thanks for the reply. It looks like your PR has already been merged in, so I will close this issue.


Set default for helmOverride (#496).

Looks good.

As written, helm_override and cluster.helmOverride are assumed to always be defined, which is a breaking schema change. After a misunderstanding of your comment and a few random commits, I spoke with @guineveresaenger. I think a default "" is correct insofar as it matches the existing logic.

The beginnings of a schema for helmOverride:
    "helmOverride": {
      "description": "Undefined if k2 should halt when there is no supported version of helm for the version of kubernetes specified, true if the latest, and possibly unsupported, version of helm should be used, and false if helm should be skipped entirely.",
      "type": [ "boolean", "string" ]
    }


Remove class inheritance hacks from plugin API.

Minified size grew by 779 bytes. Doesn't matter if the code is clearer with classes. Opinions?

LGTM 👍


testing-preview and testing-sanchonet aggregators panic with FOREIGN KEY constraint failed error

Why
The testing-preview and testing-sanchonet netowrks are down with the following panic:
{"msg":">> open_signer_registration_round","v":0,"name":"mithril-aggregator","level":20,"time":"2024-11-17T15:02:28.980533893Z","hostname":"7e7d34d1d6cc","pid":1,"src":"AggregatorRunner","time_point":"TimePoint {\n    epoch: Epoch(\n        521,\n    ),\n    immutable_file_number: 10429,\n    chain_point: ChainPoint {\n        slot_number: SlotNumber(\n            45066688,\n        ),\n        block_number: BlockNumber(\n            2242439,\n        ),\n        block_hash: \"9dd84673cb69436be7db81ec55499f012d3a0d339f727ee8b558dccc4777cfea\",\n    },\n}"}
thread 'tokio-runtime-worker' panicked at /home/runner/work/mithril/mithril/internal/mithril-persistence/src/sqlite/cursor.rs:35:51:
FOREIGN KEY constraint failed (code 19)
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: <mithril_persistence::sqlite::cursor::EntityCursor<T> as core::iter::traits::iterator::Iterator>::next
   3: mithril_persistence::sqlite::connection_extensions::ConnectionExtensions::fetch_first
   4: <mithril_aggregator::database::repository::signer_registration_store::SignerRegistrationStore as mithril_aggregator::store::verification_key_store::VerificationKeyStorer>::prune_verification_keys::{{closure}}
   5: <mithril_aggregator::signer_registerer::MithrilSignerRegisterer as mithril_aggregator::signer_registerer::SignerRegistrationRoundOpener>::open_registration_round::{{closure}}
   6: <mithril_aggregator::runtime::runner::AggregatorRunner as mithril_aggregator::runtime::runner::AggregatorRunnerTrait>::open_signer_registration_round::{{closure}}
   7: mithril_aggregator::runtime::state_machine::AggregatorRuntime::cycle::{{closure}}
   8: mithril_aggregator::commands::serve_command::ServeCommand::execute::{{closure}}::{{closure}}
   9: tokio::runtime::task::core::Core<T,S>::poll
  10: tokio::runtime::task::harness::Harness<T,S>::poll
  11: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
  12: tokio::runtime::scheduler::multi_thread::worker::Context::run
  13: tokio::runtime::context::runtime::enter_runtime
  14: tokio::runtime::scheduler::multi_thread::worker::run
  15: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll
  16: tokio::runtime::task::core::Core<T,S>::poll
  17: tokio::runtime::task::harness::Harness<T,S>::poll
  18: tokio::runtime::blocking::pool::Inner::run
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
{"msg":"shutting down HTTP server after receiving signal","v":0,"name":"mithril-aggregator","level":40,"time":"2024-11-17T15:02:28.983355811Z","hostname":"7e7d34d1d6cc","pid":1,"src":"MetricsServer"}
Error: task 14 panicked with message "FOREIGN KEY constraint failed (code 19)"

Stack backtrace:
   0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
   1: mithril_aggregator::commands::serve_command::ServeCommand::execute::{{closure}}
   2: tokio::runtime::park::CachedParkThread::block_on
   3: mithril_aggregator::main
   4: std::sys::backtrace::__rust_begin_short_backtrace
   5: std::rt::lang_start::{{closure}}
   6: std::rt::lang_start_internal
   7: main
   8: __libc_start_main
   9: _start

What
Investigate and fix the problem that prevents the aggregator from starting in testing-preview and testing-sanchonet.
How

[x] Investigate the issue
[ ] Fix the issue
[ ] Re-genesis with genesis bootstrap command the test networks (1 epoch after the fix is applied):

[ ] testing-preview
[ ] testing-sanchonet

Following a problem with #1957, we have made a manual operation on the database with sqlite3.
We have deleted some open messages, but the delete cascade was not executed as this is not a feature activated by default with this tool.
The pruning of the verification keys failed because some single signatures associated with the aforementioned open messages were not properly deleted and created the constraint error which triggered a panic of the node.
We have manually deleted the remaining single signatures and the aggregators of testing-preview and testing-sanchonet have resumed successfully.


Error publish Static WebApp System.MissingMethodException

🐛 Bug Report
I've published a static web app, but I get this error:
fail: Microsoft.AspNetCore.Components.Web.ErrorBoundary[0]
      System.MissingMethodException: Arg_NoDefCTor, Microsoft.FluentUI.AspNetCore.Components.Icons+Regular+Size20+Balloon
         at System.RuntimeType.CreateInstanceMono(Boolean , Boolean )
         at System.RuntimeType.CreateInstanceDefaultCtor(Boolean , Boolean )
         at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
         at System.Activator.CreateInstance(Type type, Boolean nonPublic)
         at System.Activator.CreateInstance(Type type)
         at BlazorGenerator.Utils.BlazorGenExtensions.ToFluentIcon(Type icon)
         at BlazorGenerator.Components.Menu.NavMenu.<BuildRenderTree>b__10_1(RenderTreeBuilder __builder2)
         at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 , RenderFragment )
         at Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu.<BuildRenderTree>b__45_1(RenderTreeBuilder __builder2)
         at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 , RenderFragment )
         at Microsoft.AspNetCore.Components.CascadingValue`1[[Microsoft.FluentUI.AspNetCore.Components.FluentNavMenu, Microsoft.FluentUI.AspNetCore.Components, Version=<IP_ADDRESS>37, Culture=neutral, PublicKeyToken=null]].Render(RenderTreeBuilder builder)
         at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder , RenderFragment , Exception& )
System.MissingMethodException: Arg_NoDefCTor, Microsoft.FluentUI.AspNetCore.Components.Icons+Regular+Size20+Balloon

💻 Repro or Code Sample

🤔 Expected Behavior

😯 Current Behavior

💁 Possible Solution

🔦 Context

🌍 Your Environment

OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
.NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]

More context:
The error is generated from my code:
    public static Icon? ToFluentIcon(this Type icon)
    {
      return Activator.CreateInstance(icon) as Icon;
    }

And helps me passing types instead of instances (I'm using attribute decorators)

By default, when you publish this type of project, Blazor deletes all parts of code not detected as "used".
When using reflection, you must specify that this icon/code is used.
See https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trimming-options

I've also added
false
and
<TrimmerRootAssembly Include="Microsoft.FluentUI.AspNetCore.Components" />
<TrimmerRootAssembly Include="Microsoft.FluentUI.AspNetCore.Components.Icons" />

but it keeps failing

You say it fails on your (added) code. So you of need to add your own namespace as well

also added

and the ones that fails, is a "default" one
and referenced like this:
             <FluentNavLink<EMAIL_ADDRESS>Match="NavLinkMatch.All" Icon="@(elem.Icon.ToFluentIcon())"<EMAIL_ADDRESS>

Maybe you need to add something like this to your code:
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(_{your type name}_))]

We are using Azure Static Web Apps for hosting the demo site ourselves and the icons etc are working there. See the demo client and demo shared projects here in the repo for the configuration we used.
Closing this as it is not actionable from our side.


SessionStorage object won't array merge

When I configure session storage to use the Zend\Session\Storage\SessionStorage::class which would replace the $_SESSION variable with an ArrayObject an fatal error occurs then the ArrayObject is fed into ArrayUtil:merge() as that will only accept an array.
 /* @see \Zend\Session\Storage\StorageInterface */
    'session_storage' => [
        'type' => \Zend\Session\Storage\SessionStorage::class,
    ],

Argument 1 passed to Zend\Stdlib\ArrayUtils::merge() must be of the type array, object given, called in ../vendor/zendframework/zend-session/src/SessionManager.php on line 114 and defined in <b>..../vendor/zendframework/zend-stdlib/src/ArrayUtils.php

I'm using zend-session 2.5.2

Had to do this : (v2.7.3 and stldlib ) https://github.com/8trust/zend-session/commit/c5e523a4b661e3fb336bd009dc21f8edfe687270
Had a typeError:
Fatal error: Uncaught TypeError: Argument 1 passed to Zend\Stdlib\ArrayUtils::merge() must be of the type array, object given, called in /var/www/vendor/zendframework/zend-session/src/SessionManager.php on line 136 and defined in /var/www/vendor/zendframework/zend-stdlib/src/ArrayUtils.php:269

This also worked by remove the strong typing on merge method.
I'm sure i'm missing something here, but works with my fork.

I resolved it with:
'type' => \Zend\Session\Storage\ArrayStorage::class,

I've been having the same issue and have opened PR #57 to resolve it.

For what it's worth, I fixed this by removing the following line from our code-base. Seems to work so far.

Container::setDefaultManager($sm->get('Zend\Session\SessionManager'));

zend-session v2.8.1 has just been tagged and should resolve the issue.


getAccount() fails to find Account: Could not find account for public key...

When using getAccount() with a token id other than the default (Mina) it throws an error:
let newAccountInfo = Mina.getAccount(zkAppAddress, zkApp.token.id)
getAccount: Could not find account for public key B62...GPmp7 with the tokenId yG...Umxi
It looks like getAccount is making a GraphQL query with an undefined public key and the default token id.
This can be found in the logs of GraphQL proxy:
"message": "Argument publicKey of type PublicKey expected on field account, found "undefined"."
{
account(publicKey: "undefined", token: "wSHV2S4qX9jFsLjQo8r1BsMLH2ZRKsZx6EJd1sbozGPieEC4Jf") {
publicKey
token
nonce
balance {
total
}
The issue is also discussed here:
https://discord.com/channels/484437221055922177/1070807617586352260/1085598944593203304
snarkyJS: 0.9.2
(plz add ITN-zkApps-E2E-testing label)

https://discord.com/channels/484437221055922177/1085598944593203304/1085689371971293256

@gordonfreemanfree does the issue continue to persists with SnarkyJS version 0.9.3?


add esperanto translation

also sorted languages alphabetically in en.yml

Interesting. I have never met anyone speaking Esperanto. According to Wikipedia there are 2 million speakers worldwide. Do you speak it?

Mi parolis ĝin kiam mi estis pli juna, kvankam oni neniam vere forgesas. Mia frato faris la tradukon. Li do parolas ĝin pli. Precipe por la teknikaj terminoj.  :)
I used it when I was younger, although one never forgets, really. My brother did the translation. He do speaks it more. Specially for the technical terms. :)

Great stuff. Say thanks to your brother for the translation.

Will do ! thank you!

Ups, do choosing esperanto in the language selector works for you? For me it redirects to english. Maybe I missed something, or maybe it isn't supported by the language module in the framework?

I added eo to the list of valid locales 877e62f08b6adf27ad725d146c62da42e7bd581c

Now it's perfect. Thank you


issue youtube

Hey @sarvesh211999, what is this PR trying to solve? Does it have a Github issue? Maybe we could talk on https://chat.zulip.org/ about this.


Laravel Session Is not working Properly After Using Laravel Datatables

After Installing Laravel datatables session is not working properly in local environment.
We are using Ajax Method to get the Data tables. But Before Using Yajra, All Session Flash messages are working properly in local. But After yajra, some session Management is handled for filter records and pagination all of the details stored and retrieved when i press back button.
My issue is after installing yajra. Flash success and Flash Error message's Not able get from "VIEW". Randomly works in local. Sometimes working, Lots of times not working. That's why Model popup success and error message's not shown. I cant able to figure that issue. Currently am using session file based.
Anybody have a idea of that issue. Thanks

Operating System                  - Windows 8.1
Xampp - V.3.3.0 PHP Version  - 7.4.24
Laravel Version                       - 8
Laravel-Datatables Version    - 9.19.0

Anybody There to Resolve My Issue?.   Admin Please take a look immediately.

Can you provide some snippets to reproduce the issue? But I suspect this is an environment issue like the known issue on php artisan serve.

Can you provide some snippets to reproduce the issue? But I suspect this is an environment issue like the known issue on php artisan serve.

In production i cant able to check this issue.
In local and dev server only i can able to produce this issue. Local serve run from php artisan serve, But in dev its a Ubuntu Os not use artisan serve.
I try to print the Local Storage. After removing Local storage, Local storage is not cleared. Can you guide me on that ?


Typo/Text/I18N errors in v0.4.3 or later

You gave only 5 monster balls to the scientist, but the log said you passed 6 (2, 2, and 2).

no_ammo = "充填する必要はないみたい${da(_1)}"

This text takes 1 argument, but it's missing.
i18n::s.get("core.locale.talk.npc.shop.ammo.no_ammo")

statue of celestial statue < ???

party = "ついて来て${kure(_1)}パーティー会場まで案内する"

Append ${yo(_1)}

Text of deliver quest is wield.

[場所]に住む[人]に[物]を配達を配達してくれ。

"配達" appears twice.

i18n::s.get("core.locale.talk.npc.shop.ammo.no_ammo")

Need Character parameter in Japanese.

-- wrong
artifact_reconstructed = "${name(_1)}の${_2}は${itemname(_3, 1)}は再生成された。"

-- correct
artifact_reconstructed = "${name(_1)}の${itemname(_2, 1)}は再生成された。"

in book.txt
faboulously => fabulously
adenture => adventure
fial => fail
tankerds => tankards
musuem => museum
and and => and
possabilities => possibilities

All issues have been resolved.


Multi-cursor usability

When you have a single cursor, then move it out of viewable area makes the screen scroll in order to bring it into focus.
If you have multiple cursors, this functionality is turned off (understandably). However, it's really annoying when you have 3 or 4 cursors and all of a sudden you can see any of them. I have two suggestions that could potentially improve usability of multi-cursor:

A cursor count displayed in the bottom bar if you have more than 1
Always have 1 cursor in focus. If all cursors go out of focus, then go to the nearest/newest one.

#6995 is a duplicate of (2).


Add covid bot

Discord Bot with graphs, automation and advice.
!graph, !country, !state, !predict, !protection, !advice, !news... there are many commands that use this API and others

please resolve conflict, make rebase

i dont know why i made a new PR, but i fixed the merge conflict #14


Add CDNJS version badge in readme

This will add the badge to show its version on CDNJS and also link to its page on CDNJS!

👍 Thanks!

you're welcome


Feature Requests - Trigger Streamdeck Button From Home Assistant

Hi There,
Is it possible to do the reverse of what this plugin provides? Allowing home assistant to trigger a Streamdeck button?
Ex - I would like to create an Automation in Home assistant that will trigger a streamdeck button (run a macro, hotkey, etc) when run. Or, I just want to create a button in Home assistant that will trigger Streamdeck button page 1 button 1.
Is this functionality possible?
Thanks

Hi,
this is not possible due to technical limitations. A plugin can not access any other plugins (i think for security reasos). :(


Extraction of specific expressions

I am very new to NER and AI , so I want to apologize if the question is very "newbie-like".
I have a very specific text extraction need which I think AI can easily handle if trained in a right way.
Let's say we have  many court case desicions . Take as an example this one
https://caselaw.findlaw.com/us-supreme-court/17-5554.html
For example lets see first paragraph
Petitioner Stokeling pleaded guilty to possessing a firearm and ammunition after having been convicted of a felony, in violation of 18 U. S. C. §922(g)(1).  As relevant here, Stokeling objected that his prior Florida robbery conviction was not a "violent felony," which ACCA defines, in relevant part, as "any crime punishable by imprisonment for a term exceeding one year" that "has as an element the use, attempted use, or threatened use of physical force against the person of another," §924(e)(2)(B)(i). The District Court held that Stokeling's actions during the robbery did not justify an ACCA sentence enhancement, but the Eleventh Circuit reversed.
I want to train my Neural Network in a way that when I feed in this text in the outcome will be  an array with
["ACCA"=>[' 922',' 924],"18US"=>['922'] ]
Is it possible with Sequence Tagging? Or we should look into other direction?

Hi @gelinger777 ,
Sorry for the delay, this is an interesting question. I would be interested in learning what was your final approach.
I think it would be feasible with sequence tagging: you would find mentions in the text of law articles, mentions etc. and then would apply some heuristics (or some relation prediction, maybe as simple as chunking based heuristics) to map them together.

@guillaumegenthial  we have trained Whatson AI from IBM to do the work actually.  It was an interesting experience. We could achieve that whatson is given the text and it gives back the json with relations and entities.


rearrange zqd and zar related code

In preparation for the upcoming licensing change for the server related components, this rearranges the code for zqd/zar related packages, moving them under a new ppl directory. I also moved some code out of the api package that was either client or server specific, and not just describing api messages.
This entire change is rearrangement; there should be no implementation or api changes. I've run Brim locally against these changes w/o issues.

FYI, there's a couple links to README files in the moved cmd/ directories in the Brim repo's top-level README and Wiki articles in the docs/ directory. So I guess we can brace ourselves for a need for an immediate Brim-side change once this gets merged.


Main method test integration

Include the optionally generated tests in the main methods (if present) in the regular unit tests (generated by passing TEST=1 to the make command). If TEST=1 is not included and thus these main methods are not generated, then these new test methods gracefully fallback to doing nothing and nothing changes from the current status quo.
These legacy main method tests contain a large battery of tests. This allows the main unit tests to pick them up without having to go through the monumental effort of migrating all of them to normal unit tests. This allows, for example, cleaner gathering of code coverage numbers.
This approximately doubles the code coverage when running unit tests.
To accomplish this, the main method tests were updated to throw exceptions instead of a clean return with a println, or worse, System.exit(1).
Also fixes some issues with the tests, such as some cases of quadratic scaling and tests on the wrong things.
Some selected coverage numbers:
Before
ALL: 2.2%
ints package: 10.9%
Int2IntAVLTreeMap: 29.5%
Int2IntOpenHashMap: 45.4%
Int2IntRBTreeMap: 31.2%
IntArrayList: 16.4%
IntAVLTreeSet: 0.0%
IntOpenHashSet: 32.4%
IntRBTreeSet: 17.3%
objects package: 2.0%
Object2IntOpenHashMap: 22.8%
ObjectArrayList: 15.7%
ObjectAVLTreeSet: 1.9%
ObjectOpenHashSet: 27.1%
ObjectRBTreeSet: 17.5%
After
ALL: 3.9%
ints package: 19.8%
Int2IntAVLTreeMap: 75.3%
Int2IntOpenHashMap: 72.2%
Int2IntRBTreeMap: 77.0%
IntArrayList: 88.5%
IntAVLTreeSet: 75.9%
IntOpenHashSet: 67.3%
IntRBTreeSet: 79.9%
objects package: 4.8%
Object2IntOpenHashMap: 43.3%
ObjectArrayList: 86.4%
ObjectAVLTreeSet: 76.2%
ObjectOpenHashSet: 57.7%
ObjectRBTreeSet: 80.2%

Is there any reason to keep the main methods

Yes, these tests should be migrated to proper unit tests over time (and the benchmarks probably pulled into a separate file). But that would take considerably more time then I put into this PR.
I figured this would be a good way to fill this hole until that is done. I should make that a bit more clear in the description and TODO.

The main tests come from some from obscure, dark days (end of 90's, anyone?). It was a different world. Yes, in time everything should be migrated to proper unit tests, but let's focus on the features now (and NavigableSet/NavigableMap are still on the TODO list, sigh).

Argh, I should have merged this before the last round of changes. I eliminated valEquals() if favor of Objects.equals() everywhere and now it's a gigantic conflict. 🤦🏻♂

Ah, no problem. It looked worse then it really was.


[NFC] LifetimeCompletion: Clarified API and documentation.

Improved some naming, documentation, and API.

@swift-ci please test


Make Report Deployment Easier

Clear and concise description of the problem

Hey @Harlan quick Q, is it possible to export a static version of the results to share with someone else? I have it running on my desktop but would be great to be able to share with someone.

Suggested solution
One-click solution to upload to cloud providers?
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

wrong harlan tagged

Oops sorry about that @harlan ! Was copy + pasting from discord

its ok
cool name!


#04 User: Donate tokens back to Faucet

Description:
BSV Testnet tokens are limited supply, provide a mechanism to allow deposits to return unused coins.
User story:
As a user, I want to donate my unused or extra testnet coins back to the master treasury account, so that I can contribute to the faucet’s sustainability and reduce excess coins in circulation
Acceptance criteria:

I can access the "Donate to Faucet" option in the faucet interface inside the /dashboard section.
The system displays a predefined, verified master wallet address to which users can send their testnet coins.
I can select the amount of testnet coins I want to donate from my available balance.
After confirming the donation, the system generates a transaction that sends the selected amount to the master treasury faucet address.
A success message, along with the transaction ID, is shown after the coins are donated (in my /requests history page)
I can track the donation transaction on the testnet explorer via a txid testnet blockchain explorer link.

Description:
BSV Testnet tokens are limited supply, provide a mechanism to allow deposits to return unused coins.
User story:
As a user, I want to donate my unused or extra testnet coins to a burn address, so that I can contribute to the faucet’s sustainability and reduce excess coins in circulation
Acceptance criteria:

I can access the "Donate to Faucet" option in the faucet interface inside the /wallet.
The system displays a predefined, verified burn address to which users can send their testnet coins.
I can select the amount of testnet coins I want to donate from my available balance.
After confirming the donation, the system generates a transaction that sends the selected amount to the master treasury faucet address.
A success message, along with the transaction ID, is shown after the coins are donated.
I can track the donation transaction on the testnet explorer via a provided link.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I'm James Harrison, A Season Software Engineer and an active contributor here in Onlydust. well versed in Typescript, Javascript, Solidity and Rust.
How I plan on tackling this issue
Add "Donate to Faucet" Option:

In the /dashboard section, create a new interface element like a button or card for the "Donate to Faucet" feature.
Ensure it's easily accessible, with clear labeling and guidance text about why donating unused coins is important.

Input for Coin Selection:

Add a field or slider that allows the user to choose how many testnet coins they want to donate from their available balance. This can be restricted to amounts that the user currently holds.

Predefined Master Wallet Address:

Display the master faucet address prominently on the donate page, with text stating that it’s verified and safe to use.

Transaction Confirmation Modal:

When the user selects the amount to donate, show a modal to confirm their action before processing the donation. It should contain: The amount of coins,
The master faucet address,
A “Confirm” button and a “Cancel” button.

Fetching User's Balance:

Use the user's testnet wallet address to retrieve their current balance in real-time and display it on the donation screen.

Transaction Generation

After the user confirms the donation, generate a transaction that sends the selected amount of testnet coins to the master faucet address.
Interact with the BSV Testnet blockchain to create and sign this transaction.
Use appropriate BSV libraries or APIs to broadcast the transaction to the testnet network.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello, I would love to handle this,
How I plan on tackling this issue
Implementation steps:

Add DonationForm component to dashboard
Create donation API endpoint
Implement wallet service function
Update request history component
Update database schema
Add tests

To test:

Test donation with various amounts
Verify transaction creation
Check history updates
Verify explorer links
Test error handling
Check balance updates

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello, i'm a frontend and blockchain developer, i will love to work on this issue
How I plan on tackling this issue

I will include a "Donate to Faucet" option in the faucet interface within the /dashboard section, allowing users to easily access the donation feature.
i will Display Master Wallet Address
I will implement a selection mechanism for users to choose the amount of testnet coins they wish to donate from their available balance.
I will generate a transaction that sends the selected amount to the master treasury faucet address.
After the donation transaction is completed, I will show a success message along with the transaction ID.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
For the "Donate to Faucet" feature, I bring a strong background in full-stack web development, particularly in building user interfaces and handling backend transactions. My experience includes implementing role-based access controls and ensuring secure, efficient transactions in decentralized applications. I understand the importance of user experience and clarity in financial interactions, which will help me create a seamless donation process. I will leverage this knowledge to ensure that users can easily donate their testnet coins, view transaction confirmations, and track their donations effectively.
How I plan on tackling this issue
Approach to the Problem:
To implement the donation mechanism for unused testnet coins, I will begin by designing the user interface within the /dashboard section, ensuring that the "Donate to Faucet" option is easily accessible. I will display a verified master wallet address, allowing users to see where their donations will be sent.
Next, I will integrate a feature that enables users to select the amount of testnet coins they wish to donate from their available balance. After the user confirms the donation, I will create a transaction that transfers the specified amount to the master treasury faucet address.
To enhance user experience, I will implement a success message upon donation completion, along with the transaction ID that links to their donation in the /requests history page. Additionally, I will provide a link to the testnet explorer for tracking the transaction using the transaction ID.
Throughout the development process, I will ensure that the functionality aligns with the acceptance criteria, focusing on usability, security, and error handling to create a seamless donation experience for users.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have a strong background in blockchain development, with expertise in writing Solidity, and fundamental knowledge of Cairo, and zero-knowledge proofs (zk). I have built dApps on Ethereum (and Scroll) using token standards; UniSwapv2 clone, Multi wallet, Gated NFT Event Management system, Crowdfunding. I also do FE/wallet integration using Reown, web3js and ethersjs. As well as subgraph for efficient indexing.
This experience enables me to design and implement a secure and efficient donation mechanism for the BSV Testnet, ensuring that users can easily contribute their unused coins to the master treasury while maintaining a seamless user experience.
How I plan on tackling this issue
1.0 Smart Contract Writing & Logic
1.1 Contract Design: Create a smart contract that defines the donation mechanism, the master wallet address as a verified constant address variable during deployment, and donations handling.
1.2 Transaction Logic: The contract would include necessary sanitary checks e.g. the user's balance, ensure the donation amount is valid, and implement transfer of  approved tokens from the user to the master treasury/wallet address.
1.3 Event Emission: Implement events to log successful donations on testnet explorer.
2.0 Frontend Writing (React & Hooks)
2.1 User Interface Design: Create relevant layout (pages). Include a "Donate to Faucet" button and a form in /dashboard section for users to input donate amount. After a successful donation, show success message with React Toast and save the transaction details in the /requests history section.
2.2 State Management: Utilizing React hooks, handle user's balance, user inputs, master wallet address' balance.
2.3 Error Handling: Provide feedback to users in case of insufficient balance or transaction failures with React Toast.
3.0 Integration
3.1 Blockchain Interaction: Integrate the frontend with the smart contract using a Reown/Wagmi (RainbowKit), allowing users to interact with the blockchain directly from the UI.
3.2 Transaction Confirmation: After a user signs (confirms) their donation, the system should generate a transaction and send the selected amount to the master treasury.
3.3 Explorer Link: After the transaction is completed, generate a link to the testnet blockchain explorer from the UI so the user can track the donation.
3.4 History and Transaction Tracking: Save the transaction hash and details in the user's request history to make the donation traceable.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
i have participated in tsoc and have prior experience with regard

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a python dev . A new-comer here, willing and ready to contribute to solve the  issue.

🚀

Thank you @ikemHood successfully merge.


[PDI-17387] The import script should not be blocked from loading repo…

…sitory exports to the root of the repository
This PR fixes the issue that always give an error if user selects Root for the destination path. ( Introduced in PDI-16591). Now it considers the full path ( destination path + path defined in file to import ) instead of validating only the destination path.
It was added a new error message when the user tries to create a new directory at root level. For instance if you choose / as destination path and your repository file to import has a directory attribute like /anyFolderName/filename this will invoke the new message, since it is not valid path. You can only save to the "home" and "public" folders, at root level.
@mbatchelor @bmorrise @kcruzada

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/pur/core' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/pur/core' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/imp/Import.java
  plugins/pur/core/src/main/java/org/pentaho/di/repository/pur/PurRepository.java
  plugins/pur/core/src/main/resources/org/pentaho/di/repository/pur/messages/messages_en_US.properties
  plugins/pur/core/src/test/java/org/pentaho/di/repository/pur/PurRepositoryUnitTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.core.injection.bean.BeanInjector

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:

org.pentaho.di.job.entries.ftpsget.JobEntryFTPSGet

Branch Change: -0.6% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.7% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Method Change: -1% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -4.1% :small_red_triangle_down:
Complexity Change: -4.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

License header violations

:heavy_exclamation_mark: Copyright year is not the current year on engine/src/main/java/org/pentaho/di/imp/Import.java. Found 2017. Was expecting 2018

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/plugins/pur/core/src/main/java/org/pentaho/di/repository/pur/PurRepository.java

:heavy_exclamation_mark: '&&' should be on a new line. at Line: 381 Column: 37

:heavy_exclamation_mark: '||' should be on a new line. at Line: 382 Column: 57

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 384 Column: 10

:heavy_exclamation_mark: ')' is not preceded with whitespace. at Line: 385 Column: 122

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/pur/core' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/pur/core' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/imp/Import.java
  plugins/pur/core/src/main/java/org/pentaho/di/repository/pur/PurRepository.java
  plugins/pur/core/src/main/resources/org/pentaho/di/repository/pur/messages/messages_en_US.properties
  plugins/pur/core/src/test/java/org/pentaho/di/repository/pur/PurRepositoryUnitTest.java

Newly Fixed Tests:
org.pentaho.di.core.logging.MetricsPainterTest.testDrawTimeScaleLineInfinityLoop:
:large_blue_circle: java.lang.Exception
java.lang.Exception: test timed out after 1000 milliseconds
	at org.pentaho.di.core.logging.MetricsPainterTest.testDrawTimeScaleLineInfinityLoop(MetricsPainterTest.java:65)

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change: -3.3% :small_red_triangle_down:
Complexity Change: -1.8% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.gpload.GPLoadMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/pur/core' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/pur/core' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/imp/Import.java
  plugins/pur/core/src/main/java/org/pentaho/di/repository/pur/PurRepository.java
  plugins/pur/core/src/main/resources/org/pentaho/di/repository/pur/messages/messages_en_US.properties
  plugins/pur/core/src/test/java/org/pentaho/di/repository/pur/PurRepositoryUnitTest.java

Newly Broken Tests:
org.pentaho.di.repository.pur.PurRepositoryStressTest.runLoadTest:
:red_circle: java.lang.AssertionError
java.lang.AssertionError
	at org.pentaho.di.repository.pur.PurRepositoryStressTest.runLoadTest(PurRepositoryStressTest.java:576)

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.step.StepMeta

Branch Change: -0.6% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.4% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -2.1% :small_red_triangle_down:
Complexity Change: -2.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.pgbulkloader.PGBulkLoaderMeta

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -0.9% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UISecurityRole

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/engine/src/main/java/org/pentaho/di/imp/Import.java

:heavy_exclamation_mark: Line has trailing spaces at Line: 355

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/pur/core' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/pur/core' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/imp/Import.java
  plugins/pur/core/src/main/java/org/pentaho/di/repository/pur/PurRepository.java
  plugins/pur/core/src/main/resources/org/pentaho/di/repository/pur/messages/messages_en_US.properties
  plugins/pur/core/src/test/java/org/pentaho/di/repository/pur/PurRepositoryUnitTest.java

Newly Fixed Tests:
org.pentaho.di.repository.pur.PurRepositoryStressTest.runLoadTest:
:large_blue_circle: java.lang.AssertionError
java.lang.AssertionError
	at org.pentaho.di.repository.pur.PurRepositoryStressTest.runLoadTest(PurRepositoryStressTest.java:576)

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Method Change: -1% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.ifnull.IfNullMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.9% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.uniquerows.UniqueRowsMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change: -0.2% :small_red_triangle_down:

This test case sometimes breaks building, checked in Cirene too. I don't think it's related to this PR but asked @ricardosilva88 for some review on BISERVER-13923.

@ppatricio, just submitted a new PR to fix those tests https://github.com/pentaho/pentaho-kettle/pull/5796


Should be able to specify profile with configuration file

I want to enable C++11 for a project.
Right now that means adding the -std=c++11 flag to a toolchain profile, then adding the profile flag to mbed compile every time it is run.
Obviously this could be solved with an alias or a Makefile, but it would be cool if the profile could be saved in the .mbed file, like the target and toolchain, so it is remembered and optionally could be pushed to a repo.
Alternatively, would adding something to the mbed_app.json file be better? Maybe something like target_overrides, but called profile_appends or toolchain_appends.
I'm very happy to put together a pull request on this, I just wanted to know if this was a feature people were interested in/happy to accept.

Obviously this could be solved with an alias or a Makefile, but it would be cool if the profile could be saved in the .mbed file, like the target and toolchain, so it is remembered and optionally could be pushed to a repo.

That sounds great! @screamerbg This would help enable an easier path to reproduce-able builds for those who depend on a non-default profile. What do you think?

Alternatively, would adding something to the mbed_app.json file be better?

I'm also open to this. FYI, this would involve a PR to the mbed-os repo.

For reference, you may specify --profile multiple times. The JSON files will be merged for you.

For reference, you may specify --profile multiple times. The JSON files will be merged for you.

Yeah, I noticed that! I created a repo https://github.com/RALSpaceASG/test-mbed-cxx11 where I was experimenting with how to use profiles.

FYI, this would involve a PR to the mbed-os repo.

Ah good point.

Issue header has missing or incorrectly filled in fields! Please fix.

Thank you for raising this issue. Please note we have updated our policies and
now only defects should be raised directly in GitHub. Going forward questions and
enhancements will be considered in our forums, https://forums.mbed.com/ . If this
issue is still relevant please re-raise it there.
This GitHub issue will now be closed.


Not seeing work done concurrently no matter the worker config

I'm not certain, but I think because Job.work is a class method, and the jobs themselves are not inherently run in another thread, I think https://github.com/chanks/que/blob/master/lib/que/job.rb#L100 will block any other worker from working a job. Multiple workers can claim jobs, but they have to wait for Job.work to finish each one at a time …?
I could certainly be doing something wrong. Like, should I wrap my job run in a Thread myself?

Hmm, no, Job.work being a class method won't stop it from being called by
multiple threads simultaneously. Even if it were manipulating a shared
piece of data (like a class variable) Ruby wouldn't magically lock anything
for you, you'd just see weird errors. And the internal worker/pool logic
will take care of running jobs in different threads, you shouldn't need to
do it manually.
Not sure why offhand why you wouldn't see multiple jobs work concurrently.
A few ideas:

is your worker count greater than one? And/or are you running multiple
job processes? I'm curious whether you're seeing one job work at a time in
a single process or across all of them.
are you sure that there's multiple jobs available to run? Is it possible
that your code is only enqueuing one job at a time rather than many?
if you make sure the process has plenty of time to run other jobs, like
by sleeping for a few seconds in your job's run action, do you see the same
behavior?

If you're able to put together a self-contained reproduction of the issue
I'm happy to look at it. In my experience, though, it's usually the act of
creating the reproduction that shows you that you did something wrong. At
least, that's how it usually goes when I report an issue in something I use
:)
On Thursday, November 26, 2015, Tony Pitale<EMAIL_ADDRESS>wrote:

I'm not certain, but I think because Job.work is a class method, and the
jobs themselves are not inherently run in another thread, I think
https://github.com/chanks/que/blob/master/lib/que/job.rb#L100 will block
any other worker from working a job. Multiple workers can claim jobs, but
they have to wait for Job.work to finish each one at a time …?
I could certainly be doing something wrong. Like, should I wrap my job run
in a Thread myself?
—
Reply to this email directly or view it on GitHub
https://github.com/chanks/que/issues/135.

Just wanted to say thanks for your reply and work on this gem!
And now, answers to your questions:

Been able to reproduce with 1 process and 2 workers.
I've tried queuing a few different ways, but for testing I've queued a bunch of work ahead of time.
The job I've created to test this does nothing but work and sleep.
I've added additional logging to show the thread object id of the workers in the pool and there state. I can see the log for the first worker go from sleeping to working. Then the next wait interval passes before the wrangler thread wakes the second worker. That worker changes to the working state, but the job itself is not run.

I'd just like to point out that Job is a constant, shared between threads. I'm writing up a quick proof to see how Ruby behaves when calling methods like this, because I'm honestly not certain.
Also, I'm running this on MRI, so I don't expect it to be really parallel. My app's real jobs just do a lot of IO that should allow other worker threads to do something concurrently.

Okay. Here's what I did, and you're right, that doesn't block:
class Job
  def self.work
    10.times do |i|
      puts "Working in #{Thread.current.object_id}, loop #{i}"
      sleep 10
    end
  end
end

threads = 2.times.map do
  Thread.new do
    Job.work
  end
end

threads.each(&:join)

So, I'll have to dig more.
For the record, here's the test job I'm running:
module Jobs
  class Sleepy < Que::Job
    @queue = [Rails.env, :default].join('.')

    def run
      10.times do |i|
        msg = "Working in process #{Process.pid}, thread: #{Thread.current.object_id}, loop: #{i}"
        Rails.logger.info msg
        sleep 2
      end
    end
  end
end

bundle exec que -q "development.default" -w 2 ./config/environment.rb

And the logs this produces:
{"lib":"que","hostname":"aether.local","pid":83717,"thread":70272321708500,"event":"worker_count_change","value":"2"}
{"lib":"que","hostname":"aether.local","pid":83717,"thread":70272321708500,"event":"mode_change","value":"async"}
Working in process 83717, thread:<PHONE_NUMBER>2940, loop: 0
Working in process 83717, thread:<PHONE_NUMBER>2940, loop: 1
Working in process 83717, thread:<PHONE_NUMBER>2940, loop: 2
Working in process 83717, thread:<PHONE_NUMBER>2940, loop: 3
Working in process 83717, thread:<PHONE_NUMBER>2940, loop: 4
Working in process 83717, thread:<PHONE_NUMBER>2940, loop: 5
Working in process 83717, thread:<PHONE_NUMBER>2940, loop: 6
Working in process 83717, thread:<PHONE_NUMBER>2940, loop: 7
Working in process 83717, thread:<PHONE_NUMBER>2940, loop: 8
Working in process 83717, thread:<PHONE_NUMBER>2940, loop: 9
{"lib":"que","hostname":"aether.local","pid":83717,"thread":70272358132940,"event":"job_worked","job":{"queue":"development.default","priority":100,"run_at":"2015-11-26T23:23:22.615-05:00","job_id":26,"job_class":"Jobs::Sleepy","args":[],"error_count":0},"elapsed":20.0484}
Working in process 83717, thread:<PHONE_NUMBER>8660, loop: 0
Working in process 83717, thread:<PHONE_NUMBER>8660, loop: 1
Working in process 83717, thread:<PHONE_NUMBER>8660, loop: 2
Working in process 83717, thread:<PHONE_NUMBER>8660, loop: 3
Working in process 83717, thread:<PHONE_NUMBER>8660, loop: 4
Working in process 83717, thread:<PHONE_NUMBER>8660, loop: 5
Working in process 83717, thread:<PHONE_NUMBER>8660, loop: 6
Working in process 83717, thread:<PHONE_NUMBER>8660, loop: 7
Working in process 83717, thread:<PHONE_NUMBER>8660, loop: 8
Working in process 83717, thread:<PHONE_NUMBER>8660, loop: 9
{"lib":"que","hostname":"aether.local","pid":83717,"thread":70272358098660,"event":"job_worked","job":{"queue":"development.default","priority":100,"run_at":"2015-11-26T23:23:23.374-05:00","job_id":27,"job_class":"Jobs::Sleepy","args":[],"error_count":0},"elapsed":40.08081}

So, that log would appear to indicate that different workers are grabbing the jobs … just not running concurrently.
I'm wondering if something else is interacting with que … so going to start a new, clean project.

Does the same thing in a fresh project: https://github.com/tpitale/que-test
Not sure how much simpler I can make it. I might just have the wrong expectation?

Ahhhh … it's the adapter checkout process. If you use just a straight up PG Connection. https://github.com/chanks/que/blob/master/lib/que/adapters/pg.rb#L14-L16
I'll open a PR to add this to the README or Docs, whichever you'd prefer @chanks.

And that fixes it: https://github.com/tpitale/que-test/commit/cd948ce59ad3fc959b3befa25e59efa0efe1a73a

Hey look, it says it right here (derp) https://github.com/chanks/que/blob/master/docs/using_plain_connections.md


⚠ Samsung has degraded performance

In 0ac01d1, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2431 ms

Resolved: Samsung performance has improved in 98c29a3.


"[Error] Network error for the image: ``: 301 (Protocol "" is unknown)" [E621]

Bug description
While using a monitor on E621, some images fail to download and instead give the "[Error] Network error for the image: ``: 301 (Protocol "" is unknown)" error.
This happens on maybe every 10-20 images.
The source seems to be empty, as shown by the log lines before the error message.
[13:09:56.722][Info] Loading and saving image from `` in F:\Furry\36\07-08-2021 04.15 36 2820356 e621 explicit sicmop nikki (nikkithetanuki) misc anthro arched back breasts brown body brown fur cub female fingerless (marking) fur genitals gloves (marking) hair leg markings long hair looking.jpg
The image does still exist in E621, so it's not a case of the file being deleted:
https://e621.net/posts/2820356
I then tried to search this same image in Grabber, and it doesn't show up in the listing either.
Steps to reproduce

Use a wide sweeping monitor, for example: score:>30

Expected behavior
Downloads shouldn't fail with monitors, and should show up in the search results.
main.log
System information

OS: Windows 10
Grabber version: 7.6.0

Work fine for me (https://i.imgur.com/6wqeTL5.png) since I have the artist on my monitoring I call tell it work fine on monitors too. Have you try to re-run the monitors with a previous date of last check (you can edit the last check into the monitors.json file.
In last case you can try nightly version.

So I did a bit more testing...
I switched to the nightly, but it was still doing the same thing.
When doing the same search as you did, the result is shown as 1 of ?, but no image is visible.
The log for the search is:
[10:12:58.092][Info] Loading results...
[10:12:58.093][Info] [e621.net][Html] Loading page https://e621.net/posts?limit=20&page=1&tags=id%3A2820356
[10:12:58.093][Info] [e621.net][Json] Loading page https://e621.net/posts.json?limit=20&page=1&tags=id%3A2820356
[10:12:58.411][Info] [e621.net][Json] Receiving page https://e621.net/posts.json?limit=20&page=1&tags=id%3A2820356
[10:12:58.412][Info] [e621.net][Json] Parsed page https://e621.net/posts.json?limit=20&page=1&tags=id1A2820356: 1 images (0), 37 tags (-1), -1 total (-1), -1 pages (%11)
[10:12:59.205][Info] [e621.net][Html] Receiving page https://e621.net/posts?limit=20&page=1&tags=id%3A2820356
[10:12:59.206][Info] [e621.net][Html] Parsed page https://e621.net/posts?limit=20&page=1&tags=id0A2820356: 0 images (0), 0 tags (0), 0 total (1), 1 pages (%11)
And when searching with the artist it showed 6/20 images on the page. Other one I picked, zaush showed 12/20 pictures, while both said there were 20 images on the page.
Logs for these searches:
[10:17:01.076][Info] Loading results...
[10:17:01.078][Info] [e621.net][Html] Loading page https://e621.net/posts?limit=20&page=1&tags=sicmop
[10:17:01.078][Info] [e621.net][Json] Loading page https://e621.net/posts.json?limit=20&page=1&tags=sicmop
[10:17:01.655][Info] [e621.net][Html] Receiving page https://e621.net/posts?limit=20&page=1&tags=sicmop
[10:17:01.696][Info] [e621.net][Html] Parsed page https://e621.net/posts?limit=20&page=1&tags=sicmop: 6 images (6), 0 tags (129), -1 total (740), 37 pages (37)
[10:17:02.277][Info] [e621.net][Json] Receiving page https://e621.net/posts.json?limit=20&page=1&tags=sicmop
[10:17:02.285][Info] [e621.net][Json] Parsed page https://e621.net/posts.json?limit=20&page=1&tags=sicmop: 20 images (20), 0 tags (287), -1 total (-1), -1 pages (-1)
[10:20:11.041][Info] Loading results...
[10:20:11.043][Info] [e621.net][Html] Loading page https://e621.net/posts?limit=20&page=1&tags=zaush
[10:20:11.043][Info] [e621.net][Json] Loading page https://e621.net/posts.json?limit=20&page=1&tags=zaush
[10:20:11.719][Info] [e621.net][Json] Receiving page https://e621.net/posts.json?limit=20&page=1&tags=zaush
[10:20:11.727][Info] [e621.net][Json] Parsed page https://e621.net/posts.json?limit=20&page=1&tags=zaush: 20 images (20), 0 tags (351), -1 total (-1), -1 pages (-1)
[10:20:12.431][Info] [e621.net][Html] Receiving page https://e621.net/posts?limit=20&page=1&tags=zaush
[10:20:12.436][Info] [e621.net][Html] Parsed page https://e621.net/posts?limit=20&page=1&tags=zaush: 12 images (12), 0 tags (261), -1 total (920), 46 pages (46)
I removed my blacklist for the tests.
Then I added the login information for the source, which then fixed the issues. I don't know if this is the intended way for E621 to work from 7.6.0 onwards, but either it didn't require the login information on the previous version or during the update these fields were cleared..

Yeah the account is mendatory to view that kind of content see : https://e621.net/help/global_blacklist and if you go to the page without being logged you will get "You must be logged in to view this image. (learn more)"
You could assume the issue is good to close, this is not grabber error, but grabber could not find the image since the json containt no link when you are not logged.
JSON : {"posts":[{"id":2820356,"created_at":"2021-07-08T00:15:37.856-04:00","updated_at":"2021-07-11T03:26:55.695-04:00","file":{"width":1543,"height":1200,"ext":"png","size":926962,"md5":"820b2f09ee56be5597c46199f6862e1d","url":null}
Maybe grabber could warn the user it need to try logging in, because the state of the image contain : "deleted":false and all information point to an existing file on the server, so simple logic could tell, the image is avaible but no link is returned to it, maybe because user is not logged on e621.

As @yami-no-tusbas said, this is indeed caused by E621's global blacklist.
As such, it's not a bug in Grabber per se. However, I added more logs and improved the handling of such cases so that what's happening is more explicit, at least in the logs.


[feat] improve attributes transform semantics to match hbs AST

Handlebars AST attribute representation: (array of elements)

In scope of this PR we matching attributes to hbs semantics, where it's represented as array of key-value pairs, instead of record. It gives us more flexibility in syntaxes and reduce potential fail-cases because attribute name is explicitly string.
And getting rid of An object literal cannot have multiple properties with the same name typescript error.
- export declare function applyAttributes(element: Element, attrs: Record<string, AttrValue>): void;
+ export declare function applyAttributes(element: Element, attrs: Array<[string, AttrValue]>): void;

Resolves: https://github.com/typed-ember/glint/issues/693
Note, we not getting DX worse, because template-lint has rule to warn about duplicated attributes: https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-duplicate-attributes.md

Sidenote:
It seems we could have autocomoplete/attibutes validation if replace
export declare function applyAttributes(element: Element, attrs: Array<[string, AttrValue]>): void;

With
export declare function applyAttributes<T extends Element, K extends keyof T>(element: T, attrs: Array<[K, T[K] | SafeString]>): void;

ts playground

this is also beeing worked on in #663


Making sure constraints exist for all direct dependencies

dep init adds caret-style constraints for all the direct dependencies it finds, and  dep ensure -add does this as well. This seems to make sense — I want a version that’s at least as new as the first version I started using, and I want to stay within the major version so I don’t get breaking changes. I also want to avoid pre-release versions unless I specifically opt-in to them.
Should I try to enforce that my team’s .toml files have constraints for every direct dependency package? If so, can dep do that for me? Should dep ensure [-update] (without -add) add this kind of constraint when it finds a new dependency?

@mikesep Can you take a look at #1670 and let me know if that would work for you?

@carolynvs I had noticed that dep ensure -add errors out instead of adding a constraint when there's an already-imported package, so I do support having it just add the dependency . 👍
That probably gets me most of the way there. Per my first question about enforcing constraints, I'm thinking of a hook that validates that all non-standard-library imports have constraints in Gopkg.toml, so that script could print out You should run dep ensure -add $package.
It might be nice to have a way to blanket-add constraints for all direct dependencies, though. I'd like to know whether the project owners agree that this would be a good default behavior. If it's too much to change the default behavior of dep ensure to do this, we could add it under a flag. Maybe dep ensure -add with no package argument could just do that.

I written a small application just to check this, which forces our build to fail and therefore, the developer to include them manually. In case it's useful for you as it was for us.

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


Update info.component.ts

Fixed system info retrieval as since cas 6.4 the information is nested under systemInfo

We are not planning any releases for 6.5.x anymore.

It's possible to use cas-management 6.6.x with cas 6.5.9? I read in the documentation that versions have to be aligned


PowerToys failed to install

Microsoft PowerToys version
v0.43.0
Running as admin

[X] Yes

Area(s) with issue?
Installer
Steps to reproduce
Downloaded installer PowerToysSetup-0.43.0-x64.exe
Ran installer
✔ Expected Behavior
Expected it to install.
❌ Actual Behavior
Failed to install
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19043.0
IntPtr Length: 8
x64: True
Date: 05/08/2021 15:18:19
Exception:
System.UnauthorizedAccessException: Access to the path 'C:\Users\colin\AppData\Local\Microsoft\PowerToys\PowerToys Run\Cache\Image_version.txt' is denied.
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path)
at System.IO.File.WriteAllText(String path, String contents)
at System.IO.Abstractions.FileWrapper.WriteAllText(String path, String contents)
at Wox.Infrastructure.Storage.StoragePowerToysVersionInfo.Close()
at Wox.Infrastructure.Storage.BinaryStorage1.Save(T data)    at Wox.Infrastructure.Storage.BinaryStorage1.TryLoad(T defaultData)
at Wox.Infrastructure.Image.ImageLoader.Initialize(Theme theme)
at PowerLauncher.App.<>c__DisplayClass13_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Other Software
No response

Hi @Colin-Boyle, this error appears to be from PowerToys, not from the installer.
Could you please send a bug report?
Right-click on the PowerToys icon in the tray menu and select Report Bug

Drag and drop report into a GitHub comment.


AEM Deeplink Feature has been removed as per TGT-33045

Issue in ./help/c-experiences/c-manage-content/aem-experience-fragments.md
In the video at 4:54, AEM Deeplink is shown which is no longer applicable. Please add the following note:
AEM Deeplink feature has been removed as per TGT-33045

Thanks. Added note. Will publish later today.


Move some deps to dev-deps

Some time ago I moved all dev-dependencies to be normal deps, not really sure why (we can find out when with git-bisect).

Deployments now take a long time.
More memory is consumed on the small machine, I think it clogs up the machine.

We need to deploy only what is needed to prod.

Moved a few, and depcheck doesn't work for some reason :(
Closing for now.


Example app crashes in iOS with react-native0.62.2

Steps to reproduce

npx react-native init example
cd example
npx pod-install
copy App.js images/*, components/* from react-native-share/example/
run app in ios simulator
all buttons crashes the app

Expected behaviour
share menu comes in.
Actual behaviour
the app crashes without any messages.
Environment

React Native version:0.62.2
React Native platform + platform version: iPhone11, iOS 13.4.1

react-native-share
Version: 3.3.2
Link to repo (highly encouraged)
https://github.com/Kta-M/react-native-share-example-app

It works when this line is commented out, so I think it is affected by FlipperKitNetworkPlugin.
#783 might be a question about this bug.

Thanks @Kta-M  did you tested this on a fresh project with rn 0.62.2? I think we might need to look at the update in the example app to fix this.

Updating examples should never ever take maintainer time :-)
https://github.com/react-native-community/react-native-device-info/blob/master/refresh-example.sh

Updating examples should never ever take maintainer time :-)
https://github.com/react-native-community/react-native-device-info/blob/master/refresh-example.sh

Thanks, Mike! I will look forward to implementing this. 🙉

Thanks @MateusAndrade, yes, I tested  this on a fresh project (https://github.com/Kta-M/react-native-share-example-app).

Thanks @MateusAndrade, yes, I tested this on a fresh project (https://github.com/Kta-M/react-native-share-example-app).

Strange, I tested this here with a fresh project with the following version and it works fine. Also, I checked your project and your dependencies are matching with the ones that I tested here.
  "dependencies": {
    "react": "16.11.0",
    "react-native": "0.62.2",
    "react-native-share": "^3.3.2"
  }

I checked here, it looks that the example app is using a version 3.0.0 of react-native-share. Probably because it's using the master version, then the hash should be saved at the .lock. I will try to look at that, but I would appreciate it if you help me with this. 😄

I checked here, it looks that the example app is using a version 3.0.0 of react-native-share.

"the example app" is referring to my Kta-M/react-native-share-example-app or this repository's   react-native-community/react-native-share/example?
My example app has a committed package-lock.json file and uses react-native-share 3.3.2. This does not work in my environment.
The example app in this repository will work. When I tried it, the hash was 10c72e4, the latest commit, not 3.0.0.
In addition, thinking that it might be a problem of the environment of the iOS simulator, I executed Device > Erase All Erase All Content and Settings, but after all my example app does not work😢

@MateusAndrade, I've solved it!
It was a problem on the react-native side.
https://github.com/facebook/react-native/issues/28589
Upgrading Flipper in the Podfile from 0.33.1 to 0.37.0 solved the problem.
In react-native, the following pull requests have already been merged and it looks like they are going to include 0.63.0😄
https://github.com/facebook/react-native/pull/28597
https://github.com/facebook/react-native/pull/28545


[mysql] Connection pool id should contains username (#1328)

Connection pool id should contains user name to prevent different user using the same connection.
Fix #1328

Thanks @leonardBang .
Closed #1328


fix: (*RowsEvent).handleUnsigned()  panic

Hi, can you add an unit test for it?

Hi, can you add an unit test for it?

Sorry, I'm very busy at work recently. How about we fix this obvious bug first?

we have other fix PR like https://github.com/go-mysql-org/go-mysql/pull/495 https://github.com/go-mysql-org/go-mysql/pull/689 https://github.com/go-mysql-org/go-mysql/pull/792 . In order to be fair to them I also request the unit test for this PR


Use GetMap OnlineResource

closes #338

Coverage decreased (-0.04%) to 69.52% when pulling 3348afcc1870a76de795690b6a7542cfec20f178 on getmap-url into a3bbf2807987e8de37d2d82d88a231299e84639a on master.


the acnhpokercore displayed garbled codes

the ApplicationLog.csv shows that Form Closed
my game version is 2.0.5，and acnhpokercore is for 2.0.5
i don‘t know how to fix it

close the saltyNX service and it solved


Export files are not updated when moving folders

So basically when i move one folder to another inside project the export files stay the same and break imports.

Similar to the https://github.com/dart-lang/sdk/issues/30294

@jwren Can we get IntelliJ to ask server for (and apply) the edits that are needed to fix this kind of problem?

I would suggest to make all public classes exported by default and deprecate the export files.

An issue like this can either be addressed at the language level or can be addressed at the tooling level. The wording of these two issues made it sound like you were asking for an improvement to the tooling.
If you'd like to propose a language change then I would recommend creating a separate issue explaining what changes you'd like to see to the language. Describe the problem that your proposed change would solve, but phrase the request in terms of the change you're proposing, not the problem that's prompting the request. Be sure to also describe the disadvantages of such a change (such as the backward compatibility issue) and how the changed language would handle the namespace control issues that import and export directives currently solve (including subtleties, such as deferred loading and conditional imports). The more complete the proposal from a language design perspective the more likely it is to be given serious consideration.

I know this is just bug in IDE-plugin and it will probably be fixed.
However the bug wouldn't exist at all if the Dart importing system had a proper design. I'm just referring to the issue mentioned before: https://github.com/dart-lang/sdk/issues/30299
Dart dependencies are managed by specifying a file path in a source file.
In Dart import says: Go find this project, inside there is this folder, and then there is another... at some point you'll find the source file, inside there is a class... What do you mean it's not there? Probably he moved and changed his identity, but who knows...
Actually class that uses import needs only the interface of the imported class. He can't care less about the source file location of the import and it's IDE-project name.
For example in Java import says: I need this class. He is known to the world under the name com.uitl.Stack and that's it.
The import source file location is hidden from class-user behind IDE or a runtime environment.
It is important to understand that dependency class source file location and dependency name are two different concepts. Treating them as the same like Dart does is obviously wrong and leads to problems.
Treating them as different concepts will actually handle backward compatibility,  namespace control and other issues.
Otherwise there is the whole set of future bugs and long discussions about fixing import-related problems like this one reported here.


Check toast against DL and VRT

Check toast

[ ] matches DL
[ ] check VRT passes
[ ] check and update migration guides example

Most of toast is fine, but the text is shifting up, probably due to line-height.


The config/halyard faq is under /quickstart/

It shouldn't be

It isn't any more. At least navigationally. The file still lives in /quickstart/, but unless someone objects, I'll leave as is so we don't need any redirects.


add blocking parameter to get_gamepad method (fix #7)

As mentioned in #7 the get_gamepad method blocks further execution of the program which is often not desired.
This PR intends to add a blocking parameter which can be used to disable this behavior.
You now can do something like this:
while True:

    # collect all events
    events = []

    while True:
        try:
            events.append(inputs.get_gamepad(blocking=False)[0])
        except inputs.UnpluggedError:
            print "Gamepad is not connected"
            waitForGamepad() # some logic to check if gamepad is connected
            continue
        except inputs.NoDataError:
            break

Note the array index [0] I have to use because it always returns only one array element.
I dont know the internals of other devices or other systems. So I leave it as it is. However: For xbox one controller with win7 this could be simplified (see #8)

This works on Windows, however for Linux (rasberry pi) the read() command still blocks. I have tracked down the function that blocks, which is the _get_data(self, read_size) function, when it performs self._character_device.read(read_size).
When running on linux the _character_device returns a BufferedReader object, from using the io.open(path, 'rb') command. When running on windows it uses a simpler approach with io.BytesIO() which I guess does not block?
def _character_device(self):
    if not self._character_file:
        if WIN:
            self._character_file = io.BytesIO()
            return self._character_file
        try:
            self._character_file = io.open(
                self._character_device_path, 'rb')
        except IOError as err:
            ...
    return self._character_file

I am trying to implement this on a Rasberry Pi, thus I need this to work. Anyone got any ideas of how to implement this differently?

Thank You..


Responsive pages

Made all pages responsive to all devices.
Removed inline styling and moved it to seperate files (reduced redundant code).

fixes #81

The Entire site broke down
@Palak-137 See to this.

@BRAVO68WEB I reproduced the issue locally, and it seem to break only in production. But works completely in development mode. The issue seems to be regarding serving css files.

@BRAVO68WEB It works fine in production mode now.

@Palak-137 I didn't see dashboard page.

navigate to /dashboard from homepage

@Palak-137 Got it, working on it.

@Palak-137  Can you review it ??
Let me know what should be changed.

@allcontributors please add @Tejas-117 for code


[FEATURE]: Option to revoke all bans/warns

Scope
Web
Feature Description
Currently, you can only clear all bans/warns from a player's history to revoke active punishments. An option to just revoke every active ban/warn could be useful.
Use Case
When removing all bans/warns you sometimes still wanna keep a history of previous bans/warns for context. Let's say you're doing a "ban" clear that some servers regularly do. Still having previous bans in a player's history can be useful in determining future punishments.
Proposed Solution
Master Actions -> Clean Database -> Revoke all bans/Revoke all warns
Additional Info
No response

Interesting idea.
Although I don't think anyone requested this in the past, I do see it being useful.
In practice, what do you think it would look like?
Probably separate options for bans and warns?
Which filter options would be available? (just like in the clean database option tab)

Placement in the UI is a good question, "Clean database" probably isn't a good option, as this doesn't really "clean" anything.
Maybe a new subcategory in the "General" Master Actions tab or somewhere at the bottom of the players tab would be an option?
For filters, I would propose something similar to the "Clean Database" tab. While I mainly thought about this for just revoking any active bans/warns, an option to choose a recent timeframe (like 1 hour, 12 hours, 1 day...) would make sense to counter some "wrong actions" executed by a compromised/whatever admin account.
And yeah, IMO this should be separated by bans/warns and not combined in one single option.


Language switcher

I saw there is chinese content in the blog, but I can't find anything to switch between english and chinese, maybe it would be nice to have something to be able to switch to chinese?
My chinese technical terms are bad, so if there is a way to easily switch between them then once in a while I can switch to chinese and read it to learn those technical terms in chinese.

Hi, you can switch to a different language via this menu.


Masonry layout quirks after re-visiting  page with react router (plnkr provided)

First - awesome library :1st_place_medal:  thanks for the effort you devote to it :)
I am trying to do a 2 column fixed height/width product layout using Masonry (hope is this a good use case )
It works fine one first visit - showing the 2 columns correctly

But once I navigate away and go back, the layout shows a single column.
I traced back the problem to the Style being sent to the cellRenderer -
Autosizer is sending always correct sizes to the Masonry, but something is happening in the middle
Here is a plunker with 2 links, Home/Products to show the error.
https://plnkr.co/edit/ZZWz27bk6VQpwj5m299V?p=preview
Any guidelines appreaciated.

Thanks for the compliment. 😄
If your layout is just 2 columns with fixed heights like this, I would suggest using List rather than Masonry. Here's an example showing how you can create a grid/cell layout using the List component. You could also use CellMeasurer to measure your 2-column rows if you wanted to support dynamic height per row. Masonry can support more complicated layouts, but is a bit trickier to use as a result.
That being said, it looks like your Plnkr is showing some unexpected behavior. Comparing the DOM from the initial render to the 2nd render, it looks like the only styles being passed to cells the 2nd time is width, and the height of the scroll container is the height of a single cell. 🤔
Before

After

I'll look into this a bit this morning but honestly, I don't know if I'll be able to find time to get to the bottom of it. I'm swamped lately. 😦

Looks like the 2nd time the route is loaded, the position cache is empty (since it's re-created when the Masonry component is instantiated) but the incoming CellMeasurerCache is full (because it's persisted between routes, since you've declared it outside of the scope of the components being recreated when routes change).
This is an unexpected case. Masonry batches up a few cells for 1st time measurement, but the CellMeasurer sees they've already been measured and doesn't do anything- leaving the cells kind of hung.
I'm not sure of a great way to approach this. Masonry could require a PositionCache to be passed in as a prop too, but that complicates the more common use-case. You could throw away and recreate your CellMeasurerCache but that's wasteful since it would require re-measuring and we don't want to do that b'c of the negative performance impact.
I think the best way to handle this would be for your application to let Masonry know that it needs to do work in the case of a re-loaded route by calling either either clearCellPositions or recomputeCellPositions.


RemoteDebug.js

Expected Behavior
Unable to find RemoteDebug,js
Actual Behavior

NTVS Version: Not able to find the version
Visual Studio Version: 2019 Community
Node.js Version: 8.9.1

Steps to Reproduce

Hi @abhinavgolwalkar, thanks for your feedback!  Can you provide a bit more context about what you were doing when you encountered this issue?  Also, do I understand correctly that you do want RemoteDebug.js to be found (i.e. that not finding it is not the "expected behavior")?


FR: More media type support.

It would be useful to provide options for gif and other video formats.

Yeah I was thinking about this a bit, every node library out there seems to use ffmpeg, and rely on ffmpeg already being present. If we could somehow have it be part of the install, or do it ourselves, it would be ideal. If not, I feel like there's going to be a ton of confusion as to why the feature doesn't work. Additionally, this may relate to this bug I'm tracking about changing the way we record videos: https://github.com/runkitdev/demokit/issues/4

If we could somehow have it be part of the install, or do it ourselves, it would be ideal

^ That would be interesting and really beneficial!


Bugfix: section_syntax_indicator must be ignored for Stuffing Table

The stuffing table uses a short header but allows arbitrary values for the section_syntax_indicator:

Hi @SS-FF
I understand the idea. I identified this point a long time ago. My concern was that this is one of the very few points where MPEG and DVB are incompatible. ISO/IEC 1381861 / H.222 is very clear about the "private section" syntax (private section meaning a table id in range 0x40-0xFE). If the section_syntax_indicator is 1, then the syntax must be a "long section" one.
In itself, the DVB stuffing section is useless. There are MPEG-defined ways to introduce stuffing, either at TS level or inside an elementary stream carrying sections.
So, why defining something that is useless? I think that the original idea behind the DVB stuffing table was the ability to easily hide or cancel a section "on the fly", at minimal cost. This can be done by patching the table id byte with 0x72, effectively turning the section into a DVB-defined stuffing section. But the rest of the section retains its original content and remains either a long or short section, depending on the section_syntax_indicator.
I agree that this is only speculation. But this is the only way to remain compatible with MPEG, which should be the unquestionable basis under DVB. This is why I deliberately continue to consider a DVB stuffing section as polymorphic, being either a long or short section, based on the section_syntax_indicator.
I understand that this is not exactly what DVB says in ETSI EN 300 468. But, when two standards conflict, the more fundamental one (here MPEG) should take precedence. Especially if an "interpretation" of the least fundamental one (here DVB) makes it compatible with the more fundamental one.
Did you run into some actual problems with DVB stuffing tables and section_syntax_indicator ?

Did you run into some actual problems with DVB stuffing tables and section_syntax_indicator ?

Yes, that's how I came to this.
I had a stream from a sat transponder where stuffing table sections were sent on PID 16 (SDT).
Those sections had the section_syntax_indicator indicating a long header.
But that's clearly not the case for stuffing tables so I looked it up and saw that the section_syntax_indicator should be disregarded for stuffing tables.
The result of this was that the CRC check is failing and since I've added some debug reports for failing CRC checks, I got aware of this.
At first I thought about disabling CRC checking for stuffing tables, but I found it more correct to avoid considering those sections as having a long header in the first place.
I do have a recorded stream - in case you'd like to see yourself. I just don't know where to upload.

stuffing table sections were sent on PID 16 (SDT).

PID 16 is for the NIT. PID 17 is for SDT and BAT.

I do have a recorded stream - in case you'd like to see yourself. I just don't know where to upload.

You may simply extract PID 16 and keep a few hundredths packets and attach the result to a post here ("tsp -I file in.ts -P filter --pid 16 -P until --packet 100 -O file out.ts")
It would be interested to patch the table id with 0x40 and 0x41 (ID 16) or 0x42, 0x46, 0x4A (PID 17) and check if the CRC becomes correct. Also use tstables on the patched table when the CRC is correct. This could validate or invalidate the speculated use case for the stuffing section.

It's been late...of course it was NIT.
Here's the filtered stream:
TransponderSendingStuffingTableSectionsOnPid16_Filtered.zip

Hi @SS-FF,
This is an extremely strange way of packetising sections.

The first packet starts with a stuffing section which spans over two packets and where absolutely everything but the 8-bit table id and 12-bit section length is overwritten by FFFFFF...
Then, the NIT starts in the middle of the second packet, at offset 0x62, right after the stuffing section.
There is no rational reason to do this, except overwriting some previous section (maybe some NIT-Other you do not want to expose). The cancellation by overwriting everything with FFFFF, no even preserving the long header or pretending it is a short header, is a bit rude. The result is an invalid MPEG section (regardless of DVB). Anyway, the resulting section will be ignored, either because it is invalid in the first place, or if you figure out it is a DVB stuffing section and, as such, it is useless.
Coming back to your original PR, I am a bit reluctant to implement some invalid MPEG processing to handle a DVB case which may violate the fundamental standard and is useless by definition (because this is stuffing).

Well, sure - the DVB spec defines something here that does not conform to it's parent spec.
But we cannot sue the DVB spec writers and even if we could - it wouldn't change reality.
From a logical or a legal point of view it is clear that the parent spec should take precedence.
But from a pragmatic and practical point of view:

I dare to say that there will hardly be any case in the world where an ffmpeg stream would contain packets on a PID 16 stream that are having a correctly formatted section header and indicating the stuffing table id in its header  - WHERE-
those packets would NOT be DVB packets but some other kind of private data not related to DVB

That will probably never happen - at least not when the scope is TV reception anyway.
For those reasons, I think that the DVB spec should have precedence here.
But I got no stakes in that PR. Actually I'm doing all parsing in a custom C# implementation. I just recently reworked our table parsing based on the code flow from SectionDemux which is clearly superior to what we had before.
The sole motivation for creating this PR (and some others that will follow) was about giving at least a few small bits in return for this exceptional library that you're sharing.
Feel free to do whatever you want do with this PR.  The case is already closed on my side..


Fix artifacthub integration

Description
Observed Behavior:
I notice there is a artifacthub-repo.yaml for the Helm charts, however the charts are not listed on artifacthub.
Expected Behavior:
The charts show up in artifacthub.

The Karpenter doesn't currently publish the artifact hub. We are thinking about taking ownership of the repo in the future but don't have any explicit date. Issue for more context: https://github.com/aws/karpenter-provider-aws/issues/5306

Why not just create a new AWS organization on artifacthub. All it takes is adding the yaml to the repo, doing the verification so it shows up as the verified source. Artifacthub is nothing more then a UI on top of your existing repository. It doesn't work in such way that you take ownership of someone elses repository. Happy to assist. I also setup the artifacthub for SPIFFE.

We are always open for external contribution. We can re-open the original issue and feel free to contribute to it.


Typing for "Observable-y" returns

A Problem Of Return Typing
I'd like to examine functions such as mergeMap and switchMap... they take an argument that is like (value: T, index: number) => Observable<R> and we need something different, because Observable<R> could be a Promise<R> or R[] or Iterable<R> or Iterator<R> or observable<R> (which is a different type altogether, honestly).
IObservable-able
For one thing, there are two weird interfaces in there...
interface IObservableable {
  [Symbol.observable]() : IObservable<any>
}

interface IObservable<T> extends IObservableable {
  subscribe(observer?: Observer<T>) => Subscription
}

That is a mirror, basically of Iterable and Iterator in ES6.
Thoughts?
/cc @david-driscoll for expertise and @zenparsing for vernacular.

So merged fairly recently are these types, though they are not used extensively yet.
https://github.com/ReactiveX/RxJS/blob/master/src/Observable.ts#L40-L42, names can be changed, no point fighting over, because naming is hard™. They're derived from similar types in RxJS4 ( https://github.com/Reactive-Extensions/RxJS/blob/master/ts/core/es5.ts#L3-L8 ).  I plan to progressively send PR's updating types as they move along.
Basic premise is that, ObservableInput<T> represents a value that can enter the system, with most operators, they get directed and enter through subscribeToResult.  This can either be through a selector method (switchMap), or directly as an argument (combineLatest).  The results of all these methods would all be Observable<T>, we just need a type that "describes" the inputs, hence why I named it ObservableInput<T>.
Today subscribeToResult clearly supports:

Observable<T>
Array<T>
Promise<T>
Iterator<T> (symbol based)

Which means the type in ObservableInput<T> should include be IterableIterator<T> not
Iterator<T> (sorry! :imp:)

Iterable<T> (symbol based)

Which would mean ObservableInpuit<T> needs to be updated with Iterable<T> as well.

obsevable<T>(~ish) (symbol based)

Now there are some cases where this may not be the "ideal" usage.  For example, if I were to combineLatest an infinite Iterable bad things would probably happen.  I don't know if we should try and author the typings such that we help users avoid a pitfall like that.  To me I would think the types should document the full API.  I'm sure there are possible use cases for using combineLatest with an Iterable, so I wouldn't want to exclude it from the API just because someone might do something wrong with an Iterable in the future.
Observableish
I'm not 100% on the spec with obserables, does the symbol return itself, or an observable instance? (I'll dig into it when I have time).  Regardless something like the following could be added onto ObservableInput<T>:
interface IObservableable<T> {
  [Symbol.observable]() : IObservableLike<T>;
}

interface IObservableLike<T> extends IObservableable<T> {
  subscribe(observer?: Observer<T>) => Subscription;
}

...
// In `Observable.ts`
export class Observable extends IObservableLike<T> {

closed for staleness


No Notice At Logout

Doing some testing before deploy of Patchoo. Finding that when there are waiting Apple and third party updates waiting to be installed and the user logs off the system there is no notice as to what the system is doing. No dialog or lock screen image.
the system looks as if its in a stuck state and would expect the user to force a reboot.
Any idea on a fix for this?

I'm getting the same experience. Is Patchoo still being supported for 10.12+?

My fork works on 10.12 currently, however it has different pre-requisites to Loceee's original. I've recoded it to use CocoaDialog and Terminal Notifier.