Roll back #37 for now

I'll file an issue to eliminate the NEON_NODE_ABI environment variable as part of the 0.2 release, whenever that happens. For now it doesn't really hurt to keep compatibility.

r+ :shipit:


[BUG] Adding the content to "Lorem ipsum..." of footer section

Is there any existing issue for this?

[X] I have searched the existing issues

Description
The footer section of the website has a para of "Lorem ipsum..". Proper info about the website should be given their.
Screenshots
Here is the current footer section:

Any additional information?
Please assign me this issue under GSSoC'23
What browser are you seeing the problem on?
Chrome

Please assign me this issue under GSSoC'23

Go on @1Shubham7, start working on it.

@prnvtripathi  Thanks  a lot. I will surely not disappoint you.


Preferred way for outputting

This is probably both a bug report and a question.
Since cyclonedx.output.get_instance() has been removed via #493 the examples for the outputting in the docs are not valid anymore(bug report):
from cyclonedx.output import get_instance, BaseOutput, OutputFormat

outputter: BaseOutput = get_instance(bom=bom, output_format=OutputFormat.JSON)
bom_json: str = outputter.output_as_string()

Here comes the question part:
:a: The preferred way (as suggested in the deprecation message) would be using the cyclonedx.output.make_outputter() like this :
from cyclonedx.output import make_outputter, BaseOutput, OutputFormat, SchemaVersion

outputter: BaseOutput = make_outputter(bom=bom, output_format=OutputFormat.JSON, schema_version=SchemaVersion.V1_6)
bom_json: str = outputter.output_as_string()

:b: There is also a much simpler way to use the predefined format+schema combined outputs:
from cyclonedx.output.json import JsonV1Dot6

outputter = JsonV1Dot6(bom=bom)
bom_json: str = outputter.output_as_string()

Which one of :a: or :b: would be the preferred way?
If we agree on it, I can create a PR to resolve the bug in the docs.

Foremost, thanks for reporting the incorrect docs.
Feel free to pullrequest improvements. The doc-sources are here: https://github.com/CycloneDX/cyclonedx-python-lib/tree/main/docs

in https://github.com/CycloneDX/cyclonedx-python-lib/blob/main/examples/complex_serialize.py we use the following options:

https://github.com/CycloneDX/cyclonedx-python-lib/blob/a210809efb34c2dc895fc0c6d96a3412a9097625/examples/complex_serialize.py#L82-L83
https://github.com/CycloneDX/cyclonedx-python-lib/blob/a210809efb34c2dc895fc0c6d96a3412a9097625/examples/complex_serialize.py#L102-L103

both examples correlate with yours.

Which one of 🅰 or 🅱 would be the preferred way?

We do not have one.
But we have one for certain situations:

if you have actual variables for output_format and schema_version, then go with the flexible  🅰. - here you can inject your variables.
if output_format and schema_version are mere constants, then you could use the less flexible 🅱.

For example, let's say I had a script that always outputs CycloneDX 1.5 as XML - then I would go with 🅱.
If I had a CLI tool that takes the output_format and schema_version from command line arguments, then I would go with 🅰, since it gives me more flexibility without writing large behavior-maps or if/elif/match/case code blocks.

Let's also look at the internals.
🅰's make_outputter is just a fancy wrapper with a maintained behavior map for 🅱. https://github.com/CycloneDX/cyclonedx-python-lib/blob/a210809efb34c2dc895fc0c6d96a3412a9097625/cyclonedx/output/__init__.py#L126-L138
We found that some downstream users implemented a behavior-map like that, and when we introduced breaking changes, they often did not upgrade because they would need to change these mappings that were buried somewhere deep in their code.
So we decided to provide and maintain these mappings in the library, so that users don't have to. This led to the API make_outputter().

Feel free to pullrequest improvements. The doc-sources are here: https://github.com/CycloneDX/cyclonedx-python-lib/tree/main/docs

@jkowalleck Thanks for the great explanation.
I've tried to combine the gist of it in the PR #709. Feel free to give your feedback on it.


SSL

What's the difference between 1.7.6 and 1.6.7? Whether 1.6.x does not support SSL

What's the difference between 1.7.6 and 1.6.7?

thx!!


[Enhancement] Support struct type partial selected with aggregate function

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #16778
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:heart_eyes: pass : 2 / 2 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/tree/ExtractAggregateColumn.java
2
2
100.00%
[]


Currency conversion

It'd be useful to have integration with currencylayer.com (or some other currency conversion API) for automatic currency rate conversion, maybe updated daily?

I see no reason why this should be implemented in the core.
@mterron
Create a simple external script and update the database table currencies. (Maybe a API access would be nice here.)

Anyone can write a plugin for that.


Helm chart: Clickhouse should be managed by StatefulSet instead of Deployment

Hello!
Thanks a lot for such a big contribution to the K8s community!
I'm trying your Loghouse right now and I find the following strange: ClickHouse is a stateful app, yet, you manage it with a Deployment in your Helm chart.
I can provide a PR to fix that, what do you think?
Thank you!

Yea, you are entirely right. We are misusing deployment. PR with the fix for that will be well appreciated. The hardest part, like always, is to find the proper upgrade way.
Speaking about the future, we hope that at some time there will be Clickhouse operator and we will rely on it.

Done in #137, released as v0.3.0.


display "Bad Gateway" when i try to login the webui

After checking the log, it is found that when the container is started, three addresses will be requested, and these addresses may not be accessible in China and are blocked for a long time, resulting in the failure of the background application to start normally.
After I tried to modify the local hosts file, it returned to normal
<IP_ADDRESS> www.cloudflare.com <IP_ADDRESS> ip-ranges.amazonaws.com
Are there any other measures？

登录页面进不去了，bad gate,前面几天偶尔可以登进去。实际代理是在工作的


Show ability modifiers in green/red depending on positive/negative.

Ability modfiers should be displayed in green or red depending on whether they are positive or negative.

Added in 1039824d09ec8ac5a2bef6a00b96baaec0ba671a.


Make it possible to specify message size for grpc

Currently, images being included in messages can cause the max message size to be exceeded. As a mitigation we should allow the user to expand the max size using grpc
https://stackoverflow.com/questions/42629047/how-to-increase-message-size-in-grpc-using-python

@ekzhu I can take this one, can you please assign it to me?


Cancelling the resource in case of tarball error

Toward https://github.com/giantswarm/giantswarm/issues/7359

@giantswarm/team-batman @giantswarm/sig-operator It's ready, PTAL


