[Bug] fern check reports false warnings on parameters of type array

Describe the bug
fern check reports false warnings when openapi.yaml defines a parameter of array type
To reproduce

Run fern check on a project with the openapi.yaml file below
See the same warning twice in output. One is for docs, one is for api, but both concern the array parameter: Expected a primitive example but got array for query parameter ids for DELETE /v2/conversations

openapi: 3.0.0
info:
  title: Dummy API
  version: 1.0.0
paths:
  /v2/conversations:
    delete:
      operationId: deleteConversations
      parameters:
        - name: ids
          in: query
          required: true
          style: form
          explode: false
          schema:
            type: array
            items:
              type: integer
      responses:
        '204':
          description: Conversations deleted successfully.

Expected behavior
No warnings emitted by fern check
CLI Version
0.43.5

@dsinghvi Is there a way to suppress warnings until this is fixed, so we can declutter output from fern docs dev?


bump org.liquibase:liquibase-core:4.5.0 to org.liquibase:liquibase-core:4.8.0

BACKEND PULL REQUEST
Related Issue

Why is this being done? Link to issue, or a few sentences describing why this PR exists

Changes Proposed

Detailed explanation of what this PR should do

Additional Information

decisions that were made
notice of future work that needs to be done

Testing

How should reviewers verify this PR?

Checklist for Primary Reviewer

[ ] Any large-scale changes have been deployed to test, dev, or pentest and smoke tested
[ ] Any content updates (user-facing error messages, etc) have been approved by content team
[ ] Any changes that might generate questions in the support inbox have been flagged to the support team
[ ] GraphQL schema changes are backward compatible with older version of the front-end
[ ] Changes comply with the SimpleReport Style Guide
[ ] Changes with security implications have been approved by a security engineer (changes to  authentication, encryption, handling of PII, etc.)
[ ] Any dependencies introduced have been vetted and discussed

DATABASE PULL REQUEST
Related Issue

Why is this being done? Link to issue, or a few sentences describing why this PR exists

Changes Proposed

Detailed explanation of what this PR should do

Additional Information

decisions that were made
notice of future work that needs to be done

Testing

How should reviewers verify this PR?

Checklist for Primary Reviewer

[ ] Only database changes are included in this PR
[ ] Any new tables or columns that do not contain PII are accompanied by a GRANT SELECT to the no-PHI user
[ ] Any changes to tables that have custom no-PHI views are accompanied by changes to those views (including re-granting permission to the no-PHI user if need be)
[ ] Each new changeset has a corresponding tag
[ ] Rollback has been verifed locally and in a deployed environment

DEVOPS PULL REQUEST
Related Issue

Why is this being done? Link to issue, or a few sentences describing why this PR exists

Changes Proposed

Detailed explanation of what this PR should do

Additional Information

decisions that were made
notice of future work that needs to be done

Testing

How should reviewers verify this PR?

Checklist for Primary Reviewer
Infrastructure

[ ] Consult the results of the terraform-plan job inside the "Terraform Checks" workflow run for this PR. Confirm that there are no unexpected changes!

Security

[ ] Changes with security implications have been approved by a security engineer (changes to  authentication, encryption, handling of PII, etc.)
[ ] Any dependencies introduced have been vetted and discussed

Cloud

[ ] Oncall has been notified if this change is going in after-hours
[ ] If there are changes that cannot be tested locally, this has been deployed to our Azure test, dev, or pentest environment for verification

FRONTEND PULL REQUEST
Related Issue

Why is this being done? Link to issue, or a few sentences describing why this PR exists

Changes Proposed

Detailed explanation of what this PR should do

Additional Information

decisions that were made
notice of future work that needs to be done

Testing

How should reviewers verify this PR?

Screenshots / Demos

For large changes, please pair with a designer to ensure changes are as intended

Checklist for Author and Reviewer
Design

[ ] Any UI/UX changes have a designer as a reviewer, and changes have been approved
[ ] Any large-scale changes have been deployed to test, dev, or pentest and smoke-tested by both the engineering and design teams

Content

[ ] Any content changes have been approved by content team

Support

[ ] Any changes that might generate new support requests have been flagged to the support team
[ ] Any changes to support infrastructure have been demo'd to support team

Security

[ ] Changes with security implications have been approved by a security engineer (changes to  authentication, encryption, handling of PII, etc.)
[ ] Any dependencies introduced have been vetted and discussed

solves liquibase vuln but has functional differences.  Postponed.


Access Modifiers – confusing terminology (type, member)

public: The type or member can be accessed by any other code in the same assembly or another assembly that references it. The accessibility level of public members of a type is controlled by the accessibility level of the type itself.
private: The type or member can be accessed only by code in the same class or struct.
protected: The type or member can be accessed only by code in the same class, or in a class that is derived from that class.
internal: The type or member can be accessed by any code in the same assembly, but not from another assembly.
protected internal: The type or member can be accessed by any code in the assembly in which it's declared, or from within a derived class in another assembly.
private protected: The type or member can be accessed only within its declaring assembly, by code in the same class or in a type that is derived from that class.

When type is declared nested in another type it is considered to be member thus these definitions are rather confusing. Moreover top-level type is member of namespace.
Maybe chapter could note that member is everything . Then discussing just member rules.

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

ID: 8121f526-cfe4-091d-d031-2cdc274cd8ee
Version Independent ID: 76a389f6-b568-3568-6483-6df440f96f0c
Content: Access Modifiers - C# Programming Guide
Content Source: docs/csharp/programming-guide/classes-and-structs/access-modifiers.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks @Uzivatel919
This description should probably follow the description in the standard: §8.5.2  Declared accessibility


Security issue in Plugins

There is a big security issue, that allows any plugin to access globals()
Won't mention details here

Closing this as current plugin system is not up to date anymore and is going to be replaced very soon


[Color Picker] Add an Option to Show Color Name and Hue in the Color Picker

📝 Add an Option to Show Color Name and Hue in the Color Picker
For color-blind folks such as myself, the color picker is extremely helpful so I can make design choices that make sense for people who see the world normally. However, a feature that the color picker is lacking is the ability to also put the color in human-readable terms. I often have to look up HEX and RGB values to find out if the color I'm working with is the color I think it is. Often it is not. Here is a quick mockup of what this feature might look like.

Having both the color name and hue is extremely helpful, especially since quite a few color names don't reference their hue family. A color such as Razzmatazz belongs to the Red hue family, but the association isn't as obvious for color-blind individuals. A tool that shows this can be found here.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

A will take a look at this when i work on #7361

Tracking by main Issue: #5379

The color name is matched to one of the following main color hues: Red, Orange, Yellow, Green, Blue, Violet, Brown, Black, Grey, and White.

@Halkenguard Is there a table, list, etc. where i can find the hue areas for the base colors?
I have not enough energy and time to test any possible color combination to find the hue name

Hue is not done, name is.  tracked by #8553


[ci] invalidate breaking change cache

Motivation
Invalidate breaking-change cache in CI after gh org move. For context, see #breaking-change channel.
Cache needs to be manually invalidated by renaming the key according to https://circleci.com/docs/2.0/caching/
Test Plan
Canary in CI
First run results cache miss, and it triggers breaking change test and fails as expected - https://app.circleci.com/pipelines/github/diem/diem/35629/workflows/dd9d55a7-31de-404e-b67f-deff2bddba7e/jobs/261837
Re-run of the workflow results cache hit, and the test is skipped  - https://app.circleci.com/pipelines/github/diem/diem/35629/workflows/f84b13f3-2565-4bc8-a040-47ebf4b2bfda/jobs/261845

/land


Add FAB feature

Add floating action button for add project action and update java version

Usually f-droid does not include beta/alpha versions of gradle, maybe ask in this case in irc. java 8 itself i think shouldnt be the problem

@Lonami seems that there's no problem with java 8, and sure I'll use .svg file instead .png no worries!

Just to be on the safe side. I have two complaints, the first being this:

Once I completely swipe to the other fragment, the fab is gone, but this empty space is still left there! So when there's a keyboard shown, it looks really odd. Maybe the FAB needs to be GONE and not INVISIBLE. Second complaint, do we need the swipping activity anymore as we have this new button? I thought the point behind adding the button was to remove the tabs ;)
If you remove the tabs and instead use say another activity to enter the details for a repository, you would get rid of the first complaint too as there there would be no FAB. Maybe we can merge "discover" and "enter URL" into a single activity with two tabs, so it could be:

Main screen, single fragment. Only added repositories.
Clicking on the FAB, new screen, two fragments. "Enter URL" one and another tab to "Discover".

Main screen could be the history fragment right @Lonami ?

Uhm yes I think it's called "history". It's just the "history" of repositories (projects) someone has added so far.

I was checked and what you want is not a trivial change, the scope goes much more than just adding a fab button, for that reason I only made the change of visibility, but if you want a refactor of the structure of the app I suggest you divided into two or more specifics features

Shall we merge this one then as a first step?

Yes, but first check if visibility problem was salved with the last commit

Tomorrow will do :)

We should create a feature ticket for develop the new History Activity and another for create a new pager with the two fragments discover and enter url. Sure I will be pending

The FAB issue is gone, thanks!


Questions

Hi,
Just found this great piece of software you wrote!
It basically downloads the mpd file and then ffmpeg downloads/merges the segments, do I understand this correctly?
Also one question: does fidelio see what kind of tool we use (e.g. does your software hide/fake a user-agent? Cookies are obviously necessary to have access).
What did you make write this software?:) its unfortunate that youtube-dsl/yt-dlp doesn’t support the Fidelio website.
on a different Note, I think mezzo.tv uses drm Protection, correct?

Also: maybe adding screenshots to the Readme.md?
Can this software also be run without GUI/installer, just python script from commandline? What is the database.dB for/doing?
I apologize for my noob questions.


How can I contribute a much better CSS for the website?

That 1995 look is in need of some love. The modern and professional look this project deserves.
How can I do that?

https://github.com/jsdoc3/jsdoc3.github.com


kubeadm: add version note in implementation-details.md

implementation-details.md is outdated for k8s 1.11.
Add note that this page applies to k8s 1.10.
The page should be updated for k8s 1.11 in a later stage
in the release cycle.
refs https://github.com/kubernetes/kubeadm/issues/900
/assign @Bradamant3
/cc @kubernetes/sig-cluster-lifecycle-pr-reviews @luxas @timothysc

@Bradamant3

Add feature state shortcode instead

i have made the change.
https://github.com/kubernetes/website/blob/master/content/en/docs/home/contribute/includes/index.md

In a markdown page (.md file) on this site, you can add a shortcode to display version and state of the documented feature.

except that "implementation details" as a whole are not a feature.

