Modify event groups

What feature do you want to get added on the base engine?
On the chart editor, I'd like to click (or another manipulation) on an event group to edit the events inside it instead of removing the event group entirely and making a new one.
To test your sight, and reliability, please select the option of what should NOT be requested.
Useful feature

Hold "Control" to modify existing notes/events.

To test your sight, and reliability, please select the option of what should NOT be requested.
Useful feature

you failed the test


RabbitMQ unsynchronised queue issues

Alert on the following log lines:
`rmq3    | 2019-06-27 09:20:59.926 [warning] <0.943.0> Mirrored queue 'rmq-two-queue' in vhost '/': Stopping all nodes on master shutdown since no synchronised slave is available
09:26:25.793 [error] Discarding message {'$gen_call',{<0.753.0>,#Ref<0.989368845.173015041.56949>},{info,[name,pid,slave_pids,synchronised_slave_pids]}} from <0.753.0> to <0.943.0> in an old incarnation (3) of this node (1)
`
And suggest to stop all rabbitmq nodes, verify they are stopped, then start them all again. This should recover the issue from past experience.
Reference: https://github.com/rabbitmq/rabbitmq-server/issues/2045

Another item to catch:
=ERROR REPORT==== 8-Sep-2021::06:15:24 ===
Channel error on connection <0.7841.3050> (<IP_ADDRESS>:46970 -> <IP_ADDRESS>:5672, vhost: 'openstack', user: 'nova'), channel 1:
operation queue.declare caused a channel exception not_found: failed to perform operation on queue 'reply_182c56778990474b8430713d586a4ba8' in vhost 'openstack' due to timeout


Optional nodes with negated operator do not always seem to work

I first noticed this bug in ANNIS when trying to query corpora featuring dominance edges with structural nodes for their roots using the following query:
node? !> node

In ANNIS this ends in a timeout, which turns out to be mainly caused a longer runtime of such a query. Doing the same on a smaller corpus in graphANNIS with no timeout halts, but fails to provide the node ids of the matches (instead a list of empty strings is provided, which I suspect to match the amount of matches). I attach an example corpus, with which I generated the following output:
ptb> find node? !> node
13:10:10 [INFO] Total cache size is 0.53 MB / 2598.64 MB and loaded corpora are: import (0.02 MB), ptb (0.51 MB).
13:10:10 [INFO] Executed query in 10 ms

ptb> count node? !> node
13:10:14 [INFO] Executed query in 8 ms
result: 1 matches in 1 documents

Note the empty line after the find command's execution report.

Addition:
Rephrasing the query this way helps:
ptb> find node & node? !> #1
13:32:22 [INFO] Total cache size is 0.53 MB / 2457.58 MB and loaded corpora are: import (0.02 MB), ptb (0.51 MB).
13:32:22 [INFO] Executed query in 8 ms
ptb/test_file#sStruct251

