[WIP] Magic leap camera server (device)

Fixes https://github.com/webmixedreality/exokit/issues/396.

Browser streaming the Exokit draw app example from the ML1 device.


Explicitly specify job queue

Issue
Take this batch for example:
Bus::batch([new TestBatchedJob()])->onQueue('batch')->dispatch();

Running php artisan queue:work --queue=batch in a regular Laravel application successfully executes TestBatchedJob job on batch queue, even if the job has set a different queue, such as $this->queue = 'default'.

Using the same batch with this package is currently not possible, unless you specifically set the same queue on the job too. Batch jobs do get dispatched to GCT on correct queue (batch), but it fails the execution because it cannot pass existence check on TaskHandler. That's because it tries to resolve queue name from serialized payload, but it won't find one and default to default queue set in config, unless you specified queue directly on the job.
Solution
I found out that we could always set the queue on the job instance before dispatching it to GCT. Unfortunately it's not possible to to do that for batched closures, because they are transformed into CallQueuedClosure inside \Illuminate\Queue\Queue::createPayload() and then immediately serialized.
Only 1 test failed initially with this change and it was because it was expecting SimpleJob queue to be null, but with this change it is set to default queue. I added couple extra cases to test regular closure dispatch too. . I haven't found any batch tests in this repo, so I'm not sure how to best test batch dispatching to showcase the original issue.

Sorry for pinging you @marickvantuil, but would you be able to look into this at your earliest convenience?

Thanks! I'll check quickly if I can make a test for the batched job. Might have to rewrite some stuff in the TestCase.
Apologies for the later reply - I was on holiday :-)

Thanks for taking your time to look into this!


Add a script to verify that .spi.yml is up-to-date

Depends on https://github.com/apple/swift/pull/65666

Motivated by https://github.com/apple/swift-syntax/pull/1634

.spi.yml got out of sync of the libraries we added to Package.swift. Add a verification script to make sure that they match. The idea is that for every library that every library that is exposed by SwiftSyntax should be documentated on swiftpackageindex.com.
This is also a first stab at writing part of the build infrastructure scripts in Swift.
rdar://108901461

@swift-ci Please test

Can’t merge this right now because my script is using Swift Regex but that requires macOS 13.0. But the CI nodes run on macOS 12.6.

Can we just auto-generate the file with https://github.com/SwiftPackageIndex/SPIManifest?

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows


How to close or destroy the opened notification ?

I want to close or destroy the opened notification  by js.
Could you tell me how to do ? Please

I just submitted a pull request for this: https://github.com/notifyjs/notifyjs/pull/82


Development

Coverage increased (+2.007%) to 76.212% when pulling a0a26d51a9c3425d7a9f8602f945777a1ea7f847 on development into aa8580bf30cc0843e78e5e6e6103b2aec5c0519a on master.

:tada: This PR is included in version 4.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


display of  inside

I have the feeling that the display is not yet as foreseen in EGD 9.1.6, which I cite:

empty elements representing transition points (<lb/>, <pb/> and <milestone/> of any kind) shall, however, be included in both lemmas and readings
the purpose of this is primarily to show the fact that such a transition is present (or was indicated as present, not necessarily always in the right place, by a previous edition)
any attributes of these elements present in the edition must mandatorily be retained in the lemma (contrary to the suggestion of the first release version of this EGD)
we foresee that all of these elements will be displayed as a simple / character when they appear as a lemma (thus, since a pagelike partition will always be followed by a line beginning, these together will display as //)
the / character will be displayed contiguously with the surrounding text if the element in question has @break="no", and with spaces on both sides if the element does not have @break="no"
remember that when a lemma extends across such a boundary, the @loc of the apparatus entry must be the number of the line where the lemma begins
in display, an indication that the lemma extends into the next line will probably be added automatically if an <lb/> element is present within the lemma

Example of code:
<app loc="A7"><lem>rājadhā<lb n="A8" break="no"/>ṇnī</lem><note>....</note></app>.
Example of current display:

OK for the first point you underline (use of /), but I am not sure what @danbalogh has in mind for the second one ("an indication that the lemma extends into the next line"). Should I add a tooltip on the lemma that says e.g. "Lemma that spans several pages/lines"?

I think was was meant by "indication" is that the display would insert en-dash and number of the line where the <lem> ends, based on the last value of <lb n="..."> contained in it, exactly as in Axelle's set up. I agree with Dan's verdict that we need to reproduce the same on dharmalekha.info.
@Dan: as for the revision of EGD, I was actually wondering it might not be possible, or even desirable, to see less about presentational aspects in this context. Certainly nothing needs to be changed about how we encode.

I'm perfectly OK with saying less or nothing about display in the EGD, here and elsewhere. As you know, in my view display is an altogether separate matter from encoding. I think in many places, the first EGD only said things about display because you wanted the not-yet-implemented display ideas to be recorded somewhere.

OK for the handling of lb elements (line numbers ranges and use of /).
Now, we also have pagelike and gridlike milestones in the same context. Axelle's code does not display pagelike milestones at all, and represents gridlike milestones with ‡. Is this OK?

Pagelike milestones in lemmas should be displayed as a / just like page breaks, so that with the invariably following line break they become //. I like the idea of representing gridlike milestones with a ‡, but in that case I think that the regular display of those milestones should also include the same character, before the unit and number.

I agree with Dan's response.
@Dan: now that the presentation of files encoded as per our EGD is become more and more concrete, I think we can reduce or remove altogether what we say about presentational aspects in the next version. Feel free to propose the relevant cuts.

OK, noted.

@michaelnmmeyer — I think you can close this once the display has been modified as per instructions above.

I agree.

@michaelnmmeyer , please close this issue if the display has been implemented.


RFC: Add "For Committers" documentation

@spmallette -- if you are happy with this, can you merge? Also, can you remove "cool-new-feature" :) as there is nothing hip or cool about what we do (its computer science).


Specification of the constraints for complex data types

Status quo
No restrictions can be defined on complex data types at the field specification level. It is only possible to define the restrictions on the data type itself. However, these then apply to all fields of this type.
Requested extension
It should be possible for a complex data type to define restrictions on subfields. e.g.
- type: 'country.CountryReference #Use this to set a reference to a country'
  fields:
    id: '* string:1 #Id of the referenced country.'
    display_name: '* string:2 #Label of the referenced country'
    link: 'furo.Link:3 #HTS for the initial search. Using default values works on root resources only.'
  target: country.proto

smallest_neighbour_country:
        type: country.CountryReference
        meta:
            default: ""
            placeholder: ""
            hint: ""
            label: country.type.smallestneighbourcountry.label
            options:
                flags: []
                list: []
            readonly: false
            repeated: false
            typespecific: null
        constraints:
           id :
                required:
                is: "true"
                message: smallest_neighbour_country is required

This way it would be possible to specify individual restrictions on complex types.
This specification must then be taken into account in the checkConstraints of the data object.

This behaviour can be achieved in the following way:
smallest_neighbour_country:
        type: country.CountryReference
        meta:
            default: ""
            placeholder: ""
            hint: ""
            label: country.type.smallestneighbourcountry.label
            options:
                flags: []
                list: []
            readonly: false
            repeated: false
            typespecific: null
        constraints:
           id.required:
                is: "true"
                message: smallest_neighbour_country is required


test(c/driver/snowflake): fix timestamp tests

Fixes #903.

That said, I think something funky is going on here somewhere...

what's the actual error/issue happening?

Just that the "expected" values seem a little inconsistent (but in the debugger it's what we're getting)


Add note on how to use callbacks file

Yes, at some point we should split the actual first steps and the demo documentation. I think a good time for this would be the GUI in QT that will be introduced soon to the script, which can come together with a new, demo-oriented docs page. Matter of fact, we would have to update the screenshots anyways once this change goes live


Update from admin panel from 6.2.0 to 6.2.3. not working

Description
When I try to update Shopware 6 with 6.2.0 stable version to 6.2.3 from the admin panel I get an error (screen).
Running the composer install command doesn't help
.

Hey,
that is known. The  Auto Updater had an issue which is fixed since 6.2.1. For the updates before, it can happen that not all files are unpacked.
Use an update zip when its failed. See update notification here: https://www.shopware.com/en/changelog/#6-2-0


Can't package with nodejs 12.13.0

Brief Issue Summary
Node moved their LTS to 12.13.0 recently and I can't get vsce package to run for
vscode-cmake-tools anymore
Expected:

run yarn
run npm install -g vsce
run vsce package
get a visx package

Apparent Behavior:

yarn -- runs OK
npm install -g vsce -- runs OK
vsce package

Executing prepublish script 'npm run vscode:prepublish'...
 ERROR  Command failed: npm run vscode:prepublish
warning<EMAIL_ADDRESS>The engine "vscode" appears to be invalid.
Assertion failed: len < MAX_ENV_VAR_LENGTH, file c:\ws\deps\uv\src\win\util.c, line 1476
error Command failed with exit code<PHONE_NUMBER>.
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>vscode:prepublish: `yarn run compile-production`
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>vscode:prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\chbarto\AppData\Roaming\npm-cache\_logs\2019-11-01T23_17_44_312Z-debug.log