@neolit123 yup the feature state flag is problematic here and in at least one other place where I'm trying it out for kubeadm in 1.11. Another item for sig-docs (generally, not just for kubeadm) ... I'll work on a proposal.

/lgtm
/approve


Understanding kani's output

Hello,
Sorry this is not really a feature request, but I could not find any community place where I  could ask this question (so maybe I am requesting the feature to have such a space ?)
I do have the following very simple test case:
#[cfg(kani)]
#[kani::proof]
fn hmm() {
    let v: Vec<u8> = vec![1; 0];
}

That, surprisingly fails (at least surprisingly for me).
SUMMARY:
 ** 1 of 137 failed (4 unreachable)
Failed Checks: memset destination region writeable
 File: "/github/home/.rustup/toolchains/nightly-2024-03-11-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/intrinsics.rs", line 3162, in std::intrinsics::write_bytes::<u8>

But using the concrete-playback option, then using the playback command, everything works.
And I admit I have trouble navigating through the output provided by cargo kani --visualize --enable-unstable.
Is there any documentation that could teach me how to properly read and understand the output of kani with the --visualize argument.
Or if you have any idea of why this test could fail, I would love to know it too.
Thank you very much !

Hi @0xAtticus. Thanks for opening this issue. Opening an issue is the best way to ask a question at the moment :)
This is a known bug in Kani (see https://github.com/model-checking/kani/issues/90): the failure is spurious and is likely due to the usage of a dangling pointer in the vector implementation.
Concrete playback along with your favorite debugger (e.g. lldb) is the recommended approach for debugging traces. In this case, there's nothing to debug because the failure Kani reports is incorrect.
The --visualize option is deprecated, and will likely be removed in the future.

Very clear, thank you very much !


Update cdns.md

Remove inaccurate info.

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

ref: https://github.com/denoland/manual/commit/66a3e58fecbbc25a2d6ad364b37c13b57ffad5dc


Text cutoff on login screen

@rachitmishra

@luke-freeman What device was this seen on?

@rachitmishra @filbabic
Samsung S8.
Not sure about scrollable. Can you cut the text off at a certain point like HTML with truncation...


Revert #5108 "feat(a11y): deprecate aria live service"

Revert #5108 "feat(a11y): deprecate aria live service"
ClrAriaLiveService was depreciated and decided to remove based on bug #5083, Got a recommendation to use LiveAnnouncer from @angular/cdk, However, found that the LiveAnnouncer from @angular/cdk behaves the same way as ClrAriaLiveService.
There is a workaround to make this work.
This reverts commit 7a68e84.
Signed-off-by: Vinay Vivekananda<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[X] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Documentation content changes
[ ] clarity.design website / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?
ClrAriaLiveService was depreciated and decided to remove based on bug #5083, Got a recommendation to use LiveAnnouncer from @angular/cdk, However, found that the LiveAnnouncer from @angular/cdk behaves the same way as ClrAriaLiveService.
There is a workaround to make this work.

Issue Number: #5083  #5108
What is the new behavior?
This reverts commit 7a68e84f064f643f2634891a72349fe409cfb3fc (#5108)
Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information

Hi there, I don't see a fix here or understand exactly what the goal here is. We still plan to remove this in the future, so I'm going to close this but if there is more to share please consider an issue with details so we can understand what you're trying to accomplish.


Add method getFinalQuery() to ActiveDataProvider

Currently ActiveDataProvider takes several arguments: query, sort, pagination and then inside function prepareModels() it builds final query and executes it:
https://github.com/yiisoft/yii2/blob/master/framework/data/ActiveDataProvider.php#L99
After that I want to get that final query. If building final query (adding things for pagination and sorting) could be moved to another (public) function then it would easier to use it.
Right now the workaround could be to extend ActiveDataProvider and overload prepareModels(). Quite a cumbersome solution for something that could be solved with simple refactoring.
Additional info

Q
A

Yii version
2.0.14-dev

PHP version
7.1.12

Operating system
Debian 7.3.0-1

Do you mean to split (protected) prepareModel into 2 methods: the first to prepare the query and the last to prepare the models.
Such as:
public function prepareQuery()
{
    if (!$this->query instanceof QueryInterface) {
        throw new InvalidConfigException('The "query" property must be an instance of a class that implements the QueryInterface e.g. yii\db\Query or its subclasses.');
    }
    $query = clone $this->query;
    if (($pagination = $this->getPagination()) !== false) {
        $pagination->totalCount = $this->getTotalCount();
        if ($pagination->totalCount === 0) {
            return [];
        }
        $query->limit($pagination->getLimit())->offset($pagination->getOffset());
    }
    if (($sort = $this->getSort()) !== false) {
        $query->addOrderBy($sort->getOrders());
    }
    return $query;
}

protected function prepareModels()
{
    $query = $this->prepareQuery();
    return $query->all($this->db);
}


fix($httpParamSerializerJQLike): Follow jQuery parameter serialization l...

...ogic
Follow jQuery parameter serialization logic for nested objects.
Closes #11551

The travis failure looks like a flake

I think we need to make a special case for date parameters:
jQueryLikeParamSerializer({ dateFrom: new Date() }) === ""

@gabrielmaldi you are right, fixed this case

I thought this would make it into v1.4.0-rc.1 :cry:

One comment but otherwise LGTM


gitian: unclear after which step you need to "Follow the instructions in release-process.md"

It's clear one needs to run the --setup command first (but see #9) and --build after that.
But then the next paragraph says:

Follow the instructions in release-process.md in the bitcoin repository under 'Fetch and create inputs' to install sources which require manual intervention

This is confusing. Do I need to do this before, during or after --setup and --build? What is meant by "sources which require manual intervention" (I think it's something related to OSX and Windows signed builds, but we can't assume a first time Gitian user knows that).
Does the automated script do this or doesn't it?

Jup, you can either use the script or copy-paste the instructions.


I cannot submit my apk to Play Store because of RECEIVE_SMS permission.

Do you know what to do ?
I've just got the message:
Google Play failed to upload artefacts. Release artifacts require permissions that are missing from permission declaration: android.permission.RECEIVE_SMS: {
    "error": {
        "code": 403,
        "message": "Release artifacts require permissions that are missing from permission declaration: android.permission.RECEIVE_SMS",
        "status": "PERMISSION_DENIED"
    }
}

I saw the problem.
I had to submit manually a new apk with sms permissions.


add mbedTLS support

I see the libosdp is already flexible in what crypto support functions it uses (OpenSSL, tiny-AES).
Actually our project evolves in the direction that we would have mbedTLS crypto library instead of OpenSSL in the (Linux) system.
It would be perfect to have mbedTLS as a third option for crypto functionality required by libosdp (AES, CMAC).

[ ] add option to use mbedTLS shared library (similar to the "find_package(OpenSSL)" cmake option)
[ ] fallback to integrated tiny-AES implementation if mbedTLS and OpenSSL is not available

@schmida2 that is useful indeed!
Are you already working on this? If so you can send in a PR.


Make clientAuth of webhook server into a configuration option

Fixes: #124
Make clientAuth of webhook server into a configuration option

/assign @tcnghia

/ok-to-test

/assign @mattmoor

/assign @n3wscott

thanks @mattmoor, and kindly ping @n3wscott for reviewing

/lgtm

Grant for approval:
/assign @grantr

thanks @n3wscott (also ping @mattmoor ) and can u add me as a knative member. currently, i am working hard in this repo (means that knative or knative/pkg i am not sure) for my study, and yep, finds some bug and try my best to fix it

/hold cancel

/lgtm


Add CORS Configuration Option to Artifact Store

Resolves #244

This PR adds a configuration option to the artifact store to accept allowed CORS origins. The configuration is specified via the commandline:
mlte store --allowed-origins http://localhost:9000

or via the environment:
ALLOWED_ORIGINS='["http://localhost:9000"]' mlte store

@sei-aderr what is the server side response when you get this response? Is it a 500? Or some other error code? Are there any other logs that are produced that you can provide? I can't reproduce this on my end because I don't have the frontend implementation on my side.

On the server side I am getting a 400 on an HTTP Options.
INFO:     ::1:57620 - "OPTIONS /api/namespace HTTP/1.1" 400 Bad Request

For testing you should just be able to run this in the javascript console in your browser as it looks to give the same response as when it runs within the frontend. The only difference being the origin will be whatever website you are on, and not localhost:8000.
fetch('http://localhost:8080/api/namespace', {
  method: 'POST',
  body: JSON.stringify({
    identifier: 'foo',
  }),
  headers: {
    'Content-type': 'application/json; charset=UTF-8'
  }
})
.then(res => res.json())
.then(console.log)

So for example when I run that when the window is on stack overflow,

With the console command on the frontend at localhost:8000,

And then through the actual code in the page,

And each one gets the same 400 on an options endpoint in the backend,

With this being the command I used to run the store, just in the demo store
mlte store --backend-uri fs://store --allowed-origins http://localhost:8000

OK @sei-aderr, after some debugging time, it appears that the order in which middleware is applied and routes are injected matters. I reordered the two such that middleware is applied after routes are injected, and now the example above works.
When I execute this when the browser is on StackOverflow, the store should be run with:
mlte store --allowed-origins https://stackoverflow.com

not
mlte store --allowed-origins http://localhost:8000

because the origin is automatically set by the browser to https://stackoverflow.com.


更新 Kaohsiung.py 的介紹文

換成 Victor 提供的 Kaohsiung.py 介紹文。

Current coverage is 94.20%

Merging #128 into master will not affect coverage as of a37f823

@@            master   #128   diff @@
=====================================
  Files           31     31
  Stmts         1000   1000
  Branches         0      0
  Methods          0      0
=====================================
  Hit            942    942
  Partial          0      0
  Missed          58     58

Review entire Coverage Diff as of a37f823

Powered by Codecov. Updated on successful CI builds.


Improve ToCollection function, in generate random collection length

Description
ToCollection can generate a length of collection in issue #301, It might be nice to have a generation of the number of items randomly. So you don't have a list of the same length all the time.
Proposed solution
Add the options minLength and maxLength, if these options are defined, it will generate the length in a random way.
I propose to use the names of the options like minLength and maxLength instead min and max, which would be in competition with the min and max options of some existing functions.
Alternatives considered
no
Do you want to create a pull request?
Yes

Why isn't it enough to just pass randNumber to the length option?
toCollection(myFunction, { length: randNumber({ min: 20, max: 60 }) }});


How should we deal with 404's in requests that call multiple resources?

I am wrapping a third party API to a JSON-API response incrementally. I'm at the point where I am trying to implement this from the docs:

In this example, the posts.comments variable is expanded by "exploding" the array specified in the "links" section of each post. The URL template specification specifies that the default explosion is to percent encode the array members (e.g. via encodeURIComponent() in JavaScript) and join them by a comma, so in this example, fetching http://example.com/comments/1,2,3,4 will return a list of all comments.

I'm trying to figure out what to return when one of those resources is 404. Should I 404 the whole request, just return an empty object, return some type of error object for that one instance, or do something else entirely?
Maybe this isn't something that the API spec should address, but I wanted to get a little input on this case. Seems like it might come up a lot.

You could "hijack" the WebDav extension status code 207

Why "hijack", wasn't it the exact purpose of it? I would vote for

standardization of handling of the case of mixed sub-statuses in the JSON API spec,
"return all or nothing" approach,
HTTP status of the response: 207 Multi-Status,
response object: array of error objects with respective sub-statuses in them,
leaving up to the server to decide how to proceed after the first error is found (give up right away or check the rest); different methods of a given API should be allowed to handle it differently.

In today's spec, we explicitly deal with this: it's a 404 for the whole thing.

:+1: Thanks everybody!


feat(ci): bump sqllogictest to v0.5.1

Signed-off-by: Alex Chi<EMAIL_ADDRESS>What's changed and what's your intention?
As title
Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)