The execution plan of the failing query looks like this:
ptb:
+|filter (#2 !(node > x)) [out: 393, sum: 0, instep: 0]
    #2 (node) [out: 394, sum: 0, instep: 0]

The succeeding plan like this:
ptb:
+|filter (#1 !(node > x)) [out: 393, sum: 0, instep: 0]
    #1 (node) [out: 394, sum: 0, instep: 0]


update to latest ldc version

Actually let's just use LATEST now that you updated the file.
https://github.com/D-Programming-Language/dmd/pull/5247


prevent lock update with tools and uv setup guide

Small edits to complement #174

Good catch! I was just about to release as well.

Judging by the commit history, something seems to have gone wrong when rebasing on master.

thanks @miloth !


Add ability to customize max default SizeRange via env var.

The implementation directly accesses Config::default() from SizeRange::default().
I don't love the implementation for two reasons

It clones the full config on every call to SizeRange::default()
It is hard to test.

However, it does achieve the goal. I am open to better ideas!
We could avoid the clone by changing the behavior of Config::default() (perhaps (&Config)::default() - or by making DEFAULT_CONFIG lazystatic public.
Fixes #320
After implementing this, I am starting to feel more partial to the alternate approach of reducing the default max sizerange drastically to 0..8 and making people increase it manually via a non-default strategy - if that's the behavior they want. The perf of nested vecs snowballs out of control quite fast IMO and a bit of a surprise.

Thanks! Personally, I'd be in favor of changing the behavior of Config::default(). We could just remove the static ref DEFAULT_CONFIG that calls contextualize_config to resolve env vars and instead call contextualize_config from TestRunner::new to preserve the behavior.
When using proptest! it will already call contextualize_config - I've added this in #318 to allow overriding non-default config and it's also a bit sub-optimal because the env vars are being resolved twice. With the proposed change to TestRunner::new we could undo the changes in sugar.rs (https://github.com/proptest-rs/proptest/pull/318/files#diff-80b8c1ddfc4dfa65d2e43d283c01f08dc1b47e77b79a69ae9a1e947894488b70).
I would also not oppose reducing the default.

I've added the changes I proposed here https://github.com/nipunn1313/proptest/compare/nipunn/proptest_max_size...tzemanovic:proptest:nipunn/proptest_max_size_2?expand=1. Please lmk if you're happy with the changes and I can push them back here

I'll give this a look this evening after work. If it's reusing existing config mechanisms rather than plunking env vars in the impl of Default im more in favor

Agh I never published my comment. I didn't realize what the original proposal was. I'm fine with the original PR opened here. Tomas for your alternative changes, I'd want the default impl of size range to use the config contextualization rather than directly reading env vars. That way we isolate all env-based configuration to just Config.
Whats the rationale behind removing the contextualization from Default?

@matthew-russo My main motivation is to remove the cloning from impl Default for Config. The other options @nipunn1313 suggested were to either:

impl Default for &Config where for no-std were we'd need to add another static be able to impl this as there is non-const rng_algorithm: RngAlgorithm::default() used in fn default_default_config
make static ref DEFAULT_CONFIG pub, but this is also not available in no-std

If this is perf related are there any numbers showing removing the clones improves test runtime? I'd be pretty surprised if the config generation is where times being spent. I haven't spent much time with this area of the code though.
This would change the behavior of existing users which I'm skeptical of doing without a breaking version change.

On my machine it is slightly better than the previous impl that was cloning the whole Config just to get this single field, though I agree that this is not likely a bottleneck of any test.
The change itself however is not externally a breaking change. Even though the behavior of impl Default for Config is changed, the only places where the Config appears in public API is TestRunner::new/new_with_rng which with the added call to contextualize_config inside them remain the same. The only difference would be if someone were to use Config::default() without the proptest! macro, manually override some field on it while at the same time having an env var also overriding this field. Previously, the first override would take precedence, now it would be the second override from an env var. I'm not sure if I'd go as far as call the current precedence order a bug and I doubt anyone is relying on it, but I think the new order makes more sense anyway.

I took a look over this myself and just wanted to weigh in with my opinion

This pr to me seems good as-is and I'm fine merging it.
The default of 100 has been a nuisance to me before, however I'd consider it a breaking change to change our default cardinality.

I read through @tzemanovic 's pr and though I agree with some of the motivation I think there's some things to consider

I'd want the default impl of size range to use the config contextualization rather than directly reading env vars. That way we isolate all env-based configuration to just Config.

I agree with @matthew-russo here, this line doesn't follow the preexisting pattern the rest of the codebase seems to use by accessing Config::default() directly, moving away from that pattern seems like a larger change to me outside of scope of this pr.
However, "Previously, the first override would take precedence, now it would be the second override from an env var. I'm not sure if I'd go as far as call the current precedence order a bug", this does seem like a bug to me. It's inconsistent behavior even if unlikely to be encountered. If yall don't think it's a bug then I'd agree with matthew that it's a breaking change, but sounds like a bug to me. Also sounds like it could be addressed separately however with the rest of tzemanovic's proposed changes.

I hope this helps move this forward in some direction. Just to summarize

I'm in favor of merging

(barring someone has evidence of a big performance regression, I know that was mentioned earlier)

I'm also in favor of the direction tzemanovic's pr is taking and the (what think is a) bug it also addresses, but I think this can be addressed separately.
Finally I'm in favor of lowering this default count dramatically but I think that's a breaking change (open to other opinions on that though).

I'll be on vacay for a couple weeks so that's all input I have for the time being

unrelated change broke nightly build - fixing it in https://github.com/proptest-rs/proptest/pull/389

I merged master here to reconcile the merge conflicts with master. Should be good to go!

Nightly build seems broken for an unrelated reason. will try to fix that today and then get this merged


Grayscale / Sepia transformations don't preserve transparency channel

Hi,
I have a .png image that has some transparency on it and I'm loading it with FFImageLoading and the image appears correctly on both android and ios.
When I add a grayscale transformation on the image the transparent parts turn black on ios. On android all is fine. I've tried adding the transformation with both xaml and C#.
Any ideas?
im using v2.2.22 and Xamarin.Forms v<IP_ADDRESS>2

It should be fixed now. Prerelease nuget soon.

You can test it in 2.2.23 prerelease, please let me know if it's working.

Its working now.
Thanks Daniel.


Exception in onLogin callback: ReferenceError: mixpanel is not defined

I am new to meteor stuff as well as analytics so sorry if I dont get some common sense stuff here :)
SO I am trying to create a server side event to track the signup through facebook and google and if done with password than password.
I have installed okgrow package and when I try to track the properties I am unable to track services(fb or google) and roles which are user properties.
Also the major issue I guess is the error which says mixpanel is undefined on the terminal.
This all I am trying to do it on server side in package.js. I have properly set the api.use and files for server to access.
below is the code and the error I am facing.
function my_analytics() {
    Accounts.onLogin(function(user){
        if(!user)
            return
        mixpanel.register('user',{
            '$email': user.email[0].address,
            'roles': user.profile.roles
            "services": user.services
        });
    })
}

Meteor.startup(function(){
    my_analytics();
})

I20151028-19:46:33.319(5.5)? Exception in onLogin callback: ReferenceError: mixpanel is not defined
I20151028-19:46:33.320(5.5)?     at packages/my:package/server.js:18:1
I20151028-19:46:33.320(5.5)?     at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1)
I20151028-19:46:33.320(5.5)?     at packages/meteor/dynamics_nodejs.js:121:1
I20151028-19:46:33.320(5.5)?     at packages/accounts-base/accounts_server.js:87:1
I20151028-19:46:33.323(5.5)?     at [object Object]..extend.each (packages/callback-hook/hook.js:102:1)
I20151028-19:46:33.323(5.5)?     at successfulLogin (packages/accounts-base/accounts_server.js:86:1)
I20151028-19:46:33.323(5.5)?     at attemptLogin (packages/accounts-base/accounts_server.js:258:1)
I20151028-19:46:33.323(5.5)?     at [object Object].Meteor.methods.login (packages/accounts-base/accounts_server.js:411:1)
I20151028-19:46:33.324(5.5)?     at maybeAuditArgumentChecks (packages/ddp/livedata_server.js:1617:1)
I20151028-19:46:33.324(5.5)?     at packages/ddp/livedata_server.js:648:1
I20151028-19:46:34.067(5.5)? Exception in onLogin callback: ReferenceError: mixpanel is not defined
I20151028-19:46:34.067(5.5)?     at packages/my:package/server.js:18:1
I20151028-19:46:34.067(5.5)?     at runWithEnvironment (packages/meteor/dynamics_nodejs.js:108:1)
I20151028-19:46:34.068(5.5)?     at packages/accounts-base/accounts_server.js:87:1
I20151028-19:46:34.068(5.5)?     at [object Object]..extend.each (packages/callback-hook/hook.js:102:1)
I20151028-19:46:34.067(5.5)?     at packages/meteor/dynamics_nodejs.js:121:1
I20151028-19:46:34.068(5.5)?     at successfulLogin (packages/accounts-base/accounts_server.js:86:1)
I20151028-19:46:34.068(5.5)?     at attemptLogin (packages/accounts-base/accounts_server.js:258:1)
I20151028-19:46:34.069(5.5)?     at [object Object].Meteor.methods.login (packages/accounts-base/accounts_server.js:411:1)
I20151028-19:46:34.069(5.5)?     at maybeAuditArgumentChecks (packages/ddp/livedata_server.js:1617:1)
I20151028-19:46:34.069(5.5)?     at packages/ddp/livedata_server.js:648:1

@hafizali05 this package actually wires all user identification up for you. Just include your mixpanel key in settings.json and your app will automatically call the identify function when a user logs in.
The mixpanel is undefined is from you calling mixpanel.register in your code. Mixpanel is not available to you, instead we do everything through the analytics global. Refer to the analytics.js documentation to see which functions are available to you: https://segment.com/docs/libraries/analytics.js/

so this would include segment.io to be used right?
anyway around to use mixpanel without segment.io?

@hafizali05 this package doesn't require you to use the segment.io service.  It uses segment.io's analytics.js library to provide a uniform api for all analytics calls.
For you to use your mixpanel service, make sure you configure your mixpanel details in your settings.json file (see the Configuration section in the Readme: Configuration):
{
  "public": {
    "analyticsSettings": {
      "Mixpanel"         : {"token":  "your-mixpanel-id-here", "people": true},
    }
  }
}

Once your app is running, the package will track page views and login/logout/identify events automatically (Page Views & Log signin/signout), and you can use the analytics.track() function to track other events:
Template.hello.events({
  'click button': function () {
    // increment the counter when button is clicked
    Session.set('counter', Session.get('counter') + 1);
    analytics.track("Counter incremented", {
      count: Session.get('counter');
    });
  }
});

analytics.track() function details

one last question and probably I will b done, does analytics.track() work on server side too?

@hafizali05 just client side

@benstr  cant we use analytics-node npm for the server side?

@hafizali05 I think that's for the Segment service only.


Add ranged value for complications

WHAT
Add ranged value for complications
WHY
A a succinct API for Ranged Values.
HOW
Checklist :clipboard:

[x] Add explicit visibility modifier and explicit return types for public declarations
[x] Run spotless check
[x] Run tests
[x] Update metalava's signature text files

Not required, just noticed it missing.

@ataulm going to land, happy to fix with any review fixes.

There's a link between Tiles, Watch Face complications, and Horologist? I'm not sure I get it 🤔

Horologist provides some helpers for tiles and helpers for complications (there's no link between tiles and complications).


binutils: remove dtneeded.patch

Motivation for this change
As far as I can ascertain the patch doesn't appear to be useful any more. For one it deviates from the default upstream behaviour where --no-copy-dt-needed-entries has been the default behaviour for years. Secondly, at least within nixpkgs, fishing out DT_NEEDED entries from within transitive dependencies chain doesn't ensure the dynamic loader will be able to find them at runtime.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build stdenv


Report 11000013 SEPA ISO20022 Pain 008.001.02 - ExportSEPAFile (NL)

One of our customers has a requirement to include a hash signature to the SEPA file. So we need a possibility to edit the exported file before being downloaded. To make this possible we would like to request the following publisher:
LOCAL PROCEDURE ExportSEPAFile@1000005();
VAR
  FileMgt@1000003 : Codeunit 419;
  XMLDOMManagement@1000006 : Codeunit 6224;
  XMLRootElement@1000002 : DotNet "'System.Xml, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlElement";
  XMLNodeCurr@1000001 : DotNet "'System.Xml, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNode";
  XMLNewChild@1000000 : DotNet "'System.Xml, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNode";
  StreamWriter@1000005 : DotNet "'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.IO.StreamWriter";
  UTF8Encoding@1000004 : DotNet "'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Text.UTF8Encoding";
  ServerTempFileName@1170000001 : Text[250];
BEGIN
  XMLDOMManagement.LoadXMLDocumentFromText('<?xml version="1.0" encoding="UTF-8"?><Document></Document>',XMLDomDoc);
  XMLRootElement := XMLDomDoc.DocumentElement;
  XMLRootElement.SetAttribute('xmlns','urn:iso:std:iso:20022:tech:xsd:pain.008.001.02');
  XMLRootElement.SetAttribute('xmlns:xsi','http://www.w3.org/2001/XMLSchemainstance');
  XMLNodeCurr := XMLDomDoc.SelectSingleNode('Document');
  AddElement(XMLNodeCurr,'CstmrDrctDbtInitn','','',XMLNewChild);

  ExportGroupHeader(XMLNewChild);
  ExportPaymentInformation(XMLNewChild);

  ServerTempFileName := FileMgt.ServerTempFileName('xml');
  StreamWriter := StreamWriter.StreamWriter(ServerTempFileName,FALSE,UTF8Encoding.UTF8Encoding(FALSE));
  OnBeforeXMLDomDocSave(XMLDomDoc);
  XMLDomDoc.Save(StreamWriter);
  StreamWriter.Close;
  ///// START
  OnBeforeDownloadFile("Payment History", ServerTempFileName);
  ///// END

  FileMgt.DownloadToFile(ServerTempFileName,ExportFileName);

  CLEAR(XMLDomDoc);
END;

And the signature of the publisher:
[Integration]
LOCAL PROCEDURE OnBeforeDownloadFile@11095586(PaymentHistory@11095585 : Record 11000001;ServerTempFileName@11095586 : Text);
BEGIN
END;

Many thanks.

We will not expose the server file name. What would be another API to help you?

Some banks are offering additional security to ensure the banking file has not been modified between exporting from BC and receiving by the bank. We generate a hash, the bank also knows how to generate a hash and if they are not equal the bank won't accept the file.
In this case the generated hash has to be written at the end of the file, outside the XML structure. The only place we can still do this is between closing the streamwriter and donwloading the file.
The functionality is quite important from a security perspective because it prevents adding payments by editing the file. Would you agree if I provided you the code we use to manipulate the file? And that we provide the content to be written by using a new publisher?
If not we would really like you to reconsider providing the ServerTempFileName.
Many thanks.

I see you have labeled this is issue for refactoring. I was mistaken, we do need the whole file to calculate a checksum. So the proposed publisher just to provide you with a text would not work because without the file we will not be able to calculate a checksum.
We wouldn't mind if you included everything in the NL base. So this is all the code involved. AddHashToFile is called after StreamWriter.Close;

Checksum is a field of type text length 50

Add Checksum is a boolean field on table "Export Protocol"
PROCEDURE AddHashToFile@1000000004(ServerTempFileName@1000000000 : Text);
VAR
  lrecExportProtocol@1000000006 : Record 11000005;
  lfFile@1000000005 : File;
  ltCRLF@1000000004 : Text[2];
  lcuEncryptionManagement@1000000001 : Codeunit 11199961;
BEGIN
  IF (ServerTempFileName = '') THEN
  BEGIN
    EXIT;
  END;

  lrecExportProtocol.GET("Export Protocol");
  IF NOT lrecExportProtocol."Add Checksum" THEN
  BEGIN
    EXIT;
  END;

  Checksum := GetSHA1FromFile(ServerTempFileName);

  MODIFY;

  ltCRLF[1] := 13;
  ltCRLF[2] := 10;

  lfFile.TEXTMODE  := TRUE;
  lfFile.WRITEMODE := TRUE;
  lfFile.OPEN(ServerTempFileName);
  lfFile.SEEK(lfFile.LEN);
  lfFile.WRITE(ltCRLF + Checksum);
  lfFile.SEEK(lfFile.POS - 2);
  lfFile.TRUNC;
  lfFile.CLOSE;
END;

.
  LOCAL PROCEDURE GetSHA1FromFile@11095585(InputFileName@11095585 : Text) : Text;
  VAR
    lclsSHA1CryptoServiceProvider@11095586 : DotNet "'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Security.Cryptography.SHA1CryptoServiceProvider";
  BEGIN
    lclsSHA1CryptoServiceProvider := lclsSHA1CryptoServiceProvider.SHA1CryptoServiceProvider();
    EXIT(GetHashStringFromFile(InputFileName, lclsSHA1CryptoServiceProvider));
  END;

.
  LOCAL PROCEDURE GetHashStringFromFile@11095588(InputFileName@11095585 : Text;HashAlgorithm@11095586 : DotNet "'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Security.Cryptography.HashAlgorithm") : Text;
  VAR
    lclsFileStream@11095587 : DotNet "'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.IO.FileStream";
    lclsBitConverter@11095588 : DotNet "'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.BitConverter";
    lclsHashString@11095589 : DotNet "'mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.String";
    ltReturnHash@11095590 : Text;
  BEGIN
    IF NOT GetFileStream(InputFileName, lclsFileStream) THEN
    BEGIN
      EXIT('');
    END;

    lclsHashString := lclsBitConverter.ToString(HashAlgorithm.ComputeHash(lclsFileStream));
    ltReturnHash := lclsHashString.Replace('-', '');
    lclsFileStream.Close();

    EXIT(ltReturnHash);
  END;

Hi,
Sorry for the huge delay, We have CryptographyManagement.Codeunit.al with relevant functions (GenerateHash)  that you can use. Please take a look and contact me if needed.

Hi @PredragMaricic thanks for replying. Generating the hash is not the main problem although of course we would start using this codeunit when we could.
However main problem is we need access to the file (or perhaps filestream may also succeed) to be able to add the hash to the end of the file. The hash is generated from the file so I'm not even sure a filestream will work. As long as the file is not exposed we are unable to add the hash to the file in an automatic and secure way.
So either there are 2 options:

by a publisher that exposed the server filename, however this is denied see @StanPesotskiy reply.
or the functionality is added as standard solution.

Right now we have to make a replacement report for this export because we cannot sign the file and this is against security policy of some of our customers because an unsigned file allows the user to manually edit this file.

Got it. Let me see what I can do.

Hi,
Can I have your contact email to discuss a few points? Or you can send me email<EMAIL_ADDRESS>

Hi Jan,
I sent you a code containing your proposals. Can you please take a look, so that we can proceed?
Thanks,
Predrag

The update will be delivered with update 17.4.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Availability update: We will publish a fix for this issue in the next update for releasee 17.


APEXMALHAR-2158 Fixed the duplication of messages emitted issue when the Kafka Input operator redeployed

@siyuanh : Please review and merge.

@chaithu14 Looks good to me, but can you write a unit test to verify this（just checkpoint the offset and redeploy the operator to make sure there is duplication or data loss）? And did you verify the duplicate you see is always just one tuple?

@siyuanh Sure. I will write the unit test for this fix.
Yes I verified, the duplicate is just one tuple and this depends on number of topic partitions.

@siyuanh Added unit test case and updated the PR.


Refactor application state implementation to use JupyterLab IStateDB api

This PR introduces a suggestion from @ellisonbg to modify the application state API to implement the jupyterLab IStateDB. This keeps APIs consistent between JupyterLab and the Electron app.

@lucbouchard1, if you rebase this PR it will kick off the first Travis build.

Sweet!


Do you accept "soft CPUs"?

Hi!
I was wondering if you accept soft-cpus like the LatticeMico32 into the repo?
From wikipedia;

LatticeMico32 is a 32-bit microprocessor soft core from Lattice Semiconductor optimized for field-programmable gate arrays (FPGAs). It uses a Harvard architecture, which means the instruction and data buses are separate. Bus arbitration logic can be used to combine the two buses, if desired.
LatticeMico32 is licensed under a free (IP) core license. This means that the Mico32 is not restricted to Lattice FPGAs, and can be legally used on any host architecture (FPGA, ASIC, or software emulation (e.g. QEMU)). It is possible to embed a LatticeMico32 core into Xilinx and Altera FPGAs, in addition to the Lattice parts the LatticeMico32 was developed for. AMD PowerTune is using LatticeMico32.[1]
Both the CPU core and the development toolchain are available in source-code form, allowing third parties to implement changes to the processor architecture.

If so, I'll send a pull request with it!
Thanks!

I think as long as the soft-CPU in question represents a family, I think that's OK.  The repository has a directory for RISC-V, for instance.  Although that directory doesn't include enough information to be able to use my KCP53000 CPU design (a 64-bit RISC-V integer-only, machine-mode-only design), it does provide adequate information to be able to start programming it once you do instantiate it.
This leads to a good question concerning soft-CPUs then: at what point do we stop?  If I were to submit my KCP53000 processor design to this repo, would it go under RISC-V?  Or would it get a top-level directory all to its own?  I can think of several arguments in favor of both approaches.
(Footnote: I would never submit KCP53000, since it's not a "great CPU".  I use it for my own projects, and to my knowledge, it only has one other user outside of the Kestrel.  Although it can be treated a lot like a 64-bit Z80, it's had no up-take in the open hardware community.  Oh well.)

I think some good criteria are;

Does it have support in gcc or llvm? Upstream support is a stronger argument.
Does it have support in upstream QEMU and/or Linux? More support, the stronger the argument.
Is it used by multiple companies / open source groups? The more, the stronger argument.

In terms of "soft-CPU architectures" I think the following are possibly worth considering;

LM32 - Up till recently the only open CPU designed for FPGAs which currently has upstream gcc support. Still seems to fit FPGAs better then RISC-V but that may change in the future. No upstream Linux support but is found in QEMU.
or1k - The first attempt at what RISC-V succeeds in doing. Has Linux, QEMU and LLVM support all upstream. People are currently working on gcc upstream support.
MicroBlaze - The soft CPU most people end up using on Xilinx FPGAs. Decent gcc, qemu and Linux support.
Nios2 - The soft CPU most people end up using on Altera FPGAs. Decent gcc, qemu and Linux support.

Thoughts?

I don't have anything against soft-cpus.  I don't think it would be appropriate to add everyone's toy CPU simulator, but it hasn't been a problem so far.
My intent has been to have a single directory for each "family" (which is loosely defined, if at all).


See if Docker Hub documentation can be update via GitHub Actions

Especially for the tag lists

https://github.com/peter-evans/dockerhub-description


URL 400 Error v1.0.3

No matter which method I try, trigger_url or api I get the following error using the latest 1.0.3 version.

curl: (22) The requested URL returned error: 400

When I switch back to 1.0.2 both methods work as expected.
deploy:
  name: Deploy to Laravel Forge
  needs: [compile, create, release]
  runs-on: ubuntu-latest

  steps:
    - name: Deploy Production Code
      uses<EMAIL_ADDRESS>      with:
        trigger_url: ${{ secrets.MAIN_TRIGGER }}

Let me know if there's anything else you need to investigate the issue.

@secondmanveran can you please email<EMAIL_ADDRESS>with the ID of the server and site, please. Just reference this issue and we'll take a look.

I've reverted the change between v1.0.3 and v1.0.2. https://github.com/jbrooksuk/laravel-forge-action/releases/tag/v1.0.4 is now available.


Fixed: Message Profile Picture clickable

Fixed Issue : #458

Profile header picture either in a tribe or private conversation is now a clickable and on click navigate to Edit screen
Small profile picture in private conversation is now a clickable and on click navigate to edit screen

Looking good just tested it out nice job
@tomastiminskas whenever you get the chance to checkout the code seems like its fixes the issue
https://user-images.githubusercontent.com/15950706/187037111-b9a46016-14e0-4b9a-9415-fc2c82370024.mov

@kevkevinpal  Changes look and work well! Just as a note, at the moment the ticket was created the small message pictures were not clickable at all, but then we implemented tribe direct payments and we added the ability to click and handle click event on small pictures to show member popup and send payment. So these changes were done over those.


Add v2.6.0rc1 release note

Summary
After merging #662 #686 , we can release v2.6.0rc1. I'll run ./docs.sh when releasing the version.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

#645 should be removed from the resolved issues in the release note.

^ done


Feature/middleware review

This pull request attends the comments the pull request #55.

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows


Add Aliyun OSS storage support

Add Aliyun OSS storage support
增加阿里云OSS存储支持，增加了Readme文档。

Coverage decreased (-0.6%) to 83.824% when pulling a00ccf68e8b9884ab4020b74ef01088ce5497c85 on starlight36:master into c36aa79a7c1642a93fb1aef25251df843b7a8e7b on lisong:master.


Added 5 icons

Description
Added 5 icons to the icon pack
Type of change
:x: Bug fix (non-breaking change which fixes an issue)
:white_check_mark: Icon addition (non-breaking change that adds/modifies Lawnicons's icons)
:x: General change (non-breaking change that doesn't fit the above categories like copyediting)
Icons addition information
Icons added

Sudoku - The Clean One (ee.dustland.android.dustlandsudoku)
original icon:

preview of icon:

Quillnote
original icon:

preview of icon:

Squircle - Code Editor
original icon:

preview of icon:

Trail Sense
original icon:

preview of icon (maybe i should make it wider, feel free to request changes):

Data Monitor
original icon:

preview of icon:

Thanks for contributing, @thismoon!


Please add reference for the javascript option called out in the presentation (method 2)

After looking through the presentation I created an spfx webpart project with Method 1 (deploy assets in spfx apppkg)... This method seems to be at odds with the way I wish to deploy the webpart as an app (full page).
I decided to try method 2 (JavaScript running from the webpart) and am hitting some walls... Failing to create list using
const listAddResult = await sp.web.lists.add("List Name", "list description here", 100, true, { OnQuickLaunch: true });
Is there a good reference for how to make this work some where?  Can that reference be added to the documentation?

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

ID: b4f8d79e-59f8-967b-3339-479c52be24c3
Version Independent ID: 0bf6bc17-ac75-966a-cf48-69e1f6ced047
Content: Provision SharePoint assets with your solution package
Content Source: docs/spfx/toolchain/provision-sharepoint-assets.md
Product: sharepoint
Technology: sharepoint-framework
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

When you install an app, no script is executed as part of the installation process. This page is simply saying you can use JS to create the assets your solution needs. However, you'll have to manually run that code.
One approach I prefer to use is when your component loads (after installation), it checks for all the necessary dependencies (ie: "is the list present?"). If not, it displays a message saying the dependencies need to be created and provides a button to trigger this (something only a user with appropriate permissions can do).
Think if it like the image web part. You add it to the page and it has a UX that basically asks for you to pick an image. Once picked, it shows something else.


New version: t1m0thyj.WinDynamicDesktop version 5.5.0

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @t1m0thyj,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 877.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-04-23 18:49:34.690 [FAIL] Installer failed security check. Url: https://github.com/t1m0thyj/WinDynamicDesktop/releases/download/v5.5.0/WinDynamicDesktop_5.5.0_x86_Setup.exe Result: 0x80004005

(Automated response - build 877.)

@wingetbot run


PMS <IP_ADDRESS>1

Hey,
Streaming does not work on the new version <IP_ADDRESS>1.

Hello,
I have the same problem, after upgrading Plex Media Server to <IP_ADDRESS>1 streaming stopped working.
I can list the channels and epg but when I start the channel stream it keeps loading for ever (on the webplayer) and on my Samsung smart TV it ends after a while with the message cant find the stream.

Same problem here .... I can't stream the channels either in Plex Media Player or the Web client.
Please fix ASAP, a lot of folk use this plugin ..

same here, ok for channel and EPG listing but streaming of video content does result in a network error or keeps loading forever

I can confirm that with the latest Plex Media Server is not working. Probably they changed something in the API.
It works though with a media server lower than <IP_ADDRESS>

Hi All,
I can confirm that this plugin DOES work if you change your tvheadend user to use the Matroska stream .. SD works fine, but HD on my system pauses/buffer's .. but that may be another issue.

@bmentink,
I have setup an user with the matroska stream but still no luck.

Did you restart the server and client?

Yes, no change. Are you using security and password with the TVHEADEND server?

I am using a password on my user, I am not sure what you mean by security, havn't set up anything special ..

I've set up matroska as stream profile, stopped/restarted server and client, but no luck here.
@lusiada: do you mean it's needed an account with password or not?

i've downgraded the PMS to a 0.9.15 version...

PMS version <IP_ADDRESS>1
TH version 4.1-2119........trusty
Prerequisite :
The user created for PMS in TH needs a proper username and password, including admin rights.
A working solution.(See pics.)
TVHeadend.png
Create a new streaming profile under (Stream Profiles)

You can either use original MPEG-TS/av-lib or the MATROSKA/av-lib as both work
It´s most important that you use AAC in the Audio Codec. Everything else will fail.

PMS_settings.png

Disable the MPEG-TS Pass-Through, or else both PMS and TH will try to transcode.
Enter correct name of the streaming profile you created in TH.

Where is the PMS settings for MPEG-TS pass through .... can't find it ..
On Wed, Jul 6, 2016 at 8:44 AM, jaarsa<EMAIL_ADDRESS>wrote:

PMS version <IP_ADDRESS>1
TH version 4.1-2119........trusty
Prerequisite :
The user created for PMS in TH needs a proper username and password,
including admin rights.
A working solution.(See pics.)
TVHeadend.png
Create a new streaming profile under (Stream Profiles)

You can either use original MPEG-TS/av-lib or the MATROSKA/av-lib as
both work
It´s most important that you use AAC in the Audio Codec. Everything
else will fail. [image: tvheadend]
https://cloud.githubusercontent.com/assets/7510420/16598895/50779978-4300-11e6-8c4a-8e6f5ffee43c.PNG

PMS_settings.png

Disable the MPEG-TS Pass-Through, or else both PMS and TH will try
to transcode.
Enter correct name of the streaming profile you created in TH. [image:
pms_settings]
https://cloud.githubusercontent.com/assets/7510420/16598942/7ca67848-4300-11e6-9288-6b038f4d6294.png

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/realriot/tvheadend-ng.bundle/issues/50#issuecomment-230597223,
or mute the thread
https://github.com/notifications/unsubscribe/AJp6h1WXgKAE3Ub-XPABQRvN4rSonsh3ks5qSsIagaJpZM4I-3KB
.

--
Life is a sexually transmitted disease with a 100% mortality rate.

On the latest version of tvheadend-ng.bundle you will find MPEG-TS Pass-Through settings in the TV-Headend ("Channels" in the web of PMS)
Hit the settings option on the TH channel.

@jaarsa,
Thanks for the howto! I got SD channels working with your help.
Sadly HD is not working, get the error can't play this stream.
SD is working.

I can also confirm that even using the built-in matroska profile (no transcoding on the TVH side) for liveTV and recordings the plugin is still working. Streaming within the local network or transcoding to any device including iOS just works out of the box. I have the latest TVH version installed (4.0.9) and the latest PMS (<IP_ADDRESS>1).

good news so far.
@jaarsa: following your configuration, on my iOS app as client, PMS <IP_ADDRESS>1 and Tvheadend 4.1.2116, plugin works fine.
tonight i will test on Chrome (win 7) Samsung smart TV and XBOX client, then let you all know.
thank you

What you put plex server ?? Windows, Linux?

UBUNTU 14.04 LTS

@relkai I can not make the matroska work, without transcoding.
How is your settings in tvheadend.bundle (can you make pics), and how is your player settings in PMS?
I asume you use the default matroska settings in TH?

@Unr3al2 it's running on a synology x86 (avoton)

@jaarsa Take a look at this thread at the Plex forums with detailed screenshots of my settings:
https://forums.plex.tv/discussion/comment/1210542/#Comment_1210542


cmd/definitions.go has expired providers

Expired providers include moneybutton.com, relayx.io, dotwallet.com, mypaymail.co, volt.id.
A new one is neetbux.net from yours truly, but it's still in testing phase.

Cool thanks @kuopassa. If you have a PR I will review and merge, otherwise I don't have the time currently to make the changes.


dd on SQHDatabase should drop database

Implemented in pull request #21.

https://github.com/joereynolds/SQHell.vim/commit/b60ddfb3a7a5ddbca6b05ccec54cfc2730c74f58


Modify the FUSE version required.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

build


Not enough information

Great, so now we can create a QueueTrigger, but it's just a string.
There are 2 issues I have with this, 1. How do I read the message? 2. How can I use it in a aync method?

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

ID: 369aefa6-74da-3001-f835-15abdfffd5d6
Version Independent ID: 2cc2a2db-d059-3252-7a1a-4261b7d3c37c
Content: Develop Azure Functions using Visual Studio
Content Source: articles/azure-functions/functions-develop-vs.md
Service: functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Incomplete documentation. Classic. Sigh.

@ggailey777 bringing this to the top of your mailbox. Any update?

Since we've added a link to the binding reference topic shown here, #please-close.

@r3plica We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


[DBAASCLI-67] Non-interective mode for apt install

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


Support configuration changes for SMF

Support scale out configuration changes for SMF
Unit test coverage.
Parent issue.

https://github.com/nephio-project/free5gc/pull/22

Above has merged


Random conflicts creating schemaMigrations table when migrating empty database

Occasionally we see random build failures with the rakedb migration where the schemaMigration table seems to be attempted to attempt to be created multiple times, and then we get a failure because it already exists.
it could be a problem in our code, but thought I'd ask if this is something someone else has encountered?

Sorry, I didn't respond earlier. Could you give more context? What command is failing? You're saying there could be a problem in your code, could you share it?

The other thing to add is that the logs show 2 entries Created versions table
`
Created versions table
(7.3ms) CREATE TABLE "hid" (
"hid" varchar(255) PRIMARY KEY,
"created_at" timestamp with time zone NOT NULL DEFAULT now(),
"updated_at" timestamp with time zone NOT NULL DEFAULT now()
)
(5.0ms) CREATE UNIQUE INDEX "hid_hid_idx" ON "hid" ("hid")
Migrated file:///home/kevin/projects/haven/haven-identity/adapter/hid/orchid-pgsql/dist/db/migrations/ts/20230328123026_createHid.ts
(11.4ms) CREATE TABLE "hid_to_email" (
"email" text PRIMARY KEY,
"hid" text NOT NULL,
"created_at" timestamp with time zone NOT NULL DEFAULT now(),
"updated_at" timestamp with time zone NOT NULL DEFAULT now()
)
(8.9ms) CREATE UNIQUE INDEX "hid_to_email_email_idx" ON "hid_to_email" ("email")
Created versions table
/home/kevin/projects/haven/haven-identity/node_modules/.pnpm/pg@8.11.3/node_modules/pg/lib/client.js:526
Error.captureStackTrace(err);
^
error: duplicate key value violates unique constraint "pg_type_typname_nsp_index"
`

Could you share your config/script that is launching migrations? I mean the one with rakeDb. And what is the command to launch?
Is it possible that the migrations are running in parallel by CI? You said you can reproduce this locally, so I guess it's not related to running in parallel.

Not easily I'd have to try and distill it down to the basics.

cutdown.tar.gz
this is a cutdown version, not really doing anything odd about how we use rake apart from modifying the schema import  to work with node rather than node-ts.

Earlier this week I pushed updates for the initializer script (Quickstart), and it makes a difference.
Up until recently, it was ts-node by default, and no building of migrations, and no running rake-db over compiled files.
Now it offers to choose between tsx, vite-node, and ts-node. Also will use bun if you run it with bun.
For tsx and vite-node it generates special configs for migrations, and it adds a script to package.json to build migrations, and a script to run compiled migrations.
I see that in your case you're compiling the migrations and then you run dist/main.js to run migrations. You copy ts migration files into dist so rake-db is still running over the original ts files. It works on my computer: I dropped db and test db, compiled, executed pnpm migrate, repeated several times, and it works for me, it creates two tables, creates unique indexes, for both DATABASE_URL and DATABASE_TEST_URL. So I'm still not sure what is the issue.
Why compile migrations before running? It makes sense if you compile in CI, deploy files to a server, and migrations are running on a server, in this way the command to migrate takes noticeably less time to execute. In such case, I suggest trying the init script above choosing tsx, then to copy and adapt configs and scripts to your project. But it may not help because you probably have a project with commonjs output, and those scripts are configured for esm (require "type": "module" in package.json), and I should add an option to choose commonjs to the init script and change configs for it.
A simple solution would be to skip the compiling step and run migrations over .ts files, and I can suggest tsx for running it as it works well for me.

Yeah - the migrations are compiled because they are run in an init container in kubernetes as part of migration.
What version of postres are you using?  (just wondering).
When you ran the experiment did you start from an empty database each time.  You need to start with no schemaMigration table in order to test it reliably.
My guess was that it was finding the schema migration missing for each migration, before running each script, and there was race condition which meant the schemaMigration table was tried to be created twice  But could not see how that would be the case.

My steps:

loaded tar

tar -zxvf cutdown.tar.gz
cd orchid-pgsql-cutdown/
npm i

changed username, password, host in .env to my local postgres
created dbs manually:CREATE DATABASE identity; CREATE DATABASE identity_test;

npm run migrate

And I have no errors.
I think I know the reason:

The other thing to add is that the logs show 2 entries Created versions table

It is correct, 2 logs because there are two databases - 2nd for tests.
These logs indicate that it was successful.

error: duplicate key value violates unique constraint "pg_type_typname_nsp_index"

This happened right after this index:
CREATE UNIQUE INDEX "hid_to_email_email_idx" ON "hid_to_email" ("email")

I assumed that this happened because the index name was already taken. I tried to reproduce that, and it failed with a similar error, but the error is much more readable, it is obvious:

Wondering, is it also colored on your side? If yes, we can see the exact SQL that failed by the color.
I'm using Postgres 16, not so long ago I was using Postgres 15 and all was fine. It's possible that due to an old version your error logs are less human-friendly.

If you check the first error I posted it shows that it is schemaMigrations that is causing the error.

 try {     await db.query(      CREATE TABLE ${quoteWithSchema({
name: config.migrationsTable
})} ( version TEXT NOT NULL )    );     (_b = config.logger) == null ? void 0 : _b.log("Created versions table");   } catch (err) {     console.log('XXXXXXXX   ' + err.code)     if (err.code === "42P07") {       (_c = config.logger) == null ? void 0 : _c.log("Versions table exists");     } else {       throw err;     }   }
This is failing - but the code seems to be relying on a specific error code to ignore if it already exists.  I am getting a different error code 23505.  Perhaps the error code returned has a race condition??

Found a related issue
https://stackoverflow.com/questions/74261789/postgres-create-table-if-not-exists-⇒-23505

So it was solved back then, should be fine to close this.


Fix odo devfile test dependency

/kind bug

What versions of software are you using?
Operating System:
Output of odo version: master
Two issues:

[ ] Currently, odo repo has some copies of devfile.yaml of various stacks which are written in different ways to test the various use case scenarios. These devfiles are not updated when the devfile registry is updated at https://github.com/odo-devfiles/registry/
[ ] Updating the devfiles at https://github.com/odo-devfiles/registry/ may potentially break odo tests

/area devfile

Ideally willy nilly merging PRs on odo-devfiles/registry, we should follow what we do for odo-init-image repo i.e. We should run the odo tests on PRs running on odo-devfiles/registry so that each change is validated

Ideally we shouldn't recklessly merging PRs on odo-devfiles/registry, we should follow what we do for odo-init-image repo i.e. We should run the odo tests on PRs running on odo-devfiles/registry so that each change is validated

that should be fixed as part of https://github.com/openshift/odo/issues/3378
tests should not depend on devfiles in odo-devfile/registry without a few expectations that are actually testing registry integration. The rest of the test should use devfile that are part of the testing scripts to minimalize external dependencies.


[Feature Request] Hide Movement Record

I just started using Elevation Ruler and while I love its functionality, I'm a bit bothered by the fact that the lines displaying where another player has moved remain on screen. I run very roleplay heavy games where tokens tend to move a lot outside of combat, and leaving colored squares and lines everywhere is a sad distraction. Could this be made a toggle, so I could use the feature during combat only?

It is not supposed to be leaving colored squares and lines everywhere. Do you mean displaying the colored squares and lines when using the ruler, or do you mean it is keeping the colored squares and lines even after the player's token has completed a movement?
Presuming the latter, it sounds like a bug. What version of Foundry, what system, and what version of Elevation Ruler are you using?

I have this same problem. Running Foundry 12.328, DnD5e 3.2.1, and Elevation Ruler 0.9.8. After the player character moves, the trail remains.

Oop! Well, glad it's a bug, and glad it's not just me.
Foundry v12, Build 328
Pathfinder 2nd Edition, 6.0.4
Elevation Ruler 0.9.8

For the sake of troubleshooting, here's all the modules I'm using as well.
Automated Animations 4.2.74
Carousel Combat Tracker 3.0.3
Dice So Nice! 4.6.10
Elevation Ruler 0.9.8
Find The Culprit 2.1.2
Forgotten Adventures Battlemaps 1.0.62
FXMaster 4.0.2 [!]
JB2A - Jules and Ben's Animated Assets - Free Content 0.6.9
libWrapper <IP_ADDRESS>
Monk's Active Tile Triggers 12.01
Monk's Bloodsplats 12.01
Monk's Combat Details  12.01
Monk's Combat Marker 12.01
Monk's Enhanced Journal 12.01
Monk's Little Details 12.02
Monk's Scene Navigation 12.01
Monk's TokenBar 12.01
Monk's Wall Enhancement 12.01
Moulinette Core 12.0.0
Moulinette Game Icons (module) 12.0.0
Moulinette Tiles (module) 12.1.3
Narrator Tools 0.79 [!]
PF2e Animation Macros 2.18.1
PF2e Companion Compendia 6.3 [!]
PF2e Dailies 3.5.2
PF2e Dorako UI 3.5.7
PF2e Dorako UX 1.4.2
PF2e Mercenary Marketplace Volume 1 4.0.0
PF2e Modifiers Matter 1.10.1
PF2e Ranged Combat 6.3.4
PF2e Toolbelt 2.7.8
PF2e Workbench 6.6.5
PopOut! 2.18
Sequencer 3.2.9
socketlib 1.0.13 [!]
Tagger 1.5.0
The Forge 1.14.9
Tile Sort 2.0
Tokenizer 4.3.10
Universal Battlemap Importer 4.0.0
@Geektasticdad, how much overlap do you have with my mod list? Maybe if it's a conflict we can track it down.

Maybe it will be of some help, but i have the same bug.

I get (repeating a lot) this error in the console.
As for the overlap of modules, i have:
Automated Animations 4.2.74
Carousel Combat Tracker 3.0.3
Dice So Nice! 4.6.10
Elevation Ruler 0.9.8
FXMaster 4.0.2 [!]
libWrapper <IP_ADDRESS>
Monk's Active Tile Triggers 12.01
Monk's Bloodsplats 12.01
Monk's Combat Details 12.01
Monk's Combat Marker 12.01
Monk's Enhanced Journal 12.01
Monk's Little Details 12.02
Monk's Scene Navigation 12.01
Monk's TokenBar 12.01
Monk's Wall Enhancement 12.01
Sequencer 3.2.9
socketlib 1.0.13 [!]
In common (and then some), but the problem persists even with Monk's modules disabled.

I\ve noticed this as well. It seems to happen only when a connected player moves their token, as opposed to me as GM moving it. My players get trails for things that I move, though. The only error message I'm getting seems to be from Combat Enhancements, though.
Edit: I get ghost trails of players' -last- movements. If I move a token after my player has moved it (leaving a trail), the trail remains. This happens with only Elevation Ruler and various libraries enabled (via FindTheCulprit). Please see attached video - left side is connected player, right side is GM's screen. Can also confirm the same happens if the GM moves the token for the player.
https://github.com/caewok/fvtt-elevation-ruler/assets/892293/a50eddd6-4bef-4f19-802e-b6919969d4a3

Okay, so if it's happening for you with only Elevation Ruler and scant libraries, let's start looking at other commonalities!
My player and I are both using Windows 10 (64 bit), both using Chrome v126.0.6478.127. He's playing in Incognito Mode with no extensions as well (to address a weird issue he was having with Dice So Nice), but has also tested in his regular browser and still has the same problem. We're also playing via Forge.vtt. No error messages in the console for us either.

Win11 64-bit, Chrome 126.0.6478.127, which is latest version. Self-hosted
Node.js Foundry.
On Sun, Jul 7, 2024 at 5:14 PM AnnaMayBelle @.***>
wrote:

Okay, so if it's happening for you with only Elevation Ruler and scant
libraries, let's start looking at other commonalities!
My player and I are both using Windows 10 (64 bit), both using Chrome
v126.0.6478.127. He's playing in Incognito Mode with no extensions as well
(to address a weird issue he was having with Dice So Nice), but has also
tested in his regular browser and still has the same problem. We're also
playing via Forge.vtt. No error messages in the console for us either.
—
Reply to this email directly, view it on GitHub
https://github.com/caewok/fvtt-elevation-ruler/issues/124#issuecomment-2212325632,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGZ3BIAGKC7LBWURF72NYDZLDFCLAVCNFSM6AAAAABKKEMTUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJSGMZDKNRTGI
.
 This works both ways, so player trail on GM screen disappears when player browser refreshes, too.

Holy smokes, that's a heck of a find! I wonder if, somehow, the issue is that the "a token is being moved" signal never ends. It shows the route while the token is in motion, but never clears it because it doesn't really communicate that the token is not moving anymore.

I get ghost trails of players' -last- movements. If I move a token after my player has moved it (leaving a trail), the trail remains where it was, rather than forming a new one. This happens with only Elevation Ruler and various libraries enabled (via FindTheCulprit). Please see attached video - left side is connected player, right side is GM's screen. Can also confirm the same happens if the GM moves the token for the player, so yeah. If someone other than you moves a token, you get to see the trail from the movement.
Elevation.Ruler.Demo.mp4
Edit: for completeness, here's the list of mods running in the above video.
Edit: There is no error message in the console on either the player's client or the GMs client in the above video. I couldn't figure out how to capture both full monitors.

Can confirm, this happens for me too. Interesting!

Managed to get one of my players to spend some time with me on this with a machine remote from mine, just to rule out any issues potentially being caused by using the 'same' browser as two people. Can confirm all of the above still occurs, and gleaned a little more info on browser refreshes.
Player moves token, ruler appears for player, disappears for player when they confirm the move, leaves a trail behind on GM map.
GM moves player, ruler appears for GM, disappears for GM when they confirm the move, leaves a trail behind on player map.
Now we have a trail each.
Player refreshes browser, ruler trail on GM map disappears. When the scene reloads, Player can still see the GM-made trail on player's map.
GM refreshes browser, ruler trail on player map disappears. When the scene reloads, GM can still see the player-made trail on GM's map.
I get that that's a fairly long-winded and mildly condescending explanation, but I'd rather be clear and thorough. I'm sadly no developer, and barely a tester, so can't speak on what mechanism is causing this behaviour. Hopefully caewok gets a look back in the thread and can piece it together from all this.

Good (?) news!
It also happens in Firefox 172.0.2!

https://github.com/caewok/fvtt-elevation-ruler/assets/892293/11f5f5d3-7095-416a-8268-0eb5ca43bd78

It happens in Brave and Opera GX too.

Genius that I am, I just figured out how to change the title. Hopefully it won't slip by unnoticed!

Fixed in 0.9.9. Thanks everyone for your observations!


gha: Update the names for ConformanceIngress jobs

The previous PR #21386 renames existing ConformanceIngress job, and also adds one new one. This commit is to sync up names.
Signed-off-by: Tam Mach<EMAIL_ADDRESS>

Reviews are in, full CI tests are not required. Marked this ready to merge.


Workshop feedback docs: Trigger GH Actions, final solution branch, colima cleanup

Dummy commit is required to trigger container build actions.
Final solution branch with commits
Cleanup commands for colima after workshops

Additional feedback @chr-fritz

Create exercises with step-by-step commands
If changes in commits require actions, tell students how to cherry-pick with Git
Explain the Flux deployment, and that it will modify the forked main repo branch. Document commands how to keep forks in sync (git remote add upstream ...; git fetch upstream; git checkout upstream/main, ...)
Which locations in the source code need to be changed from upstream username for container builds?
Create a trainer "cheatsheet" with troubleshooting commands (colima actions, code changes, workflow diagrams)
Define a learning success and knowledge verification after each exercise. "You have learned X Y and Z. The steps where A and B, and the final deploment looks like C. Continue with the next exercise."
When exercises depend on each other, provide the solution as a seperated version (i.e. git branch/commit that is linked from the docs)


Test Issue

This is a test issue created from the GitHub API node scripts made by @anantakumarghosh, contact here

Closing test issue.


Apple Macintosh not supported

Currently, the CLI tool doesn't work on Mac.

Can I work on this issue?

@medusalix Sure


Jash update collate

Coverage remained the same at 83.281% when pulling fe11c2e9fc91d61c107cce8b14777a6336b268aa on jash_refine into 8056b39745f690a8d08f62328ffc82c8dd8ed875 on develop.


GitHub Pages does not support branches other than master & gh-pages

Note from @mheap: We can now fix this!
We're looking for someone to add a transform that updates the repo to use the $new branch rather than the $old branch as the source for gh-pages. More information in https://github.com/mheap/github-default-branch/issues/16#issuecomment-686694753
Original issue content
Well, I broke a bunch of websites today b/c when you change the name of master to anything else, and its being used by GitHub Pages, it turns off GH Pages & won’t let you turn it back on without some finagling.
So there should probably be some sort of protection for that. Not sure I’ll have time to hack something together myself, but hopefully this serves to warn others.

Do you know what the steps required to enable GH Pages again are?
What course of action would you recommend? Detect gh-pages branches and skip? Can we auto-configure gh-pages for main?

Yep! I had to repeat them for all my repos that use GH Pages 😂
You can do one of these to enable them:

Push a branch called gh-pages
Go to Settings & set the master branch to be used for GH Pages
Go to Settings & set a directory called docs on the master branch to be used for GH Pages

We can definitely look for a gh-pages branch, and those are probably totally safe to convert main → master (unless gh-pages is the only branch, then we should skip).
However, the case of master being used for GH Pages is trickier. Maybe there’s a way to read the Settings of a repo, and detect that GH Pages is enabled for master in one of the two available ways? You cannot use any name besides master or gh-pages for building GH Pages from a repo.

This should be resolved with https://github.blog/changelog/2020-07-31-build-and-deploy-github-pages-from-any-branch-beta/
I'll leave this open until the README is updated

This is now available.  Reference: GitHub Docs - Repositories - Pages
Via UI

Settings -> Options tab ->
scroll down to GitHub Pages section
under Source, select Branch: main and in my case Folder: /docs
Save

Via octokit
Get existing settings
await octokit.request('GET /repos/{owner}/{repo}/pages', {
  owner: 'octocat',
  repo: 'hello-world'
})

returns
{
  "url": "https://api.github.com/repos/github/developer.github.com/pages",
  "status": "built",
  "cname": "developer.github.com",
  "custom_404": false,
  "html_url": "https://developer.github.com",
  "source": {
    "branch": "master",
    "directory": "/"
  }
}

From which you can grab the existing branch and directory info.
Then update with
await octokit.request('PUT /repos/{owner}/{repo}/pages', {
  owner: 'octocat',
  repo: 'hello-world',
  source: {
    branch: 'main',
    path: '_PATH_FROM_GET_'
  }
})

This was just released as v2.1.0 🎉


exploring data should have folder format of other folders

example
topic/
├── data/
│   ├── data.csv
├── notebook1.ipynb

fixed it


Hunt Question

Hello, I want to know, when I execute Hunt, the following information is prompted, may I ask what is the reason?

I see the User Tab，but no users.

When I click on the Enable TAB, a list of users appears.

I would check your viewer log or browser console for errors, seems like some requests to viewer are failing for some reason. Maybe a proxy in the middle or some other error.

已经收到您的邮件，我会尽快处理。

已经收到您的邮件，我会尽快处理。


AMO needs some fixes

Currently (FF 65.0.1, SF 1.6.0) there are some glitches on amo:
bad fontcolor contrast, fuzzy star background, missing yellow star color.
Link example: https://addons.mozilla.org/en-US/firefox/addon/stylish/reviews/1199485/
Screenshot:

Thanks - let me know if you see any other issues.

Is it intended that the stars on search results are grey? Imho not so good contrast, especially the stars-not-given.

The color of some links are very hard to read:


Allowing wildcard lucene queries with leading *

Hi,
Is there any setting to allow lucene queries start from a *? Example:
SELECT FROM City WHERE name LUCENE "*york*"

Apparently this is the default Lucene behavior to keep its performance and a higher level. However, sometimes this comes in useful.

Invalid? What's invalid about trying to search the way you want to?
Here's a link explaining why Lucene does not enable leading wildcard search by default. Which leads to a question: if someone wants to find a part of a word in OrientDB using Lucene indexing, what can he/she do?

Hi Andrey,
maybe I'm wrong, but the issue is still open, so I guess that "invalid"
flag was put there by mistake ;-)
Luigi
2015-05-19 8:54 GMT+02:00 Andrey<EMAIL_ADDRESS>
Invalid? What's invalid about trying to search the way you want to?
Here's a link
https://wiki.apache.org/lucene-java/LuceneFAQ#What_wildcard_search_support_is_available_from_Lucene.3F
explaining why Lucene does not enable leading wildcard search by default.
Which leads to a question: if someone wants to find a part of a word in
OrientDB using Lucene indexing, what can he/she do?
—
Reply to this email directly or view it on GitHub
https://github.com/orientechnologies/orientdb/issues/4151#issuecomment-103370764
.

Thanks for your prompt reply @luigidellaquila. Looking forward to seeing what could be done here :)

@andreyvk  i think is not a valid syntax in lucene query

Hi @maggiolo00,
The CommonQueryParserConfiguration.setAllowLeadingWildcard(boolean allowLeadingWildcard) (see referece) allows leading wildcard characters and therefore the syntax is valid for the query. For the sake of speed and efficiency this option set to false by default.
The leading wildcard would work exactly as the LIKE operator in the following query
select from V where name like '%drey%'
select from V where name lucene '*drey*'

Why deny the opportunity for developers to have another powerful search ability? All I am asking is to add a setting to OrientDB to be able to turn on or off leading wildcard search. For instance, they do that in couchdb-lucene.

I agree with andreyvk, though Lucene isn't optimized for leading wildcard queries, we should be able to enable it since one might need it and Lucene makes it possible.
For now I'm using
select from V where name like '%drey%'

And it's starting to be slow.

Scott

Enabling this will slow down the search.  That's all. Use only if you know what you are doing.

@robfrank thanks! This is great news.


Exception' with message 'DateTimeZone

Hi,
[Fri Nov 13 15:22:57.545883 2015] [:error] [pid 16986] [client <IP_ADDRESS>:37773] PHP Fatal error:  Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone ()' in /var/www/wlox/frontend/lib/common.php:83\nStack trace:\n#0 /var/www/wlox/frontend/lib/common.php(83): DateTimeZone->__construct('')\n#1 /var/www/wlox/frontend/htdocs/index.php(2): include('/var/www/wlox/f...')\n#2 {main}\n  thrown in /var/www/wlox/frontend/lib/common.php on line 83

You need to set a valid timezone in your database, I would presume. Not sure why they're in the DB but y'know.

server timezone change,
problem solved.

same error

Found a solution for my problem. The permissions for the folders have to be set to 755.

Now for another problem. I am not getting any errors but registration is not working.


Zip: Stop including Swift specific frameworks

Now that Swift specific APIs are now distributed in the standard xcframeworks, there's no reason to include separate Swift xcframeworks in the zip distro.

Should this be treated as a breaking change? I'm wondering since it would likely break clients that have tooling to process the zip distribution.

We have not treated changing dependencies in the zip as a breaking change.
We consider the contract to be the README instructions - primarily,  copying everything from the product directory.

Confirmed manually the README changes and that the zip artifacts no longer include the five Swift.xcframeworks.
Ready for review but will wait until 10.18.0 settles to merge.


fs: Add fs_is_open and fs_is_opendir functions

The commit adds functions that allow to check whether file or dir
described by provided object is already open.
These functions allow user to check whether given file/dir object
is already tied with file/dir without need for additional state
variables.
Signed-off-by: Dominik Ermel<EMAIL_ADDRESS>

HI @de-nordic, before reviewing a question: when a file is opened two times does it receive the same pointer ? Does it also receive the same pointer when it is opened with different properties (e.g. once for read and once for read/write) ?

Hi @de-nordic, before reviewing a question: when a file is opened two times does it receive the same pointer ? Does it also receive the same pointer when it is opened with different properties (e.g. once for read and once for read/write) ?

This checks file object not a file as a path. So you can have two different object pointing to the same path, which will constitute as same file opened twice.
The check functions in this PR are checking if object is in control of any file, this has been done so that users would not have to use additional flag, within app logic, to figure out whether they have a file opened, they just need to check the object.
They could also do that by doing fs_open(...) with all the params given in and in case when object is used they would receive "-EBUSY", so this is a little bit nicer way to do, all the information needed is there anyway.

@de-nordic, I wouldn't add this to the API.
When users already have access to the object it is a oneliner to add this check to their code.
When users don't have access to the object, but do have access to the filename it would make sense to get a list of open files (lsof functionality).

@de-nordic, I wouldn't add this to the API.
When users already have access to the object it is a oneliner to add this check to their code.
When users don't have access to the object, but do have access to the filename it would make sense to get a list of open files (lsof functionality).

Users are not warranted to keep the access to VFS objects and should rather use API calls.
So far the objects are allocated and initiated by users, so we do not have track of all the open files within VFS, the system is small and does not need that so far - that would just take toll on RAM and flash.
Currently, the functions provided are oneliners because they are inlined as such.

Users are not warranted to keep the access to VFS objects and should rather use API calls.

Correct

looks ok to me. I guess this is for help with black-boxing VFS interface.
On the first glance API function names are not clear unless you understand fs_file_t/fs_dir_t parameters. This is obvious that without a path as parameter these function are not for checking whether given (by the path ) FS entry is open.
Maybe a subject in the functions names? fs_is_file_t_open

I gave it DNM so that we can discuss the naming.
My reasoning for naming is that the object represents file that is open or not and we do not have that common list of open files so it is not possible to actually figure out whether some path is open, or how many times, we can only figure out whether VFS object is attached to open file.
We do not disallow opening same path several times, but we also do not track all open paths, which means that VFS is inconsistent here across VFS drivers because we dump the feature, of opening file multiple times, on the VFS driver: some VFS drivers may support it fine, others will return -EBUSY.
I have also thought about fs_is_busy, but in an event where we would support fully async operations that call could be used to check whether VFS object has completed some actions.
I have also though about fs_is_taken which is more accurate, but fs_is_taken_dir  somehow seems to ask for something else.
Maybe fs_file_t_taken or fs_dir_t_taken ? It is amalgamate of your proposal ``fs_is_file_t_openandfs_is_taken`, seems more accurate.


sync downstream devel with upstream devel

sync downstream devel with upstream devel as part of regular sync

/assign @nixpanic
/assign @Rakshith-R

/lgtm


[TEST] Have automation test case of backing image with invalid checksum

What's the test to develop? Please describe
From https://github.com/longhorn/longhorn/issues/4852, we can have an e2e case to cover this scenario
Describe the items of the test development (DoD, definition of done) you'd like

[ ] Implement script
[ ] Verify on pipeline

Additional context
Add any other context or screenshots about the test request here.
cc @khushboo-rancher

@chriscchien you don't need to create a test issue on your own if the source issue has require/e2e-automation, because the corresponding test issue will be created automatically. https://github.com/longhorn/longhorn/issues/4878
cc @longhorn/qa


Amend UserGuide

Remove edit function from Command summary

Codecov Report

Merging #46 (15f18c3) into master (1eb5502) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #46   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


setup production ready design system

Overview
...more coming soon

Issue moved to chef/chef-design-system #17 via ZenHub


xWindowsUpdate does not reboot when exitcode indicates a reboot

Repro Steps
Get-Process -Name wmip* | Stop-Process -Force
configuration foo
{
import-dscresource -modulename xwindowsupdate
xHotFix bar
{
Path = 'http://download.microsoft.com/download/0/1/C/01CD1394-5649-4129-B284-A62F87E31E9E/Windows8.1-KB3013816-x64.msu'
Id = '3013816'
Ensure = 'Present'
}
}
foo
Start-DscConfiguration .\foo -Wait -Verbose -Force
Expected
If the update is not installed, installing the update will require an update.  DSC should indicate a reboot is required
Actual
The resource does not indicate to dsc an reboot is required

I'm having the same issue with version 2.3.0 of the module.
The server is not rebooted after the hotfix is applied.
Logging in into the server I get the notification that the server requires a reboot because of an update.


Undefined conditional variables after edit?

After I changed tenant_has_disability from True to False, one of the questions that is no longer applicable still appears on the screen.

I can fix this problem by changing the show if, but the no longer applicable answers still show up on the review screen

Can/should we undefine conditional variables?

Interesting! Will need @nonprofittechy to answer here

@tobyfey this is a situation that happens with long interviews that have review screens, pretty commonly.
I don't recommend deleting and undefining variables. I've tried that before and it becomes pretty unwieldy. Instead, I suggest wrapping any mention of those conditionally defined variables inside an if statement. It takes more work but is safer and more reliable.


Add multi user

Describe your suggested feature
It would be great if you allow multi user account.
By example an account for kids and the other for the father :)
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

No


Minor cosmetic cleanups

avoid inline comment (# Validate state root)
simplify header inequality check in process_proposer_slashing (using uniqueness of BLS signatures)
add block = signed_block.message helper variable for readability
(typo) clarify that the state transition function consumes a signed block (as opposed to a block)
generally make comments more consistent
consistent formatting of container instantiation for DepositMessage
avoid using three lines for rewards[index] += Gwei(max_attester_reward // attestation.inclusion_delay)
introduce effective_balance helper variable for readability, and to avoid multi-line statement
consistent ordering of MIN_EPOCHS_TO_INACTIVITY_PENALTY in the time parameters table
(typo) "Dequeued validators for activation up to churn limit" => Dequeue validators
"Save current block as the new latest block" => "Cache current block" (for consistent with process_slot)
(typo) "Verify the validator has not yet exited" => "Verify exit has not been initiated"
Use Pythonic default= for max() call in initiate_validator_exit

@JustinDrake just to make sure, do you want to switch to targeting on v09x branch (gets release sooner)?

do you want to switch to targeting on v09x branch (gets release sooner)?

I don't mind either way :) (It looks like the v09x branch is 14 commits behind dev.)
If you think it's the best way forward, do feel free to switch the target branch. (Me doing the switch will likely result in a Git mess.)

Nice cleanup, but I think v0.9.4 was the last 0.9 release. So removing the draft status is all that's necessary for review & merge.

removing the draft status is all that's necessary for review & merge

Done :)

dev is what will be released as v0.10.
Merging this and getting it into the release this week


docs require

so do you do var ga = require('ga') or how does this work?

// usage that worked for me.
var GoogleAnalytics = require('ga');
var host = "domain.com";
var ga = new GoogleAnalytics("UA-code", host);


Thinking in react: Hindi translation

I've created this PR whilst discussion on few of the words in Glossary #2
Few of the words that need clarification:

searchable/ search

interactivity/ interactive

@arshadkazmi42 and @saranshkataria please review the PR.

I'll reopen another PR after squashing the commits.


env for static server

Rails production.rb has a hook to serve static files in production mode [production.rb template]
This PR follows the standard rails practices for this value.
While there are many changes we can adopt from the standard template, I'm aiming at just fixing my immediate need.
Detailed Description
I run production mode locally for performance numbers and I do not have apache setup.
I used to hack the configuration values in a config/initializer to serve up static assets.
This gets tricky since the configuration value needs to be changed early enough to manipulate the Rack stack.
When I change production.rb, since I am comparing different versions of the app, I have to keep checking out different versions and stashing my changes. So obviously, I prefer to introduce something outside our git checked in files.
My previous patches just stopped working. It is easier to to just follow the rails standard than try and come up with a way to enable serving static files.

LGTM :+1: Just needs to go 💚


[dask] include multiclass-classification task

This includes an additional task of multiclass-classification for test_dask.py and renames classification to binary-classification. I removed the centers argument from the _create_data function and now define them inside the function accordingly to the classifying task. I also created task_to_dask_factory and task_to_local_factory dictionaries to simplify the task of getting a model factory from a task, this was specially useful now that we have two classification tasks.
I noticed that test_init_score fails for the multiclass-classification task but I removed it from the tasks in that test and can make a different PR adding it back once #4046 is solved. I also noticed that test_classifier sometimes fails when comparing the local vs dask probabilities, so I'm happy to address that if that's in the scope of this PR.

Hi James. Thank you for your comments, I've included them and things work ok locally. However in the CI all the dask tests are failing because of the python version (3.9) I believe.

Hi James. Thank you for your comments, I've included them and things work ok locally. However in the CI all the dask tests are failing because of the python version (3.9) I believe.

Thanks! In the future, when you mention failing tests it would be useful to include a link to logs and preferably a small snippet of the error message(s) or other logs you're seeing.
I can see from https://dev.azure.com/lightgbm-ci/lightgbm-ci/_build/results?buildId=9396&view=logs&j=c28dceab-947a-5848-c21f-eef3695e5f11&t=fa158246-17e2-53d4-5936-86070edbaacf that a lot of the Dask tests are failing with an error like this:

E           AttributeError: 'HighLevelGraph' object has no attribute 'dask_distributed_pack'

I'm very familiar with this problem actually! I opened https://github.com/dask/dask/issues/7331 this weekend which I think describes it. It's possible to get this error if you have dask 2021.2.0 and distributed 2021.3.0.
I can see that that's what we ended up with when the testing conda env was solved. From the same logs:
The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ...
    dask-2021.2.0              |     pyhd3eb1b0_0           5 KB
    dask-core-2021.2.0         |     pyhd3eb1b0_0         643 KB
    ...
    distributed-2021.3.0       |   py39h06a4308_0         1.0 MB

I see the same failures on the builds for a totally unrelated PR (#4053): https://dev.azure.com/lightgbm-ci/lightgbm-ci/_build/results?buildId=9393&view=logs&j=c28dceab-947a-5848-c21f-eef3695e5f11&t=fa158246-17e2-53d4-5936-86070edbaacf
I'll open a PR right now to try to fix this by forcing our testing conda env to use compatible versions of these two libraries.


Fix CORS Policy

There's an issue with the CORS of the api methods that currently don't allow the browser to proper load the webpage.
In the main page there's an error with the statistics response
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://d14pgy6pzqfa4g.cloudfront.net/statistics.
and in the listen page there's an error with uncertainties response
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://d14pgy6pzqfa4g.cloudfront.net/uncertainties.
There should be something with configuration of the lightsail instance as the api is already using Flask-cors

Now I'm seeing a 502 and not a CORS problem.

It's how is displayed on the console, however @paulcretu pointed that the api was down and we see in the lightsail instance that the docker of the active learning api is not running. It has not been restarted to avoid any loss in the databases of the labeled segments.


Handling enter keys within Text Inputs

Hey Evergreen 👋,
Love the new approach this library is taking.
I wanted to request a feature/improvement.
I usually wrap my inputs with a <form onSubmit> to listen for enter keys within the inputs, but I don't think this is working with the TextInputs.
Basic code:
<form onSubmit={() => { console.log('test') }}>
  <TextInput onChange={this.updateField('text')} />
  <TextInput onChange={this.updateField('text2')} />
  <TextInput onChange={this.updateField('text3')} />
</form>

Currently, my workaround is attaching an onKeyPress handler for each input and watching for e.keyCode || e.which === 13
Happy to provide more info

Hey, @andrwh
That doesn’t sound right to me 🤔
What happens if you replace <form ...> with: <Pane is=“form” onSubmit={...} ...>?
Feel free to create a script with codesandbox.io or repl.it so we can try to help you debug the issue if it persists

Ah, seems like it working just fine.  Sorry for the misreport!
https://codesandbox.io/s/1vq81rmr3l

Actually, it doesn't seem to work with multiple inputs
https://codesandbox.io/s/1vq81rmr3l

Ah, I think it's because TextInputField composes its own FormField
In some cases the FormField is already combined in components such as TextInputField and SelectField.


Problem with rendering referenced regex pattern

I have the following property definition in one of my response schemas:
    "myProperty": {
        "type": "string",
        "description": "Some description",
        "pattern": { "$ref": "#/patterns/uuid" }
    }

The pattern definition is the following:
    "patterns": {
        "uuid": "^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$"
    }

It is rendered as:

It is interesting though, that if the same reference is put into
a request body schema, it is rendered correctly.

You can't reference patterns. This is not valid according to swagger spec.
You can fix it on your side by some preprocessing step.


SPDX check-license incorrectly identifies MPL-2.0 text as "MPL-2.0-no-copyleft-exception"

I hope this is the right place to report this issue.
I think the issue here is that the standard MPL-2.0 text includes the text of the statement you're supposed to use if you want to invoke the non-default GPL-incompatibility feature, as an exhibit. It's possible the problem here is with the SPDX markup for MPL-2.0-no-copyleft-exception, I haven't looked at that.
Actually, if you paste the full text of MPL-2.0 into the SPDX check-license tool, delete Exhibit B, and submit, it still identifies the license as MPL-2.0-no-copyleft-exception.

recreated this issue and I think the problem is that it is matching to the license text, but the differentiation is only really in the header.
This is a similar situation as for GPL, so I tried pasting GPL-2.0-only and the result gave a more technically correct answer of: GPL-2.0,GPL-2.0-only,GPL-2.0+,GPL-2.0-or-later
So, it seems that for MPL-2.0 and MPL-2.0-no-copyleft-exception it should also identify both, since it is the same license text and the differentiation as to removing the copyleft exception for the latter is identified in the header in a similar way as "only" or "or later" for GPL-2.0 is designed in the header

@richardfontana Thanks for reporting the issue.

I hope this is the right place to report this issue.

Close enough, but I'll transfer this over to the SPDX Java Library which is a component of the current generation of the tools which implements this functionality.

Actually, if you paste the full text of MPL-2.0 into the SPDX check-license tool, delete Exhibit B, and submit, it still identifies the license as MPL-2.0-no-copyleft-exception.

and  @jlovejoy comment

So, it seems that for MPL-2.0 and MPL-2.0-no-copyleft-exception it should also identify both

This does seem like a problem.  Turns out I have a bit of down time I can use to look into this.  I suspect it is markup related.  I recently identified about a dozen new issues in matching and all were markup related (even though they looked like the were tool related).  [of course, now that I say that, it will likely be tool related]


Youtube RSS feed

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
How do I let yt-dlp download videos from a Youtube RSS feed? Can yt-dlp parse this?
Example feed (for a channel -- PBS space time):
https://www.youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g
Or is it possible to digest an RSS feed from an invidio.us instance?

How do I let yt-dlp download videos from a Youtube RSS feed? Can yt-dlp parse this?

You should try for yourself and open a request if it can't

It seems yt-dlp only detects the first video
➤ yt-dlp -v youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g
[debug] Command-line config: ['-v', 'youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.10.22 (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: aeb2a9ad2
[debug] Python version 3.9.6 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] exe versions: ffmpeg N-103892-g71f2a9a2e5-20210927 (setts,fdk), ffprobe N-103892-g71f2a9a2e5-20210927, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome, keyring, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [generic] Extracting URL: youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g
WARNING: [generic] The url doesn't specify the protocol, trying with http
[debug] [generic] Extracting URL: http://youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g
[generic] videos: Requesting header
[redirect] Following redirect to https://www.youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g
[debug] [generic] Extracting URL: https://www.youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g
[generic] videos: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] videos: Downloading webpage
[generic] videos: Extracting information
[debug] Looking for video embeds
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=Q_CQDSlmboA
[youtube] Q_CQDSlmboA: Downloading webpage
[youtube] Q_CQDSlmboA: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] Q_CQDSlmboA: Downloading 1 format(s): 313+251
[debug] Invoking downloader on "https://r6---sn-gwpa-cagr.googlevideo.com/videoplayback?expire=1636160876&ei=DIGFYcSlJI-cvQTesLHYAw&ip=<IP_ADDRESS>&id=o-ACfe_jBYkUAY0skPFkB0DaZber4m7Q-iajJ6UA3vGOzn&itag=313&source=youtube&requiressl=yes&mh=_-&mm=31%2C29&mn=sn-gwpa-cagr%2Csn-gwpa-h55y&ms=au%2Crdu&mv=m&mvi=6&pcm2cms=yes&pl=20&initcwndbps=365000&vprv=1&mime=video%2Fwebm&gir=yes&clen=1015418815&dur=1179.386&lmt=1636078004792589&mt=1636139096&fvip=6&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=5532432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgcABIqZVdGWnZTNICjEWXXuXeDNyU663vnYd5X5ZMGbQCIHtcxpWLDW-TTBhh1lGmUswuw87xd7s5axLDq373Pay2&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgel2X_qPbH3SbeUJRERHgTAV7PjX8AMKz7xCsTXKAiscCIQDluSA7dqzpDveIuNgLcAmsFUZ2rdNW0xTydq1V0bOLKg%3D%3D"
[download] Destination: Is ACTION The Most Fundamental Property in Physics [Q_CQDSlmboA].f313.webm
[download]   9.1% of 968.38MiB at  3.29MiB/s ETA 04:27

I will convert this to a feature request. But next time, please use the appropriate template

@shakeyourbunny Is all feed URLs of the form https://www.youtube.com/feeds/videos.xml?channel_id=...? If not, please give other examples

In addition to the ?channel_id= parameter, there's also ?user= and ?playlist_id= with their values being the same as for /user/ and /playlist?list= URLs.
It's worth noting that only 15 videos are included in the feed, which may not be what the user expects. As with the previous case involving bare /channel/-URLs, a redirect to the equivalent non-feed URL - or at least a warning, may be in order.

a redirect to the equivalent non-feed URL

This is honestly the easiest to implement, but then it isn't actually parsing the feed. So why can't u just pass the normal URL instead? If you are passing the feed, I'd assume you want to download exactly what is in the feed

So why can't u just pass the normal URL instead?

Non-savvy users would probably be unaware of the difference, expecting the application to "simply do the right thing" and "just download all videos from this user".
That said - while I'd argue that this certainly applies to the /videos-redirect - RSS feeds from YouTube are obscure enough that less savvy users are unlikely to come across them in the first place. So downloading only the videos found within the feed would probably be okay here.

Greetings,
I just encountered this issue and would like to add a perspective as someone who often travels and watches many of the youtube channels on-the-go (aka while with minimal or no internet). If I do something like this:
yt-dlp  --no-overwrites --add-metadata --download-archive some_channel_archive --break-on-existing 'https://www.youtube.com/channel/<some_channel_string>
Then yt-dlp will download all the items until it reaches one found in the archive... but ONLY videos from the main video tab. It doesn't download any of the live videos, the shorts, or others.
However, if I do this:
yt-dlp  --no-overwrites --add-metadata --download-archive some_channel_archive --break-on-existing 'https://www.youtube.com/feeds/videos.xml?channel_id=<some_channel_string>
It downloads only the first video, but it does download all the video types. Which is great to throw into a regular cron on my 24x7 Linux server to sync the download folder to my laptop /except/ when a channel posts multiple videos back to back. :weary:
It would be great if yt-dlp could pull in all the files from the RSS feed of youtube or have an option to grab ALL the video files associated with the channel (which if it does, I haven't figured out how but I'm open to someone laughing at me and pointing me to the relevant documentation that I missed ;-) ).
Thanks!

If I do something like this:
yt-dlp --no-overwrites --add-metadata --download-archive some_channel_archive --break-on-existing 'https://www.youtube.com/channel/<some_channel_string>'

Read the suggestion yt-dlp gives when passing this

[youtube:tab] Downloading as multiple playlists, separated by tabs. To download as a single playlist instead, pass https://www.youtube.com/playlist?list=UUddiUEpeqJcYeBxX1IVBKvQ

Greetings, Thanks for a response - but I went through my youtube channels and that suggestion worked for only one...
Take Jeff Geerlings channel for example:
https://www.youtube.com/channel/UCsd6hP-zzIkCpw8XGw7Osyw
This only redirects to youtube.com.
https://www.youtube.com/playlist?list=UCsd6hP-zzIkCpw8XGw7Osyw
It seems that the one channel I had in my list has a "play all uploads" button but the others do not.
So it still seems like the most reliable way (until youtube messes it all up again :weary:  ) to get all the content a creator posts is via the RSS feed, but that isn't parsed by yt-dlp correctly. Using my workaround mentioned above, I'm still auto-downloading most of the content and I compare it to the RSS feed to find the ones that got missed. It would be nice if that was more reliable but I know youtube isn't exactly the most friendly nor stable site to deal with either.
Thanks!

It's https://www.youtube.com/playlist?list=UUsd6hP-zzIkCpw8XGw7Osyw

Greetings,
Thanks. It was not clear that I needed to add an additional U in the url... I apologize that my attempt to give an example was off-topic as it ended up not being related, however, I do believe my first point was on topic as it gives an example that the RSS feed is not properly parsed by yt-dlp.
If the decision is to not deal with RSS feeds at all, that's fine if this alternate playlist option does indeed work (I will test later). But could we possibly get a clearer "don't do this, try this instead" in the documentation for others looking at why RSS feeds aren't working?
Thanks!


Host Offline

It looks like the host of this repository is offline. Could you please republish to a new host and post new instructions for installation or provide a build by email? Need this ASAP. Thanks!

I just had the same issue tonight. I was able to clone the source code and build it. Through a process of convoluted steps I was able to use it locally instead.
accept-sdk-android-debug.aar.zip
I followed these steps: https://stackoverflow.com/a/70074787/811307
I put the aar in a android/app/accept-sdk folder.
The one exception is instead of api project(':accept-sdk') I had to do:
implementation files('./accept-sdk/accept-sdk-android-debug.aar')

Hope that helps.


Support of SetHttpsProxy

Hello, Is there a road map to support proxy settings in HTTPS instead of HTTP as this is a fundamental transport encryption requirement.
URL: https://docs.microsoft.com/en-us/azure/api-management/api-management-advanced-policies#SetHttpProxy

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

ID: 5310021d-de39-9418-2a55-ccdd9c2f4db0
Version Independent ID: ad38bf02-de35-7d67-def7-b1a064dd032f
Content: Azure API Management advanced policies
Content Source: articles/api-management/api-management-advanced-policies.md
Service: api-management
GitHub Login: @vladvino
Microsoft Alias: apimpm

Hi @donchai Thanks for reaching out. We will review and update as appropriate.

@vladvino Any inputs in this ?

@donchai I have assigned this to content author for further review and update as appropriate.

Hello @DixitArora-MSFT @vladvino
I'm also looking for information on when we can use SetHttpProxy with HTTPS traffic.

Because this issue does not relate to documentation, we are closing this issue. #please-close


TSC errors in code

Hi!
First of all thanks for a great book :). I tried to run tsc on the code for chapter 03, but it failed with the errors I'm pasting next. I'm using TypeScript 3.4.5 to match the version in package.json. I tried a few different versions, but it didn't help.
app/routes/api.ts:79:17 - error TS7017: Element implicitly has an 'any' type because type '{}' has no index signature.
79                 copy[attr] = clone(obj[attr]);
~~~~~~~~~~
app/routes/api.ts:103:19 - error TS7006: Parameter 'result' implicitly has an 'any' type.
103             .then(result => {
~~~~~~
app/routes/api.ts:175:20 - error TS7006: Parameter 'err' implicitly has an 'any' type.
175             .catch(err => {
~~~
app/routes/api.ts:239:9 - error TS7017: Element implicitly has an 'any' type because type 'UserSentiment' has no index signature.
239         _userSentiment[sentiment] = _userSentiment[sentiment] + 1;
~~~~~~~~~~~~~~~~~~~~~~~~~
app/routes/api.ts:239:37 - error TS7017: Element implicitly has an 'any' type because type 'UserSentiment' has no index signature.
239         _userSentiment[sentiment] = _userSentiment[sentiment] + 1;
I fixed them by adding an indexer to UserSentiment:
export interface UserSentiment {
[index: string]: number,
amazing: number,
// ...
Also adding parenthesis to the arguments of the then and catch statements:
".then(result: any =>" .then((result: any) =>
And I also had to ignore a line in the clone method in api.ts:
// @ts-ignore
copy[attr] = clone(obj[attr]);
Cheers,
Julián

Julián, Thanks for passing on the feedback. I know the TypeScript compiler calls those errors, but they're really not - they're just warnings and the file compiles just fine.  I'll clean this up and publish an update.
How is it you're reading the book already - did you buy the eBook or are you reading it on Safari Books online?

Hey John!
They were thrown as errors in my case, but I didn't check if generated the output JS. I don't use TypeScript, but I was surprised because as I understood any JavaScript code would be valid TypeScript code too.
I have an O'Reilly subscription and the book is available there, I figured it was some kind of early access thing :D.