It looks like this error is in libuv someplace. Looking at libuv src/win/util.c I see MAX_ENV_VAR_LENGTH is 32767. My largest env var is ~2000 bytes (It's PATH).
Platform and Versions

Operating System: Microsoft Windows 10 Enterprise (x64) Build 19013.1
CMake Tools Extension Version: master
nodejs version: v12.13.0
vsce version: 1.69.0
yarn version: 1.19.1

interestingly if I go into package.json and change yarn to npm in it's "scripts" section things work

did anyone find a solution for this?
This is the error Jenkins throws while running a build
" npm run ng build --prod
Assertion failed: len < MAX_ENV_VAR_LENGTH, file c:\ws\deps\uv\src\win\util.c, line 1478 "

I created a libuv issue for this: https://github.com/libuv/libuv/issues/2587

Actually, it's a yarn issue: https://github.com/yarnpkg/yarn/issues/7783
Another way to work around it is to delete the contents of NOTICE.txt.

This appears to be fixed with latest tools.  Node 12.18.4 works.


Latest signed release of vJoy does NOT match DLL Version

I am trying to use vJoy v.<IP_ADDRESS> in MTOvJoyFeeder. However, it cannot load vJoy because the DLL version (<IP_ADDRESS>) in the latest vJoy release does not match the driver version (<IP_ADDRESS>). MTOvJoyFeeder produces the following error:
Product: vJoy - Virtual Joystick
Vendor: Shaul Eizikovich
Version Number: <IP_ADDRESS>
Version of Driver (221) does NOT match DLL Version (218)

Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'vXboxInterface.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at vXboxInterfaceWrap.vXboxInterface.isVBusExists()
   at MTOvJoyFeeder.Program.CreatevXboxJoysticks(List`1 oAllVJoystickInfo, List`1 oVirtualJoysticksToUse)
   at MTOvJoyFeeder.Program.Run(Options oOptions)
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at MTOvJoyFeeder.Program.Main(String[] args)

Can you please update vJoy's DLL to match the numbering of driver version?

CC: @jshafer817, @njz3, @shauleiz

CC: @jshafer817, @njz3, @shauleiz


Support for private repos?

Great project. I would love to use this for tracking private repos at our startup.
Just to confirm - currently private repos are not supported? AFAICT they are not as the code seems to perform an authless, no-token fetch.

+1

Given that this original request from @mdrcode was from 2011, I'm guessing he meant private GitHub repos, not private npm modules. This is now supported via #24 so I am closing this issue.
@dimitrisfasoulas if your +1 was for private npm modules instead, please open a new issue with any details/suggestions you have. Thanks.


signing in is not working

vagrant up --provision
go to localhost:8000/register
fill in details and continue
it throws an exception :

It is working for me. did you rebase?

No, it's happening on the main branch, @Shoval-Ovadia had an issue perhaps similar lately, specifically accessing the commenting page that requires behind the scene registration (it won't allow you to enter if your not registered), so it might be another indication but maybe not

solved after these following steps:

running vagrant halt,
erasing the db.sqlite3 file
running vagrant up --provision


Validation and spec

In this Milestone, I made the following additions ➕ 🟢
Added Validation and Spec for User, Post, Like, and Comment models.

Installed Rspec for model validation testing ⬇

Added the following validations:

Added these validations for User model ✅

Name must not be blank.
PostsCounter must be an integer greater than or equal to zero.

Added  these validations for Post model ✅

Title must not be blank.
Title must not exceed 250 characters.
CommentsCounter must be an integer greater than or equal to zero.
LikesCounter must be an integer greater than or equal to zero.

Unit specs for all models' methods and validations.

Added unit spec for User model
Added unit spec for Post model
Added unit spec for Like model
Added unit spec for Comment model
Fixed Linter errors 🧰

Thanks for the approval @FrederickMih


bug: Renovate stuck on wrong rate limiting

Message is around a rate limit, but there's nothing holding up the queue.  Investigate.

nr-forest-client
nr-forest-client-api
nr-old-growth

Solved!  The only problem is that @mamartinezmejia and @paulushcgcj now have a mountain of PRs to work though.  ;)


Add possibility to exclude folders from folder level cyclic deps

This PR introduces possibility to exclude specified in stricter/circular-dependencies config registries folders from folder-level checks. It allows to create for example registry of reusable components packages or utils.
One option in stricter/circular-dependencies is added: registries: string[]. It's not a regex, because each time we want to exclude single folder only.
I've also: added tests to make sure I won't break anything, updated readme and fixed link in message.

Coverage increased (+14.2%) to 88.462% when pulling 0fbb33c53962ac5e411ab81384185279173dccfb on add-ability-to-exclude-folder-from-cyclic-deps-checks into 32886bdc03c400da45ff57319193976af064dd49 on master.

Update: added micromatch to handle paths, right now nested cyclic dependencies will be reported. Fix is covered with new tests. I've also added types for micromatch, but some of them are invalid - added comment to explain.

Could you, please, update https://github.com/stricter/stricter/blob/master/CHANGELOG.md to mention the change? Please, mention, it's a breaking one due to not popping top-level root folder any more in the rule.

Could you, please, update https://github.com/stricter/stricter/blob/master/CHANGELOG.md to mention the change? Please, mention, it's a breaking one due to not popping top-level root folder any more in the rule (people will need to specify it explicitly to preserve original behaviour).

It's not breaking old popping behaviour, this should be kept:
https://github.com/stricter/stricter/pull/63/files#diff-caf9abd8dcd2fa2f869c0c93d9e0ae47R49
I'll update https://github.com/stricter/stricter/blob/master/CHANGELOG.md, thanks!

Let's break it now.
For a greenfield project using the rule this will hep avoid circular references from day one.
Otherwise, people might unknowingly introduce them and fixing cycles post-factum is quite painful.


Handle

This PR adds the possibility to add a handle icon to the middle of a splitbar. The handle will not trigger a collapse and will be visible even if disableToggle is set to true. By default, the handle is not visible and it needs to be explicitly enabled by setting the option showHandle to true.

Very nice, I've accidentally toggled when I meant to drag before.  Condense the commits down to a single one?


UpgradeException

When trying to connect to socket.io apps hosted on certain websites, I get this error:
UpgradeException: Didn't switch protocols, expected status <101>, but got <301>
Any idea what that means, or how to fix it?

Here more details about the error:
https://discourse.processing.org/t/processing-to-socket-io-on-unubo/9182


Some packages not showing up in ToC on Docs.MS.com

Specifically:

Azure.Storage.Blobs.Batch
Azure.Storage.Common

They aren't where we expect them to be.
Unfortunately, this is not an onboarding issue:

As our CI configuration is both up to date and correct. The CI build is even downloading and installing these two packages. We just aren't getting the XML output for it.

I believe the output is coming out properly, but I'm asking @danieljurek to follow up on this issue

Just spoke with the docs team. This behavior is by design because the ToCs are built from the namespaces not the package names. In the case of Azure.Storage.Blobs.Batch and Azure.Storage.Common the types are declared under namespaces like Azure.Storage.Blobs.Specialized and Azure.Storage respectively.
For example, the BlobBatch class lives under the Azure.Storage.Blobs.Specialized namespace -- https://docs.microsoft.com/en-us/dotnet/api/azure.storage.blobs.specialized.blobbatch?view=azure-dotnet


Right-click menu contains "Add Step" instead of "Append" on the first item

Describe the Bug
the contextual menu on the first step is not corresponding to the other steps. i tis usign the terminilogy "Add step" although all other are using "Append"
Steps to Reproduce the Bug or Issue

create a route
right-click on first step

Screenshots or Videos

Platform

OS: linux
Browser: VS Code
Version: 2.0.0-RC1

This is an intermediate state and we did that on purpose. Our current model handles the from in a route as a branchable step which isn't correct. This will need to be fixed after the GA.

This is due to from having a steps property, hence the Add Step. in YAML, the from is not a regular step like in XML.

I'm gonna close the issue as it's working as intended from the YAML point of view and also a better functionality is achieved through: https://github.com/KaotoIO/kaoto/pull/1673


Possible Bypass For URL Validator

Subject of the issue
In https://github.com/omisego/ewallet/blob/master/docs/setup/advanced/env.md, the following documentation is written for the REDIRECT_URL_PREFIXES:

External redirects
Some features such as email verification allows redirects to URIs external to the eWallet. For security reasons we do not allow redirects to arbitary URIs, unless the prefix is whitelisted.

REDIRECT_URL_PREFIXES: A comma-separated list of prefixes that are allowed to be redirected to. For example, REDIRECT_URL_PREFIXES=https://example.com,pos-client://example.com allows redirects to https://example.com/some_url and pos-client://example.com/some_deep_linked_url.

By setting the url as https://example.com, there are some possible bypasses
Your environment
https://github.com/omisego/ewallet/blob/master/apps/ewallet/lib/ewallet/web/url_validator.ex
Steps to reproduce
I have used the code from url_validator.ex (with some hard coded urls for visibility)
defmodule UrlValidator do
  @moduledoc """
  This module validates a url.
  """

  @doc """
  Checks that the given url is allowed as a redirect url.
  """
  def allowed_redirect_url?(url) do
    base_url = "https://example.com"
    prefixes = ["https://google.com", "https://example2.com"]
    allowed = [base_url | prefixes]

    Enum.any?(allowed, fn prefix -> String.starts_with?(url, prefix) end)
  end
end

IO.puts UrlValidator.allowed_redirect_url?("https://example.com.notexample.com")
IO.puts<EMAIL_ADDRESS>IO.puts UrlValidator.allowed_redirect_url?("https://example.comnotexample.com")

This produces the following output
$elixir main.exs
true
true
true

Expected behavior
None of the 3 inputs are of the host example.com. Thus, it should return false.
Actual behavior
True is returned.
Mitigation suggestions

Make sure to state in the documentation that you need to end the whitelisted REDIRECT_URL_PREFIXES with a "/" character.

Instead of checking the whole path, check the host domain name against a whitelist.

Good catch! Looks valid to me.

On an unrelated note, was wondering if OmiseGo has some sort of (bug) bounty program for pointing out security related issues. Have been working with Fred on some on the Omise security issues, so would be cool if the same thing exists for OmiseGo too

That is in the plan but I'm not sure when it will be up. Maybe @T-Dnzt has more details on that.

Expanding on @jpopxfile's suggestions a bit, maybe we could add a stricter validation like this?
Given REDIRECT_URL_PREFIXES=https://example.com/,pos-client://example.com (note that the former has a trailing slash):

Trim trailing slashes (if any) from each of the REDIRECT_URL_PREFIXES.
Allow if either:

The given URL matches the allowed URLs exactly, i.e. ^https://example.com$ and ^pos-client://example.com$
The given URL starts with the allowed URLs with "/" appended, i.e. ^https://example.com/.*$ and ^pos-client://example.com/.*$.

This way we don't need to rely on users providing the trailing slashes or not, while also avoiding complex URL parsing for protocols and domains.
Thoughts? @T-Dnzt @jpopxfile

Looks ok to me, but do note that we need to the escape the dots in the regular expression to . or [.]
Otherwise, if the whitelist is a subdomain:
^https://xxx.example.com$
This pattern would match for https://xxxaexample.com

👍 Yup you're right. Apologies for my pseudo regex.

Took a look at the PR and I can't find any bypass for this enhancement.


Running validation of cual-ids when generated in batch

On the off chance that someone's system doesn't have a clock accurate to the chosen interval, we should create a running validator that compares every ID to its immediate predecessor for uniqueness between the two.
Should failure of this condition raise on exception? or would it just retry until it succeeds, failing out after so many retries?

@ebolyen I think it should just try until a valid ID is passed, or may try 10 times and then fail because something is wrong with the users clock. Were you thinking of using this in place of the time step or in addition to?


The dropdown action 'Move All…'  is disabled for one non-empty queue

Storage Explorer Version: 1.25.0-dev
Build Number: 20220707.4
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Monterey 12.4 (Apple M1 Pro)
How Found: From running test case
Regression From: Previous release (1.24.3)
Steps to Reproduce