Only need to modify docker-compose.yml? Whether the build-ci-image.sh also needs to be modified. Also I don't see the new version of sqllogictest in the code.


Install requirements - python version

Which python version did you use, was it Python3.8?
And installing with pip install -r requirements.txt is not possible because some of the installations are with local files. Which versions does this packages have?

Hi, the provided requirements.txt is just for reference purpose only. Another words, if you have trouble installing some packages, take requirements.txt as just a reference for version clarification.
The recommended way to install all neccesary dependencies is using docker.
You can also install the default package names (without specific version ==) binded with your OS distribution/Python listed in requirements.txt and it should work.


Question for streaming audio generation

Due diligence

[X] I have done my due diligence in trying to find the answer myself.

Topic
The PyTorch implementation
Question
Thanks for nice work.
I'm trying to test streaming inference and parallel inference of Mimi.
The samples from parallel inference is good but I found that the generated samples with streaming inference contain some noise when I use a single frame for streaming inference.
I followed the example of https://github.com/kyutai-labs/moshi/tree/main/moshi#api as below:
        with torch.no_grad():
            codes = mimi.encode(audio.unsqueeze(1))  # [B, K = 8, T]
            out_wav_chunks = []
            for idx in range(codes.shape[-1]):
                wav_chunk = mimi.decode(codes[:, :, idx:idx+1])
                out_wav_chunks.append(wav_chunk)

            out_wav = torch.cat(out_wav_chunks, dim=-1)
            resynthesis_audio = out_wav

and is it right the input of streaming decoder is a single frame token? [B, 8, T=1]?
If not, I hope to know the proper frame size of T for streaming inference.
Thanks for nice work again.
Update
I have checked that Streaming Encoding has almost same quality with parallel encoding.
I may have a mistake about streaming decoding. I think Mimi also decode the token by streaming waveform generation.
my last question is
Only Moshi decode the next token by streaming inference. Then, the chunks of tokens are decoded to waveform signal parallel. Is it right?

Could you try adding a "streaming context" for the decoding? E.g. something like:
    with mimi.streaming(batch_size=1):
            out_wav_chunks = []
            for idx in range(codes.shape[-1]):
                wav_chunk = mimi.decode(codes[:, :, idx:idx+1])
                out_wav_chunks.append(wav_chunk)

Thanks!
I missed adding that line. The samples are very good now :)


Change error on unimplemented party setter

I think NotImplementedError with class name reads better. Also, the message was saying relying_party which is confusing in this context, since even if it's implemented we'll still get an error.
On a separate note, @tcannonfodder, why don't we just write a default implementation in, say, Warden::WebAuthn::StrategyHelpers? I don't think many users will have a better use for it than
def set_relying_party_in_request_env
  request.env[relying_party_key] = relying_party
end

Happy to make a pr

On a separate note, @tcannonfodder, why don't we just write a default implementation in, say, Warden::WebAuthn::StrategyHelpers? I don't think many users will have a better use for it than

def set_relying_party_in_request_env

  request.env[relying_party_key] = relying_party

end

Ack, I know I had this conversation with @heliocola, but I can't find it 😬
The gist is that I don't want this gem to be too magical, which is one of the problems I have with devise as a whole.
Since the relying party is the core for the entire WebAuthn flow; the app should be responsible for:

Setting it up as needed for each request (even if it remains constant)
Slotting it into the request environment so that the warden strategy and this gem can use it

I know it can feel like a bit of overkill, but it has the benefits of:

Being easy to search for in your codebase
Being able to easily debug without having to pry open & dig into a gem
Reducing the maintenance footprint of this gem, since it's less code we manage (and the error message is clear as to what's needed)

The gist is that I don't want this gem to be too magical, which is one of the problems I have with devise as a whole.

totally agree with this statement. However, I think this is the perfect candidate(there are few) to actually have a generic implementation for. Mainly because I don't see how the implementation for it could reasonably be any different.

Mainly because I don't see how the implementation for it could reasonably be any different.

Hrmmm; let me think on that, you make a good point.
I'm also curious about those other places you think a generic implementation would be useful; feel free to make an issue!

@Vagab I actually moved set_relying_party_in_request_env into Warden::WebAuthn::RackHelper in https://github.com/ruby-passkeys/devise-passkeys/pull/29/commits/7b7d50129ebe83b0a224d0ace0e4cff8ea407f4a.
Can you close this PR and make a new one with this error message being on the relying_party method directly, see:
https://github.com/ruby-passkeys/devise-passkeys/pull/29/commits/7b7d50129ebe83b0a224d0ace0e4cff8ea407f4a#diff-c88c685935abcec7655c75a59b34681909226e6fa4088f253427d5ddefef1c99R72


CMake Error when trying to build libspdm

Trying to build libspdm on #102~18.04.2-Ubuntu SMP. Getting following error (Have downloaded ARM GNU Toolchain, as mentioned on the Build page. Is there any other way to build it for x86_64? Have followed build-steps for ARM GNU as mentioned on the Build-page. CMake Version: 3.10.2. Tried using CMake version 3.26.3, as well as 3.27.4. Same error):
$ cmake -DARCH=arm -DTOOLCHAIN=ARM_GNU -DTARGET=Debug -DCRYPTO=mbedtls ..
#########################
Build Configuration
#########################
CMAKE_GENERATOR = Unix Makefiles
ARCH = arm
TOOLCHAIN = ARM_GNU
GCOV = OFF
TARGET = Debug
CRYPTO = mbedtls
ENABLE_BINARY_BUILD=0; Building mbedtls library from source.
CMake Error at os_stub/mbedtlslib/CMakeLists.txt:8 (ADD_SUBDIRECTORY):
ADD_SUBDIRECTORY given source
"<home_dir>/spdm/libspdm-3.0.0/os_stub/mbedtlslib/mbedtls/library"
which is not an existing directory.
CMake Error at os_stub/mbedtlslib/CMakeLists.txt:14 (TARGET_COMPILE_DEFINITIONS):
Cannot specify compile definitions for target "mbedtls" which is not built
by this project.
CMake Error at os_stub/mbedtlslib/CMakeLists.txt:16 (TARGET_INCLUDE_DIRECTORIES):
Cannot specify include directories for target "mbedtls" which is not built
by this project.
CMake Error at os_stub/mbedtlslib/CMakeLists.txt:26 (TARGET_COMPILE_OPTIONS):
Cannot specify compile options for target "mbedtls" which is not built by
this project.
CMake Error at os_stub/mbedtlslib/CMakeLists.txt:37 (TARGET_COMPILE_DEFINITIONS):
Cannot specify compile definitions for target "mbedx509" which is not built
by this project.
CMake Error at os_stub/mbedtlslib/CMakeLists.txt:39 (TARGET_INCLUDE_DIRECTORIES):
Cannot specify include directories for target "mbedx509" which is not built
by this project.
CMake Error at os_stub/mbedtlslib/CMakeLists.txt:49 (TARGET_COMPILE_OPTIONS):
Cannot specify compile options for target "mbedx509" which is not built by
this project.
CMake Error at os_stub/mbedtlslib/CMakeLists.txt:60 (TARGET_COMPILE_DEFINITIONS):
Cannot specify compile definitions for target "mbedcrypto" which is not
built by this project.
CMake Error at os_stub/mbedtlslib/CMakeLists.txt:62 (TARGET_INCLUDE_DIRECTORIES):
Cannot specify include directories for target "mbedcrypto" which is not
built by this project.
CMake Error at os_stub/mbedtlslib/CMakeLists.txt:72 (TARGET_COMPILE_OPTIONS):
Cannot specify compile options for target "mbedcrypto" which is not built
by this project.
-- Configuring incomplete, errors occurred!

You need to fetch MbedTLS as a Git submodule. Either use --recurse-submodules when cloning or git submodule update --init after cloning. See https://github.com/DMTF/libspdm#git-submodule.

@Swayamc have you resolved the problem? If so, would you please close it?


API query pagination

Short description
Ensure that fetching large numbers of objects from the API does not lead to drops/hanging.
Why do we need this
If a user's cluster has, say, 1000s of kustomizations. Fetching those from the API could take some time. If it takes too long, the user will do what everybody does: hit refresh. Thus sending the same request off again. This is not ideal for a responsive UI and a bit heavy handed on the API.
Acceptance criteria
As a user who has a boat load of Kustomisations

[ ] The ListKustomizations (for example) method should support some sort of paging mechanic
[ ] The UI can send some parameters to the backend that determine which page gets returned (limit 100)

Note that this is "server side" only, NOT the UI that will have a traditional paging experience.

@jpellizzari the end result though is that the UI will have pagination, but this story just focuses on the BE work right?

I added some information about the work involved for this ticket in this document https://docs.google.com/document/d/1jnivnTeElV3FP0N81NGiQE-HlWpb5TliWgF6oSdbtME/edit. The work for this ticket will involve only pagination for kustomizations in which request doesn't appear any namespace filter. The plan is to know if the current information we have is enough to implement pagination in the UI.

for context, this is Argo's take on it https://github.com/argoproj/argo-cd/issues/4868

Reopening this ticket per comment here https://github.com/weaveworks/weave-gitops/issues/1982#issuecomment-1116442459


Disputes API

Is your feature request related to a problem? Please describe.
I saw that there are some Dispute APIs available.
Describe the solution you'd like
Is it possible to support them through the library?
Describe alternatives you've considered
I can write my own HTTP calls but would be nice to just use this library with strongly typed responses for the different models
Additional context
Add any other context or screenshots about the feature request here.