[#1941] Display full citation

The full citation is now displayed. The container resizes appropriately.
URL is again clickable

Also:

Updated 'Copy Resource' and 'Create New Resource Version' button icons

@mauriel133 Some front-end unit tests are failing that need to be fixed.

@pkdash, How can I get more details on what failed in the test?

How can I get more details on what failed in the test?

@mauriel133 - Follow the Details link next to Jenkins PR
In this case it's these


diffutils: 3.3 -> 3.4

Motivation for this change
This causes 12000+ packages rebuild.
Things done

[X] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

See http://lists.gnu.org/archive/html/info-gnu/2016-08/msg00004.html
for release announcement.

Doesn't this rebuild absoletely everything on master?

Yes it does. @lancelotsix in future, perhaps better to submit PR against staging since you knew it was going to rebuild a lot of stuff.

Yes. sorry. I revert it from master and cherry-pick into staging shortly


[bug] sveltekit-ts doesnj't work

Describe the bug
Uncaught (in promise) TypeError: window.TAURI_IPC is not a function
Reproduction
npm run dev
just choose npm and sveltekit-ts
Expected behavior
should greet you.
Platform and versions
linux, kde
Stack trace
Uncaught (in promise) TypeError: window.__TAURI_IPC__ is not a function

Additional context
No response

Please provide a minimal repro. sveltekite-ts template from create-tauri-app works fine out of the box. The error you have is probably because you are using tauri APIs in Node.js contenxt instead of Client (Browser) context

What guide did you follow?

sh <(curl https://create.tauri.app/sh)

You're using the wrong command. npm run dev only starts the frontend, to start the tauri app use npm run tauri dev
P.S. Tauris apis don't work in the browser which is why you're seeing that error.

I get the same error with npm run tauri dev
[vite] connected. [client.ts:134:14](http://localhost:1420/src/client/client.ts)
Uncaught (in promise) TypeError: window.__TAURI_IPC__ is not a function
    c chunk-RCPA6UVN.js:1
    c chunk-RCPA6UVN.js:1
    greet Greet.svelte:9

Actually nevermind it was still building.
Is there a way with tauri to run on a web server? It seems like desktop only right now.


retire the translation team and translations of the website

Currently we have a team labeled the translation team.
Translation Team Definition
There has been a lot of desire from the beginning of Black Python Devs.
Unfortunately, we have not been able to get a commitment to maintain the translations of the website with any regularity. We also have not been able to appoint individuals to take ownership of these tasks.
Therefore, it is my recommendation that we dissolve the translation team until we are able to field a team that can maintain the existing website.
What will we do about translations?
I don't know what to suggest here.
Translations are a moving target. I worry that we won't be able to handle accessibility and translations effectively.
I look at other websites that are much larger than we are. Most of their site is not translated. This includes -
Python.org
Djangoproject.org
PyLadies.com
Usually the parts that are translated are documentation and policy documents.
My suggestion is that we implement a similar approach.
I think we focus translation efforts onto policy and program pages in GitHub while leaving our primary website in English.

Thanks for bringing this up @kjaymiller and thanks for your detail analysis and suggestion. I agree that maintaining translations without a dedicated team is very challenging.

Dissolution of the Translation Team: This seems like a practical step given the current circumstances.
Focus on Important Documents: Implementing a focused translation approach for policy and program pages on GitHub while keeping the main website in English makes sense.

I believe right now we can proceed on that; we can revisit the website translations in the future when we have more resources.

Yes @kjaymiller, I'm kinda compelled to concur, it's been a busy year, my sincerest apologies for not being able to keep up with the translations.

I've shared this with the leadership council as well and will give them 48 hours to comment before taking action (expires 13 Dec 2024)

+1 for retiring the team. With the built in translation capabilities of most browsers the efforts can better be spent elsewhere until a time comes where there is a greater need for human translated pages.

I was part of the people who has the desire to translate the website and I didn't managed to do it, unfortunately.
I understand the fact of retirement of the translation team, without the appropriate team it's hard to keep translations accurate and contribute regularly.
Nevertheless, I don't think it should be abandoned. Language is also part of having the website accessible to everyone and I know it's in the values of BPD to welcome everyone. Could we instead put a banner to say that this language is incomplete that translators are needed with a link to contribute? It will not relay only on the current translation team, they could review and it will also help folks to contribute. Maybe not the ideal solution but IMO it worth to try before to dissolve the translation team.
The best example to illustrate this is the Django Girls+ tutorial. Other languages not fully translated are shown as beta.
Note that for the Django side, there is on going work for translating all the website but it's a lot of work.

Could we instead put a banner to say that this language is incomplete that translators are needed with a link to contribute?

I am open to the idea. The challenge that I have to this is that we have two forms of incomplete. Data that has changed and data that doesn't exist. I think we would need to look at what we're doing now and how we could indicate pages missing translation and pages needing to be updated.
In order to do this I would ask if the @BlackPythonDevs/translations  Team can help with that.
The biggest challenge is that this site being Jekyll will likely need some processing during the build to ensure accuracy.


Enable node_modules caching in Travis

While working on adding happo to the test suite (#474) I've noticed that it takes quite a while (up to 2 mins). I think you could benefit quite a bit from using the bundler caching feature in Travis:
https://docs.travis-ci.com/user/caching/#Caching-directories-(Bundler%2C-dependencies)
tl;dr - "To use the caching feature, in your repository settings, set Build branch updates to ON."

Agreed, we could probably get some build speed benefits here by caching node_modules in Travis.
Being that we do not currently use a package.lock, I am a little concerned that updates to transitive dependencies might not get picked up, and our test suite might not catch something.  This happened to me just yesterday in a Netlify build.
I need to revisit best practices surrounding package.lock files and libraries.
In the mean time, I have another open PR that should help to speed up the build.

After some research, I don't believe that this is something that we want to enable at this time for reasons mentioned above.  We can revisit this later if it truly becomes a bottle-neck.

Cool, thanks for the update!


support multiple config filters, fix transaction filter (#25)

Is this related to https://github.com/Blockdaemon/solana-accountsdb-plugin-kafka/commit/890ee5dc391456036ed3cf3f268a81557c15d5dc#r129693759

Yes, related with my comment here https://github.com/Blockdaemon/solana-accountsdb-plugin-kafka/commit/890ee5dc391456036ed3cf3f268a81557c15d5dc#r129693759
multiple filters because in 1.16 it's not possible to use a few plugins multiple times and I'm not sure when the patch would be applied https://github.com/solana-labs/solana/pull/33550

@fanatid Thanks for adding this.  Would it be possible to update the README to reflect the new config format?


Upgrade bigdecimal to 4.0.1

bigdecimal 4.0.1
Let's upgrade bigdecimal to version 4.0.1
I think we can do it just by editing Cargo.toml files in core/ and test-suite/

Oh.. sqlparser has to upgrade the version first.
I had to raise the issue sqlparse, not here


"Index is not a non-zero unsigned integer." may be too technical of an error message

I think there was a PE-D bug that reported this error message but I can't find it anymore
Same if -1111 was used.
Quoting the part that was wrong might make this err msg more helpful too.

Linked to #165


Automatic setup skips critical option to work around VS2019 tooling bug

At the bottom of the article there is a note about not using the Secret store (with VS2019 and Full .NET Framework apps), and notes that the instructions on the page avoid the use of the secret store to avoid this bug. However, if you just follow the instructions for the automatic setup (using the wizard/tooling), it does not note that you need to make sure and select the option to NOT use the secret store when using the wizard. This is super important. I just lost nearly two days of work trying to track down why my full framework app would not talk to Azure correctly.
Even better would be to fix the Visual Studio tooling to either remove the option, or fix the root cause. I'd imagine a lot of people run into this.

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

ID: 225a3185-819c-9723-70cb-78cd95c9506f
Version Independent ID: 6f818cb1-5c1e-22a0-dbb5-cb065d880775
Content: Configure monitoring for ASP.NET with Azure Application Insights - Azure Monitor
Content Source: articles/azure-monitor/app/asp-net.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: lagayhar

@jhurdlow -
Thanks for brining this to our attention. We will investigate it further and update you shortly.


Support f64 values for the n parameter

Hello, @ankane.
Do you know of any reason why the algorithm you use could not support type f64 (instead of u32) for the ppf function (to calculate the quantile value for the t distribution)?
Reading the linked article "Algorithm 396: Student's t-quantiles" by G W Hill, it suggests that n can be taken as a real number (rather than limited to being an integer). So could that be reflected in your ppf function (or in an new function called ppf_f64 or something similar) or is there a reason why this Rust code would break if n is not an integer value?
If it can be done, could you create a new function to provide this all-arguments-f64 mode? (The only thing I'm wondering about this is whether it would be able to detect that an f64 value is exactly 1.0 or 2.0 in order to return the shortcut calculations. Maybe floating point errors would mean that an f64 can never be exactly 1.0 or 2.0 and so the shortcuts would be impossible. In that case, does the full version of the algorithm still return the correct value for n_f64=1 and n_f64=2, just a bit slower?)

Hey @Bobulous, thanks for the suggestion. I updated the existing functions to take a f64 (as well as an integer). 1 and 2 can be represented exactly in floating point, so there's no issue there.

Thank you, @ankane.
Are you able to create a new tag/release number so that I can pull your new version (with the f64 parameter type) into Rust projects using Cargo.toml [dependencies]?
(And if you like the new gamma function in my pull request, could you give that its own tag/release number too?)


Error: IncompleteMessage: connection closed before message completed

Hey, I'm experiencing a weird behavior with the hyper client when using https.
Sometimes my app in production fails to perform the request, but the same request works most of the time. I performed a load test locally to try to reproduce the problem, and I could reproduce: it is occurring ~0.02% of the times.
I guess that it could be something related to the hyper-tls, so I switched to hyper-rustls, but the same problem continue to occur.
So I tried to hit the url using http instead of https and the error went away!
The error I receive from hyper::Client::get is: hyper::Error(IncompleteMessage): connection closed before message completed.
Follow a minimal working example to reproduce the error:
Cargo.toml:
[dependencies]
hyper = "0.13"
tokio = { version = "0.2", features = ["full"] }
hyper-tls = "0.4.1"

src/main.rs:
use std::convert::Infallible;
use std::net::SocketAddr;

use hyper::service::{make_service_fn, service_fn};
use hyper::{Body, Client, Response, Server, Uri};
use hyper_tls::HttpsConnector;

pub type HttpClient = Client<HttpsConnector<hyper::client::connect::HttpConnector>>;

#[tokio::main]
async fn main() {
    let addr = SocketAddr::from(([0, 0, 0, 0], 8100));
    let client = Client::builder().build::<_, hyper::Body>(HttpsConnector::new());

    let make_service = make_service_fn(move |_| {
        let client = client.clone();
        async move { Ok::<_, Infallible>(service_fn(move |_req| handle(client.clone()) )) }
    });

    let server = Server::bind(&addr).serve(make_service);

    println!("Listening on http://{}", addr);

    if let Err(e) = server.await {
        eprintln!("server error: {}", e);
    }
}

async fn handle(client: HttpClient) -> Result<Response<Body>, hyper::Error> {

    let url = "https://url-here"; // CHANGE THE URL HERE!

    match client.get(url.parse::<Uri>().unwrap()).await {
        Ok(resp) => Ok(resp),
        Err(err) => { eprintln!("{:?} {}", err, err); Err(err) }
    }
}

PS: replace the url value with a valid https url. In my tests I used a small file on aws s3.
I performed a local load test using hey:
$ hey -z 120s -c 150 http://localhost:8100

Running the test for 2 minutes (-z 120s) was enough to see some errors appearing.
Could anyone help me out? If I need to provide more information, or anything, just let me know.
Thank you!

This is just due to the racy nature of networking.
hyper has a connection pool of idle connections, and it selected one to send your request. Most of the time, hyper will receive the server's FIN and drop the dead connection from its pool. But occasionally, a connection will be selected from the pool and written to at the same time the server is deciding to close the connection. Since hyper already wrote some of the request, it can't really retry it automatically on a new connection, since the server may have acted already.

Hey, thank you for the swift response!
I got it! So the connection is being reused, right? It is due the keep-alive option?
If it is, disabling this flag, or performing a retry on the app side should solve the issue?

Also, I could not reproduce the error when requesting a url over http. I tried a lot of times, without success, I could only reproduce the issue when requesting a url over https.
If that is the reason, I should experienced the issue when using http too, right?

I just found that aws s3 has a default max idle timeout of 20s, and hyper's default keep_alive_timeout is 90s.
Settings the keep_alive_timeout to less than 20s on hyper client seems to have solved the problem!
Thank you, your explanation really help me to understand why this was happening!

I was looking at the java aws client, and I saw that they use the max-idle-timeout as 60s, but there is a second property called validate-after-inactivity (5s default) that allows the idle timeout be so high.
Looking at the code, I saw that the http client they use supports this behavior.
It would be possible to implement the same behavior on hyper? Does it makes sense? :smile:

I believe the "revalidation" it does is to poll that it is readable. In hyper, we already register for when the OS discovers the connection has hung up. The race would still exist, if the "revalidation" happened at the same time the server was closing.

Anyone getting this with reqwest, try this:
let client = reqwest::Client::builder()
    .pool_max_idle_per_host(0)
    .build()?;

https://github.com/wyyerd/stripe-rs/pull/172

Well, I tried to use .pool_max_idle_per_host(0) and I still got this error today.

This is just due to the racy nature of networking.
hyper has a connection pool of idle connections, and it selected one to send your request. Most of the time, hyper will receive the server's FIN and drop the dead connection from its pool. But occasionally, a connection will be selected from the pool and written to at the same time the server is deciding to close the connection. Since hyper already wrote some of the request, it can't really retry it automatically on a new connection, since the server may have acted already.

Could that not be avoided by syncing the connection selection with the FIN requests? Is the performance penality to high?

I think it's unexpected for most people that this isn't automatically retried? If i ask the library to get a website for me i expect it to not fail because the keep alive timed out. If it should use keepalive by default it should also be able to handle it properly?
Am I misunderstanding anything here? I think closing this as completed is misleading :-)

I think it's unexpected for most people that this isn't automatically retried? If i ask the library to get a website for me i expect it to not fail because the keep alive timed out. If it should use keepalive by default it should also be able to handle it properly?
Am I misunderstanding anything here? I think closing this as completed is misleading :-)

hyper is a low level library and as such it doesn't do e.g. retries but instead leaves user at complete control of when/how retries should be done.
You don't ask hyper to "get a website" with retries, you would use a higher level library for that.

it should also be able to handle it properly?

It's just not possible conceptually, is it? See https://github.com/hyperium/hyper/issues/2136#issuecomment-589345238
Rather the application developer has to decide if the request should get retried, e.g. if it's a well behaving GET request or if it's visible on the application level that the request did or did not have the desired effect yet.
Side note: There seem to be some weird servers that silently time out connections, meaning that they do not close the connection when their timeout is reached but unconditionally close it as soon as they get reused later. While you can counteract that with a suitable pool_idle_timeout, I think it would be able for the client to trigger that behavior before sending an actual request. It would still be racy as any pool connection if it does not trigger, though.


Hong Kong re-annexed by China!

HK doesn't seem to be autonomous on the world countries map (unless I'm missing something).  If someone - who knows their way around this vector madness - could pull that out that would be bliss.

Hello,
You're right, I think it's a mistake. Feel free to contribute to the project by fixing the map (you can take a look at this tutorial : http://www.vincentbroute.fr/mapael/create-map.php ) . Anyway, I will fix it as soon as possible.


For discussion: Ignoring elements is not browser compatible

IF the aim is to make Scholarly HTML documents browser compatible then this is problematic: "Any children of article that are not section elements are ignored." Does this mean, for example that some document content would not display?

SH does not define any rule for browser processing. I have no expectation that browsers will ever implement anything specific here. The rules apply to software consuming SH in order to extract information relevant for SH means. Ignoring what you don't understand (and is likely not meant for you) is a strong principle of robustness. It is also very convenient because it means that SH is embeddable in relatively arbitrary content.
The style of the spec is still informal at this point; this is being addressed incrementally. The above should be made clearer when the conformance class for SH processors is introduced, making it obviously distinct from browsers.


Create orders for orphan transactions

Coverage increased (+0.1%) to 74.055% when pulling e8b2238b47d8b66753ddfcaeb4eafac5c7e49639 on create-orders-for-orphan-transactions into 71b1f8a2e491218b55dc68cc2dd16722a1a56f78 on master.


Add explanation of the purpose of dummy.ts

Merge after #26

I was initially wondering why the extra dummy.ts file was required, thanks for the additional explanation!


lme4 versioning

Note that convergence pruning for this draft was done with lme4 v1.1-13, but with versions 1.1-19, @angelinetsui reports singularity (but not convergence) warning. minimally we need to set up some version compliance for the ms, but it's also possible we should think about updating the pruning for the final version.
thoughts @christinabergmann @mekline @melsod?

To begin with, we should note the version in the final MS and add some language to the code about versioning and possible effects thereof.
I am not sure we need to update the model in the paper, but remain neutral on this issue (my main counter argument is to avoid additional rounds of review due to changing stats, because the analyses were done  correctly given the available version).

I have updated the model and noted the version in the ms.


next: mesos.Client API should reflect changes in httpcli package

.. and the demo (sched/exec) code should be updated to use mesos.Client instead of httpcli.Client

some fixes here: e26bc076e0385bdb01923b816c0cda4945389ec6
demo scheduler and executor still maintain ref's to the *httpcli.Client instead of mesos.Client


client support names files the same as the server certs

Not sure if this is something you want to address or not; I was able to trivially workaround with the naming flags.

Ah, yes, this should be fixed.

Fixed by 9e9563535ec66d65e984fe4d93d9025cb3abb5ab

thanks!!!
On Tue, Feb 5, 2019 at 11:20 AM Filippo Valsorda<EMAIL_ADDRESS>wrote:

Fixed by 9e95635
https://github.com/FiloSottile/mkcert/commit/9e9563535ec66d65e984fe4d93d9025cb3abb5ab
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FiloSottile/mkcert/issues/126#issuecomment-460768069,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABJ62UYuT_NZo0-HcLpsRjGNXbYiX3uks5vKdl2gaJpZM4ag13S
.


Fix intermittent clamp to ground failure

Fixes #6858
If the tile isn't finished loading, tile.data is the upsampled data from the parent tile, which isn't the correct height for that LOD.

Thanks for the pull request @hpinkos!

: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.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

@bagnell it's easy to reproduce the issue in master if you use the examle in #6858 and follow these steps:

Run the example
Once the globe is loaded, open the network tab in the debugger and throttle the download speed (i created a custom throttle profile with 4048 kb/s download speed)
Click the 'Set View To Entities' button while

👍


Error in running pymapdl

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
I have used the following command snippet to run pymapdl:
  from ansys.mapdl.core import launch_mapdl
  mapdl = launch_mapdl()

but it is showing an entry point error every time and it does not start.
Steps To Reproduce
--------------------------------------------------------------------------------------------------------------------------------------------
MapdlDidNotStart                          Traceback (most recent call last)
C:\Anaconda\lib\site-packages\ansys\mapdl\core\launcher.py in launch_mapdl(exec_file, run_location, jobname, nproc, ram, mode, override, loglevel, additional_switches, start_timeout, port, cleanup_on_exit, start_instance, ip, clear_on_connect, log_apdl, remove_temp_files, verbose_mapdl, license_server_check, license_type, print_com, add_env_vars, replace_env_vars, **kwargs)
   1513         elif mode == "grpc":
-> 1514             port, actual_run_location = launch_grpc(
   1515                 port=port,

C:\Anaconda\lib\site-packages\ansys\mapdl\core\launcher.py in launch_grpc(exec_file, jobname, nproc, ram, run_location, port, ip, additional_switches, override, timeout, verbose, add_env_vars, replace_env_vars, **kwargs)
    534     if not has_ans:
--> 535         raise MapdlDidNotStart(
    536             f"MAPDL failed to start (No err file generated in '{run_location}')"

MapdlDidNotStart: MAPDL failed to start (No err file generated in 'C:\Users\Shekhar Srivastava\AppData\Local\Temp\ansys_hftskucqvi')

During handling of the above exception, another exception occurred:

LicenseServerConnectionError              Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_15300/2042919200.py in <module>
      1 from ansys.mapdl.core import launch_mapdl
----> 2 mapdl = launch_mapdl()

C:\Anaconda\lib\site-packages\ansys\mapdl\core\launcher.py in launch_mapdl(exec_file, run_location, jobname, nproc, ram, mode, override, loglevel, additional_switches, start_timeout, port, cleanup_on_exit, start_instance, ip, clear_on_connect, log_apdl, remove_temp_files, verbose_mapdl, license_server_check, license_type, print_com, add_env_vars, replace_env_vars, **kwargs)
   1536         # to the license check
   1537         if license_server_check:
-> 1538             lic_check.check()
   1539             # pass
   1540         raise exception

C:\Anaconda\lib\site-packages\ansys\mapdl\core\licensing.py in check(self)
    443             return True
    444         elif self._license_file_success is False:
--> 445             raise LicenseServerConnectionError("\n".join(self._license_file_msg))
    446
    447         if self._license_checkout_success:

LicenseServerConnectionError: Exceeded 10 seconds while waiting for C:\Users\Shekhar Srivastava\AppData\Local\Temp\.ansys\licdebug.DESKTOP-N96VMAF.FEAT_ANSYS.222.out to exist.

Which Operating System are you using?

Hi @FiniteShekhar
It seems you have a problem with the license:
LicenseServerConnectionError: Exceeded 10 seconds while waiting for C:\Users\Shekhar Srivastava\AppData\Local\Temp\.ansys\licdebug.DESKTOP-N96VMAF.FEAT_ANSYS.222.out to exist.

Can you check you can run MAPDL using the Mechanical Launcher?

Hello
Thanks for your reply.
I have installed Ansys student.
Also, I have checked and the mapdl is working perfectly fine.
I don't know why there is a license error.
On Tue, Aug 9, 2022, 6:04 PM German @.***> wrote:

Hi @FiniteShekhar https://github.com/FiniteShekhar
It seems you have a problem with the license:
LicenseServerConnectionError: Exceeded 10 seconds while waiting for C:\Users\Shekhar Srivastava\AppData\Local\Temp.ansys\licdebug.DESKTOP-N96VMAF.FEAT_ANSYS.222.out to exist.
Can you check you can run MAPDL using the Mechanical Launcher?
—
Reply to this email directly, view it on GitHub
https://github.com/pyansys/pymapdl/issues/1330#issuecomment-1209324449,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2NEPW7Z7KKPPJXLTQUHPZ3VYJF7BANCNFSM557UHG2A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Can you post here the result of the following python code:
from ansys.mapdl.core import Report
print(Report())

Also, can you try to run the following code in a terminal/windows shell:
& 'C:\Program Files\ANSYS Inc\v212\ansys\bin\winx64\ANSYS212.exe' -grpc

or in Linux:
/ansys_inc/v212/ansys/bin/ANSYS212.exe -grpc

Replace the path with your ANSYS installation path.

Here it is:
PyMAPDL Software and Environment Report
Packages Requirements

Core packages
ansys.mapdl.core    : 0.63.1
numpy               : 1.20.3
appdirs             : 1.4.4
scipy               : 1.7.1
grpc                : Package not found
ansys.api.mapdl.v0  : 0.4.1
ansys.mapdl.reader  : 0.51.14
google.protobuf     : Package not found
Optional packages
matplotlib          : 3.4.3
pyvista             : 0.34.2
pyiges              : 0.2.1
tqdm                : 4.62.3
Ansys Installation

Unable to locate any Ansys installations
Ansys Environment Variables

ANSYS222_DIR                   C:\Program Files\ANSYS Inc\ANSYS Student\v222\ANSYS
ANSYSLIC_DIR                   C:\Program Files\ANSYS Inc\Shared Files\licensing
ANSYSLMD_LICENSE_FILE          C:\Program Files\ANSYS Inc\Shared Files\licensing\license_files\ansyslmd.lic
ANSYS_SYSDIR                   winx64
ANSYS_SYSDIR32                 win32
AWP_ROOT222                    C:\Program Files\ANSYS Inc\ANSYS Student\v222
CADOE_LIBDIR222                C:\Program Files\ANSYS Inc\ANSYS Student\v222\CommonFiles\Language\en-us

OK. Can you try the following?
``py
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl(exec_file=r"C:\Program Files\ANSYS Inc\ANSYS Student\v222\ANSYS\bin\winx64\ANSYS222.exe")

By inputting

above command snippet, same error is occurring.

MapdlDidNotStart                          Traceback (most recent call last)
C:\Anaconda\lib\site-packages\ansys\mapdl\core\launcher.py in launch_mapdl(exec_file, run_location, jobname, nproc, ram, mode, override, loglevel, additional_switches, start_timeout, port, cleanup_on_exit, start_instance, ip, clear_on_connect, log_apdl, remove_temp_files, verbose_mapdl, license_server_check, license_type, print_com, add_env_vars, replace_env_vars, **kwargs)
1513         elif mode == "grpc":
-> 1514             port, actual_run_location = launch_grpc(
1515                 port=port,
C:\Anaconda\lib\site-packages\ansys\mapdl\core\launcher.py in launch_grpc(exec_file, jobname, nproc, ram, run_location, port, ip, additional_switches, override, timeout, verbose, add_env_vars, replace_env_vars, **kwargs)
534     if not has_ans:
--> 535         raise MapdlDidNotStart(
536             f"MAPDL failed to start (No err file generated in '{run_location}')"
MapdlDidNotStart: MAPDL failed to start (No err file generated in 'C:\Users\Shekhar Srivastava\AppData\Local\Temp\ansys_bahhhhudgb')
During handling of the above exception, another exception occurred:
LicenseServerConnectionError              Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_11492/1219766555.py in
1 from ansys.mapdl.core import launch_mapdl
2
----> 3 mapdl = launch_mapdl(exec_file=r"C:\Program Files\ANSYS Inc\ANSYS Student\v222\ANSYS\bin\winx64\ANSYS222.exe")
4
5 print(mapdl.prep7())
C:\Anaconda\lib\site-packages\ansys\mapdl\core\launcher.py in launch_mapdl(exec_file, run_location, jobname, nproc, ram, mode, override, loglevel, additional_switches, start_timeout, port, cleanup_on_exit, start_instance, ip, clear_on_connect, log_apdl, remove_temp_files, verbose_mapdl, license_server_check, license_type, print_com, add_env_vars, replace_env_vars, **kwargs)
1536         # to the license check
1537         if license_server_check:
-> 1538             lic_check.check()
1539             # pass
1540         raise exception
C:\Anaconda\lib\site-packages\ansys\mapdl\core\licensing.py in check(self)
443             return True
444         elif self._license_file_success is False:
--> 445             raise LicenseServerConnectionError("\n".join(self._license_file_msg))
446
447         if self._license_checkout_success:
LicenseServerConnectionError: Exceeded timeout of 108.0 seconds while examining:
C:\Users\Shekhar Srivastava\AppData\Local\Temp.ansys\licdebug.DESKTOP-N96VMAF.FEAT_ANSYS.222.out

Mmhh... It seems a problem with the MPI.
Could you try:
from ansys.mapdl.core import launch_mapdl

mapdl = launch_mapdl(exec_file=r"C:\Program Files\ANSYS Inc\ANSYS Student\v222\ANSYS\bin\winx64\ANSYS222.exe", additional_switches="-smp")

print(mapdl.prep7())

New error:
ValueError                                Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_11492/965426865.py in
1 from ansys.mapdl.core import launch_mapdl
2
----> 3 mapdl = launch_mapdl(exec_file=r"C:\Program Files\ANSYS Inc\ANSYS Student\v222\ANSYS\bin\winx64\ANSYS222.exe", additional_switches="-smp")
4
5 print(mapdl.prep7())
C:\Anaconda\lib\site-packages\ansys\mapdl\core\launcher.py in launch_mapdl(exec_file, run_location, jobname, nproc, ram, mode, override, loglevel, additional_switches, start_timeout, port, cleanup_on_exit, start_instance, ip, clear_on_connect, log_apdl, remove_temp_files, verbose_mapdl, license_server_check, license_type, print_com, add_env_vars, replace_env_vars, **kwargs)
1538             lic_check.check()
1539             # pass
-> 1540         raise exception
1541
1542     return mapdl
C:\Anaconda\lib\site-packages\ansys\mapdl\core\launcher.py in launch_mapdl(exec_file, run_location, jobname, nproc, ram, mode, override, loglevel, additional_switches, start_timeout, port, cleanup_on_exit, start_instance, ip, clear_on_connect, log_apdl, remove_temp_files, verbose_mapdl, license_server_check, license_type, print_com, add_env_vars, replace_env_vars, **kwargs)
1520                 **start_parm,
1521             )
-> 1522             mapdl = MapdlGrpc(
1523                 ip=ip,
1524                 port=port,
C:\Anaconda\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py in init(self, ip, port, timeout, loglevel, log_file, cleanup_on_exit, log_apdl, set_no_abort, remove_temp_files, print_com, channel, remote_instance, **start_parm)
300         self._port = port
301         self._ip = ip
--> 302         super().init(
303             loglevel=loglevel,
304             log_apdl=log_apdl,
C:\Anaconda\lib\site-packages\ansys\mapdl\core\mapdl.py in init(self, loglevel, use_vtk, log_apdl, log_file, local, print_com, **start_parm)
199         self._log.debug("Logging set to %s", loglevel)
200
--> 201         from ansys.mapdl.core.parameters import Parameters
202
203         self._parameters = Parameters(self)
C:\Anaconda\lib\site-packages\ansys\mapdl\core\parameters.py in
4
5 try:
----> 6     from ansys.mapdl.reader._reader import write_array
7
8     _HAS_READER = True
C:\Anaconda\lib\site-packages\ansys\mapdl\reader_init_.py in
6
7 from ansys.mapdl.reader._version import version
----> 8 from ansys.mapdl.reader.archive import (Archive, write_cmblock, write_nblock,
9                                         save_as_archive)
10 from ansys.mapdl.reader.cell_quality import quality
C:\Anaconda\lib\site-packages\ansys\mapdl\reader\archive.py in
18 import pyvista as pv
19
---> 20 from ansys.mapdl.reader import _reader, _archive
21 from ansys.mapdl.reader.misc import vtk_cell_info, chunks
22 from ansys.mapdl.reader.mesh import Mesh
ansys\mapdl\reader\cython_reader.pyx in init ansys.mapdl.reader._reader()
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

I see you are using an old version of Reader.
Can you upgrade the reader package (ansys-mapdl-reader)??
pip install ansys-mapdl-reader -U

Did it. What should i do now?
Requirement already satisfied: ansys-mapdl-reader in c:\anaconda\lib\site-packages (0.51.14)
Collecting ansys-mapdl-reader
Downloading ansys_mapdl_reader-0.51.15-cp39-cp39-win_amd64.whl (1.1 MB)
---------------------------------------- 1.1/1.1 MB 2.3 MB/s eta 0:00:00
Requirement already satisfied: pyvista>=0.32.0 in c:\anaconda\lib\site-packages (from ansys-mapdl-reader) (0.34.2)
Requirement already satisfied: matplotlib>=3.0.0 in c:\anaconda\lib\site-packages (from ansys-mapdl-reader) (3.4.3)
Requirement already satisfied: tqdm>=4.45.0 in c:\anaconda\lib\site-packages (from ansys-mapdl-reader) (4.62.3)
Requirement already satisfied: numpy>=1.16.0 in c:\anaconda\lib\site-packages (from ansys-mapdl-reader) (1.20.3)
Requirement already satisfied: appdirs>=1.4.0 in c:\anaconda\lib\site-packages (from ansys-mapdl-reader) (1.4.4)
Requirement already satisfied: pillow>=6.2.0 in c:\anaconda\lib\site-packages (from matplotlib>=3.0.0->ansys-mapdl-reader) (8.4.0)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\anaconda\lib\site-packages (from matplotlib>=3.0.0->ansys-mapdl-reader) (1.3.1)
Requirement already satisfied: python-dateutil>=2.7 in c:\anaconda\lib\site-packages (from matplotlib>=3.0.0->ansys-mapdl-reader) (2.8.2)
Requirement already satisfied: pyparsing>=2.2.1 in c:\anaconda\lib\site-packages (from matplotlib>=3.0.0->ansys-mapdl-reader) (3.0.4)
Requirement already satisfied: cycler>=0.10 in c:\anaconda\lib\site-packages (from matplotlib>=3.0.0->ansys-mapdl-reader) (0.10.0)
Requirement already satisfied: vtk in c:\anaconda\lib\site-packages (from pyvista>=0.32.0->ansys-mapdl-reader) (-PKG-VERSION)
Requirement already satisfied: scooby>=0.5.1 in c:\anaconda\lib\site-packages (from pyvista>=0.32.0->ansys-mapdl-reader) (0.5.12)
Requirement already satisfied: imageio in c:\anaconda\lib\site-packages (from pyvista>=0.32.0->ansys-mapdl-reader) (2.9.0)
Requirement already satisfied: colorama in c:\anaconda\lib\site-packages (from tqdm>=4.45.0->ansys-mapdl-reader) (0.4.4)
Requirement already satisfied: six in c:\anaconda\lib\site-packages (from cycler>=0.10->matplotlib>=3.0.0->ansys-mapdl-reader) (1.16.0)
Installing collected packages: ansys-mapdl-reader
Attempting uninstall: ansys-mapdl-reader
Found existing installation: ansys-mapdl-reader 0.51.14
Uninstalling ansys-mapdl-reader-0.51.14:
Successfully uninstalled ansys-mapdl-reader-0.51.14
Successfully installed ansys-mapdl-reader-0.51.15
Note: you may need to restart the kernel to use updated packages.

doesn't it work now?

No it does not work.

which error now? the same about reader?

Can you try also:
from ansys.mapdl.core import launch_mapdl

mapdl = launch_mapdl(exec_file=r"C:\Program Files\ANSYS Inc\ANSYS Student\v222\ANSYS\bin\winx64\ANSYS222.exe", additional_switches="-smp",
license_server_check = False
)

print(mapdl.prep7())

Now this is the error:

OSError                                   Traceback (most recent call last)
C:\Anaconda\lib\site-packages\ansys\mapdl\core\launcher.py in launch_mapdl(exec_file, run_location, jobname, nproc, ram, mode, override, loglevel, additional_switches, start_timeout, port, cleanup_on_exit, start_instance, ip, clear_on_connect, log_apdl, remove_temp_files, verbose_mapdl, license_server_check, license_type, print_com, add_env_vars, replace_env_vars, **kwargs)
1521             )
-> 1522             mapdl = MapdlGrpc(
1523                 ip=ip,
C:\Anaconda\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py in init(self, ip, port, timeout, loglevel, log_file, cleanup_on_exit, log_apdl, set_no_abort, remove_temp_files, print_com, channel, remote_instance, **start_parm)
350         # connect and validate to the channel
--> 351         self._multi_connect(timeout=timeout)
352
C:\Anaconda\lib\site-packages\ansys\mapdl\core\mapdl_grpc.py in _multi_connect(self, n_attempts, timeout, set_no_abort)
412         if not connected:
--> 413             raise IOError(
414                 f"Unable to connect to MAPDL gRPC instance at {self._channel_str}"
OSError: Unable to connect to MAPDL gRPC instance at <IP_ADDRESS>:50053
During handling of the above exception, another exception occurred:
LicenseServerConnectionError              Traceback (most recent call last)
 in
1 from ansys.mapdl.core import launch_mapdl
2
----> 3 mapdl = launch_mapdl(exec_file=r"C:\Program Files\ANSYS Inc\ANSYS Student\v222\ANSYS\bin\winx64\ANSYS222.exe", additional_switches="-smp")
4
5 print(mapdl.prep7())
C:\Anaconda\lib\site-packages\ansys\mapdl\core\launcher.py in launch_mapdl(exec_file, run_location, jobname, nproc, ram, mode, override, loglevel, additional_switches, start_timeout, port, cleanup_on_exit, start_instance, ip, clear_on_connect, log_apdl, remove_temp_files, verbose_mapdl, license_server_check, license_type, print_com, add_env_vars, replace_env_vars, **kwargs)
1536         # to the license check
1537         if license_server_check:
-> 1538             lic_check.check()
1539             # pass
1540         raise exception
C:\Anaconda\lib\site-packages\ansys\mapdl\core\licensing.py in check(self)
443             return True
444         elif self._license_file_success is False:
--> 445             raise LicenseServerConnectionError("\n".join(self._license_file_msg))
446
447         if self._license_checkout_success:
LicenseServerConnectionError: 2022/08/09 22:42:38    DENIED              ansys                           22.2 (2022.0502)             1/0/0/0                 1/1/1/1   2252:FEAT_ANSYS:Shekhar Srivastava@DESKTOP-N96VMAF:winx64   6900:<IP_ADDRESS>
Maximum licensed number of demo users already reached.
In [3]: from ansys.mapdl.core import launch_mapdl^M
...: ^M
...: mapdl = launch_mapdl(exec_file=r"C:\Program Files\ANSYS Inc\ANSYS Student\v222\ANSYS\bin\winx64\ANSYS222.exe", additional_switches="-smp",^M
...: license_server_check = False^M
...: )^M
...: ^M
...: print(mapdl.prep7())
*** MAPDL - ENGINEERING ANALYSIS SYSTEM  RELEASE 2022 R2          22.2     ***
Ansys Mechanical Enterprise Academic Student
00000000  VERSION=WINDOWS x64   22:45:27  AUG 09, 2022 CP=      0.312
      ***** MAPDL ANALYSIS DEFINITION (PREP7) *****

LicenseServerConnectionError: 2022/08/09 22:42:38    DENIED              ansys                           22.2 (2022.0502)             1/0/0/0                 1/1/1/1   2252:FEAT_ANSYS:Shekhar Srivastava@DESKTOP-N96VMAF:winx64   6900:<IP_ADDRESS>
                Maximum licensed number of demo users already reached.

It seems you don't have licenses?

But I am using Ansys Student Version.
Does it not have license?

I'm not 100% sure, but maybe the license in the student version is embedded. Hence the license check is bound to fail.

how can I get it working?

It seems it works if you use license_server_check.
Hence, until we fix this in the next release, just use:
from ansys.mapdl.core import launch_mapdl

mapdl = launch_mapdl(exec_file=r"C:\Program Files\ANSYS Inc\ANSYS Student\v222\ANSYS\bin\winx64\ANSYS222.exe", additional_switches="-smp",
license_server_check = False
)

Okie will keep it posted here if it works.
Try to fix it further.


Problems panels shows line number and column info inconsistently

It's not clear what the [XX, XX] numbers mean in the problems view and after inspecting it appears that these are the line numbers and columns. We should update the string to keep it consistent with the way the status bar highlights this as Ln XX, Col XX.

I think this is the least useful information in the problems view. One will be taken into that position when clicking on it. I am in favour of removing this info rather than make it more informative.


example: Test more than one object with bw_tester

This allows bw_tester to accept an additional option defining the number of objects that should be created
Signed-off-by: Joel Granados<EMAIL_ADDRESS>

What do you think about grouping reads and writes for a single object together? Then we can just throw away the object id after we are done and don't need to hold the state of all the objects, I think that would be a cleaner approach.


Jackson has a serious security problem in 2.9.5, which will cause RCE

https://github.com/FasterXML/jackson-databind/issues/2295
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have create an issue on Kylin's jira, and have described the bug/feature there in detail
[ ] Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
[ ] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If this change need a document change, I will prepare another pr against the document branch
[ ] Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at user@kylin or dev@kylin by explaining why you chose the solution you did and what alternatives you considered, etc...

In a recent dependency upgrade, the jackson version has been upgraded to 2.10.0: https://github.com/apache/kylin/blob/master/pom.xml#L118
Does this PR still needed?


Set up Prettier, hooks & format consistently

Per https://github.com/infotexture/dita-bootstrap.lunr/pull/9#discussion_r1242046458

@jason-fox To minimize diffs with upstream files, I've excluded the Lunr JavaScript from formatting here:
https://github.com/infotexture/dita-bootstrap.lunr/blob/feature/checks/.prettierignore#L1-L4
If there's anything else that's copied in from elsewhere, we can add those files to the ignore list.

resource/languages should be excluded too - the stemmers and stop words are from a different library.

resource/languages should be excluded too - the stemmers and stop words are from a different library.

OK, thought so. Will amend and force-push to update.


Chalice is a framework for writing serverless apps in python. It allows you to quickly create and deploy applications that use AWS Lambda

AWS Chalice

https://github.com/aws/chalice
https://pypi.org/project/chalice/
https://aws.github.io/chalice/
https://librodememorias.wordpress.com/2017/07/27/chalice-dynamodb-lambda-s3-generacion-de-thumbs/
Chalice is a framework for writing serverless apps in python. It allows
you to quickly create and deploy applications that use AWS Lambda.  It provides:

A command line tool for creating, deploying, and managing your app
A decorator based API for integrating with Amazon API Gateway, Amazon S3,
Amazon SNS, Amazon SQS, and other AWS services.
Automatic IAM policy generation

You can create Rest APIs:
.. code-block:: python
from chalice import Chalice

app = Chalice(app_name="helloworld")

@app.route("/")
def index():
    return {"hello": "world"}

Tasks that run on a periodic basis:
.. code-block:: python
from chalice import Chalice, Rate

app = Chalice(app_name="helloworld")

# Automatically runs every 5 minutes
@app.schedule(Rate(5, unit=Rate.MINUTES))
def periodic_task(event):
    return {"hello": "world"}

You can connect a lambda function to an S3 event:
.. code-block:: python
from chalice import Chalice

app = Chalice(app_name="helloworld")

# Whenever an object is uploaded to 'mybucket'
# this lambda function will be invoked.

@app.on_s3_event(bucket='mybucket')
def handler(event):
    print("Object uploaded for bucket: %s, key: %s"
          % (event.bucket, event.key))

As well as an SQS queue:
.. code-block:: python
from chalice import Chalice

app = Chalice(app_name="helloworld")

# Invoke this lambda function whenever a message
# is sent to the ``my-queue-name`` SQS queue.

@app.on_sqs_message(queue='my-queue-name')
def handler(event):
    for record in event:
        print("Message body: %s" % record.body)

And several other AWS resources.
Once you've written your code, you just run chalice deploy
and Chalice takes care of deploying your app.
::
$ chalice deploy
...
https://endpoint/dev

$ curl https://endpoint/api
{"hello": "world"}

Up and running in less than 30 seconds.
Give this project a try and share your feedback with us here on Github.
The documentation is available
here <http://aws.github.io/chalice/>__.
Quickstart
.. quick-start-begin
In this tutorial, you'll use the chalice command line utility
to create and deploy a basic REST API.  This quickstart uses Python 3.7,
but AWS Chalice supports all versions of python supported by AWS Lambda,
which includes python2.7, python3.6, python3.7, python3.8.  We recommend
you use a version of Python 3.
You can find the latest versions of python on the
Python download page <https://www.python.org/downloads/>_.
To install Chalice, we'll first create and activate a virtual environment
in python3.7::
$ python3 --version
Python 3.7.3
$ python3 -m venv venv37
$ . venv37/bin/activate

Next we'll install Chalice using pip::
$ python3 -m pip install chalice

You can verify you have chalice installed by running::
$ chalice --help
Usage: chalice [OPTIONS] COMMAND [ARGS]...
...

Credentials
Before you can deploy an application, be sure you have
credentials configured.  If you have previously configured your
machine to run boto3 (the AWS SDK for Python) or the AWS CLI then
you can skip this section.
If this is your first time configuring credentials for AWS you
can follow these steps to quickly get started::
$ mkdir ~/.aws
$ cat >> ~/.aws/config
[default]
aws_access_key_id=YOUR_ACCESS_KEY_HERE
aws_secret_access_key=YOUR_SECRET_ACCESS_KEY
region=YOUR_REGION (such as us-west-2, us-west-1, etc)

If you want more information on all the supported methods for
configuring credentials, see the
boto3 docs <http://boto3.readthedocs.io/en/latest/guide/configuration.html>__.
Creating Your Project
The next thing we'll do is use the chalice command to create a new
project::
$ chalice new-project helloworld

This will create a helloworld directory.  Cd into this
directory.  You'll see several files have been created for you::
$ cd helloworld
$ ls -la
drwxr-xr-x   .chalice
-rw-r--r--   app.py
-rw-r--r--   requirements.txt

You can ignore the .chalice directory for now, the two main files
we'll focus on is app.py and requirements.txt.
Let's take a look at the app.py file:
.. code-block:: python
from chalice import Chalice

app = Chalice(app_name='helloworld')

@app.route('/')
def index():
    return {'hello': 'world'}

The new-project command created a sample app that defines a
single view, /, that when called will return the JSON body
{"hello": "world"}.
Deploying
Let's deploy this app.  Make sure you're in the helloworld
directory and run chalice deploy::
$ chalice deploy
Creating deployment package.
Creating IAM role: helloworld-dev
Creating lambda function: helloworld-dev
Creating Rest API
Resources deployed:
  - Lambda ARN: arn:aws:lambda:us-west-2:12345:function:helloworld-dev
  - Rest API URL: https://abcd.execute-api.us-west-2.amazonaws.com/api/

You now have an API up and running using API Gateway and Lambda::
$ curl https://qxea58oupc.execute-api.us-west-2.amazonaws.com/api/
{"hello": "world"}

Try making a change to the returned dictionary from the index()
function.  You can then redeploy your changes by running chalice deploy.
.. quick-start-end
Next Steps
You've now created your first app using chalice.  You can make
modifications to your app.py file and rerun chalice deploy to
redeploy your changes.
At this point, there are several next steps you can take.

Tutorials <https://aws.github.io/chalice/tutorials/index.html>__

Choose from among several guided tutorials that will
give you step-by-step examples of various features of Chalice.

Topics <https://aws.github.io/chalice/topics/index.html>__ - Deep
dive into documentation on specific areas of Chalice.
This contains more detailed documentation than the tutorials.
API Reference <https://aws.github.io/chalice/api.html>__ - Low level
reference documentation on all the classes and methods that are part of the
public API of Chalice.

If you're done experimenting with Chalice and you'd like to cleanup, you can
use the chalice delete command, and Chalice will delete all the resources
it created when running the chalice deploy command.
::
$ chalice delete
Deleting Rest API: abcd4kwyl4
Deleting function aws:arn:lambda:region:123456789:helloworld-dev
Deleting IAM Role helloworld-dev

Feedback
We'd also love to hear from you.  Please create any Github issues for
additional features you'd like to see over at
https://github.com/aws/chalice/issues.  You can also chat with us
on gitter: https://gitter.im/awslabs/chalice

root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~# python3 --version
Python 3.8.10
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~# python3 -m venv venv38
The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt install python3.8-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

Failing command: ['/root/venv38/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']

root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~# sudo apt install python3.8-venv
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  python3.8-venv
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 5456 B of archives.
After this operation, 27.6 kB of additional disk space will be used.
Get:1 http://mirrors.digitalocean.com/ubuntu focal-updates/universe amd64 python3.8-venv amd64 3.8.10-0ubuntu1~20.04 [5456 B]
Fetched 5456 B in 0s (113 kB/s)
Selecting previously unselected package python3.8-venv.
(Reading database ... 148453 files and directories currently installed.)
Preparing to unpack .../python3.8-venv_3.8.10-0ubuntu1~20.04_amd64.deb ...
Unpacking python3.8-venv (3.8.10-0ubuntu1~20.04) ...
Setting up python3.8-venv (3.8.10-0ubuntu1~20.04) ...
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~# python3 -m venv venv38
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~# . venv38/bin/activate
(venv38) root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~# python3 -m pip install chalice
Collecting chalice
  Using cached chalice-1.23.0-py2.py3-none-any.whl (387 kB)
Collecting six<2.0.0,>=1.10.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting inquirer<3.0.0,>=2.7.0
  Using cached inquirer-2.7.0-py2.py3-none-any.whl (31 kB)
Collecting pyyaml<6.0.0,>=5.3.1
  Downloading PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
     |████████████████████████████████| 662 kB 3.3 MB/s
Collecting wheel
  Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Collecting click<8.0,>=7
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting attrs<20.4.0,>=19.3.0
  Using cached attrs-20.3.0-py2.py3-none-any.whl (49 kB)
Collecting botocore<2.0.0,>=1.14.0
  Using cached botocore-1.20.107-py2.py3-none-any.whl (7.7 MB)
Requirement already satisfied: setuptools in ./venv38/lib/python3.8/site-packages (from chalice) (44.0.0)
Requirement already satisfied: pip<21.2,>=9 in ./venv38/lib/python3.8/site-packages (from chalice) (20.0.2)
Collecting jmespath<1.0.0,>=0.9.3
  Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting mypy-extensions==0.4.3
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting readchar==2.0.1
  Using cached readchar-2.0.1-py3-none-any.whl (6.9 kB)
Collecting python-editor==1.0.4
  Using cached python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Collecting blessed==1.17.6
  Using cached blessed-1.17.6-py2.py3-none-any.whl (76 kB)
Collecting python-dateutil<3.0.0,>=2.1
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting urllib3<1.27,>=1.25.4
  Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Collecting wcwidth>=0.1.4
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Installing collected packages: six, readchar, python-editor, wcwidth, blessed, inquirer, pyyaml, wheel, click, attrs, python-dateutil, jmespath, urllib3, botocore, mypy-extensions, chalice
Successfully installed attrs-20.3.0 blessed-1.17.6 botocore-1.20.107 chalice-1.23.0 click-7.1.2 inquirer-2.7.0 jmespath-0.10.0 mypy-extensions-0.4.3 python-dateutil-2.8.1 python-editor-1.0.4 pyyaml-5.4.1 readchar-2.0.1 six-1.16.0 urllib3-1.26.6 wcwidth-0.2.5 wheel-0.36.2

chalice new-project helloworld2
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~/ap# chalice new-project helloworld2
Your project has been generated in ./helloworld2
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~/ap# cd helloworld2

Credentials¶
Before you can deploy an application, be sure you have credentials configured. If you have previously configured your machine to run boto3 (the AWS SDK for Python) or the AWS CLI then you can skip this section.
If this is your first time configuring credentials for AWS you can follow these steps to quickly get started:
$ mkdir ~/.aws
$ cat >> ~/.aws/config
[default]
aws_access_key_id=YOUR_ACCESS_KEY_HERE
aws_secret_access_key=YOUR_SECRET_ACCESS_KEY
region=YOUR_REGION (such as us-west-2, us-west-1, etc)

If you want more information on all the supported methods for configuring credentials, see the boto3 docs.

view the contents of the directory after project generated
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~/ap/helloworld2# ls -la
total 24
drwxr-xr-x  4 root root 4096 Jul  8 06:04 .
drwxr-xr-x 19 root root 4096 Jul  8 05:59 ..
drwxr-xr-x  3 root root 4096 Jul  8 06:04 .chalice
-rw-r--r--  1 root root   37 Jul  8 05:59 .gitignore
drwxr-xr-x  2 root root 4096 Jul  8 06:04 __pycache__
-rw-r--r--  1 root root  736 Jul  8 05:59 app.py
-rw-r--r--  1 root root    0 Jul  8 05:59 requirements.txt

chalice deploy
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~/ap/helloworld2# chalice deploy
Creating deployment package.
Reusing existing deployment package.
Creating IAM role: helloworld2-dev
Creating lambda function: helloworld2-dev
Creating Rest API
Resources deployed:
  - Lambda ARN: arn:aws:lambda:us-east-1:708090526287:function:helloworld2-dev
  - Rest API URL: https://6h8sfsfn3i.execute-api.us-east-1.amazonaws.com/api/

chalice delete
root@docker-ubuntu-s-1vcpu-2gb-nyc1-01:~/ap/helloworld2# chalice delete
Deleting Rest API: 6h8sfsfn3i
Deleting function: arn:aws:lambda:us-east-1:708090526287:function:helloworld2-dev
Deleting IAM role: helloworld2-dev


Scrub Online and OWA references

Also, updated "for [platform]" to "on [platform]".
Related PRs: https://github.com/OfficeDev/office-js-docs-pr/pull/1062, https://github.com/OfficeDev/office-js-docs-pr/pull/1113

Docs Build status updates of commit bf5f242:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/actionable-messages/adaptive-card.md
:white_check_mark:Succeeded

docs/actionable-messages/index.md
:white_check_mark:Succeeded

docs/actionable-messages/message-card-reference.md
:white_check_mark:Succeeded

docs/add-ins/activation-rules.md
:white_check_mark:Succeeded

docs/add-ins/add-and-remove-attachments-to-an-item-in-a-compose-form.md
:white_check_mark:Succeeded

docs/add-ins/add-in-commands-for-outlook.md
:white_check_mark:Succeeded

docs/add-ins/add-in-requirements.md
:white_check_mark:Succeeded

docs/add-ins/add-mobile-support.md
:white_check_mark:Succeeded

docs/add-ins/compare-outlook-add-in-support-in-outlook-for-mac.md
:white_check_mark:Succeeded

docs/add-ins/contextual-outlook-add-ins.md
:white_check_mark:Succeeded

docs/add-ins/index.md
:white_check_mark:Succeeded

docs/add-ins/limits-for-activation-and-javascript-api-for-outlook-add-ins.md
:white_check_mark:Succeeded

docs/add-ins/metadata-for-an-outlook-add-in.md
:white_check_mark:Succeeded

docs/add-ins/outlook-addin-design.md
:white_check_mark:Succeeded

docs/add-ins/outlook-mobile-addins.md
:white_check_mark:Succeeded

docs/add-ins/pinnable-taskpane.md
:white_check_mark:Succeeded

docs/add-ins/sideload-outlook-add-ins-for-testing.md
:white_check_mark:Succeeded

docs/add-ins/testing-and-tips.md
:white_check_mark:Succeeded

docs/add-ins/tips-for-handling-date-values-in-outlook-add-ins.md
:white_check_mark:Succeeded

docs/add-ins/toc.yml
:white_check_mark:Succeeded

docs/add-ins/troubleshoot-outlook-add-in-activation.md
:white_check_mark:Succeeded

docs/breadcrumb/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit ee13626:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/actionable-messages/adaptive-card.md
:white_check_mark:Succeeded

docs/actionable-messages/index.md
:white_check_mark:Succeeded

docs/actionable-messages/message-card-reference.md
:white_check_mark:Succeeded

docs/add-ins/activation-rules.md
:white_check_mark:Succeeded

docs/add-ins/add-and-remove-attachments-to-an-item-in-a-compose-form.md
:white_check_mark:Succeeded

docs/add-ins/add-in-commands-for-outlook.md
:white_check_mark:Succeeded

docs/add-ins/add-in-requirements.md
:white_check_mark:Succeeded

docs/add-ins/add-mobile-support.md
:white_check_mark:Succeeded

docs/add-ins/compare-outlook-add-in-support-in-outlook-for-mac.md
:white_check_mark:Succeeded

docs/add-ins/contextual-outlook-add-ins.md
:white_check_mark:Succeeded

docs/add-ins/index.md
:white_check_mark:Succeeded

docs/add-ins/limits-for-activation-and-javascript-api-for-outlook-add-ins.md
:white_check_mark:Succeeded

docs/add-ins/metadata-for-an-outlook-add-in.md
:white_check_mark:Succeeded

docs/add-ins/outlook-addin-design.md
:white_check_mark:Succeeded

docs/add-ins/outlook-mobile-addins.md
:white_check_mark:Succeeded

docs/add-ins/pinnable-taskpane.md
:white_check_mark:Succeeded

docs/add-ins/sideload-outlook-add-ins-for-testing.md
:white_check_mark:Succeeded

docs/add-ins/testing-and-tips.md
:white_check_mark:Succeeded

docs/add-ins/tips-for-handling-date-values-in-outlook-add-ins.md
:white_check_mark:Succeeded

docs/add-ins/toc.yml
:white_check_mark:Succeeded

docs/add-ins/troubleshoot-outlook-add-in-activation.md
:white_check_mark:Succeeded

docs/breadcrumb/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[Bug]: All database password fields are broken after reinstall coolify

Is there an existing issue for this?

[X] I have searched the existing issues

Example public repository
n/a
Description
Hi,
After reinstall Coolify with install.sh script all database fields that is password are broken. See:

Steps To Reproduce

Create mysql database
Reinstall Coolify with install script
Open and see the database password field

Version
3.12.17

Also encountering this issue, any updates on how to fix this?

Most probably your COOLIFY_SECRET_KEY is wrong in your ~/coolify/.env file.
Can you please contact me? I can help you fix the problem.

Yes, it was wrong. I delete all and recreate it. Thanks.


Arity for compose arguments, curry, map with arity

added curry
curried fork in future
curried fold in wither
added arity for compose arguments
fix the map compose
added tests for compose
updated the nextformat version and formatted the code

Wa-ta-tow. Can't wait 'til monday


Disable typographic hyphenation

If the addTypographyStyles setting is enabled then hyphenation will automatically be enabled. Since we can handle hyphenation in CSS directly and with more control, I'd like to suggest disabling it:
$settings->set_hyphenation(false);

https://github.com/selvinortiz/craft-plugin-doxter/blob/3.4.8/src/common/parsers/Typography.php#L26
The advantage of this is that we can continue using typography styles but can decide what tags should be hyphenated using CSS. Is this something you might consider changing, or at least making configurable?

Never mind, I just realised I can still override hyphenation for specific tags using CSS. Thanks Selvin!

Reopening because I still think there's a case to be made for disabling hyphenation. Even if overriding using the hyphens: none; CSS property, copy-pasting the text into a text editor results in hyphenated text, for example:
Blitz provides intel-li-gent stat-ic page cach-ing for cre-at-ing light-ning-fast sites with Craft CMS. It sig-ni-fic-antly improves a site’s per-form-ance by redu-cing serv-er response time.

Since the hyphens property is not supported across the board, maybe better to make it a config setting.
https://caniuse.com/#feat=css-hyphens

Ben, a pull request would be most welcomed👌


Chore: Add events locally on our main database for other devs to use. Report on any issues encountered.

relates to #405
Add 2 events (using https://northseattlecollegeevents.com/  locally if website is not up-to-date) on our main database for other devs to use. Report on any issues encountered.

Closing this issue, remainder from user stories


What to put for directory in stage JSONs

Describe your problem here.
I want a stage's assets in a folder but nothing i've tried has worked so far. I'm very confused and in need of help.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

directiony is what the map is used to so if u set ur map directiony to a custom week, it will be in a custom week i think

could you ellaborate but if you are talking about the directory its supposed to be in it is supposed to be in mods/images

Just put the assets in mods/images

The directory does nothing in the mods folder for some reason

The directory does nothing in the mods folder for some reason

yeah because you dont need to put anything for directory in mods folder
if you look at limo stage it loads from the week4 folder in assets

could you ellaborate but if you are talking about the directory its supposed to be in it is supposed to be in mods/images

So I have all of my stage's assets just hanging around in the images folder, right? but There's so much junk in there that I want to have a folder with just the stage's assets in them. What would I need to put for directory in the stage's JSON file? is it even possible?

just make a folder in images

Ik this is unrelated but #10197. I need help with this.


Swagger download response using springfox

Please take the time to search the repository, if your question has already been asked or answered.

[ ] What version of the library are you using? Is it the latest version? The latest released version is
Yes

What kind of issue is this?

[ ] Question. Is this a question about how to do a certain thing?

Is this issue fixed - ?
http://grokbase.com/t/gg/swagger-swaggersocket/158rv2bxtz/file-downloads-from-swagger

duplicate refer the bug id 1662


Allow exporting requests without environments

Is your feature request related to a problem? Please describe.
It may happen that both requests and environments grow over time; in this scenario, when you import some requests (even a single one) from someone else, environments are imported as well - it's likely one's interested only in the request content, for doing further customization, and doesn't want to pollute its own envs with the imported ones (even if some variable binding may fail without them)
Describe the solution you'd like

Either allow discarding envs in import, or
Allow exporting requests without environments
(or both options, in the best case)

Additional context
A preview of what I'm going to import in my workspace would be a great addition as well (but maybe this requires too much effort)

Firstly, private environments are never exported; does this work for your use case?
I agree that more control over what is imported or exported could be useful. For exporting, it would be a matter of adding to the dialog here. Importing, may be a little more involved.

I wasn't aware of private environments... This seems a reasonable compromise, thanks!

 I will close this issue.
I will discuss "selective import/export" internally and track as a standalone feature request if appropriate. 😄


Suggestion: Prio label next to Prio button

To ease up the configuration of everything it would be nice if there was a label showing the set Priority level next to the priority button.
And yes: Everywhere, please.
:)
A lot of work hidden in a short sentence....

Nah!

Lol! :))))


Local LLM inference support

I want to ask if SWE support use local llm inference backend? because gpt4 will be expensive in multiturn comversation, maybe we can use the local llm to instead of online llm invoke

We currently have the option to use ollama as a model backend. You can do this with the --host_url and use --model_name arguments. host_url defaults to localhost:11434 which is the default ollama host url when running locally, but this can also point to a remote server running at ip-addr:port. model_name is the model name from ollama, prefixed with ollama: (e.g. ollama:mixtral). We haven't tested SWE-agent using models smaller than Claude 3 Opus and GPT-4 turbo, so your results may vary.
You can see all models hostable with ollama at: https://ollama.com/library
I'm closing this for now, but please open if you don't think this resolves your issue.


cleanup process for adding pos_embedding to x

cleanup process for adding pos_embedding to x

@developer0hye so a researcher wanted to use ViT for rectangular images (or any image with width and height less than the image_size), thus this line of code

@lucidrains Thanks for your review. I should have read the commit history.


Add get_opportunies endpoint

Coverage increased (+1.9%) to 73.282% when pulling a587fa3085c3aea894c00d275fc259283c0ce8d7 on add_get_opportunities into 3886a19e7fcb9c0e1c9700914d76431f3181c6ee on master.


Specifying Source Character Encoding

I apologize for my poor English.
Searched with filter "is:issue is:open encoding" -> Result: 0
Also this is called "RFE" issue?
Requiring this:
elm make --encoding UTF-8 a.elm --output b.html
And also if "elm make" default character encoding is set to UTF-8, it is better for me (and other 2 bytes character language users maybe).
Current case:

On ja-jp Windows platform, default character encoding is "Shift-JIS (CP932)".
Writes/Saves an Elm source file with "UTF-8" encoding. According to output HTML file is UTF-8.
"elm make" try to compile source file with default character encoding (Shift-JIS).
Result: hGetContents: invalid argument (invalid byte sequence)

As long as using only non ja-jp chareters with UTF-8, no error occurred.
By the way, I heard that "mkTextEncoding function in System.IO module can set an encoding".

Pastes the source contains ja-jp character:
import Graphics.Element exposing (..)

main : Element
main = show "私"

@donutcho We ran into this recently (the hGetContents error) and it looks like you can specify source encoding with an environment variable like so:
LANG=en_US.UTF-8 elm-make a.elm

Maybe this would resolve your issue without the need for an --encoding flag?

Can anyone reproduce this issue on OSX, or maybe on a Linux VM? I would like to attempt fixing this for good but I don't have a windows machine which I can set to Japanese, and so far I can't reproduce it on OSX, even if I force LANG to some other encoding.

I have never seen it on OS X. We encountered it on Jenkins running on a Linux box, but it's not in an environment I can easily export to a VM for reproducing locally.

Many thanks for the specific feedbacks! For now, I'm following rtfeldman/node-elm-compiler#3 and elm-lang/elm-make#20.


[typo][doc]modify some sql syntax description errors.

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Can you make it so the JSON Data items are expanded by default? Or a button to expand all/collapse all?

Right now the UX of this tab is very unfriendly, due to it starting off with the item ID and then having the name in the level below it... I'd suggest either reversing that order (since human users find items by name, not ID) and have index 0 be the item name and index 1 be the item ID. Or, alternatively, have the ability to collapse/expand all via a button, or just expand all by default and people can collapse the ones they dont need manually. Any of these things would be an improvement.
I can probably help out with this if you can point me in the direction for where that data exists in the codebase and submit a PR, just let me know.

Sorry, I was running an old version. Closign issue, I found the button in the new version ;)


[SITE] Subdivide character grid

See Specimen Skeleton https://raw.githubusercontent.com/kabisa/specimen-skeleton-support/master/GlyphData.json

Done!


Could the network be tested with a different dowsample voxel size?

Hey @HuguesTHOMAS
I have noticed that you mentioned the model can be tested with a different first_subsampling_dl here:
https://github.com/HuguesTHOMAS/KPConv/issues/41#issuecomment-552904287
I followed what you said and add this code below in trainer.py:
        ##########################
        # Load previous checkpoint
        ##########################

        if (chkp_path is not None):
            if finetune:
                checkpoint = torch.load(chkp_path)
                net.load_state_dict(checkpoint['model_state_dict'])
                net.train()
                print("Model restored and ready for finetuning.")
            else:
                checkpoint = torch.load(chkp_path)
                net.load_state_dict(checkpoint['model_state_dict'])
                self.optimizer.load_state_dict(checkpoint['optimizer_state_dict'])
                self.epoch = checkpoint['epoch']
                net.train()
                # for name, param in net.named_parameters():
                #     if 'kernel_points' in name:
                #         param *= (0.3/0.06)
                print("Model and training state restored.")

I have trained on KITTI with first_subsampling_dl=0.06 and I tried to do validation with first_subsampling_dl=0.3 on KITTI.
So I just load the model trained with first_subsampling_dl=0.06 in train_SemanticKitti.py and change trainer.train() to trainer.validation() to have a quick test. But It just didn't work, the IoU is quite low. Did I miss something? (I just change the first_subsampling_dl to 0.3 and rescale the kernel_points like above).

In this issue: https://github.com/HuguesTHOMAS/KPConv-PyTorch/issues/8#issuecomment-634048230
You commented we could train a new network with different first_subsampling_dl. Does that mean the "rescale" strategy above is not the case for KITTI?

BTW:
After fixing the ignore_label bug, the code runs well now. Although there are still some problems with neighbour_limit dict or batch_limit dict or KDTree, will get back to you when I figure it out.
Best,
Zhengdi

Hi @ZhengdiYu,
Training and testing with different subsampling sizes is not very wise. Think of it that way, the convolutions are small spatial filters trained to detect details in the shapes. If you train your network to detect details at a scale of X, it will be fit to "see" specific details of the shapes (let's say wheels on a car). Then when you test with a scale of 5X, your "wheels detectors" will try to find wheels that are 5 times bigger than before. Unless you train on cars and want to detect monster trucks, this will never work.
A solution would be to train your network to be robust to scale, by training with scale augmentation. I did some tests in the beginning and found that strategy to decrease the performances. The diversity of shape for the same object becomes a lot bigger and therefore is harder to learn.

Hey @HuguesTHOMAS
Thank you for your reply. It makes sense.
But when will the "rescale strategy" you commented before work? If the two subsampling sizes are used for different scenes. Just like D3Feat. They use your KPConv to train on 3DMatch and test on ETH to test generalization ability. The two scenes have different subsampling sizes but one is indoor while the other one is outdoor scene. Is this a bit like your example of detecting from cars to trucks?
Or is it different for segmentation task? Is my implementation for "rescale strategy" correct?

Hi @ZhengdiYu,
I think your implementation should work, but I might forget some details... To be absolutely sure, the best way would be to rescale the input point clouds instead of the network itself. Just load the network as is, and then when you feed your input, you can scale it (you have to do it before the first subsampling to ensure a consistent density of points between training and test)
About the example you give, yes, I think there are some specific applications where a rescale is relevant, but you can see it as an input rescaling instead of a network rescaling. Therefore you are trying to adapt some data to a network that was trained on another dataset. With the rescale, you make your data look more like the original training set. That being said, I still believe the results would be better if you train and test on the same dataset/environment (when it is possible).
Best,
Hugues


Issues with hiding max HP from players

Testing on:
Foundry: v11.315
D&D: 3.1.2
Damage Log: 1.21.0
-No conflicting modules
Settings:

This is the player view result:

Expectation:
To not show the maximum/current HP for the creature.

Nevermind I determined how this interacts with the "Minimum actor permission" setting.
However may want to make a note somewhere on the "Show limited damage..." setting that this is overridden by the "Minimum actor permission" setting.

It's not supposed to look like that.  With dnd5e v3, it should look like this...

Have you tried disabling all other modules?  Do you have some other module enabled that adds portraits to messages (e.g. Simply Portraits or Chat Portrait).  Note that portrait providing modules are no longer required with dnd5e v3 as the system now takes care of adding the portraits.

Yes the only modules enabled is this mod, the screenshots are from my test environment where I run the bare minimum. I do not have either of those mods installed.

I'm still not seeing this issue.  Both the the DM view and player view look fine to me.  Can you please double check if you have any other modules enabled (apart from libWrapper)?

Okay I tested on a brand new world and didn't have the issue so I circled back to my main world and double checked. Turns out for the first time ever Module Management+ is conflicting with something (a module I normally exclude since it does so little).

Thanks for checking again.  As Module Management+ looks deprecated, I will close this issue.

Thanks for checking again. As Module Management+ looks deprecated, I will close this issue.

Where does it say that? Works just fine for me?
It's also included in the MIDI-Verse and verified working for v12 and DnD3.2

ModuleManagement+ has not had any commits for over a year, and no issues have been fixed in that time either, so it looks abandoned.
https://github.com/mouse0270/module-credits


output video

Team,
how do i get output videos?
i am seeing set of images when i do inference,

@ChethanN01 If you would like to detect videos, please run the demo.py file and refer to the README file for the command. When running the demo.py file to detect actions in a video, the results will be saved in the det_results folder in the format of the video. Please refer to the source code of demo.py for more details.

closed


Add template editor to Chip template and template cards

Description

This PR adds the Template editor selector (that I've added to Home Assistant Core 2022.5).
The change has been made in a backward-compatible way, by checking for the version the user is running.
It adds color highlighting and auto-completion capabilities to the fields that can have templates.

Related Issue

No related issues.
Motivation and Context

It doesn't solve anything; it's a QoL improvement.
How Has This Been Tested

See screenshots; tested against stable and latest nightly.
Types of changes

[ ] 🐛 Bug fix (non-breaking change which fixes an issue)
[x] 🚀 New feature (non-breaking change which adds functionality)
[ ] 🌎 Translation (addition or update a translation)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have tested the change locally.

Nice! I wanted to do it but you were faster than me 😛


Adding the ability to detect when undo_send is clicked + README updated

Related to this : https://github.com/KartikTalwar/gmail.js/pull/305

Commited one more bug fix

Am I doing things wrong ? Still a little unexperienced on github usage...

Am I doing things wrong @KartikTalwar ? Still a little inexperienced on github usage... Is this not able to be merged ?

I think this looks like a good PR, except the concern I've outlined in my other comment.
Sometimes on Github, repo owners may be a bit busy/unresponsive. I usually start following up on my PRs if I haven't received any attention after around 1 week.

I think this looks like a good PR, except the concern I've outlined in my other comment.
Sometimes on Github, repo owners may be a bit busy/unresponsive. I usually start following up on my PRs if I haven't received any attention after around 1 week.
I'd also consider squashing the commits into one, so that it stick together and is easier to track/follow in the changelog if merged.

You're right, but part of it has already been merged, and after that @KartikTalwar asked me to fix the readme.

Fair enough. After this much waiting, I don't think we should be overly picky about minor details.
I'll take a deeper, proper look at it later this evening and see if I can get it merged.

Thanks :)


Add automated npm publishing on release

See https://github.com/getAlby/js-sdk for an example.

@pavanjoshi914 any chance you would like to work on this?


chore: upgrade k0s to 1.29.8

What this PR does / why we need it:

Which issue(s) this PR fixes:

Does this PR require a test?

Does this PR require a release note?

Does this PR require documentation?

The build failures here should be fixed by https://github.com/replicatedhq/embedded-cluster/pull/1124


Flutter run with local engine in profile mode now requires arm64 on 64 bit devices

Previously, I was able to do:
flutter run --profile --local-engine=android_profile

On an arm64 device and it worked.  Now this results in a not found for libflutter.so, which it can't find in a lib/arm64 directory.
If I do
flutter run --profile --local-engine=android_profile_arm64

It works.
Maybe we should consider defaulting the Android CPU to arm64 at the least if this is WAI.
/cc @chinmaygarde @blasten @jason-simmons

@blasten If nothing else, we should probably add a very clear warning message in the tool when attempting to run a 32-bit android local engine when we've defaulted to a 64-bit device.

The local engine workflow does not represent a customer-facing regression, so I am relabeling as team/quality


Add a new step to the Mix pipeline: run Remix tests

Describe your changes

Add a new step to the Mix pipeline: run Remix tests

Type of change

Chore (no production code change)

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works

We need to discuss more about how it will work


System.IO.FileNotFoundException: 'Could not load file or assembly 'System.CodeDom, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.'

I am facing this issue when I am calling RazorEngineService.Compile method. This is the stack trace
   at RazorEngine.Compilation.CSharp.CSharpDirectCompilerService..ctor(Boolean strictMode, Func`1 markupParserFactory)
   at RazorEngine.Compilation.DefaultCompilerServiceFactory.CreateCompilerService(Language language)
   at RazorEngine.Templating.RazorEngineCore.CreateTemplateType(ITemplateSource razorTemplate, Type modelType)
   at RazorEngine.Templating.RazorEngineCore.Compile(ITemplateKey key, Type modelType)
   at RazorEngine.Templating.RazorEngineService.CompileAndCacheInternal(ITemplateKey key, Type modelType)
   at RazorEngine.Templating.RazorEngineService.Compile(ITemplateKey key, Type modelType)
   at Swc.EC.LicenseManager.EmailService.EmailBuilders.Razor.RazorService.RegisterTemplate(String templateName, Type viewModelType) in D:\Pawan\Projects\ec-license-manager-api\src\Swc.EC.LicenseManager\Libs\Swc.EC.LicenseManager.EmailService\EmailBuilders\Razor\RazorService.cs:line 54
   at Swc.EC.LicenseManager.EmailService.EmailBuilders.Razor.RazorService.RenderAccountRecoveryEmail(AccountRecoveryEmailViewModel viewModel) in D:\Pawan\Projects\ec-license-manager-api\src\Swc.EC.LicenseManager\Libs\Swc.EC.LicenseManager.EmailService\EmailBuilders\Razor\RazorService.cs:line 28
   at Swc.EC.LicenseManager.EmailService.EmailBuilders.AccountRecoveryEmailBuilder.BuildEmailBody(String recipientFullName, String recoveryUrl) in D:\Pawan\Projects\ec-license-manager-api\src\Swc.EC.LicenseManager\Libs\Swc.EC.LicenseManager.EmailService\EmailBuilders\AccountRecoveryEmailBuilder.cs:line 23
   at Swc.EC.LicenseManager.EmailService.Services.EmailService.SendAccountRecoveryEmail(String email, String recipientFullName, String recoveryKey) in D:\Pawan\Projects\ec-license-manager-api\src\Swc.EC.LicenseManager\Libs\Swc.EC.LicenseManager.EmailService\Services\EmailService.cs:line 60
   at Swc.EC.LicenseManager.WebApi.Controllers.AccountController.ForgotPassword(UserForgotPasswordModel model) in D:\Pawan\Projects\ec-license-manager-api\src\Swc.EC.LicenseManager\Swc.EC.LicenseManager.WebApi\Controllers\AccountController.cs:line 77
   at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
   at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()

I tried adding all the dependencies that are listed here https://github.com/Antaris/RazorEngine/blob/master/paket.dependencies
but nothing seems to be working

Same issue here. Any tips?

Any update?


block in converters': undefined method extname' when using with Jekyll 3.3

Hello,
Just updated to Jekyll 3.3, and it appears there might be an incompatibility with this plugin. Here's the full trace:
JEKYLL_ENV=development bundle exec jekyll build --config etc/jekyll.yml --future --trace --profile
Configuration file: etc/jekyll.yml
                    Caching is disabled by configuration. However, if you're using proxies, a cache might still be created.
            Source: ./src
       Destination: ./www
 Incremental build: disabled. Enable with --incremental
      Generating...
                    Caching is disabled by configuration. However, if you're using proxies, a cache might still be created.
/Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/renderer.rb:38:in `block in converters': undefined method `extname' for #<Jekyll::Archives::Archive:0x007f9a9ecf3880> (NoMethodError)
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/renderer.rb:38:in `select'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/renderer.rb:38:in `converters'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/renderer.rb:68:in `run'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/convertible.rb:211:in `do_layout'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-archives-2.1.0/lib/jekyll-archives/archive.rb:104:in `render'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-archives-2.1.0/lib/jekyll-archives.rb:104:in `block in render'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-archives-2.1.0/lib/jekyll-archives.rb:103:in `each'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-archives-2.1.0/lib/jekyll-archives.rb:103:in `render'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-archives-2.1.0/lib/jekyll-archives.rb:48:in `generate'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/site.rb:174:in `block in generate'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/site.rb:172:in `each'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/site.rb:172:in `generate'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/site.rb:68:in `process'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/command.rb:26:in `process_site'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/commands/build.rb:63:in `build'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/commands/build.rb:34:in `process'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/lib/jekyll/commands/build.rb:16:in `block (2 levels) in init_with_program'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/jekyll-3.3.0/exe/jekyll:13:in `<top (required)>'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/bin/jekyll:23:in `load'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/bin/jekyll:23:in `<main>'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
	from /Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'
rake aborted!
Command failed with status (1): [JEKYLL_ENV=development bundle exec jekyll ...]
/Users/paulrobertlloyd/Sites/paulrobertlloyd/Rakefile:22:in `block in <top (required)>'
/Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
/Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
/Users/paulrobertlloyd/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => build-dev

Is there anything that may have changed in 3.3 to cause this error @parkr/@alfredxing?

using master branch of this repo will solve this..
Ref: this comment

@ashmaroli Oh, I hadn’t seen that thread. Will close this comment and continue any discussion over there. Thanks!

I appreciate that a fix is in master, but any timeline for when the gem will be updated?

@miklb watch #76 ;)