Expand one storage account -> Queues.
Create a queue -> Add one message.
Click the arrow next to the button 'Move Messages'.
Check whether the dropdown action 'Move All...' is enabled.

Expected Experience
The dropdown action 'Move All...' is enabled.
Actual Experience
The dropdown action 'Move All...' is disabled.

Verified this issue on the build main/20220708.4. Fixed.


Seeming Incompatibility with Recommended Couchbase Versioning System

Hi,
I ran into an interesting problem last week that left me stumped, so I thought that I would appeal to the connector development team for insight.  There is an article on the official couchbase blog about how to implement "never-delete" file versioning:
http://blog.couchbase.com/how-implement-document-versioning-couchbase
The team I am working with has implemented versioning in the following way.  Each document has a "base" key, say, X.  At creation time, document X is at revision 1, so it's initial key would be X:1.  To keep track of the latest revision, an additional "indexing" document with the key X:id is created.  The indexing document contains only the revision number (in the case of a newly created document, that file contains: 1).  Every time there is an update to document X, a new document with a key with the corresponding revision number is created and the indexing document is updated (after the first revision, we would have documents with keys X:1 and X:2, and the X:id file would contain:  2).
Now the issue with this is that the ES connector is set up to use the XDCR replication functionality of Couchbase, which (I think) is automatically replicating EVERY non-delete change to the contents of the Couchbase documents in the bucket the connector is attached to.
This results in two undesirable properties:
1.)  Every revision version of every document (plus the indexing documents) will end up being indexed in ES.  Ideally, the connector could be equipped with a setting to create a base document in ES and then modify/replace that document with the latest revision version from ES.  Alternatively, this could be broadened to allow the user to specify a "View" to be transmitted to ES, rather than the whole raw database (as far as I could see, it is not currently possible to do this).  It is relatively straightforward to create a view that can pick out the highest revision number for each base document.
The only way that I can think of to get the "latest revision only" behavior is to actually buffer the documents coming through (in a table where the keys are the "base" document keys" and the values are the documents with the highest revision numbers) until the indexing document is found, in which case the corresponding base document can be removed from the buffer after the latest revision (according to the index document) is found.  This has the unfortunate side effect of having to potentially store a large number of documents in memory during replication.
2.)  If we have an updating service attached to Couchbase that is constantly running, then there will be a large amounts of indexing activity in ES.  It would be helpful to set a time interval at which the latest revision is transmitted to ES, say every hour or every thirty minutes.  That way, intermediate updates to Couchbase wouldn't necessary have to be reflected in ES immediately.  This, of course, depends on the requirements of individual projects.  It would be nice to have the ability to control this.
If there is anything that I can do to help clarify the situation or to make the changes required for the functionality that I desire, please let me know.  Thanks!
Also, any suggestions on how to use the current connector to accomplish one or both of the above would be welcome.  I am happy to make modifications and share them with others, as well.
Best,
Perrin

I've made some local changes that produce the behavior that I am looking for.  I'd be happy to share if others are also interested in having this functionality.

We eventually figured out that it made a lot more sense to keep the latest version of each document in the "base document name," which allows the connector to perform the updating automatically (as it is designed to do).  I will close this issue.


build: ingest fixtures workflow to include metrics dir (rework of 1789)

Add test_unstructured_ingest/metrics path for evaluation metrics master file.

there seem to be nothing here? Is this PR redundant?


escaped(digit1, ...) succeeds for empty string

I try to parse a string of digits and in addition the string might contain escaped characters. A valid string must contain at least one digit. Therefore, I'm using digit1 in combination with escaped, see example below.
It mostly works as expected, but to my surprise, escaped succeeds for an empty string as well. But I would expect that escaped should return an error for an empty string, because digit1 expects at least one digit.
Prerequisites

Rust version: 1.54.0
nom version: 7.0.0
nom compilation features used: default

Test case
Example test case:
extern crate nom;

use nom::{
    bytes::complete::escaped,
    character::complete::{digit1, one_of},
    IResult,
};

fn main() {
    let empty_string = "";
    let res: IResult<_, _> = escaped(digit1, '\\', one_of(r#""n\"#))(empty_string);
    assert!(res.is_err()); // res is Ok(("", "")), but I would expect an error
}

EDIT: rephrased description

I had a similar problem, where I wanted to parse a possibly empty string with escaped characters, and so I used something like:
escaped(many0(none_of("\"\\")), '\\', one_of(r#"\"n"#))

where I used many0 because I expected that escaped with many1 would fail with an empty string.  However, with many0, the parser failed to accept a full string, because escaped stops whenever its inner parser doesn't consume anything:
https://github.com/Geal/nom/blob/02433c2c98a0448d30818ee057d303f2e63b8288/src/bytes/complete.rs#L525-L528
So a string like something \"quoted\" would just stop after reading something .
Instead of having escape0 and escape1 like you suggested, wouldn't it make sense for escape's behaviour to mirror that of its inner parser?


Add Hudi Flink example

Description of changes: Hudi Flink Java code for KDA example. Includes:

Maven pom.xml with all required dependencies
Java application provides example of using Flink SQL APIs for reading from Kafka topic and sink to Hudi dataset on S3
Code example for setting up the checkpoint interval

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@awsalialem Please remove all the .DS_Store files. We should add a .gitignore for this

Addressed the requested changes in a new PR #16


Club Instant Messaging Protocol and Network

Grant Application
This application is (select one):

[X] Speculative (use this by default)
[ ] an RFP response

This application is (select one):

[X ] Public (fully)
[X] Public with private finances

Abstract
[Provide a brief description of your project here (summarise key points).

Club is an instant mesaging protocol that enables real time audio/vedio communication and file transfer.
It is a decentralized, censorship free messaging network with enconomic incentives on blockchain.
Club supports easy implement of realtime audio and vedio communication as well as file transfer in decentralized application.
In fact such kind of functions are not found in most messaging protocol such as hopr, status, ally/scrumble, etc.
Offline messaging notification for mobile application is another built-in features in CLUB protocol.
This project is going to make a distributed instant messaging service used by people in crypto world.

If your application is part of a programme, please mention which in the first line of the abstract.
The details should be in the application 'document' that you add to this repo via a pull request.]
Checklist

[x] The grants document has been read and understood.
[x] The Google Form will be completed accurately. Note that the Google Form requires the pull request URL.
[x] Abstract (above) is succinct and complete.
[x] The application is being included into the correct directory: either 'targeted' or 'speculative'.
[x] The application includes a project description.
[x] The application includes all names of team members.
[x] The application includes a description of the team's experience.
[x] The application includes all necessary links (e.g. GitHub and LinkedIn)
[x] The "Development Roadmap" section in the application has a timeline of development ("milestones").
[x] The "Development Roadmap" section in the application has an estimate of funds required.
[x] The "Development Roadmap" section gives an indication of the team's long term plans.
[x] The "Development Roadmap" section includes documentation as a deliverable for at least one milestone.

Reject.  We've messaging ideas of course, but we avoid duplicating efforts of https://github.com/status-im/ and matrix.  Also poor planing for a hard problem.

What we want to solve is the peer to peer realtime audio/vedio communication and file transfer on top of the low-level messaging protocol.

Thanks for the application. I just sent you an email with more information why I’m closing the PR for now. In general I suggest that you reapply with a smaller, better defined and focused grant, which also takes our template into consideration. Ideally all the information is also integrated into a single md file.


[Audit] Text input

Changes:

[ ] error icon should be 16px on the right

[ ] margin-bottom between label with helper text should be 2px

[ ] make sure helper text is using the $helper-text-01 type token. Line height is wrong here, also not pulling in the true italic

[ ] Remove icon from disabled state

margin-bottom between label with helper text should be 2px

@aagonzales is this change for all form elements or is this only for text inputs? also, does it include labels without helper text?

There was no existing issue for form on the airtable so I made one. Looks like you're the assigned dev on that one too @emyarod
https://github.com/IBM/carbon-components/issues/1966


crc setup does Not download latest crcbundle 4.15.0-0.okd-2024-03-10-010116

Describe the bug
Trying to install in Fedora 40 by following this guide: https://fedoramagazine.org/okd-on-fedora-workstation-with-crc/
I see a few issues:
issue-1-of-5) "crc setup" command seems to be using crc_okd_libvirt_4.15.0-0.okd-2024-02-23-163410_amd64.crcbundle (on 2024-June-17) when the latest bundle should have been 4.15.0-0.okd-2024-03-10-010116 . This latest bundle (2024-03-10-010116) is said to be uploaded into quay; but the latest in quay is the older 2024-02-23-163410.
issue-2-of-5) dnsmasq issue exists. I had to follow suggestion from mlei in: https://github.com/okd-project/okd/issues/1939 to get around it.
Commands i used:
in fedora host cli:
ssh<EMAIL_ADDRESS>-i /home/fedora/.crc/machines/crc/id_ecdsa -i /home/fedora/.crc/cache/crc_okd_libvirt_4.15.0-0.okd-2024-02-23-163410_amd64/id_ecdsa_crc
in container cli:
sudo systemctl unmask dnsmasq
sudo systemctl status dnsmasq
logout
in fedora host cli:
crc stop
crc start --log-level debug
issue-3-of-5) After resolving the dnsmasq issue, I got error:
E0617 10:49:31.275307    7442 memcache.go:265] couldn't get current server API group list: Get "https://api.crc.testing:6443/api?timeout=32s": tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2024-06-17T10:49:31Z is after 2024-04-04T06:12:51Z
Unable to connect to the server: tls: failed to verify certificate: x509: certificate has expired or is not yet valid: current time 2024-06-17T10:49:31Z is after 2024-04-04T06:12:51Z
DEBU error: Temporary error: ssh command error:
command : timeout 5s oc get csr --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 1

sleeping 1s
DEBU retry loop: attempt 37

issue-4-of-5) I waited until the error in point-3 above progressed to the following:
INFO Waiting until the user's pull secret is written to the instance disk...
DEBU retry loop: attempt 0
DEBU Running SSH command:
DEBU SSH command succeeded
DEBU error: Temporary error: pull secret not updated to disk - sleeping 2s
issues-5-of-5) I suppose it doesn't work.
$ crc status
CRC VM:          Running
OpenShift:       Unreachable (v4.15.0-0.okd-2024-02-23-163410)
RAM Usage:       5.123GB of 10.95GB
Disk Usage:      23.44GB of 32.68GB (Inside the CRC VM)
Cache Usage:     27.69GB
Cache Directory: /home/fedora/.crc/cache
Version
I'm using Fedora 40 Workstation in Proxmox.
Processor type is 'host' (so virtualization is available to crc).
RAM: 20GB
Disk: 60GB (33 GB available)
CPU: 4 core
$ crc config view