Hey @nirajjayantbolt
Thanks for the feature request. I'll be able to pick this in the next 2 weeks, meanwhile, feel free to open a PR.

Hi @nirajjayant,
This feature was merged to develop. I'm going to release a new version of the API asap.


Have to click two time to dismiss

Version
2.13.0
Test Case
Not have
Steps to reproduce
I've an Ace editor as Trigger.
When i click with right button it appears, if I click on the editor with left button i've to click 2 times to make the context menu disapear
Expected Behavior
Disappear in a clik
Actual Behavior

This issue appears to be with ace editor itself and not this library. This will happen when some element blocks event bubbling by using event.stopPropagation()


ImpossibleTravelQuery.yaml

Impossible-Travel-Custom-Query
ANALYZING ANOMALOUS SIGN-IN ACTIVITIES WITH KUSTO QUERY LANGUAGE (KQL)
Description
Impossible Travel Kusto Query Language (KQL) script is designed to analyze sign-in logs to detect potential anomalous activity by calculating the speed of travel between login locations. It filters out logs at excessively high speeds, which may indicate suspicious behavior.
Business Requirements
• Identify Potential Compromises: Detect anomalous user sign-ins that may indicate an account compromise, such as logins from geographically distant locations within an unfeasibly short time frame.
• Enhance Incident Response: Provide security teams with actionable insights to quickly investigate and respond to potential threats. Detecting impossible travel can help in initiating prompt investigations into compromised accounts.
• Mitigate Insider and External Threats: Protect against both internal (e.g., account misuse) and external threats (e.g., credential theft) by flagging suspicious activities that could indicate unauthorized access to corporate resources.
Prerequisites
• An active Azure subscription
• Sentinel Contributor RBAC role assigned to a resource group
• An active Sentinel workspace
• A Log Analytics workspace linked to Sentinel
• Azure Active Directory (Azure AD) Sign-In Logs.
• Adequate log retention policies must be in place to store sign-in data for a period sufficient to perform meaningful analysis.
• Determine appropriate threshold values for travel distance (in kilometers) and timeframe (in hours) based on the organization’s risk tolerance and normal user behavior.
MITRE ATT&CK
The following are the MITRE ATT&CK tactics and techniques associated with the analytical rule:
Initial Access
• T1078 - Valid Accounts
If an account is used from multiple geographically distant locations in a short period, it may indicate that an adversary has obtained valid credentials and is using them from a different location.
Command and Control
• T1071 - Application Layer Protocol
Adversaries might use remote access tools that leverage common application layer protocols to hide their activities, which could be indicated by logins from unusual locations.
Defense Evasion
• T1036 – Masquerading
An adversary might use techniques to make their activity appear normal, such as using VPNs or proxies to mimic legitimate user access patterns, which could involve impossible travel scenarios.
Query Scheduling
• Query Frequency: - Run query every 6 hours
• Query Lookup data: - Lookup data from the last 24 hours.
Change(s):
Created first version
Reason for Change(s):
Uploaded the first version
Testing Completed:
Yes, this workbook is tested successfully and requires the Syslog data connector to be connected.
Checked that the validations are passing and have addressed any issues that are present:
Yes

Hello @InspiraEnterprise, Please package the solution using V3 tool and add the required missing files


Fails on fresh install of Ubuntu Xenial

Hi,
I'm trying to install ceph using this ansible code on 4 freshly provisioned xenial servers.  I have the following set up in group_vars/all
ceph_origin: repository
ceph_repository: community
The code bombs out when trying to do 'apt-get install ceph'.
I have the following in /etc/apt/sources.list.d/download_ceph_com_debian_luminous.list
deb http://download.ceph.com/debian-luminous xenial main
When I do 'apt-cache search ceph' I get
ceph-dbg - debugging symbols for ceph
libcephfs-jni-dbg - Debugging symbols for libcephfs-jni
libcephfs1 - Ceph distributed file system client library
libcephfs1-dbg - debugging symbols for libcephfs1
librados2 - RADOS distributed object store client library
librbd-dev - RADOS block device client library (development files)
librbd1 - RADOS block device client library
librbd1-dbg - debugging symbols for librbd1
ceph-fs-common - common utilities to mount and interact with a ceph file system
ceph-fs-common-dbg - debugging symbols for ceph-fs-common
libjerasure-dev - forward error correction erasure channel library - development files
libjerasure2 - forward error correction erasure channel library - shared library
ceph - distributed storage and file system
ceph-base - common ceph daemon libraries and management tools
ceph-base-dbg - debugging symbols for ceph-base
ceph-common - common utilities to mount and interact with a ceph storage cluster
ceph-common-dbg - debugging symbols for ceph-common
ceph-deploy - Ceph-deploy is an easy to use configuration tool
ceph-fuse - FUSE-based client for the Ceph distributed file system
ceph-fuse-dbg - debugging symbols for ceph-fuse
ceph-mds - metadata server for the ceph distributed file system
ceph-mds-dbg - debugging symbols for ceph-mds
ceph-mgr - manager for the ceph distributed storage system
ceph-mgr-dbg - debugging symbols for ceph-mgr
ceph-mon - monitor server for the ceph storage system
ceph-mon-dbg - debugging symbols for ceph-mon
ceph-osd - OSD server for the ceph storage system
ceph-osd-dbg - debugging symbols for ceph-osd
ceph-resource-agents - OCF-compliant resource agents for Ceph
ceph-test - Ceph test and benchmarking tools
ceph-test-dbg - Ceph test and benchmarking tools
libcephfs-dev - Ceph distributed file system client library (development files)
libcephfs-java - Java libraries for the Ceph File System
libcephfs-jni - Java Native Interface library for CephFS Java bindings
libcephfs2 - Ceph distributed file system client library
libcephfs2-dbg - debugging symbols for libcephfs2
librados-dev - RADOS distributed object store client library (development files)
librados2-dbg - debugging symbols for librados
librgw-dev - RADOS client library (development files)
librgw2 - RADOS Gateway client library
librgw2-dbg - debugging symbols for librbd1
python-ceph - Meta-package for python libraries for the Ceph libraries
python-cephfs - Python 2 libraries for the Ceph libcephfs library
python-cephfs-dbg - Python 2 libraries for the Ceph libcephfs library
python-rados - Python 2 libraries for the Ceph librados library
python-rados-dbg - Python 2 libraries for the Ceph librados library
python-rbd - Python 2 libraries for the Ceph librbd library
python-rbd-dbg - Python 2 libraries for the Ceph librbd library
python-rgw - Python 2 libraries for the Ceph librgw library
python-rgw-dbg - Python 2 libraries for the Ceph librgw library
python3-ceph-argparse - Python 3 utility libraries for Ceph CLI
python3-cephfs - Python 3 libraries for the Ceph libcephfs library
python3-cephfs-dbg - Python 3 libraries for the Ceph libcephfs library
python3-rados - Python 3 libraries for the Ceph librados library
python3-rados-dbg - Python 3 libraries for the Ceph librados library
python3-rbd - Python 3 libraries for the Ceph librbd library
python3-rbd-dbg - Python 3 libraries for the Ceph librbd library
python3-rgw - Python 3 libraries for the Ceph librgw library
python3-rgw-dbg - Python 3 libraries for the Ceph librgw library
radosgw - REST gateway for RADOS distributed object store
radosgw-dbg - debugging symbols for radosgw
rbd-fuse - FUSE-based rbd client for the Ceph distributed file system
rbd-fuse-dbg - debugging symbols for rbd-fuse
rbd-mirror - Ceph daemon for mirroring RBD images
rbd-mirror-dbg - debugging symbols for rbd-mirror
rbd-nbd - NBD-based rbd client for the Ceph distributed file system
rbd-nbd-dbg - debugging symbols for rbd-nbd
so apt can definitely find the packages in the right places. When I do 'apt-get install ceph' I get
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ceph : Depends: ceph-mgr (= 12.2.4-1xenial) but it is not going to be installed
Depends: ceph-mon (= 12.2.4-1xenial) but it is not going to be installed
Depends: ceph-osd (= 12.2.4-1xenial) but it is not going to be installed
Recommends: ceph-mds (= 12.2.4-1xenial) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
This suggest that there is some issue with the way the ceph package for xenial has been put together. it doesn't seem to be flagging up dependencies properly.
I am doing 'ansible-playbook -i inventory -vvv site.yml'

I see this is very similar to  #1753.

I am using the latest version on the master branch by the way,

not sure that this is due to ceph-ansible. may be due to a broken ubuntu installation.


[Suggestion] Allow empty buckets to output through the bottom output slot

Allow buckets leftover from lava buckets to exit along with smelted materials.

Implemented in 1.21


Typed array best practice

🙋♂ Question
I use immer to store an object in which one of the properties is a typed array that actually contains the data of interest.
const annotation = {
id: string,
color: string,
data: TypedArray,
}

Which would be the best practice to notify that my object's data content changed, since the data is not gonna mutate if I do annotation.data[3] = 123;.
My current approach would be to introduce a new timestamp property on the annotation object that is basically updated every time after my data typed array was updated.
Which would be the best practice in general, in immer, to store values that are not gonna mutate but that should notify a parent that something changed?
Thanks  and great work with this awesome library!

I recommend to ask this question on Stack Overflow as it is more of an
architectural / organizational question than a technical one.
On Tue, Oct 20, 2020 at 2:45 PM Nicolas Rannou<EMAIL_ADDRESS>wrote:

🙋♂ Question
I use immer to store an object in which one of the properties is a typed
array that actually contains the data of interest.
const annotation = {
id: string,
color: string,
data: TypedArray,
}
Which would be the best practice to notify that my object's data content
changed, since the data is not gonna mutate if I do annotation.data[3] =
123;.
My current approach would be to introduce a new timestamp property on the
annotation object that is basically updated every time after my data
typed array was updated.
Which would be the best practice in general, in immer, to store values
that are not gonna mutate but that should notify a parent that something
changed?
Thanks and great work with this awesome library!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/immerjs/immer/issues/684, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN4NBBY2L252WTS6LRNTVDSLWH6VANCNFSM4SYL7RWA
.

👍  thanks!


WIP: Apple AppStore Apps

TODO:

$item['content']    // Content in HTML format
$item['enclosures'] // Array of URIs to an attachments (pictures, files, etc...)
$item['categories'] // Array of categories / tags / topics
$item['uid']        // A unique ID to identify the current item

THEN:

check style guide
make sure it looks good. see if additional content stuffing is needed
(screenshots?)

This provides a RSS feed of version changes of any application.

Nice bridge, congratulations.
To actually run this, I had to do some tweaks, available here: https://github.com/somini/rss-bridge/tree/pr/1316
The big problem I detected was transforming the platform into the JSON "platform". For example, the outer URL needs "iphone", but the inner JSON platform is "ios". I can't seem to find this information anywhere else.