consent-telemetry                     : no
preset                                : okd

$ crc version
CRC version: 2.37.1+36d451
OpenShift version: 4.15.14
How reproducible
100% reproducible at my end.
Log bundle
This is close the last part of terminal output for "crc start --log-level debug":
DEBU error: Temporary error: pull secret not updated to disk - sleeping 2s
DEBU retry loop: attempt 86
DEBU Running SSH command:
DEBU SSH command succeeded
DEBU Waiting for availability of resource type 'secret'
DEBU retry loop: attempt 0
DEBU Running SSH command: timeout 5s oc get secret --context admin --cluster crc --kubeconfig /opt/kubeconfig
DEBU SSH command results: err: , output: NAME                      TYPE                                  DATA   AGE
builder-dockercfg-pxm72   kubernetes.io/dockercfg               1      3m
builder-token-25pxd       kubernetes.io/service-account-token   4      3m6s
default-dockercfg-fpm84   kubernetes.io/dockercfg               1      3m
default-token-vdlwk       kubernetes.io/service-account-token   4      3m6s
DEBU NAME                      TYPE                                  DATA   AGE
builder-dockercfg-pxm72   kubernetes.io/dockercfg               1      3m
builder-token-25pxd       kubernetes.io/service-account-token   4      3m6s
default-dockercfg-fpm84   kubernetes.io/dockercfg               1      3m
default-token-vdlwk       kubernetes.io/service-account-token   4      3m6s
DEBU Running SSH command:
DEBU SSH command succeeded
INFO Changing the password for the kubeadmin user
DEBU Running SSH command:
DEBU SSH command succeeded
DEBU Waiting for availability of resource type 'clusterversion'
DEBU retry loop: attempt 0
DEBU Running SSH command: timeout 5s oc get clusterversion --context admin --cluster crc --kubeconfig /opt/kubeconfig
DEBU SSH command results: err: , output: NAME      VERSION                          AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.15.0-0.okd-2024-02-23-163410   True        False         104d    Cluster version is 4.15.0-0.okd-2024-02-23-163410
DEBU NAME      VERSION                          AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.15.0-0.okd-2024-02-23-163410   True        False         104d    Cluster version is 4.15.0-0.okd-2024-02-23-163410
DEBU Running SSH command: timeout 30s oc get clusterversion version -o jsonpath="{['spec']['clusterID']}" --context admin --cluster crc --kubeconfig /opt/kubeconfig
DEBU SSH command results: err: , output:
INFO Updating cluster ID...
DEBU Running SSH command: timeout 30s oc patch clusterversion version -p '{"spec":{"clusterID":"22ebfad4-2a34-4bfe-989d-5f2a6e40a28b"}}' --type merge --context admin --cluster crc --kubeconfig /opt/kubeconfig
DEBU SSH command results: err: , output: clusterversion.config.openshift.io/version patched
DEBU Waiting for the renewal of the request header client ca...
DEBU retry loop: attempt 0
DEBU Running SSH command: date --date="$(sudo openssl x509 -in /etc/kubernetes/static-pod-resources/kube-apiserver-certs/configmaps/aggregator-client-ca/ca-bundle.crt -noout -enddate | cut -d= -f 2)" --iso-8601=seconds
DEBU SSH command results: err: , output: 2024-07-17T11:57:12+00:00
DEBU Waiting for availability of resource type 'pod'
DEBU retry loop: attempt 0
DEBU Running SSH command: timeout 5s oc get pod --context admin --cluster crc --kubeconfig /opt/kubeconfig
DEBU SSH command results: err: , output:
DEBU
DEBU retry loop: attempt 0
DEBU Running SSH command: timeout 5s oc delete pod --all --force -n openshift-apiserver --context admin --cluster crc --kubeconfig /opt/kubeconfig
DEBU SSH command results: err: Process exited with status 124, output:
DEBU error: Temporary error: Failed to delete pod from openshift-apiserver namespace ssh command error:
command : timeout 5s oc delete pod --all --force -n openshift-apiserver --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 124
: Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.

sleeping 1s
DEBU retry loop: attempt 1
DEBU Running SSH command: timeout 5s oc delete pod --all --force -n openshift-apiserver --context admin --cluster crc --kubeconfig /opt/kubeconfig
DEBU SSH command results: err: Process exited with status 1, output:
DEBU error: Temporary error: Failed to delete pod from openshift-apiserver namespace ssh command error:
command : timeout 5s oc delete pod --all --force -n openshift-apiserver --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 1
: Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
sleeping 1s
DEBU retry loop: attempt 2
DEBU Running SSH command: timeout 5s oc delete pod --all --force -n openshift-apiserver --context admin --cluster crc --kubeconfig /opt/kubeconfig
DEBU SSH command results: err: Process exited with status 1, output:
DEBU error: Temporary error: Failed to delete pod from openshift-apiserver namespace ssh command error:
command : timeout 5s oc delete pod --all --force -n openshift-apiserver --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 1
: Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
sleeping 1s
[AFTER MANY MORE LINES NOT PUT HERE]
DEBU RetryAfter timeout after 34 tries
DEBU Making call to close driver server
DEBU (crc) Calling .Close
DEBU (crc) DBG | time="2024-06-17T17:34:43+05:30" level=debug msg="Closing plugin on server side"
DEBU Successfully made call to close driver server
DEBU Making call to close connection to plugin binary
Cannot delete OpenShift API Server pods: Temporary error: Failed to delete pod from openshift-apiserver namespace ssh command error:
command : timeout 5s oc delete pod --all --force -n openshift-apiserver --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 124
: Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.

Temporary error: Failed to delete pod from openshift-apiserver namespace ssh command error:
command : timeout 5s oc delete pod --all --force -n openshift-apiserver --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 1
: Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?
(x33)

Hi,
We are not working on FCOS builds of OKD any more. Please see these documents...
https://okd.io/blog/2024/06/01/okd-future-statement
https://okd.io/blog/2024/07/30/okd-pre-release-testing
We hope to have a OKD SCOS version of CRC soon. There is not definitive ETA though.
Many thanks,
Jaime


Can't insert any data

Can’t insert any data to mysql using FluentMySQL
func create(_ req: Request) throws -> Future<EmailVerification> {
    return try req.content.decode(EmailVerification.self).flatMap(to: EmailVerification.self) { verification in
        return verification.save(on: req)
    }
}

Model
final class EmailVerification: Content {
    var email: String?
    var actionToken: String!
    var code: String!
    var expiryDate: Double!
    var timeCreated: Double!
    var timeUpdated: Double!
}

I’m sending POST request with JSON
{
"actionToken": "006FEB79-5229-4046-B946-BD09B92312F7",
"code": "code value",
"email"<EMAIL_ADDRESS>"expiryDate": 0,
"timeCreated": 1,
"timeUpdated": 2
}

And getting 200 OK with body:
{
"email"<EMAIL_ADDRESS>"code": "code value",
"expiryDate": 0,
"timeUpdated": 2,
"timeCreated": 1,
"actionToken": "006FEB79-5229-4046-B946-BD09B92312F7"
}

And it looks like everything is ok but table emailverifications in database is still empty
Need help how to fix it...

I found the problem with insertion :) I use var email: String? as IDKey. If I change IDKey to Int or UUID then I can insert data to the database.


exposing credentials as an attribute for services use on demand

exposing the attrib 'container_credentials' in iaas_client which is an utility for services to fetch credentials of the container on the fly if they want without having to directly invoke credhub apis.
Post initialization of iaasclient, this can be easily accessed in scenarios like HA or major version upgrade where they might need creds for their own actions.

Pull Request Test Coverage Report for Build 45

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 32.343%

Totals

Change from base Build 44:
0.03%

Covered Lines:
584

Relevant Lines:
1767

💛  - Coveralls


Examples and tests for module.

chore: basic and full examples of usage.
chore: added extra validation of network_rules.ip_rules variable according to provider doc.
chore: integration and unit tests of module.

Solid!
Now, how do we handle test and release for the v0-branch ? Are we able to release from there and can maintain a variant of this test suite in that branch as well?

I think that these 3 points can help us to decide:

Do we plan support v0 in parallel ?
Do we need our TF module CI/CD to support parallel release from multiple branches, or it's rather the custom case ?
Are two points above worth the toil they demand, or we rather perform move off all state files to v1 in the long run?


rollup-plugin-node-resolve not resolving dependency

This is going to be a pretty easy question, but after reading and rereading documentation, and a thousand different trials, I still cannot get my library to resolve my dependencies.
Directory hierarchy is :
root
 |-- package.json
 |-- rollup.config.js
 |-- node_modules
     |-- fast-json-patch
     |-- fp-rosetree
     |-- deep-equal

Rollup config file is :
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import { terser } from "rollup-plugin-terser";

export default {
  input: 'src/index.js',
  output: {
    file: 'dist/transducer.umd.js',
    format: 'umd',
    name: 'StateTranducer',
  },
  plugins: [
    resolve({
      module: true, // Default: true
      jsnext: false,  // Default: false
      main: true,  // Default: true
      browser: true,  // Default: false
      extensions: [ '.mjs', '.js', '.jsx', '.json' ],
      preferBuiltins: false,  // Default: true
      // Lock the module search in this path (like a chroot). Module defined
      // outside this path will be marked as external
      // jail: '/my/jail/path', // Default: '/'

      // Set to an array of strings and/or regexps to lock the module search
      // to modules that match at least one entry. Modules not matching any
      // entry will be marked as external
      only: [
        /^fp-rosetree$/,
      ], // Default: null
      modulesOnly: false, // Default: false
    }),
    commonjs({
      include: ['node_modules/**', "node_modules/deep-equal/**"],
    }),
    terser()
  ]
};

then my code has
import { applyPatch } from "fast-json-patch/"

The fast-json-patch library in its code features a var _equals = require('deep-equal');. In terminal, the error message I get is :
(!) Missing global variable name
Use output.globals to specify browser global variable names corresponding to external modules
deep-equal (guessing 'deepEqual')

As the module deep-equal can be found in node_modules directory, I expect rollup to be able to resolve it.  I even ran npm install in node_modules/fast-json-patch to install deep-equal in the node_modules/fast-json-patch/node_modules but that still failed to produce any result.
Note that fp-rosetree is correctly resolved, and fast-json-patch is a commonjs module, as you can guess from the rollup config.
What can I be missing?