Thanks, I'll merge in your changes soon.

Array elements are still indented, but I'll merge anyway. It is probably best if we integrate a unit test for this anyway.


Feature request for a notify middleware: Prevent notifying all listeners in certain conditions

Hi, this is a feature request
What is the current behavior?
Every dispatch cause all listeners to be called without the possibility to prevent it.
The "hackish" to do it would be with the enhancer function from createStore. I don't find this clean for the following reason:
It require to rewrite createStore completely which make me wonder why do we require Redux in the first place if it's to pass a function that replace it completely.
What is the expected behavior?
I think allowing to pass a middleware would be helpfull for cases such as Redux used with Immutable.js. A middleware could verify that the state has muted and not call uselessly all the listeners if not. Other usecase could also apply such as "locking" dispatch in certain conditions for other performances reasons.
I think the goal of Redux is to notify the state changes, not to notify that a dispatch happen otherwise his role wouldn't be to hold a store a well but more a simple event bus system. Maybe I didn't get correctly the misson of Redux here so let me know if I'm in the wrong here.

The current Redux version is 3.6.0
this applies for all browsers / node environments and all OS

I currently have a working version of this which need polishing so I would provide the PR if this feature is accepted.
Thank you

This isn't really the job of redux, as it's supposed to be small, simple, and somewhat dumb in it's implementation. It shouldn't distinguish who to notify because those listeners can use the state in a variety of ways. Basically, it can't and shouldn't know how state is used.
It sounds like what you want is reselect: https://github.com/reactjs/reselect

@timdorr thanks for the fast answer, I think I didn't correctly described the issue here.
I do not implies that Redux should handle when or when not to notify listeners, but being able to receive a function that does that check for him which knows about the data structure etc.
The point here is that in a complex application with multiple subscribes everywhere we have no ways to prevent a loop of dispatcher to being called and this sometimes kills the application.
I will give you an example of a usage and let me know if that makes sense for you
// User can specify when he wants the notify to happens
// In this example (so it make sense) I use Immutable.js
// so I can test if there is a change in any node of the store with one super fast check
const preventUselessNotifies = (oldState, newState) => !(oldState && oldState.equals && oldState.equals(newState));

store = createStore(reducers, initState);
// This is an example of setting the middleware but could be passed directly in the createStore too
// I found it easier to add this in the API since the argument checks in createStore are implicit
store.setNotifyMiddleware(preventUselessNotifies);

I know react-redux's connect does a check and manage his own listeners to avoid calling a thousand components on every dispatch if there is 0 changes. They managed to optimise this on their part but some application use a mix and match of connect, store.suscribe and other utils, at a certain level it doesn't scale well and optimisation could easily take place in the core where the notifies happens in the first place.
Alternatively, if Redux still don't want to go there, It's not impossible to reuse the optimisation from react-redux as a layer replacing store.suscribe everywhere (causing a minimal pain for large project that needs to refactor) and managing listeners on his side, but then again, we use an even dispatcher to dispatch to an other event dispatch which optimise, feels like we would do something wrong here.

I liked an example PR to help illustrate what I meant, this is not polished, just explain better what I meant

@zeachco : the "right" way to implement this is as a store enhancer that would override the store's dispatch() API and supply its own "notify subscribers" logic.

There is a measured performance impact, but I understand my case might be very specific as it's a fast paced multiplayer platform and event dispatches happen very often (much more dispatch than a traditional web app).
If I understand correctly, the proposed solution is to transform my latest PR into a middleware/enhancer instead (which replace Redux completely and remove the need to have Redux in the first place).
I was hoping to have a different solution as this freeze the snapshot-ed version of createStore in time and just create a cloned version with yet an other name which get maintained separately (which is a problem in javascript I wish I wouldn't contribute).
I will read #1813 and probably continue using an in-house solution for that specific project.
I understand the need for rigidity on a project used by so many projects.

Uh... no, you're misunderstanding what enhancers are.
A store enhancer accepts createStore as a parameter, but then can return a new store object.  This allows the enhancer to substitute its own version of functions like dispatch or subscribe instead of the original versions.
As an example, applyMiddleware is a store enhancer.  It creates the "base" store, creates the middleware pipeline, and returns a new store object with the middleware pipeline as the new dispatch function.
Another example is the redux-batch enhancer, which replaces the store's default dispatch and subscribe behavior, and allows you to pass in an array of actions to dispatch with only a single notification.
So no, enhancers do not "remove the need for Redux", enhancers build on the Redux core to provide customized behavior.

I didn't get that part indeed :sweat_smile: , it looks to me that the confusion comes from https://github.com/reactjs/redux/blob/master/src/applyMiddleware.js#L21
which cause to store to be created with his own scoped variable we can't access but the point is not to use applyMiddleware here. Am I right? I haven't explored this way so I guess I am wrong here, I will read these last resources and hopefully will come to a nicer solution on my end.
Thanks again

For future references:
https://gist.github.com/zeachco/1195b69744a899a1162c704bfa69fe5e
For my case, it worked with minimal code in the enhancer, I didn't had to rewrite the dispatch functionnality

Yep, told you something like that would work :)


[HOTXIF][HIP iGemm][NFC] Rename type.hpp -> ck_utils_type.hpp (another W/A for SWDEV-284637)