@guybedford could you shed a little light into how to resolve node_modules relative to the root project directory?

The code path - https://github.com/rollup/rollup-plugin-node-resolve/blob/master/src/index.js#L87 needs to be removed. It may be as simple as that one line, setting the importer to the cwd. It will need a test.

I tried to reproduce it and got no errors. Can be closed now.

still having this issue with imported node_modules in default svelte/template app ... uuidv4 needs rng which needs crypto, and it doesn't compile. ugh


qnet.algebra.operator_algebra.OperatorOrderKey.str missing return string initialization

Hi,
I just cloned the repo and ran the Jaynes-Cummings Hamiltonian example from the documentation. I received an error message ending in:
/home/dcriger/Documents/Github/QNET/qnet/algebra/operator_algebra.py in     __str__(self)
    973                 ret += r" ({}) ".format(str(o))
    974             else:
--> 975                 ret += " {}".format(str(o))
    976
    977         return ret

UnboundLocalError: local variable 'ret' referenced before assignment

I think ret needs to be initialized to an empty string or something, but I thought I'd submit this as an issue, since I'm not that familiar with the code yet.
Cheers,
Ben

Thanks for the bug report!


Update add liquidity call

Made add_liquidity call to return sum of minted shares

Already handled PR #73 which include all content of this one.


[Release 1.25] Take IPFamily precedence based on order

Backport: https://github.com/k3s-io/k3s/pull/8460
Issue: https://github.com/k3s-io/k3s/issues/8503

Ignore longhorn integration test failures. It is an unrelated issue due to GH runner configuration.


KeeAnywhere Offline Cache path

Environment:
Windows 10 v1809
KeePass 2.4.0 (installed)
KeeAnywhere plugin 1.5.0 stored in %PROGRAMFILES(x86)%\KeePass Password Safe 2\plugins
I am expecting the cache according to release notes to be %APPDATA%\KeePass but instead it's %PROGRAMFILES(x86)%\KeePass Password Safe 2\

Maybe I have to improve identification of portable installations.
In your case it seems, that the installed version is determined as portable.
Currently it is portable, if "PreferUserConfiguration" is false. KeePass' installer has a config set this flag to true.
So please checkt the content of your KeePass.config.xml in Program Folder:
<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<Meta>
		<PreferUserConfiguration>true</PreferUserConfiguration>
	</Meta>
</Configuration>

Determination of portability starting with version 1.5.1 will be:

Check Parameter "PreferUserConfiguration": yes = non-portable (only check in version 1.5.0)
if PreferUserConfiguration is false (Config file is beside KeePass.exe): check, whether KeePass is started from ProgramX86- or Program-Folder => if yes: non-portable

That was indeed the case, because originally the setup was portable, then I switched to installed. However switching to
<PreferUserConfiguration>true</PreferUserConfiguration>
did not fix the issue.


Warnings and errors from PyLS don't go away after fixing them, even when saving file

Problem Description
PyLS errors and warnings (e.g. from pycodestyle, pyflakes, etc) don't go away after fixing their cause; even after saving and waiting 10-20+ seconds, they only disappear when deleting the entire line. This does not occur, obviously, in Spyder 3.
What steps reproduce the problem?

Write a line of code that prompts a PyLS (pycodestyle, pyflakes, etc) error or warning. Save.
Modify line to fix error/warning. Save.
Delete entire line. Save.

What is the expected output? What do you see instead?
Expected error to go away after step 2. Instead, only disappeared after step 3.
Versions

Spyder version: master (latest as of the post date)
Python version: 3.6.6
Qt version: 5.9.6
PyQt version: 5.9.2
Operating System name/version: Windows 8.1 x64

PyLS 0.19.0 (pip install in conda env)

I added the following line to spyder.plugins.editor.widgets.editor.save inside the try block, around line 1670: finfo.editor.document_did_change()
That fixed it for me.

There is also call to notify_save() above that, but that call effectively does nothing because will_save_notify defaults to False in the CodeEditor constructor.  Also because it looks like PyLS isn't coded to respond to the willSave request.  PyLS is, however, configured to respond to didSave, which calls the linter.
I'd recommend updating notify_save method in the CodeEditor to submit a didSave request instead of willSave.  And either remove the if will_save_notify wrapper  or make it default to True.

Thanks @emanspeaks for digging into this one! Could you prepare a PR with your recommendations? Thanks!

@ccordoba12 just an updated, I have been working on this.  I have a number of LSP-related updates I am trying to gather up into one PR once I get everything working.

Thanks a lot for your help!


[HUDI-2758] remove redundant code in the HoodieRealtimeInputFormatUtils.getRealtimeSplits

…ls.getRealtimeSplits
Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
remove redundant code in the HoodieRealtimeInputFormatUtils.getRealtimeSplits.
Verify this pull request
exist UTs,
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@danny0405  could you help me review this pr , thanks.
HUDI-2086  has split the read log of incremental query and realtime query.
when we create HoodieRealtimeFileSplit for realtime query,  no need to add extra logical deal with BaseFileWithLogsSplit; original logcial can cover that case.


Update fishy version to 0.4.4

Have this version bump in for the next round of features & fixes

no need for this, I usually update the version code with major changes.. Thanks anyways

Reopened because 0.4.4 is almost ready


Possible performance issue: cov_matrix_constrain works in row-order on a column-major matrix

Description
This is not a bug, but it might be responsible for a fair number of cache misses if the matrix is large enough. The function in question is stan/math/prim/fun/cov_matrix_constrain.hpp, although the pattern may repeat. This function takes the internal unconstrained representation of a covariance matrix and returns an actual covariance matrix.
The problem is that the key loop looks like this:
  Matrix<value_type_t<T>, Dynamic, Dynamic> L(K, K);
  // stuff
  const Eigen::Ref<const plain_type_t<T>>& x_ref = x;
  int i = 0;
  for (Eigen::Index m = 0; m < K; ++m) {
    L.row(m).head(m) = x_ref.segment(i, m);
    i += m;
    L.coeffRef(m, m) = exp(x_ref.coeff(i++));
    L.row(m).tail(K - m - 1).setZero();
  }