This change is "No Functional Changes", but nevertheless it resolves SWDEV-284637 (as well as #963 does). This confirms the idea that SWDEV-284637 is caused by some problem outside of the MIOpen.

Very strange clang-tidy failures observed. I am investigating, but no success yet. Reviewers: any ideas?

This PR can't pass tidy checks on CI due to a bug:
https://github.com/ROCmSoftwarePlatform/MIOpen/blob/01ff3da68b68b2ffbc31cb681184a8082ac7ce26/CMakeLists.txt#L530-L531
Because of this, miopen.h is included into tidy checks in any branch that contains "hpp" in its name. The branch renamed from "hip-igemm-kernels-rename-type-hpp" to "hip-igemm-kernels-rename-include". New PR opened.

Thanks @shurale-nkn for finding the root reason of this critical problem.


Update 1password to 7.0

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Duplicate of https://github.com/caskroom/homebrew-cask/pull/47471
Thanks for the PR nonetheless!


Specifying FetchMode with options

I tried to specify to fetch mode globally with 'options'
'options' => [
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC
]

but basically that does not matter because it is set anyway on ->get() via
$result = call_user_func_array(array($this->pdoStatement, 'fetchAll'), $this->fetchParameters);

on https://github.com/usmanhalalit/pixie/blob/master/src/Pixie/QueryBuilder/QueryBuilderHandler.php#L178
And if you try to set it on the QueryBuilderHandler using the setFetchMode() method, you will lose it next time you are going to use a ->table(), as it is creating a new instance of QB.

You're correct and we have been over this in the past. #143. They only place where FETCH_MODE is kept is on raw queries #68. This would be a nice improvement but @usmanhalalit probably need to check it.

I opened a PR with a possible fix https://github.com/usmanhalalit/pixie/pull/183


Need an option to suppress progress messages

Description
When I pull an image for example, I would like a set a boolean flag on the pull method, to turn off progress messages. As a client, I am only concerned with knowing if the image was pulled down to the host successfully.
How to reproduce
Pull any image with the DockerClient pull method.
What do you expect
I would like to be able to set a flag on the pull method, for example enableProgressMessage, which can be true by default if majority of the folks like the progress messages. If set to false, it will pull the image silently and return a String with a 200/success message.
What happened instead
When the pull method is called, it prints out the status of every progress message on the console.
Software:

docker version:

Version{apiVersion=1.29, arch=amd64, buildTime=2017-05-04T22:10:54.638119411+00:00, gitCommit=89658be, goVersion=go1.7.5, kernelVersion=4.4.0-77-generic, os=linux, version=17.05.0-ce}

Spotify's docker-client version: 8.9.1

You can use this method in DockerClient that takes a ProgressHandler, and just pass it a no-op implementation: https://github.com/spotify/docker-client/blob/fe60e58bcc18d936b62aac54ef620f1be1a69a81/src/main/java/com/spotify/docker/client/DockerClient.java#L426
for example:
final ProgressHandler silentHandler = message -> { };
dockerClient.pull("foobar", silentHandler);

That worked! Thank you @mattnworb!

Here is the incantation for the Scala folks:
dockerClient.pull("foobar", (_: ProgressMessage) => ())


Seed uuid generation for Section and Chapter with title

Good evening,
currently when generating an epub a Section uuid will be randomly generated. (See: sites/init.py#L18 ).
The uuid will be used as folder name to store content (See: ebook/init.py#L93 ).
When I use a Toline Shine 3 to read an epub and then redownload and update the epub on the device, the Tolino 'forgets' my currently viewed page. The reason for this is that the viewed html file does not exist anymore because the
uuid changed. (Scenario: erraticerrata currently writes A Practical Guide to Evil
Do Wrong Right 7 and I update my epub version every time new chapters are released )
This pull request uses the Sections/Chapter title to seed the uuid generation. Therefor the same uuid will be generated with every download and the Tolino is able to open the last viewed page after updating the epub.
I don't know if the title is the best seed for the uuid but I think its probably the most stable identification for a book wich is still updated.
(https://github.com/JimmXinu/FanFicFare generates chapters directly in the OEBPS folder i.e. I dont know the epub specs but I dont know if there even is a reason to store the files in an randomly named folder?)
Have a nice day
-ClaasJG

For stable identifiers, the URL is probably less likely to change. The site-definitions generally try to work out a "canonical" URL to use, rather than whatever random chapter you pass in, so it's fairly consistent. Difficulty is that currently the individual chapters don't store a URL, but I don't mind changing that -- bigger change than you've currently got here, though, since all the site definitions would need to be touched.
The subdirectories come from a conflux of factors:

I want to support footnotes, which require a link to the file containing the footnotes... so being able to link to ./footnotes.html is convenient
I let you cram multiple "works" into a book, mostly because of AO3 series.
So, each "work" having its own directory means there's no footnote mixups.

I will try to update this PR in a way that each Chapter and Section knows its URL and uses the URL to generate an stable uuid.
Thanks for the explanation of why subdirectories  are used.

If you don't want to make wide-reaching changes, I could add the URL to Chapters and you could rebase onto that?

I just went through the Code of ao3.py and from what I saw each 'Section' which is a substory already has an unique url.
But I never saw use for the chapters id, neither in ao3.py nor in other places (i.e. epub creation). To solve my the initial problem its enough when Sections have a stable uuid and the Chapter id is irrelevant.
I removed the id for Chapters and testet, that at least epubs using ao3.py and arbitrary as handlers are still working.
Therefor Ive updated this PR. It now removes the Chapter id and uses the url of Sections to generate Section ids.
If an id is still needed in Chapters it could either be unstable, stable based on the content or I would take you up on your offer to add URLs to Chapters and rebase. But currently I think this PR can focus on Sections to solve the initial problem.

Yeah, I'm happy to merge this as-is.
There's various places that manually work out a chapterid which I should probably switch to being Chapter.id, but making that work would involve refactoring the flow of chapter-creation in a few places. So I'll let that sit a bit.


Allow rendering HAR logs as JSONP via query param

The popular online HAR viewer tool at http://www.softwareishard.com/har/viewer has the ability of loading (via an ajax request so even local URLs work) any HAR from its URL if this HAR is formatted as
onInputData(harJson);

If Martian allowed for this format change via, let's say, a query param (?jsonp=1) we could go to http://www.softwareishard.com/har/viewer?inputUrl=http://martian.proxy/logs?jsonp=1 to get instant rendering of the HAR timeline.

To be 100% fair, the author of the viewer could also make the URL input method work with regular JSON responses...

More investigation shows that the master version of the viewer project does indeed support plain HAR inputs via the har query param. However CORS headers are required to make this works, which the martian API doesn't pass in its responses at the moment.
If that was the case, simply navigating to http://gitgrimbo.github.io/harviewer/master/?har=http://martian.proxy/logs would have the intended effect.

Have you tried starting martian with --cors?
On Thu, Jul 19, 2018 at 9:13 AM Arnaud Ceccaldi<EMAIL_ADDRESS>wrote:

More investigation shows that the master version of the viewer project
https://github.com/janodvarko/harviewer does indeed support plain HAR
inputs via the har query param. However CORS headers are required to make
this works, which the martian API doesn't pass in its responses at the
moment.
If that was the case, simply navigating to
http://gitgrimbo.github.io/harviewer/master/?har=http://martian.proxy/logs
would have the intended effect.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/martian/issues/257#issuecomment-406332597, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGfzeA5OYQBO5HmkJoFHHQ67Apm4MlKiks5uILA6gaJpZM4VWptP
.

Obviously I didn't...

But I can confirm that running martian with -cors does indeed works 👍
Thanks for the hint @hnovikov !


RSocketWebSocketClient removes wrong error event listener

https://github.com/rsocket/rsocket-js/blob/cde81cd793f7b60f00085e398543e8687b7964f1/packages/rsocket-websocket-client/src/RSocketWebSocketClient.js#L159
Shouldn't it be:
(socket.removeEventListener: $FlowIssue)('error', this._handleError);

closed by https://github.com/rsocket/rsocket-js/commit/6fb2aa519beda7066bebf3f18d7c4a82c2dfd7b1

closed by https://github.com/rsocket/rsocket-js/commit/6fb2aa519beda7066bebf3f18d7c4a82c2dfd7b1


Update License

Update License on ReadMe & LICENSE file:
Copyright © 2011-2021, authors of MNE-Python
To:
Copyright © 2011-2022, authors of MNE-Python

closed by https://github.com/mne-tools/mne-python/pull/10229


fix for emoji==2.0.0

Hi,
this PR adds fix needed for emoji lib (==2.0.0) as we discussed in DM.
Also resolves #12

would also appreciate if you changed the requirement in requirements.txt to emoji>=2 so that it doesn't have to be done in two commits

sorry for that, it appears it works fine for emoji<2, so the requirement isn't actually needed. Sorry for the hassle


chore: update app entitlements

This PR switches the executable used on macOS to spawn the extension host process from Code Helper.app to Code Helper (Plugin).app using the allowLoadingUnsignedLibraries capability of the utility process.
This allows us to remove some privileged entitlements from the main application bundle which will protect the main process from loading any unsigned libraries or from dyld linker processing the DYLD_ variables that can be used to inject code into the process.
Note: Code Helper (Plugin).app executable will not be used for the old extension host code path, so this change can always be checked into our source tree. But for stable, were we might use the old code path during the utility process experiment I will undo the changes to build/azure-pipelines/darwin/app-entitlements.plist in vscode-distro/quality/stable.

Testing insiders build https://monacotools.visualstudio.com/Monaco/_build/results?buildId=185574&view=results

Actually this is not urgent, lets make this change after extension host utility process is made default in stable so that we don't have to maintain a separate change in distro.

Can we ship this as long as there is still that setting to disable utility process?

We could do it potentially if I add back the changes to build/azure-pipelines/darwin/app-entitlements.plist so that the old extension host process will work as expected when utility process is disabled. In that case, I can do the following,

Add back the changes to build/azure-pipelines/darwin/app-entitlements.plist
Ship the PR, this will get self-hosting on the new executable code path for utility process on macOS
Once utility process setting is removed, make the changes again to build/azure-pipelines/darwin/app-entitlements.plist

Thoughts ?

Yeah sounds good to me.

Build to verify https://monacotools.visualstudio.com/Monaco/_build/results?buildId=185713&view=results

Builds are looking good :rocket:


Introducing an implementation of an AVL tree and a priority queue

Very nice queue of changes you got there :P

Thanks Petar! I spent a lot of energies to make the intrusive AVL trees to work well.
The pq was easy. You're right about using typedef struct pqueue: for pqueue_elem it is needed, for pqueue, it is not.
Do you mind making the trivial change and creating a pull request? Now that exOS has CI with builds and tests, it is simple to make a change and validate it at least partially. Also, that having a change by a contributor is so cool! :-)

Hey Vlad, I was actually planning on doing a full review (just started from the first commit), but I am on the road with my phone and other things came in the way. I'll try tonight or later tomorrow to have a more serious look :P

That's perfectly fine :-) Thanks Petar!

Just one note: consider that I discarded a lot of stuff in the commits, so only the final version of the change is "reviewable" :-)
Note 2, I had not enough time to write beautiful code for the tests. Some pieces of test code are really dirty :-(

No problem, I won't send the code to Linus just yet ;)


tortoise cant find

ImportError: cannot import name 'fields' from 'tortoise' (/usr/local/lib/python3.12/dist-packages/tortoise/init.py)

It seems to be an environmental issue. Please use the recommended deployment methods.
Try deploying the project using pdm or Docker.
https://github.com/sleep1223/fast-soy-admin/blob/master/README.en.md#Usage


Entities for projection collection are tracked, but collection remains empty

This issue is basically a follow up of #16636.
var entities = context.Products.Select(p => new ProductWrapper(p)
  {
    UserName = p.UserNavigation.Name,
    Components = new MyCustomList<ComponentWrapper>(
      p.Components.Select(c => new ComponentWrapper(c)
      {
        UserName = c.UserNavigation.Name
      }))
  });

While EF Core 3 Preview 7 (opposed to EF Core 2.2) does track all related entities (context.ChangeTracker.Entries().Count() returns the correct number), the Components collection remains empty!
Using ToList() instead of newing up manually a collection works in turn:
var entities = context.Products.Select(p => new ProductWrapper(p)
  {
    UserName = p.UserNavigation.Name,
    Components = p.Components.Select(c => new ComponentWrapper(c)
      {
        UserName = c.UserNavigation.Name
      }).ToList()
  });

But I need to use MyCustomList<T> instead of List<T>.
Further technical details
EF Core version: 3.0.0-preview7.19362.6
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10 1903
IDE: Visual Studio 2019 16.2.0

@smitpatel @maumar What is the expected behavior here when using a custom collection constructor?

@smitpatel @maumar What is the expected behavior here when using a custom collection constructor?

I'd like to point out that MyCustomList<T> is not the issue; it also doesn't work with new List<T>():
var entities = context.Products.Select(p => new ProductWrapper(p)
  {
    UserName = p.UserNavigation.Name,
    Components = new List<ComponentWrapper>(
      p.Components.Select(c => new ComponentWrapper(c)
      {
        UserName = c.UserNavigation.Name
      }))
  });

Combining MyCustomList<T> with ToList() doesn't work either:
var entities = context.Products.Select(p => new ProductWrapper(p)
  {
    UserName = p.UserNavigation.Name,
    Components = new MyCustomList<ComponentWrapper>(
      p.Components.Select(c => new ComponentWrapper(c)
      {
        UserName = c.UserNavigation.Name
      }).ToList())
  });

Duplicate of #16318
When we invoke new List<>(...) the passed in parameter is empty list, which we populate afterwards. Hence the created list (custom or not) remains empty.


Demo - No visible @interface for 'IKMediaViewController' declares the selector 'testLoadCounts'

Hi,
I am trying to run the demo, but I get No visible @interface for 'IKMediaViewController' declares the selector 'testLoadCounts' on this code:

(void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
self.title = [NSString stringWithFormat:@"@%@",self.media.user.username];
[self testLoadCounts];
}

Same here. Would be nice if the demo worked!

Same here. have anyone found an answer?

This should solve the problem. On commit 2e6b6849c5e2 method name testLoadCounts has been changed to loadUserDetails but was forgotten to reflect the change in the viewDidLoad method.

Actually, for anyone (like me!) who might just read these comments and not load the git diff, 'testLoadCounts' was renamed to 'testLoadUserDetails', not 'loadUserDetails'

Ops! Sorry, luckily the code is correct. Thank you!

@shyambhat Could you please merge the pull request by @manumax ?
I experienced the same issue when building the Demo project, and @manumax pull request fixes this.


Clang fails to compile generated C code

As of commit 22b0019448ea74e046a1c3810ffb330906c7bb79 and using main.hovm from the readme as the input source, running the compilation step:
clang -O2 main.hovm.out.c -o main.hovm.out

fails with:
main.hovm.out.c:964:23: warning: incompatible pointer to integer conversion assigning to 'Thd' (aka 'unsigned long') from 'void *' [-Wint-conversion]
    workers[t].thread = NULL;
                      ^ ~~~~
1 warning generated.
/nix/store/cdm6zywd51mbabxhklsixwcskv4n70s3-binutils-2.35.2/bin/ld: /tmp/main-a67557.o: in function `ffi_normal':
main.hovm.out.c:(.text+0x32fb): undefined reference to `pthread_create'
/nix/store/cdm6zywd51mbabxhklsixwcskv4n70s3-binutils-2.35.2/bin/ld: main.hovm.out.c:(.text+0x3311): undefined reference to `pthread_create'
/nix/store/cdm6zywd51mbabxhklsixwcskv4n70s3-binutils-2.35.2/bin/ld: main.hovm.out.c:(.text+0x3327): undefined reference to `pthread_create'
/nix/store/cdm6zywd51mbabxhklsixwcskv4n70s3-binutils-2.35.2/bin/ld: main.hovm.out.c:(.text+0x333d): undefined reference to `pthread_create'
/nix/store/cdm6zywd51mbabxhklsixwcskv4n70s3-binutils-2.35.2/bin/ld: main.hovm.out.c:(.text+0x3353): undefined reference to `pthread_create'
/nix/store/cdm6zywd51mbabxhklsixwcskv4n70s3-binutils-2.35.2/bin/ld: /tmp/main-a67557.o:main.hovm.out.c:(.text+0x3369): more undefined references to `pthread_create' follow
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)

Looking in main.hovm.out.c, I can see that there's indeed a call to a function pthread_create on line 971, but this function doesn't seem to be defined anywhere in the rest of the file.
System info:
$ clang --version
clang version 7.1.0 (tags/RELEASE_710/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /nix/store/ass1sf1bx07qvlrg02nymxnyzp1cpxz7-clang-7.1.0/bin
$ uname -a
Linux a 5.15.16_1 #1 SMP Thu Jan 20 17:19:29 UTC 2022 x86_64 GNU/Linux

Are there any other requirements aside from clang that I'm supposed to have? I also tried installing llvm and lld, but these didn't help.

The pthread_create function comes from the pthread library, i.e., #include <pthread.h> on the first line. I'm not a C expert, so I guess that should be part of your system. Can someone using Linux help troubleshoot this issue? @rigille any idea?

Ah I thanks I figured it out. The command also needs the -lpthread flag.

Just to be sure, all works fine there? What is your CPU, and the average rewrites/second you're getting on the benchmarks?

@VictorTaelin

Just to be sure, all works fine there?

Hmm, I'm actually not sure. I tried one of the benchmarks which ended up compiling ok, with only the following warning:
bash-5.1$ clang -O2 compose_id.hovm.out.c -o main -lpthread
compose_id.hovm.out.c:974:23: warning: incompatible pointer to integer conversion assigning to 'Thd' (aka 'unsigned long') from 'void *'
      [-Wint-conversion]
    workers[t].thread = NULL;
                      ^ ~~~~
1 warning generated.

But when I try to run the resulting binary, it doesn't seem to finish running, instead seemingly getting stuck:
bash-5.1$ ./main
Reducing.

It hasn't printed anything after that new line for > than 10 minutes now. Not sure if it's actually not working properly or if it's just my slow CPU though.

What is your CPU

$ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         40 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Vendor ID:               AuthenticAMD
  Model name:            HP Hexa-Core 2.0GHz
    CPU family:          22
    Model:               48
    Thread(s) per core:  1
    Core(s) per socket:  4
    Socket(s):           1
    Stepping:            1
    Frequency boost:     enabled
    CPU max MHz:         2000.0000
    CPU min MHz:         1000.0000
    BogoMIPS:            3992.48
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_op
                         t pdpe1gb rdtscp lm constant_tsc rep_good acc_power nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3
                         cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefet
                         ch osvw ibs skinit wdt topoext perfctr_nb bpext ptsc perfctr_llc cpb hw_pstate ssbd vmmcall bmi1 xsaveopt arat npt lbrv svm_lo
                         ck nrip_save tsc_scale flushbyasid decodeassists pausefilter pfthreshold overflow_recov
Virtualization features:
  Virtualization:        AMD-V
Caches (sum of all):
  L1d:                   128 KiB (4 instances)
  L1i:                   128 KiB (4 instances)
  L2:                    2 MiB (1 instance)
NUMA:
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-3
Vulnerabilities:
  Itlb multihit:         Not affected
  L1tf:                  Not affected
  Mds:                   Not affected
  Meltdown:              Not affected
  Spec store bypass:     Mitigation; Speculative Store Bypass disabled via prctl and seccomp
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Full AMD retpoline, STIBP disabled, RSB filling
  Srbds:                 Not affected
  Tsx async abort:       Not affected


Instalation Documentation Outdated

Happy to inform I just compiled graal-jdk-21 with opencl, ptx on my debian machine successfully,  but just one little hiccup in the   installation documentation.
This is whats there::
"./scripts/tornadovmInstaller.sh --jdk graalvm-jdk-21 --backend opencl,ptx",
-----------------------------^-----------^
that file is gone now, so we need to run::
"./scripts/tornadovm-installer --jdk graalvm-jdk-21 --backend opencl,ptx".
Its not a big deal, but a new user may not be able to install the vm.
Thanks for the great work Dev's

Thank you @aaronms1 , we will fix the docs.


Cut release v0.29.0

Process: https://github.com/KittyCAD/modeling-app/blob/5ae1aecd74acd8705f1a075613832137b739b0f2/README.md#L129-L130

v0.29.0 tag created on commit 5ae1aec
https://github.com/KittyCAD/modeling-app/actions/runs/12141534518

Artifacts ready to test at https://github.com/KittyCAD/modeling-app/actions/runs/12141534518
Draft release created at https://github.com/KittyCAD/modeling-app/releases/tag/untagged-00f31a3abddbf24b510c

Smoke tests: macOS, arm64

[ ] The application opens
[ ] User can sign in
[ ] The onboarding can be replayed and looks solid
[ ] A project can be created
[ ] A sketch can be draw (line, arc, rect, circle).
[ ] Lines and shapes can be modified.
[ ] Select face and extruding works.
[ ] Reloading the application reloads the sketch.
[ ] Can create additional files and directories.
[ ] Models can be exported to a file.
[ ] I repeated some code done with point-and-click by typing in the code editor and everything was responsive and ok.
[ ] Double clicking a KCL file opens ZMA.
[ ] The auto-updater works.

Smoke tests: Windows, arm64

[ ] The application opens
[ ] User can sign in
[ ] The onboarding can be replayed and looks solid
[ ] A project can be created
[ ] A sketch can be draw (line, arc, rect, circle).
[ ] Lines and shapes can be modified.
[ ] Select face and extruding works.
[ ] Reloading the application gets you back in the same state
[ ] Can create additional files and directories.
[ ] Models can be exported to a file.
[ ] I repeated some code done with point-and-click by typing in the code editor and everything was responsive and ok.
[ ] Double clicking a KCL file opens ZMA, and with the CLI too on project directory or file
[ ] Offset plane can be created and shows up
[ ] The auto-updater works.

Smoke tests: Linux, x64

[ ] The application opens
[ ] User can sign in
[ ] The onboarding can be replayed and looks solid
[ ] A project can be created
[ ] A sketch can be draw (line, arc, rect, circle).
[ ] Lines and shapes can be modified.
[ ] Select face and extruding works.
[ ] Reloading the application gets you back in the same state
[ ] Can create additional files and directories.
[ ] Models can be exported to a file.
[ ] I repeated some code done with point-and-click by typing in the code editor and everything was responsive and ok.
[ ] Double clicking a KCL file opens ZMA, and with the CLI too on project directory or file
[ ] Offset plane can be created and shows up
[ ] The auto-updater works.

Smoke tests second set of eyes: MacOS, arm64

[ ] The application opens
[ ] User can sign in
[ ] The onboarding can be replayed and looks solid
[ ] A project can be created
[ ] A sketch can be draw (line, arc, rect, circle).
[ ] Lines and shapes can be modified.
[ ] Select face and extruding works.
[ ] Reloading the application gets you back in the same state
[ ] Can create additional files and directories.
[ ] Models can be exported to a file.
[ ] I repeated some code done with point-and-click by typing in the code editor and everything was responsive and ok.
[ ] Double clicking a KCL file opens ZMA, and with the CLI too on project directory or file
[ ] Offset plane can be created and shows up
[ ] The auto-updater works.

Updated after discussion with team
## Changed
* KCL: `=` and `=>` are now optional in function declarations

## Added
* Ability to immediately enter sketch mode by double-clicking an existing sketch

## Fixed
* Only count something as a directory if it has children, thanks @TomPridham!

**Full Changelog**: https://github.com/KittyCAD/modeling-app/compare/v0.28.0...v0.29.0

@franknoirot Re: Notes: 1.
I changed it in my list to Reloading the application gets you back in the same state cause yeah it didn't make sense

Releasing at https://github.com/KittyCAD/modeling-app/actions/runs/12144117649


Should we use Apache Calcite or Substrait?

PuffinDB will include a distributed query planner. This complex component should probably be developed on top of an existing framework implementing a relational algebra. The two main options are Apache Calcite and Substrait. Which one should we use? Either should work, but we must pick one. This decision will have major and lasting impacts on the codebase.

We should probably use Apache Calcite, for the following reasons:

Much more mature
Much more aligned with our needs
Powerful relational algebra
Extensive collection of adapters
Support for streaming
Support for materialized views
Support for lattices

They aren't really substitutes for each other. In fact, one of the goals for Substrait was to provide a clean cross-language api into Calcite.
Integrating with Calcite across language barriers can be rough (check out dask sql which actually switched to datafusion because of the pain). Substrait tries to create a standard algebraic facade to be used amongst multiple systems. There is already a bunch of work for Substrait <> Calcite integration in the substrait-java repo but there are also integration with other techs like Datafusion (rust system that is basically Calcite-lite) as well dplyr, ibis, etc.

@jacques-n Thanks a lot for that. I realize that Calcite and Substrait have different goals, and I really like where Substrait is going. But I don't think Substrait gives us what we need today. DataFusion looks like a great alternative though. But that means yet another Lambda function (one for Iceberg's Java API, one for DataFusion, and one for the query API). Unless we implement the query API in Rust instead of Node.js. Interesting challenge...

@jacques-n How about leveraging Ballista's distributed query planner?

I'm not super close to Ballista. @AndyGrove would be a better person to comment.

@jacques-n Thanks for the tip. I will ask him.

Sharing this great repository: https://github.com/cloudfuse-io/lambdatization. They've been running ballista/datafusion in Lambdas and might be useful for you.

@davidgasquez Thanks a lot for sharing this. Super helpful!

@andygrove Thank you so much. This is immensely helpful. If I understand what you wrote correctly, my feeling is that we should use DataFusion and get some inspiration from Ballista regarding the distributed query planner. Or work on adding support for Substrait in Ballista. I still need to wrap my head around what Substrait really does, but a picture is starting to form. And using DataFusion for implementing our query planner would also add the option of running the DataFusion query engine side-by-side with DuckDB on the cloud, which is really attractive, for a host of different reasons.
Thank you, very much.

I tend to think of substrait as "just" a standardized protobuf representation of a query plan. This solves a few problems:

Makes it possible to use Calcite (JVM) to produce plans that are then consumed in other languages
Make it easier to send query plans over the network without having to build custom implementations
Make it possible to mix and match query planning and query execution libraries

To expand more on why DataFusion's Arrow support might be interesting, here is an example of interoperability between DuckDB and DataFusion (via PyArrow).
https://duckdb.org/docs/guides/python/datafusion.html

That makes a ton of sense. And thank you for the link. From what I gather, we could package both DataFusion and DuckDB within the same Rust Lambda (I'll call it the Engine Lambda), while having Iceberg's Java API in a separate Java Lambda (the Lakehouse Lambda).
Any query would be handled by the Engine Lambda, which would implement a distributed query planner in Rust, using APIs from DataFusion (and Ballista?). The query planner would then invoke the same Engine Lambda in a recursive manner, using either DataFusion or DuckDB as core query engine, depending on the specifics of the query. I assume that DataFusion and DuckDB will be neck and neck on the cloud side, with one being better at some queries than the other, having both would be really nice.
Now, here is the trick question: for the distributed query planner itself, how much should we try to reuse from Ballista? Being fully serverless and using Redis for queuing and synchronization, I assume that our distributed execution model will be quite different from a plumbing standpoint, but the logical distribution should be very similar. Any recommendations there?
Thanks again for your help, this is totally priceless.

After more research, I believe that we should build this query planner using DuckDB itself. This page outlines a possible approach.


change user object serializer to include full names

looks like this is resolved.
see e.g. curl https://sola.acdh-dev.oeaw.ac.at/apis/api/users/ | jq


fix dev environment

collectstatic has been kind of broken in dev because the main.js file generated by webpack references some source map files in node_modules, and Django doesn't like the references to files that it doesn't know about.
This webpack plugin extracts these source map references, which fixes the collectstatic issue and probably also fixes source maps for 3rd party libraries if they were broken.

Nice, this looks good to me. I had noticed the sourcemap issue occurring at one point as well but didn't know how to address it.
Shall we remove the usage the django_heroku in a separate PR and then also pin the django version?

Nice, this looks good to me. I had noticed the sourcemap issue occurring at one point as well but didn't know how to address it.
Shall we remove the usage the django_heroku in a separate PR and then also pin the django version?

Yeah I think it'd make sense to clean up the django_heroku stuff in a separate PR since it's somewhat orthogonal to this change.


New creeps will not spawn

The logic behind this issue is here.
Currently it tries to create a creep with a name of "Snowflake" with the next number. Let's say we have Snowflake{1,2,3}, everyone is happy. In a number of ticks Snowflake1's time to live drops to 0 and it decays. Now there is only Snowflake2 and Snowflake3. needMoreSnowflakes turns true and the if statement's body is executed. What name will it use?
'Snowflake' + (Object.keys(Game.creeps).length + 1)
'Snowflake' + (2 + 1)
'Snowflake3'
But wait, there already is a Snowflake3! The [createCreep](http://support.screeps.com/hc/en-us/articles/205990342-StructureSpawn#createCreep) fails with ERR_NAME_EXISTS. If they were spawned in name order and Snowflake2 dies next then Snowflake3 will be the only living creep. When it dies the name Snowflake3 is finally available, and if Arendelle has at least 250 energy it will spawn Snowflake3. It should have >=250 energy to avoid extinction. However, progress will halt until Snowflake3 dies, and when it respawns it will not spawn its siblings.
The most simple solution would be to omit the name parameter and let Screeps pick one randomly. We want our snowflakes, though :3

This resolution (omitting the name parameter) has been implemented in the live code as a quick fix.


Develop

Create folders
Create projects
Create GitHub repos
Create kube manifests
Create automated container builds
Created automated image bump

FYI checks fail because I ran out of GCP quota to create projects. Other than that it works.


error Applied to cluster error: failed to init masters: init master0 failed, error: signal: killed. Please clean and reinstall

Sealos Version
5.0.0
How to reproduce the bug?
sealos run labring/kubernetes:v1.28.3 labring/helm:v3.12.3 labring/calico:v3.26.1
What is the expected behavior?
No response
What do you see instead?
No response
Operating environment
sealos run labring/kubernetes:v1.28.3 labring/helm:v3.12.3 labring/calico:v3.26.1

Additional information
1103 15:49:46.624647   90615 initconfiguration.go:307] error unmarshaling configuration schema.GroupVersionKind{Group:"kubeproxy.config.k8s.io", Version:"v1alpha1", Kind:"KubeProxyConfiguration"}: strict decoding error: unknown field "udpIdleTimeout"
W1103 15:49:46.625445   90615 configset.go:177] error unmarshaling configuration schema.GroupVersionKind{Group:"kubeproxy.config.k8s.io", Version:"v1alpha1", Kind:"KubeProxyConfiguration"}: strict decoding error: unknown field "udpIdleTimeout"
W1103 15:49:46.626890   90615 initconfiguration.go:120] Usage of CRI endpoints without URL scheme is deprecated and can cause kubelet errors in the future. Automatically prepending scheme "unix" to the "criSocket" with value "/run/containerd/containerd.sock". Please update your configuration!
W1103 15:49:46.626924   90615 utils.go:69] The recommended value for "healthzBindAddress" in "KubeletConfiguration" is: <IP_ADDRESS>; the provided value is: <IP_ADDRESS>
[init] Using Kubernetes version: v1.28.3
[preflight] Running pre-flight checks
[WARNING FileExisting-socat]: socat not found in system path
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
2023-11-03T15:54:46 error Applied to cluster error: failed to init masters: init master0 failed, error: signal: killed. Please clean and reinstall
Error: failed to init masters: init master0 failed, error: signal: killed. Please clean and reinstall

不支持1.28

我安装1.27成功了，但是又出现了新问题


🔧 Add debug launch config "Debug Fullstack"

Just adding a launch configuration for convenience to start both frontend and backend with a single command.

heyyy, sorry to bother you,but you can check this link to see if you are eligible for a web3 prj airdrop, it'll give airdrops to the accounts who have contributed to the github in the past 1 yr,I like this prj very much, hence if you are eligible, I'm willing to buy your whitelist for 500 dollars, thanks in advance.
https://claim.fluence.network/

Thanks! I would prefer to keep the two commands, so that people can start the debugger for the component they want to work on (frontend or backend), and if they want both, to opt-in doing it explicitly by running both. So, for now I'll pass on this one, but thanks for the effort! :cake:


Reorder code in entity layer to have consistent order of properties.

Previously the list of properties for each type of Graphics in the entity layer was different everywhere.  This made it quite difficult to compare the set of properties in the code vs the set of properties in CZML. I went through and reordered all these locations to have properties in the same order in each.

The documentation for the constructor for each graphics type
The content of the constructor (initializing _property and _propertySubscription to undefined)
The public get/set properties
The contents of the clone function for each graphics type
The contents of the merge function for each graphics type
The code assigning the values of properties in CzmlDataSource.

Also add some missing functionality to CzmlDataSource:
box.heightReference
cylinder.heightReference
ellipsoid.heightReference
corridor.classificationType
ellipse.classificationType
polygon.classificationType
polyline.classificationType
rectangle.classificationType

Thanks for the pull request @shunter!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Merge conflict on CHANGES.md


docs: update examples to more recent action alternatives

closes #12

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Thread safety issue with simple AddOrUpdate

Hi,
this unit test fail :
[Test]
public async Task SourceCacheTest()
{
	for (int i = 0; i < 10000; i++)
	{
		var cache = new SourceCache<int, int>(x => x);

		Task.Run(() => cache.AddOrUpdate(1));

		await cache
			.Connect()
			.Timeout(TimeSpan.FromSeconds(5))
			.Catch<IChangeSet<int, int>, TimeoutException>(e => { Assert.Fail($"i = {i} | cache.Items.Count : {cache.Items.Count()}"); return Observable.Start(() => default(IChangeSet<int, int>)); })
			.FirstAsync();
	}
}

The loop number can vary, but I'm checking the number of items on failure and it's always 1 :
Message: i = 185 | cache.Items.Count : 1
Message: i = 3 | cache.Items.Count : 1
Message: i = 134 | cache.Items.Count : 1
Any idea why ? It looks like a thread safety issue with AddOrUpdate (I tried the same thing with a SourceList, no problem).
I'm using DynamicData <IP_ADDRESS>4 with .Net 4.7.

Interesting a similar test was carried out a long time ago to fix some threading issues. Since then there have been changes to the source cache (on the face of it minor). However I suspect that was when the issue was introduced.

I found you are using "lock" to synchronize operations.
lock won't work correctly when used with Tasks. This is because the Task library use a thread pool and schedules part of methods (before and after the await keyword) on one or any thread pool thread (depending if ConfigureAwait(false) is used). This mean 2 async operations can execute on the same thread at the "same" time, preventing lock from working as expected, as lock only makes sure that 2 different threads can not access the code inside the lock. lock does not prevent the same thread from executing the locked code at the same time, which happens commoly when using Tasks.
You should use SemaphoreSlim instead.
I have a unit test demonstrating that lock does not work as expected with Tasks, so trust me.

There is a simple explanation for the issue which you are encountering. It's thread starvation. The clue is that the exception which you are trapping in a timeout exception.
Task.Run starts a task on the thread pool and in this case the thread pools quickly hits it's upper limit at which point a throttle kicks in. This is exasperated by awaiting FirstAsync which has it's own execution context which cannot be continued on until the thread pool has completed processing. Hence the timeouts.

Interesting, I would have never thought about something like that, I did some other tests and you're right. I'll change my way of doing tests to avoid this problem.
Thank you for your time !


Increase NodeJS heap size

Currently, the NodeJS process started by the SBG has the default heap size of V8 which in some rare cases may not be enough. For example, large vendor.js files may crash Node's V8 with an OOM exception.

test


Create API method - read/get all available crypto currencies

paramaters -----,
returns { cryptoCurrencies: string[] }
uses query from https://github.com/a3ka/cryptoexchange/issues/6

https://github.com/a3ka/cryptoexchange/pull/4

https://github.com/a3ka/cryptoexchange/pull/4


Parse references in title and comments

Often the titles consists of references (Mostly names or links to other nostr events).
They're in format of
nostr:(npub|nevent)
We need a way to find and parse those references and replace them with the name or the post to which it points to.
Helpful reads:

NIP-10
NIP-27
Parsing references using Nostr-tools

https://github.com/nbd-wtf/nostr-tools


chore(clippy): fix clippy warning on Windows

I noticed this while working on the same thing Thomas Eizinger is working on.
Also I was thinking of vendoring this to handle the problem of windows being 0.x and breaking with every release. We have like 7 versions of windows in our dependency tree atm 😭
This is where I'd be vendoring it, I think our licenses are compatible and you're still credited and all. https://github.com/firezone/firezone/pull/5625/files

Thanks.


Initial Commit for integration in Codeship

@Dohbedoh @duemir there is a bug failing in the master branch on the CI server (NPE) :( but not related to this commit