The problem is that the type Matrix<value_type_t<T>, Dynamic, Dynamic> is a matrix stored in column major order (this is the default option in Eigen and the ordering for which they "guarantee" that their algorithms work, so we don't want to change this). This means that when the matrix is flattened to a 1D array internally, it stores the whole of the first column, then the whole of the second column, etc etc.
Hence it is cache efficient to access the matrix by going down the columns and can be quite inefficient to access it by going along the rows. Unfortunately, that loop goes along the rows.
I don't have the time or capacity to check this right now (sorry), but for big models that use covariance matrices, there's probably a good efficiency gain to get from this.
This whole thing is a bit of a mess and, I would guess, at least partly related to an early implementation of the reverse mode AD for the cholesky that followed Giles and used row-major operations (this code is currently only used for small matrices). It is also likely a thing because C/C++ arrays are stored in row-major order. (Here Eigen is following the Fortran standard.) Basically matrices are always a mess.
This means that instead of doing the ldlt decomp as A = L * D * L' (L is lower triangular) the internal parameterisation uses A = U' * D * U (U is upper triangular). This is in all of the positive definite constraints. (search the code for .matrixU() and anything that uses math/stan/math/prim/fun/factor_U.hpp.
This is likely to be a bit of an ordeal to change, so definitely do some speed tests firsts (ie do not ever ever ever trust me). But lower triangular matrices definitely make more sense when working in column major order.

I've tried fixing this before but as you say I found that the vector representing the covariance matrix comes in via row major order so this would also need a change at the Stan repo level. So an x input comes in like
X:
       1
       2
      -3
     1.7
     9.8
   -12.2
0.399994
     0.2
     1.2
 2.70001

Turns into an L (before exp on the diagonal) like
L:
       1        0        0        0
       2       -3        0        0
     1.7      9.8    -12.2        0
0.399994      0.2      1.2  2.70001

In the code gen we have (simplified but real code here)
stan::io::reader<local_scalar_t__> in__(params_r__, params_i__);
// stuff...
Eigen::Matrix<local_scalar_t__, -1, 1> B_in__ = in__.vector((N + ((N * (N - 1)) / 2)));
B = stan::math::cov_matrix_constrain(B_in__, N);

That's really odd to me because doesn't that mean that params_r__ is coming in as row major order? If that's true then I think this effects pretty much any of our matrix constrain / free functions. We would need to have two PRs to fix this. One in math that changes all the constrain/free functions to work column major and another in the Stan repo to change the order of the flat storage for params_r__ and params_i__

At this moment that probably means 3 PRs, as long as we keep stanc2 tagging along, which is for 2.24 at the least (math, stan, stanc3).

Actually where does params_r__ come from? Does this happen when we read in the data?

I think that most of the transformations are handled by the math library.
So if the changes can be made consistently there then it might not be as
much work as you’d think to plug it through the stan repo.
(I found this by trying to work out how reader deals with data and ended
up down a math library rabbit hole.)
I did a little sleuthing and it looks like in an ancient version of the
repo (circa 2013) both lower and upper transforms for correlation matrices
were present (this is before transform.hpp was split up so the code is ...
busy). I didn’t look too carefully but this was the PR
https://github.com/stan-dev/math/commit/f60a39eff985eed2ca7286dfb7624e92df5711e8
(No. I’m not sleeping right now. How could you tell. :p)
On Tue, Jun 30, 2020 at 16:56 Steve Bronder<EMAIL_ADDRESS>wrote:

Actually where does params_r__ come from? Does this happen when we read
in the data?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/math/issues/1954#issuecomment-652038916, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADRICBX4R6KU4UNQYYULIPLRZJGPPANCNFSM4OLXPICA
.

Don't forget rewriting the chapter of the reference manual that details the transforms.
Everything's symmetric here, right?  If we read in column major into an upper triangular matrix, we get the transpose
1 2 1.7  0.3999
0 -3 9.8 0.2
0 0 -12.2 1.2
0 0 0 2.7

Then the row operations become column operations and we wind up with L' instead of L.  Can't we then just use L' * L instead of L * L' to recover the covariance matrix?

This may also work for correlation matrices.  In lower-triangular form, the rows normalize, but in upper-triangular form it'd be the columns.


fix: capture beforeAll hook errors

fix #280
We capture the beforeAll hook errors and any error that happens in any one of the hooks would be captured and all journeys that run on the current invocation will report that error event with failed status to be able to captured as part of the Uptime UI.
afterAll errors behaves the same - we report them in the stderror logs which will be captured by Heartbeat.

:grey_exclamation: Build Aborted

Either there was a build timeout or someone aborted the build.'}

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #316 opened

Start Time: 2021-06-22T22:21:46.221+0000

Duration: 27 min 55 sec

Commit: 9b3f7a74fd107c7599ad068f673f3edd36f34ac9

Test stats :test_tube:

Test
Results

Failed
0

Passed
110

Skipped
0

Total
110

Trends :test_tube:

Log output
Expand to view the last 100 lines of log output

[2021-06-22T22:30:52.743Z]  > git checkout -f 9b3f7a74fd107c7599ad068f673f3edd36f34ac9 # timeout=15
[2021-06-22T22:30:52.778Z]  > git remote # timeout=10
[2021-06-22T22:30:52.782Z]  > git config --get remote.origin.url # timeout=10
[2021-06-22T22:30:52.789Z] using GIT_SSH to set credentials GitHub user @elasticmachine SSH key
[2021-06-22T22:30:52.792Z]  > git merge f52f0bf3d18ca418d1eec4afd1370751fdd914ce # timeout=10
[2021-06-22T22:30:52.823Z]  > git rev-parse HEAD^{commit} # timeout=10
[2021-06-22T22:30:52.832Z]  > git config core.sparsecheckout # timeout=10
[2021-06-22T22:30:52.836Z]  > git checkout -f 07b466ae5f1b62a76b8de63fe2f1d8d0aa1f77f2 # timeout=15
[2021-06-22T22:30:56.359Z] Commit message: "Merge commit 'f52f0bf3d18ca418d1eec4afd1370751fdd914ce' into HEAD"
[2021-06-22T22:30:56.360Z] First time build. Skipping changelog.
[2021-06-22T22:30:56.360Z] Cleaning workspace
[2021-06-22T22:30:56.427Z]  > git --version # timeout=10
[2021-06-22T22:30:56.437Z]  > git --version # 'git version 2.17.1'
[2021-06-22T22:30:56.453Z] fatal: bad object bbed8ab717206e63fa6cc1cef7d35f4a13f717ab
[2021-06-22T22:30:56.362Z]  > git rev-parse --verify HEAD # timeout=10
[2021-06-22T22:30:56.372Z] Resetting working tree
[2021-06-22T22:30:56.372Z]  > git reset --hard # timeout=10
[2021-06-22T22:30:56.387Z]  > git clean -fdx # timeout=10
[2021-06-22T22:30:58.096Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-316/src/github.com/elastic/synthetics
[2021-06-22T22:31:12.413Z] + set +x
[2021-06-22T22:31:12.413Z] => Downloading nvm from git to '/var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-316/.nvm'
[2021-06-22T22:31:12.413Z]
=> Initialized empty Git repository in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-316/.nvm/.git/
[2021-06-22T22:31:12.982Z] From https://github.com/nvm-sh/nvm
[2021-06-22T22:31:12.982Z]  * [new tag]         v0.37.1    -> v0.37.1
[2021-06-22T22:31:12.982Z] => Compressing and cleaning up git repository
[2021-06-22T22:31:12.982Z]
[2021-06-22T22:31:13.242Z] => Profile not found. Tried ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.
[2021-06-22T22:31:13.242Z] => Create one of them and run this script again
[2021-06-22T22:31:13.242Z]    OR
[2021-06-22T22:31:13.242Z] => Append the following lines to the correct file yourself:
[2021-06-22T22:31:13.242Z]
[2021-06-22T22:31:13.242Z] export NVM_DIR="$HOME/.nvm"
[2021-06-22T22:31:13.242Z] [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[2021-06-22T22:31:13.242Z]
[2021-06-22T22:31:14.622Z] => Close and reopen your terminal to start using nvm or run the following to use it now:
[2021-06-22T22:31:14.622Z]
[2021-06-22T22:31:14.622Z] export NVM_DIR="$HOME/.nvm"
[2021-06-22T22:31:14.622Z] [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[2021-06-22T22:31:14.881Z] Installing latest LTS version.
[2021-06-22T22:31:15.141Z] v14.17.1 is already installed.
[2021-06-22T22:31:15.141Z] Now using node v14.17.1 (npm v6.14.13)
[2021-06-22T22:31:15.513Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-316/src/github.com/elastic/synthetics
[2021-06-22T22:31:15.830Z] + chmod -R ugo+rw examples
[2021-06-22T22:31:15.855Z] Running in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-316/src/github.com/elastic/synthetics/__tests__/e2e
[2021-06-22T22:31:16.169Z] + npm run test
[2021-06-22T22:31:16.169Z]
[2021-06-22T22:31:16.169Z] > e2e-synthetics@ test /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-316/src/github.com/elastic/synthetics/__tests__/e2e
[2021-06-22T22:31:16.169Z] > npm i && npm run setup &&  bash scripts/test.sh
[2021-06-22T22:31:16.169Z]
[2021-06-22T22:31:19.462Z] added 3 packages from 4 contributors and audited 178 packages in 2.383s
[2021-06-22T22:31:21.368Z]
[2021-06-22T22:31:21.368Z] 66 packages are looking for funding
[2021-06-22T22:31:21.368Z]   run `npm fund` for details
[2021-06-22T22:31:21.368Z]
[2021-06-22T22:31:21.368Z] found 1 moderate severity vulnerability
[2021-06-22T22:31:21.368Z]   run `npm audit fix` to fix them, or `npm audit` for details
[2021-06-22T22:31:21.368Z]
[2021-06-22T22:31:21.369Z] > e2e-synthetics@ setup /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-316/src/github.com/elastic/synthetics/__tests__/e2e
[2021-06-22T22:31:21.369Z] > bash scripts/setup.sh
[2021-06-22T22:31:21.369Z]
[2021-06-22T22:31:21.628Z]
[2021-06-22T22:31:21.628Z] Temporary folder
[2021-06-22T22:31:21.628Z] Temporary files will be stored in: ./tmp
[2021-06-22T22:31:21.628Z]
[2021-06-22T22:31:21.628Z] Starting elasticsearch , kibana and synthetics docker
[2021-06-22T22:31:21.628Z]
[2021-06-22T22:31:21.628Z]
[2021-06-22T22:31:21.628Z] Waiting for synthetics docker to start...
[2021-06-22T22:31:21.628Z] Error: No such object: synthetics
[2021-06-22T22:31:31.610Z] Error: No such object: synthetics
[2021-06-22T22:31:43.832Z] Error: No such object: synthetics
[2021-06-22T22:31:51.954Z] Error: No such object: synthetics
[2021-06-22T22:32:01.949Z] Error: No such object: synthetics
[2021-06-22T22:32:11.929Z] Error: No such object: synthetics
[2021-06-22T22:32:24.142Z] Error: No such object: synthetics
[2021-06-22T22:32:32.268Z] Error: No such object: synthetics
[2021-06-22T22:32:42.262Z] ✅ Setup completed successfully. Running e2e tests...
[2021-06-22T22:32:43.676Z] Waiting for Elastic Search  to start
[2021-06-22T22:33:30.557Z] Waiting for Synthetics to send data to ES for test monitor
[2021-06-22T22:48:28.186Z] Cancelling nested steps due to timeout
[2021-06-22T22:48:28.191Z] Sending interrupt signal to process
[2021-06-22T22:48:37.825Z] scripts/test.sh: line 26:  5023 Terminated              SYNTHETICS_JUNIT_FILE='junit.xml' npx @elastic/synthetics uptime.journey.ts --reporter junit
[2021-06-22T22:48:37.826Z] npm ERR! code ELIFECYCLE
[2021-06-22T22:48:37.826Z] npm ERR! errno 143
[2021-06-22T22:48:37.826Z] Terminated
[2021-06-22T22:48:37.831Z] script returned exit code 143
[2021-06-22T22:48:39.129Z] Post stage
[2021-06-22T22:48:39.163Z] Archiving artifacts
[2021-06-22T22:48:39.322Z] Recording test results
[2021-06-22T22:48:39.442Z] None of the test reports contained any result
[2021-06-22T22:48:39.452Z] [Checks API] No suitable checks publisher found.
[2021-06-22T22:48:39.711Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-22T22:48:39.749Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-22T22:48:39.825Z] Stage "Release" skipped due to earlier failure(s)
[2021-06-22T22:48:40.565Z] Running on Jenkins in /var/lib/jenkins/workspace/nt-rum_elastic-synthetics_PR-316
[2021-06-22T22:48:40.643Z] [INFO] getVaultSecret: Getting secrets
[2021-06-22T22:48:40.691Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-22T22:48:41.597Z] + chmod 755 generate-build-data.sh
[2021-06-22T22:48:41.597Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-316/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-316/runs/1 ABORTED 1615105
[2021-06-22T22:48:41.597Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-rum/elastic-synthetics/PR-316/runs/1/steps/?limit=10000 -o steps-info.json


Move the "key data" (on locality tab the locality, on species tab the species etc.) on the Details view to a clearer place

#149
This also applies for the species, references and the time-units tabs.

Just a reminder that this is still an open issue. More key data could be better shown. See PHP-version for reference


[Secure Logins] Only Reveal Contact Info to Known Users

Part of "Secure Logins in EChat" project
Section of doc: Only Revealing Data to Known Users
Goals:

Flagging Unknown Users in Auth
Updating Personal Details Object in Web
Stop sending public room personal details unnecessarily

@Beamanator anything I can do to help keep this moving? :)

Adding deploy blocker as we want this added into the next release

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Pr was merged, removing deploy blocker label

Hey team! I'm just adding a note that I'll be OOO until June 26th. I don't think any bug0 team actions will come up this week but if you need a bug0 teammate while I'm gone, please reapply the label! Thanks.

All related changes are in prod now, will keep this open a few more days then we can close!

I think it's safe to go ahead and call this done!


When Holding a Ranged Weapon (Armed Crossbow) Or Drawing One (Bow) Zoom In

When the player is holding a weapon like a drawn bow or a loaded crossbow (Compatibility could be determined if Fabric or Forge has a standard class for this) , the camera zooms in closer to the player like many games with this camera perspective do. Similar to how Leawind's Third Person does it.

Thanks for the suggestion. This can already be done using the config option camera.offset.multiplier.aiming.multiplier_offset_z.


Updating dependencies

herculesteam-augeasprovides_shellvar has been updated to 3.0.0

Released in 2.1.2


Missing ergoc.native when install ergo-cli from npm

Symptom
$ npm install @accordproject/ergo-cli -g
npm WARN deprecated<EMAIL_ADDRESS>Use mz or fs-extra^3.0 with Promise Support
/usr/local/bin/ergo -><EMAIL_ADDRESS>/usr/local/bin/ergoc -><EMAIL_ADDRESS>/usr/local/bin/ergop -><EMAIL_ADDRESS>npm ERR! path<EMAIL_ADDRESS>npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod<EMAIL_ADDRESS>npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Version
Ergo: 0.0.48
npm: 6.0.1
node: 8.11.1

Resolved in<EMAIL_ADDRESS>in npm registry


bug: Markdown Fenced code not highlighted

Did you check docs and existing issues?

[X] I have read all the tokyonight.nvim docs
[X] I have searched the existing issues of tokyonight.nvim
[X] I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)
0.8.0
Operating system/version
Mac
Describe the bug
I've been doing a lot of markdown lately and seems like all of my code inside of fences is not getting highlighted properly. This occurs with either typescript/tsx/go
I do have the parsers installed in TS (markdown and typescript/go) and by running some queries i can see it's selected properly so it's not a TS problem
Seems like the theme is overriding the highlight colors, If i disable the theme everything is highlighted properly but of course it uses the default look which is hideous.
The documentation shows this theme has support for TS so i'm wondering where in the configuration do i need to enable that or does it work out of the box?
Steps To Reproduce

Open a markdown file
Write something in fenced

<something something>

Code is not highlighted correctly

Expected Behavior
If we need to setup custom highlight groups for everything in a code fence it would be a good idea to mention that in the documentation in my opinion.
Repro
\

Sorry, but this is not Tokyonight. Are you 100% sure your are using treesitter in the markdown buffers? Also make sure you have markdown_inline installed.
Closing this, since TN works perfectly fine with markdown code blocks.

Off work now so i can add more details.
Yeah positive i have the TS parsers
markdown          [✓] installed
markdown_inline   [✓] installed

File is detected properly by the LSP as well. From LSPInfo:
Detected filetype:   markdown

Here's an example of some typescript within my markdown file with the theme enabled
![image](https://user-images.githubusercontent.com/20586114/218596024-7f23dd5c-4446-4b10-a38c-93a35db12748.png)

And here's how it looks like with that colorscheme commented.
![image](https://user-images.githubusercontent.com/20586114/218596429-5e896c68-f371-4618-a674-7b33d5fdc7bc.png)

Something in the highlight groups is not working.
Happy to provide more info.

have the same problem with catpuccin or gruvbox so its something in my configuration...

Glad you got it working!


[style]: Redesign Docs Page

What's the style idea?
Redesigning the Docs Page will be better so as to make it eye-catching.
I would like to redesign this !!
Plz Assign me this Issue !!
I am a GSSOC'23 Contributor.
Add screenshots
Add screenshots
Code of Conduct

[X] I agree to follow this project's Code of Conduct

duplicate of https://github.com/priyankarpal/ProjectsHut/issues/333


HttpException: , uri = https://xxxxxxxx/ URL

New Issue Checklist

[ ] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
e.g. flutter / ios / android

Platform Version
e.g.  1.5.0 / 12.0 / 9.0

Dio Version
e.g.  2.1.0 / 1.0.17

Android Studio / Xcode Version
e.g. Android Studio 3.3.2 / Xcode 10.2.1

Repro rate
e.g. all the time (100%) / sometimes x% / only once

used in another flutter project in 2019
and it worked, using the azure application service
But now only fear this error and not
constant
(HttpException: , uri = https://xxxxxxxx/ URL)
String _path = 'assets/cetificate.pfx';
Uint8List fileAas = (await rootBundle.load(_path)).buffer.asUint8List();
SecurityContext securityContext = SecurityContext();
securityContext..setTrustedCertificatesBytes(fileAas!, password: 'xxxx');
HttpClient httpClient = HttpClient(context: securityContext);
*** DioError ***:
I/flutter (19668): uri: https://xxxxxxxxxxxxxxxxxx/
I/flutter (19668): DioError [DioErrorType.other]: HttpException: , uri = https://xxxxxxxxxxxxxxxxxx/
I/flutter (19668): #0      DioMixin.assureDioError (package:dio/src/dio_mixin.dart:819:20)
I/flutter (19668): #1      DioMixin._dispatchRequest (package:dio/src/dio_mixin.dart:678:13)
I/flutter (19668):
I/flutter (19668): #2      DioMixin.fetch.. (package:dio/src/dio_mixin.dart)
I/flutter (19668):
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

I also encountered the same problem frequently. I'm not sure whether it's the DIO problem or the server problem

@damonZDM Where you able to figure the problem?

same here


Linux: require('auto-updater') throws

This is a regression from how it worked before, I could require the auto-updater module on Linux and it would not throw. With 0.34.1 I see the following error right from the require call:
Error: auto-udpater is not implemented on this platform

Don't do that then

So why was it possible in the first place then if not functional?

Seems a bit harsh to throw from a require call and the previous way was a nice no-op impl. But the workaround is to not require it. I still preferred the way it worked before.

Thanks!


integrate AFBuffer into this library

It won't be neccessay to install AFBuffer library.
For one previous project, I used Adafruit_SSD1306, which supply simple APIs to display strings and bitmap.
I look forward to this library becoming more powerful!

The idea was to be able to have a hardware independent frame buffer to render some things in advance.
You can use AFBuffer with SSD1306, you render something in the memory and then copy it to the hardware. I used it this way here: https://github.com/bartoszbielawski/InfoClock32/blob/master/src/displayTask.cpp#L94
Is there any other reason why I should merge the two libraries?

@bartoszbielawski Thanks for your explaination.
I think that class LEDMatrixDriver inherits from GFXcanvas1 may be better.
class LEDMatrixDriver: public GFXcanvas1

Inheriting from GFXCanvas1 forces us to use the internally malloc-allocated buffer. My code allows us to use an external buffer. GFXCanvas1 inherits from the Adafruit_GFX anyway...


Voice definition optimization

It a little optimization just to test my access.
Voice definition loop are running every time at speak function. But the voice
will not change between speaks, so I move the voice definition to text_to_speech initialization reducing loops.

Selecting the voice each time speak() is called is a feature to allow recipes that wish to change the voice while the recipe is running.  I have a separate optimization in this PR to hard-code the TTS voice that is used, which avoids looping over _ttsVoices.  Closing this PR w/o merge because it duplicates the other PR (which will be merged later today).

Ok.


New repositories have all pull request options disabled.

We recently updated gitea. One of the new features this introduced is the option to disable specific pull request merge strategies (merge, rebase, squash).
All old repositories have all of these options available. However, every new repository we create has all of them disabled. I also couldn't find a way to set defaults globally.
We have quite a few repositories, so manually having to enable these options is rather a nuisance. Did I miss something? If not I believe that a global default for this would be very useful. Alternatively, simply having them all enabled by default is also good for us.

Do you create that form UI or API?

This was directly from the web interface. I didn't try with the API.

I have used the API with the same results, and I haven't been able to find an API endpoint to change it.

You have to change it on the UI currently as I know.

Would it be an option to simply set the defaults to true until someone has the time to implement configurable defaults? It would improve usability a lot for me.
I wanted to submit a PR for this, but I got quite confused by Go, and I don't have the time to learn it sadly. But I imagine changing a default is a simple patch?

@lafriks: awesome, thanks! :+1: And @lunny for the quick review.


Bug report: The program crashes on MacOS, when I press and hold the keys on the keyboard, it appears randomly

Hi, i find some issue, the program crashes  when I press and hold the keys on the keyboard, it appears randomly
my computer is MacOS M1 version
the crashes log down below.
  File "/Users/chrischou/GameStudio/PyCityHunter/main.py", line 55, in <module>
    app.run()
  File "/Users/chrischou/Library/Python/3.9/lib/python/site-packages/pyglet/app/__init__.py", line 107, in run
    event_loop.run()
  File "/Users/chrischou/Library/Python/3.9/lib/python/site-packages/pyglet/app/base.py", line 170, in run
    platform_event_loop.step(timeout)
  File "/Users/chrischou/Library/Python/3.9/lib/python/site-packages/pyglet/app/cocoa.py", line 147, in step
    event_type = event.type()
  File "/Users/chrischou/Library/Python/3.9/lib/python/site-packages/pyglet/libs/darwin/cocoapy/runtime.py", line 1009, in __getattr__
    raise AttributeError('ObjCInstance %s has no attribute %s' % (self.objc_class.name, name))
AttributeError: ObjCInstance b'__NSSingleObjectArrayI' has no attribute b'type'

hope it helps😄

I found the factor that triggered this bug. As long as I keep sliding the image left and right (press and hold the left and right buttons to move the image), I will find that the image has dropped frames, and then it will crash and exit soon.

Thanks for opening the ticket.
If possible, can you show a small code example that will trigger the issue?

Thanks for opening the ticket.
If possible, can you show a small code example that will trigger the issue?

Hi, it’s me. Yesterday I raised the problem of gaps in two pictures in help1 in discord. That code（GameExample.zip） is the code that triggers the bug.

For convenience, I put it on GitHub
https://github.com/ChrisChou-freeman/PygletGameExample

According to https://developer.apple.com/documentation/appkit/nsapplication/1428485-nexteventmatchingmask, where the event comes from (as well as send_super function)
It should only return a NSEvent which is guaranteed to have a type. NSSingleObjectArrayI isn't even mentioned anywhere in the current code base.

This should be fixed with the new alternate event loop. If the problem occurs again, let us know with the latest pyglet and a new ticket.

 File "/Users/qifangfang/anaconda3/envs/easymocap/lib/python3.9/site-packages/pyrender/platforms/pyglet_platform.py", line 50, in init_context     self._window = pyglet.window.Window(config=conf, visible=False,   File "/Users/qifangfang/anaconda3/envs/easymocap/lib/python3.9/site-packages/pyglet/window/cocoa/__init__.py", line 49, in __init__     super().__init__(width, height, caption, resizable, style, fullscreen, visible, vsync, file_drops, display,   File "/Users/qifangfang/anaconda3/envs/easymocap/lib/python3.9/site-packages/pyglet/window/__init__.py", line 536, in __init__     config = screen.get_best_config(config)   File "/Users/qifangfang/anaconda3/envs/easymocap/lib/python3.9/site-packages/pyglet/canvas/base.py", line 162, in get_best_config     configs = self.get_matching_configs(template)   File "/Users/qifangfang/anaconda3/envs/easymocap/lib/python3.9/site-packages/pyglet/canvas/cocoa.py", line 59, in get_matching_configs     return template.match(canvas)   File "/Users/qifangfang/anaconda3/envs/easymocap/lib/python3.9/site-packages/pyglet/gl/cocoa.py", line 184, in match     pixel_format = NSOpenGLPixelFormat.alloc().initWithAttributes_(attrsArray)   File "/Users/qifangfang/anaconda3/envs/easymocap/lib/python3.9/site-packages/pyglet/libs/darwin/cocoapy/runtime.py", line 1109, in __getattr__     raise AttributeError('ObjCInstance %s has no attribute %s' % (self.objc_class.name, name))

@qiffang Can you try with pyglet==2.0.17


jpn lang recognize error

tesseract will recognize digit '1' to char 'ー'

this image will be recognize to "20ー4"

@sxch775
It is caused by  jpn.unicharambigs (line 23?).
So, you may fix this file, and substitute it.

extract jpn.unicharambigs file( or github ).

$ combine_tessdata -e tessdata/jpn.traineddata jpn.unicharambigs

edit jpn.unicharambigs
ref. https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract#the-last-file-unicharambigs
substitute

$ combine_tessdata -o tessdata/jpn.traineddata jpn.unicharambigs

use new jpn.traineddata

If you want more accuracy, you can see my pull request fix wrong type indicator(for jpn) by atuyosi · Pull Request #17 · tesseract-ocr/langdata · GitHub
Thanks.

do it will be fixed in next release?

where can i download the tessreact 3.04 excuteable file for windows

@sxch775 Why did you close this issue?  Have you resolved the problem on your own?  It looks like @atuyos 's pull request is still open and hasn't been merged yet.


task/i80 - container fix for copilot-hunter

Fixes #80

Tested with several container rebuilds, should be ok


New version: SomePythonThings.WingetUIStore version 3.1.0

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/azp run

@i0ntempest, this is a duplicate kindly close:
https://github.com/microsoft/winget-pkgs/pull/161285


Add galaxy drawing code

Here I fix a small bug in the original pyproject toml and add code to draw bulge+disk galaxies.
If this "functional" approach looks ok to others, I can proceed to add PSF, noise, background, etc.

Closes #2
Closes #3
Closes #9

$ flit install -s --deps all
license field should be <class 'dict'>, not <class 'str'>

^^'

I'm merging this now, thanks everyone for reviews. I will add a small catalog to tests this next


GUACAMOLE-525: Fix issues with SQL Server compatibility

Fixes a couple of issues reported with SQL Server compatibility and the lack of support for the LIMIT keyword.

@mike-jumper Anything else that needs fixing here?

Looks good to me. Will merge shortly.


package request: s3cmd 2.x

https://github.com/s3tools/s3cmd
http://s3tools.org/download

s3cmd 2.0.1 should be available now.
packages are:
py27-s3cmd
py34-s3cmd
py35-s3cmd
py36-s3cmd


fix(build): Do not minify OpenNext bundles

This is required to apply string replacement patches.
Fixes https://github.com/opennextjs/opennextjs-cloudflare/issues/143

Thanks for the review!


en.js missing in mediaelement/build/lang/

Should be in there or am I missing something?

As far as I understand looking at Grunt.js:
https://github.com/mediaelement/mediaelement/blob/master/Gruntfile.js
src/js/languages/en.js is used to build file build/mediaelement-and-player.js (using "concat")


SASS-1067 - Added additional data items in employment models

Description
Please include a brief summary of the change you've made and the issue that it fixes.
Add a link to the relevant story in Jira
https://jira.tools.tax.service.gov.uk/browse/SASS-1067
Checklist PR Reviewer
Before Reviewing

[x]  Have you pulled the branch down?
[x]  Have you assigned yourself to the PR?
[x]  Have you moved the task to “in review” on JIRA?
[x]  Have you checked to ensure all dependencies are up to date?
[x]  Have you checked to ensure its been rebased against the current version of master?

Whilst Reviewing

[ ]  Have you run the tests?
[ ]  Have you run the journey tests?
[ ]  Have you looked at the JIRA story to make sure all Acceptance Criteria has been met?

After Reviewing

[ ]  Have you checked for merge conflicts or any changes in the current master that may affect the current pull request? i.e. does it need another rebase?
[ ]  Have you checked to make sure there are no builds in the pipeline before you merge?
[ ]  Have you moved the task to “in pipeline” on Jira?

[x]  Have you rebased against the current version of master?
[x]  Have you checked code coverage isn’t lower than previously?

After PRs been raised

[x]  Have you checked the PR Builder passes?

You might need to address some of these dependencies, a lot are behind


Loading Bundles method name is incorrect

The documentation at http://mleap-docs.combust.ml/mleap-runtime/bundle.html says the method is loadBundle but the method name is loadMleapBundle in MleapSupport

Fixed this, also found a similar bug with our Spark deserialization documentation.
Thank you!


[eas-cli] Replace promptToCreateProjectIfNotExistsAsync with getProjectIdAsync

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
This is inconsistent with the rest of the CLI commands which just create the project automatically.
How
Remove code and replace with equivalent code. All cases here used to throw if the user declined. Now they throw only if the user is not logged-in or on the internet.
Test Plan
In a project that is not yet linked, run ~/expo/eas-cli/packages/eas-cli/bin/run credentials, generate android keystore and see that it is created on the server and linked.

/changelog-entry bug-fix Replace promptToCreateProjectIfNotExistsAsync with getProjectIdAsync


Server Maintence Windows loose sync.

Brief Description:
When switching/editing the server list the window will sometimes not redisplay the edit server settings part. Instead the server selection windows is displayed at the bottom. See attached.
Operating System (OS and version): Ubuntu  16.04
OpenBazaar version (shown on About OpenBazaar page in menu):  1.1.5
Hardware:  virtualbox
Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce): Always
Steps to reproduce:

Open server configurations
Switch between various servers, randomly selecting edit.
Get the situation in the screencap

Observed Behavior:
Expected Behavior:
Additional info (links, images, etc go here):
Attached screen shot.

@rmisio can you take a look at this?

no doubt.

This has been fixed.


feat(storybook): language word-break

Related Ticket(s)
#2224
Description
In storybook using a DBCS language such as Korean or Japanese, lines wrap in the middle of words.

Changelog
New

word-break: keep-all styles

Hey @ariellalgilmore , just checking if we want to keep this open or close for now and do further investigation? Not sure if there's an easy fix around this or not?

Hey @ariellalgilmore , just checking if we want to keep this open or close for now and do further investigation? Not sure if there's an easy fix around this or not?

Hey @ariellalgilmore , just checking if we want to keep this open or close for now and do further investigation? Not sure if there's an easy fix around this or not?

Hey @jeffchew! I think it makes sense to close for now. @asudoh and I discussed and believe it actually makes sense to be application specific.

Hey @ariellalgilmore , just checking if we want to keep this open or close for now and do further investigation? Not sure if there's an easy fix around this or not?

Hey @jeffchew! I think it makes sense to close for now. @asudoh and I discussed and believe it actually makes sense to be application specific.


[Phase 4] Build user profile page UI

Please fill in steps

@hmc-cs-dwang  Doing it now. Will commit in a moment

Done


Implement Get Instances keyword

Implement the keyword Get Instances

Actually, the already existing keyword get all active process instances already uses this endpoint. We could just move the implementation to a generic keyword and let the old keyword call the generic keyword with certain parameters


3.0 Deprecation Warnings: Remove deprecated featurizers

Background
These warnings were found in:

rasa.core.featurizers.single_state_featurizer.py:L382, L410

"f""'{self.__class__.__name__}' is deprecated and ""
f""will be removed in Rasa Open Source 3.0.0. ""
f""It is recommended to use the '{SingleStateFeaturizer.__name__}' instead."""

rasa.nlu.utils.hugging_face.hf_transformers.py:L66

"f""'{self.__class__.__name__}' is deprecated and ""
f""will be removed in the future. ""
 f""It is recommended to use the '{LanguageModelFeaturizer.__name__}' instead."""

Definition of Done:

[ ] resolve warnings in 3.0 version
[ ]  Removed the deprecated featurizers from the codebase.
[ ] Added a changelog entry for 3.0 saying we've removed the previously deprecated featurizers
[ ] Removed the references in the docs

Since tokenization and featurization tests are tightly coupled, I'm removing rasa/nlu/utils/hugging_face/hf_transformers.py as part of https://github.com/RasaHQ/rasa/pull/9120/ .


Don't escape brackets in code in Quickbook output

fix #69

One of the two fixes in this pull request addressed a rather nasty regression (reported in issue #69). It was being exploited 50+ times in the JSON project and 20+ times in the Beast project.

I see no issues in beast docs when applying this PR. Are you able to point me to an example of the problem so I can check it´s fixed?

@madmongo1 I see BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE in the docs, users will probably get confused by this. What is the purpose of this macro? Do we want to redefine it for generating docs (perhaps to the empty string)? What does it look like rendered in asio?

Actually, I will squash these commits into a single commit and open a new pull request to be safe...


How to specify non-zippy applicatives like []?

I'm having trouble understanding how I'd specify the instances for data types that are free monads, where applicative operations result in cartesian products of their arguments. Examples would be the list type [] or also the main data type from algebraic-graphs, which is a bit more interesting for having multiple sums:
data Graph a = Empty | Vertex a | Overlay (Graph a) (Graph a) | Connect (Graph a) (Graph a)

This data type is isomorphic to
type Graph' = FreeT
    {- f -} (Product Identity Identity)
    {- m -} (FreeT
        {- f -} (Product Identity Identity)
        {- m -} (MaybeT Identity))

and has an equivalent Applicative instance.

You might be interested in https://www.reddit.com/r/haskell/comments/wyg656/can_the_free_monad_be_deconstructed_as_the_sum_of/, it's likely not possible without adding new features to the library


Visualization is not grouping documents by metadata value.

Hi,
The html visualization is having trouble grouping documents by their metadata values.  Is there a way to fix this?
Steps to Reproduce
I'm working with a pandas dataframe with 2233 rows of small document text data and a category variable with 12 values.
Run:
html = st.produce_scattertext_explorer(corpus,
category='positive',
category_name='Positive',
not_category_name='Negative',
width_in_pixels=1000,
metadata=corpus.get_df()['reasonFactor'])
Metadata:
Name: reasonFactor, Length: 2233, dtype: category
Categories (12, object): [...]
Expected behavior
Error Example: The blue values repeat categorical variables and documents instead of grouping them.

Correct behavior example from scattertextREADME.md

Scattertext version 0.1.9):
OS: Windows
Python version: 3.8.13

There's no functionality to group multiple documents together in the context display. The example from readme shows results different matches for the word "we" in the same document.
If you'd like Scattertext to display results differently, I'm happy to review a PR with the change.