frontend options: order default_backend after specific backends to be able to use them

I need to specify some backends via use_backend. The default_backend option however ist sorted in front of the specified backends.

Took a quick look at the failing tests. Look's like your change has altered how some output is returned:
 1) haproxy::listen when listen options are specified without sort_options_alphabetic is expected to contain Concat::Fragment[haproxy-apache_listen_block] with order => "20-apache-00", target => "/etc/haproxy/haproxy.cfg" and content  supplied string
     Failure/Error:
       is_expected.to contain_concat__fragment('haproxy-apache_listen_block').with(
         'order'   => '20-apache-00',
         'target'  => '/etc/haproxy/haproxy.cfg',
         'content' => "\nlisten apache\n  bind <IP_ADDRESS>:48001-48003 \n  mode http\n  acl dst_dev01 dst_port 48001\n  acl dst_dev02 dst_port 48002\n  acl dst_dev03 dst_port 48003\n  bind-process all\n  capture request header X-Forwarded-For len 50\n  capture request header Host len 15\n  capture request header Referrer len 15\n  compression algo gzip\n  default_backend dev00_webapp\n  option httplog\n  option http-server-close\n  option forwardfor except <IP_ADDRESS>\n  reqidel ^X-Forwarded-For:.*\n  reqadd X-Forwarded-Proto:\\ https\n  use_backend dev01_webapp if dst_dev01\n  use_backend dev02_webapp if dst_dev02\n  use_backend dev03_webapp if dst_dev03\n", # rubocop:disable Metrics/LineLength
       )

       expected that the catalogue would contain Concat::Fragment[haproxy-apache_listen_block] with content set to supplied string
       Diff:
       @@ -10,7 +10,6 @@
          capture request header Host len 15
          capture request header Referrer len 15
          compression algo gzip
       -  default_backend dev00_webapp
          option httplog
          option http-server-close
          option forwardfor except <IP_ADDRESS>
       @@ -19,4 +18,5 @@
          use_backend dev01_webapp if dst_dev01
          use_backend dev02_webapp if dst_dev02
          use_backend dev03_webapp if dst_dev03
       +  default_backend dev00_webapp

     # ./spec/defines/listen_spec.rb:397:in `block (3 levels) in <top (required)>'

Should be a quick fix

I fixed the failing test in https://github.com/MajorFlamingo/puppetlabs-haproxy/commit/73d3049cd23ceab2427e07297291ac2d09cf8444 - do we need a new PR to get it merged here?

Hi @MajorFlamingo, I think that the best option here is to create a PR from MajorFlamingo/puppetlabs-haproxy:master -> daylicron/puppetlabs-haproxy:master, then, when it gets merged, it will kick off the tests again on the daylicron/puppetlabs-haproxy:master and you can open a new PR on puppetlabs/puppetlabs-haproxy:master.

@daylicron
Making a quick change to point this PR towards the newly defined default main branch as part of our work to remove inappropriate terminology. Apologies if this is inconvenient in any way.

Hi @MajorFlamingo - let me know if you need any help with the steps @daianamezdrea outlined in https://github.com/puppetlabs/puppetlabs-haproxy/pull/434#issuecomment-668453915

Hi @sanfrancrisko and @david22swan,
sorry for the inactivety.
I submitted the PR to dailycron/puppetlabs-haproxy:master but haven't heard any response - so a new PR has been created to merge change and test.


docs: document UPDATE ... FROM

As of https://github.com/cockroachdb/cockroach/pull/39202, we support UPDATE ... FROM queries. There is this really old and long issue that tracks its progress https://github.com/cockroachdb/cockroach/issues/7841 that you might find helpful. Its a feature thats been requested for some time now and it closes some postgres compatibility gaps. Now that we have this we can also add support of DELETE ... USING which has the same semantics.
The guarantees closely resemble the postgres feature itself: https://www.postgresql.org/docs/9.5/sql-update.html
Another important note that we should call out is what happens if multiple rows match:

When a FROM clause is present, what essentially happens is that the target table is joined to the tables mentioned in the from_list, and each output row of the join represents an update operation for the target table. When using FROM you should ensure that the join produces at most one output row for each row to be modified. In other words, a target row shouldn't join to more than one row from the other table(s). If it does, then only one of the join rows will be used to update the target row, but which one will be used is not readily predictable.
Because of this indeterminacy, referencing other tables only within sub-selects is safer, though often harder to read and slower than using a join.

Covered in #8219


Update README.md

Switch to beta8

:+1: you're on fire

I feel like the beta8 has added some bugs


cannot read bot status after set security group for cloud instance

Expected Behavior
After successfully connecting web app to the bot, I configured reverse proxy(NGINX) and security group of our cloud instance (ALIYUN). For testing purpose, I allow 3000(WEB), 3002 (MQTT) and 80 for external connection. I can connect MQTT and the website, and the bot can connect MQTT broker. But the website cannot get bot status. Is there any port I am missing?
Actual Behavior

Steps to Reproduce

I just saw the deployment.md, I will double check the file and try again.


Derivative access patterns for curves

Objective

For curves that also include derivatives, make accessing derivative information via the Curve API ergonomic: that is, provide access to a curve that also samples derivative information.
Implement this functionality for cubic spline curves provided by bevy_math.

Ultimately, this is to serve the purpose of doing more geometric operations on curves, like reparametrization by arclength and the construction of moving frames.
Solution
This has several parts, some of which may seem redundant. However, care has been put into this to satisfy the following constraints:

Accessing a Curve that samples derivative information should be not just possible but easy and non-error-prone. For example, given a differentiable Curve<Vec2>, one should be able to access something like a Curve<(Vec2, Vec2)> ergonomically, and not just sample the derivatives piecemeal from point to point.
Derivative access should not step on the toes of ordinary curve usage. In particular, in the above scenario, we want to avoid simply making the same curve both a Curve<Vec2> and a Curve<(Vec2, Vec2)> because this requires manual disambiguation when the API is used.
Derivative access must work gracefully in both owned and borrowed contexts.

HasTangent
We introduce a trait HasTangent that provides an associated Tangent type for types that have tangent spaces:
pub trait HasTangent {
    /// The tangent type.
    type Tangent: VectorSpace;
}

(Mathematically speaking, it would be more precise to say that these are types that represent spaces which are canonically parallelized. )
The idea here is that a point moving through a HasTangent type may have a derivative valued in the associated Tangent type at each time in its journey. We reify this with a WithDerivative<T> type that uses HasTangent to include derivative information:
pub struct WithDerivative<T>
where
    T: HasTangent,
{
    /// The underlying value.
    pub value: T,

    /// The derivative at `value`.
    pub derivative: T::Tangent,
}

And we can play the same game with second derivatives as well, since every VectorSpace type is HasTangent where Tangent is itself (we may want to be more restrictive with this in practice, but this holds mathematically).
pub struct WithTwoDerivatives<T>
where
    T: HasTangent,
{
    /// The underlying value.
    pub value: T,

    /// The derivative at `value`.
    pub derivative: T::Tangent,

    /// The second derivative at `value`.
    pub second_derivative: <T::Tangent as HasTangent>::Tangent,
}

In this PR, HasTangent is only implemented for VectorSpace types, but it would be valuable to have this implementation for types like Rot2 and Quat as well. We could also do it for the isometry types and, potentially, transforms as well. (This is in decreasing order of value in my opinion.)
CurveWithDerivative
This is a trait for a Curve<T> which allows the construction of a Curve<WithDerivative<T>> when derivative information is known intrinsically. It looks like this:
/// Trait for curves that have a well-defined notion of derivative, allowing for
/// derivatives to be extracted along with values.
pub trait CurveWithDerivative<T>
where
    T: HasTangent,
{
    /// This curve, but with its first derivative included in sampling.
    fn with_derivative(self) -> impl Curve<WithDerivative<T>>;
}

The idea here is to provide patterns like this:
let value_and_derivative = my_curve.with_derivative().sample_clamped(t);

One of the main points here is that Curve<WithDerivative<T>> is useful as an output because it can be used durably. For example, in a dynamic context, something that needs curves with derivatives can store something like a Box<dyn Curve<WithDerivative<T>>>. Note that CurveWithDerivative is not dyn-compatible.
SampleDerivative
Many curves "know" how to sample their derivatives instrinsically, but implementing CurveWithDerivative as given would be onerous or require an annoying amount of boilerplate. There are also hurdles to overcome that involve references to curves: for the Curve API, the expectation is that curve transformations like with_derivative take things by value, with the contract that they can still be used by reference through deref-magic by including by_ref in a method chain.
These problems are solved simultaneously by a trait SampleDerivative which, when implemented, automatically derives CurveWithDerivative for a type and all types that dereference to it. It just looks like this:
pub trait SampleDerivative<T>: Curve<T>
where
    T: HasTangent,
{
    fn sample_with_derivative_unchecked(&self, t: f32) -> WithDerivative<T>;
    // ... other sampling variants as default methods
}

The point is that the output of with_derivative is a Curve<WithDerivative<T>> that uses the SampleDerivative implementation. On a SampleDerivative type, you can also just call my_curve.sample_with_derivative(t) instead of something like my_curve.by_ref().with_derivative().sample(t), which is more verbose and less accessible.
In practice, CurveWithDerivative<T> is actually a "sealed" extension trait of SampleDerivative<T>.
Adaptors
SampleDerivative has automatic implementations on all curve adaptors except for FunctionCurve, MapCurve, and ReparamCurve (because we do not have a notion of differentiable Rust functions).
For example, CurveReparamCurve (the reparametrization of a curve by another curve) can compute derivatives using the chain rule in the case both its constituents have them.
Testing
Tests for derivatives on the curve adaptors are included.

Showcase
This development allows derivative information to be included with and extracted from curves using the Curve API.
let points = [
    vec2(-1.0, -20.0),
    vec2(3.0, 2.0),
    vec2(5.0, 3.0),
    vec2(9.0, 8.0),
];

// A cubic spline curve that goes through `points`.
let curve = CubicCardinalSpline::new(0.3, points).to_curve().unwrap();

// Calling `with_derivative` causes derivative output to be included in the output of the curve API.
let curve_with_derivative = curve.with_derivative();

// A `Curve<f32>` that outputs the speed of the original.
let speed_curve = curve_with_derivative.map(|x| x.derivative.norm());

Questions

Maybe we should seal WithDerivative or make it require SampleDerivative (i.e. make it unimplementable except through SampleDerivative). I decided this is a good idea.
Unclear whether VectorSpace: HasTangent blanket implementation is really appropriate. For colors, for example, I'm not sure that the  derivative values can really be interpreted as a color. In any case, it should still remain the case that VectorSpace types are HasTangent and that HasTangent::Tangent: HasTangent. I think this is fine.
Infinity bikeshed on names of traits and things.

Future

Faster implementations of SampleDerivative for cubic spline curves.
Improve ergonomics for accessing only derivatives (and other kinds of transformations on derivative curves).
Implement HasTangent for:

Rot2/Quat
Isometry types
Transform, maybe

Implement derivatives for easing curves.
Marker traits for continuous/differentiable curves. (It's actually unclear to me how much value this has in practice, but we have discussed it in the past.)

Re: VectorSpace: HasTangent
I think that this is a conceptual problem with colours as vector spaces, not tangency on said spaces. The tangent colour is not a colour because the vector difference of two colours is not a colour.
I think the blanket impl is fine, unless there's a reason like that it would conflict with some other desired impl (though I find that dubious).

I do also think there's room for a follow-up PR that offers a differentiate curve adapter, turning a curve with one derivative into a curve, or a second derivative curve into a first, etc.

Yeah, definitely. There are also some ergonomic issues with having only what is present in this PR; e.g. it is kind of annoying to extract only the derivative without the base value. I just wanted to keep this small enough to be reasonably reviewable.

I guess I should finish my review!

Typos CI is complaining at you @mweatherley :) Fix it and I'll merge?

But reparametrization is correct. :(
(I mean the meaning doesn't change, but it does feel odd.)

Ah, I bet the branch was behind. Updating and trying again.

@BenjaminBrienen @homersimpsons do either of you have advice / ideas on the typos CI failure here? It's a false positive and should be ignored, but that doesn't seem to work correctly.

@BenjaminBrienen @homersimpsons do either of you have advice / ideas on the typos CI failure here? It's a false positive and should be ignored, but that doesn't seem to work correctly.

Typos want "reparameterization", to me we should just add "reparameterization" as an exception in typos.toml next to "reparametrize".

I had forgotten to update the local branch when I ran typos locally. 🤦 Thanks everyone.


with_venv.sh python setup.py install报错

问题描述
tools/with_venv.sh python setup.py install
环境配置
CentOS: 7.5
Python: 3.6
pip: 19.0.3
复现步骤
tools/with_venv.sh python setup.py install
实际输出结果
ERROR:root:Error parsing
Traceback (most recent call last):
File "/usr/local/open_dnsdb-0.2/venv3.6/lib/python3.6/site-packages/pbr/core.py", line 96, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "/usr/local/open_dnsdb-0.2/venv3.6/lib/python3.6/site-packages/pbr/util.py", line 256, in cfg_to_args
pbr.hooks.setup_hook(config)
File "/usr/local/open_dnsdb-0.2/venv3.6/lib/python3.6/site-packages/pbr/hooks/init.py", line 25, in setup_hook
metadata_config.run()
File "/usr/local/open_dnsdb-0.2/venv3.6/lib/python3.6/site-packages/pbr/hooks/base.py", line 27, in run
self.hook()
File "/usr/local/open_dnsdb-0.2/venv3.6/lib/python3.6/site-packages/pbr/hooks/metadata.py", line 26, in hook
self.config['name'], self.config.get('version', None))
File "/usr/local/open_dnsdb-0.2/venv3.6/lib/python3.6/site-packages/pbr/packaging.py", line 849, in get_version
name=package_name))
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name dnsdb was given, but was not able to be found.
error in setup command: Error parsing /usr/local/open_dnsdb-0.2/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name dnsdb was given, but was not able to be found.
你好，能帮忙看下这个错是什么原因吗？

升级python3测试还没完成，现在的代码回退到python2了，麻烦用python2试试

虚拟环境切换到2.7了，但是还是这个报错，报错信息如下：
(venv2.7) [root@localhost open_dnsdb-0.2]# tools/with_venv.sh python setup.py install
ERROR:root:Error parsing
Traceback (most recent call last):
File "/usr/local/open_dnsdb-0.2/venv2.7/lib/python2.7/site-packages/pbr/core.py", line 96, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "/usr/local/open_dnsdb-0.2/venv2.7/lib/python2.7/site-packages/pbr/util.py", line 256, in cfg_to_args
pbr.hooks.setup_hook(config)
File "/usr/local/open_dnsdb-0.2/venv2.7/lib/python2.7/site-packages/pbr/hooks/init.py", line 25, in setup_hook
metadata_config.run()
File "/usr/local/open_dnsdb-0.2/venv2.7/lib/python2.7/site-packages/pbr/hooks/base.py", line 27, in run
self.hook()
File "/usr/local/open_dnsdb-0.2/venv2.7/lib/python2.7/site-packages/pbr/hooks/metadata.py", line 26, in hook
self.config['name'], self.config.get('version', None))
File "/usr/local/open_dnsdb-0.2/venv2.7/lib/python2.7/site-packages/pbr/packaging.py", line 849, in get_version
name=package_name))
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name dnsdb was given, but was not able to be found.
error in setup command: Error parsing /usr/local/open_dnsdb-0.2/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name dnsdb was given, but was not able to be found.

@LostSymbol 看了下pbr/packaging.py，设置下环境变量PBR_VERSION就可以了，问题解决，多谢！

@ghjacky 请教一下，解决这个问题的具体步骤。

@LostSymbol 看了下pbr/packaging.py，设置下环境变量PBR_VERSION就可以了，问题解决，多谢！

冒昧问下，具体怎么设？目前也遇到相同类似问题，看下你方法尝试下。


Updating recipe to include fix for CVE-2022-29458

It appears that updating ncurses-feedstock recipe to include fix for CVE-2022-29458 may be a bit complicated. The fix is specifically in the following commit: https://github.com/mirror/ncurses/commit/4c9f63c460cb7134f142aa65f6866c175ed77605. However, if I were to convert this commit alone to a patch and apply it to source code checked out using v6.3 tag, it fails.
Should ncurses-feedstock be updated where instead of checking out 6.3, it specifically checks out the snapshot at that particular commit to include the CVE fix? Even if that's possible, I imagine it's not the right approach because it no longer is 6.3 but 6.4.alpha. I don't know if this is one of those instances where fixing the CVE can only be done when ncurses v6.4 is made available.
@katietz @tobijk @chenghlee @remkade what are your thoughts?

We generally avoid packaging development and other non-release versions. The simplest solution may be to wait for the next ncurses release (be that 6.4 or 7.0). The Red Hat, SUSE, and Canonical security teams have determined this is a much less severe vulnerability than the NVD CVSS score would suggest; in particular, these groups determined that the NVD assessment of high confidentiality impact is incorrect, and I am inclined to agree.
However, if you believe this is really a major security concern, I would suggest extracting the specific fix out of the referenced commit, rather than trying to apply the entire patch set. Based on the commit message (and earlier changelog messages), the other bits of the patch set are ongoing development work for the next ncurses release. They likely depend on other changes made since the 6.3 release, which explains why they failed to apply; in any case, we would also not want to apply them since that could potentially put our package in a weird state that is not API- and/or ABI-compatible with the existing ncurses 6.3 packages nor with the upcoming releases.

@chenghlee thank you for looking into this! That totally makes sense, and I imagine the security teams of Red Hat, SUSE, and Canonical know better than I do about the severity of the issue, so I will go ahead and close this ticket then and mark in our CI as a skippable CVE

@chenghlee Turns out that Intel still wants this addressed so I created a PR that addresses the fix (and does not include all the other changes): https://github.com/AnacondaRecipes/ncurses-feedstock/pull/11


Non UTF-8 characters

If any variable is defined with non UTF-8 characters, it will prevent from create a variable with a such name in a netCDF file. This affect the functionality to convert .cnv files into netCDF file.
Thanks to Nathaniel Buck for the report.

When creating a netCDF, the non UTF-8 characters are ignored, and those characters will be missing in the variable name within the netCDF.


Obscure documentation

Description
The documentation state that the user need to produce update one or two project file without sayng what should be modified and why.
src : NOTE: When you add projects to this directory, you will need to edit build.fsx and/or generate.fsx. You will also need to update your .sln file(s).
reach the page that documents the (structure of a scaffolded project)[http://fsprojects.github.io/ProjectScaffold/structure.html]

Seconded: I did what a normal visual studio user would do to add a project to the scaffold: browsed to the existing project via VS and connected them. Nothing I did could get the documentation for the added projects generating.
What eventually worked was this:

Copy each existing project to the \src\ directory because it's easier than trying to retrofit the scaffold to an existing project.
Use Visual Studio to add the project to the solution.
Manually edit the XML of each .fsproj file added to correct the package links.
Remove and re-add any project references that weren't correct

After this I got my build running and my documentation generated.
Please consider updating the documentation on adding projects to the scaffold (new projects and existing projects) because it will save a lot of wasted time for newcomers to the project scaffold.


Sql editor query "no such table"

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
version 0.17
Database: Sqlite3
Expected results
Should be able to query sample data tables from fresh installs
Actual results
Superset throws error and says no table exist when querying sample data
Steps to reproduce

Fresh install — steps in tutorial
Visit superset (sqlab) http://<IP_ADDRESS>:8080/sqllab
select main as database and schema
Use the sample table energy_usage
Copy Query from table
Insert into editor and Run Query

Supplementary (Logs)
superset Backend:
2017-03-12 22:42:58,011:WARNING:root:timeout can't be used in the current context
2017-03-12 22:42:58,011:ERROR:root:signal only works in main thread
Traceback (most recent call last):
  File "/Users/Jerry/opensource/superset/superset/utils.py", line 405, in __enter__
    signal.signal(signal.SIGALRM, self.handle_timeout)
ValueError: signal only works in main thread
db URI sqlite:////Users/Jerry/.superset/superset.db
2017-03-12 22:42:58,039:INFO:root:Running query:
SELECT source,
       target,
       value
FROM main.energy_usage LIMIT 100
OFFSET 0
2017-03-12 22:42:58,047:ERROR:root:no such table: main.energy_usage
Traceback (most recent call last):
  File "/Users/Jerry/opensource/superset/superset/sql_lab.py", line 115, in get_sql_results
    query.executed_sql, **db_engine_spec.cursor_execute_kwargs)
OperationalError: no such table: main.energy_usage
2017-03-12 22:42:58,058:ERROR:root:no such table: main.energy_usage
Traceback (most recent call last):
  File "/Users/Jerry/opensource/superset/superset/views/core.py", line 2032, in sql_json
    data = sql_lab.get_sql_results(query_id, return_results=True)
  File "/Users/Jerry/opensource/superset/env/lib/python2.7/site-packages/celery/local.py", line 188, in __call__
    return self._get_current_object()(*a, **kw)
  File "/Users/Jerry/opensource/superset/env/lib/python2.7/site-packages/celery/app/task.py", line 420, in __call__
    return self.run(*args, **kwargs)
  File "/Users/Jerry/opensource/superset/superset/sql_lab.py", line 119, in get_sql_results
    handle_error(db_engine_spec.extract_error_message(e))
  File "/Users/Jerry/opensource/superset/superset/sql_lab.py", line 70, in handle_error
    raise Exception(query.error_message)
Exception: no such table: main.energy_usage

delete the schema 'main' you selected in the left Select box

Notice: this issue has been closed because it has been inactive for 405 days. Feel free to comment and request for this issue to be reopened.

After renaming an sqllite table to a new name, all charts refering to the original table failed  to query the table with a "no such table" error. In SqlLab, under the "main" schema, the table had the old name, in the tables drop-down.


Dump directly to file

This adds the ability to dump the results of a query directly to a file instead of storing in memory. This is usefully when you're pulling huge amounts of data from influxdb (ie several GBs). An example use case is a backup script that backs up influx data directly to disk.

on second thought, maybe this shouldn't be apart of the query method. Maybe it should be its own thing like query_to_disk?

This is a use case I did not think about. Thank you for your contribution.

Maybe it should be its own thing like query_to_disk?

Yes, I think this should be a separate method.
Make sure this is usable from the outside! You have only modified the _query method, which is private.
Also, tests!

next step is to write tests, will get to that soon.

@CBarraford
if you check current master version and even more this branch/PR : https://github.com/influxdb/influxdb-python/pull/136,
I'd propose you add your test within client_test_with_server.py:CommonTests (class unittest.TestCase) (which is in the PR above)..


question about write_video

Hi, thanks for open-sourcing the great library!
I am just curious in your demo notebook, when saving the video:
# Write a video to a file:
media.write_video('/tmp/video1.mp4', video1, fps=10, qp=10)

what does 'qp' here mean? I searched online but didn't find anything.
Thanks in advance!

It stands for "quantization parameter" and is the low-level quality knob in modern video codecs.  (Lower values give higher quality.)

thanks!


New version: BookxSoftware.BookxNotePro version <IP_ADDRESS>2

Created by 🥟 Dumplings in workflow run #4296.
Logs
Updated: <IP_ADDRESS>1 → <IP_ADDRESS>2
Submitting WinGet manifests

Microsoft Reviewers: Open in CodeFlow

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

@wingetbot run

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

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-04-10 16:41:08.657 [FAIL] Installer failed security check. Url: http://www.bookxnote.com/setup/bookxnotepro-windows-x64-<IP_ADDRESS>2-20240409.zip Result: 0x80004005
2024-04-10 16:41:05.597 [FAIL] Installer failed security check. Url: http://www.bookxnote.com/setup/bookxnotepro-windows-x86-<IP_ADDRESS>2-20240409.zip Result: 0x80004005

(Automated response - build 876.)

@wingetbot run


L10n cleanup and xliff+new translations

Commission four more languages: French, Portuguese, German, and Russian.

NOTE: This PR includes the l10n-cleanup-and-xliff branch on which it depends. It's probably best to pull that one first: #633.

Also new revision of Spanish.
I've poked around and confirmed basic soundness with everything but Russian, which isn't easily present on the emulator.

This pull request is now managed with CodeReviewHub. Refresh.

@kenmanheimer - You might wanna go over these translations a bit... I am finding 'Zero-Knowledge' translated quite frequently (I thought we were leaving it), and in some places it is in the app as '[[Zero-Knowledge]]' complete with [['s (such as this screen in pt: http://cl.ly/image/0W0D1h2L0v3m)

@devgeeks, excellent catches. I've done a visual inspection of the json l10n string files (using regexp isearch to highlight the bracketed strings, etc) to look for the ones you found and any others that might be lurking. It looks like I got all the ones you caught (evidenced by the commented diffs being outdated), and may have gotten a few more. I definitely found a string that I neglected to bracket - remedied - plus a few plain strings in the Russian translation that were not missed in the translation.
I was exact about tallying the changes to be able to send the specifics to the translators, since we're just at the verge of using xliff to automatically keep track of that sort of thing.
I've confirmed that this works fine in a few languages, but not all.


fix(io): replace std::fs in async fns with tokio::fs

This PR replaces blocking fs calls with async fs calls. Using blocking reads can cause unexpected hangs in async code https://ryhl.io/blog/async-what-is-blocking/
This does not address other blocking IO calls as they exist in e.g. src/google/credential.rs:CredentialLoader::load_file which may also be used in async contexts as changing these methods would be a breaking change.

Thank you for this PR. However, some users of reqsign may have their own asynchronous runtime, which makes the introduction of tokio::fs potentially problematic. I am open to more suitable suggestions.

Hi, thanks for the response, I think it should be possible to introduce cfg features for other async runtimes. Are you aware of users that require different runtimes apart from wasm targets at this time?
In general, I think it is not a good idea to have blocking code run in async contexts in e.g. opendal or iceberg-rust, for people running single threaded runtimes it can be quite destructive and really hard to debug. On multi-threaded runtimes, it'll be even more subtle and seem random to a user.

I think we can have a simple trait called ReadFile which can read all content in a Vec<u8>
#[async_trait]
trait ReadFile {
  async fn read_file(&self, path: &str) -> Result<Vec<u8>>
}

We can provide some default implementations for tokio. Users are free to create their own if needed.

Thanks again for the PR. I'm going to close it now.

I currently do not have the capacity to do such a large refactor of a library I do not know well. Doing blocking IO within async contexts can cause hard to debug issues and should be addressed. This can cause issues in depending crates such as opendal or iceberg-rust. I'll create an issue so that it doesn't fall off the map.

Thanks!


Fixed #33094 -- Disambiguate "Show all"

The admin interface used "Show all" with two different meanings.  One
is to disable pagination (a query string of ?all=).  The other is to
disable filters (a query string of ?), when show_full_result_count is False.
The second case is now described as "Clear search".
Signed-off-by: Richard Laager<EMAIL_ADDRESS>

This was wontfix'ed in Trac.


Report accumulated proof-of-work

In order to compare canonical and non-canonical blocks more meaningfully, it woul be nice to have the accumulated proof-of-work reported in the explorer.

yes, I will add it.  thx.

implemented, deployed.


Revert input error color

PR #379 (unintentionally, I assume) changed the default error color for inputs to yellow:

Oh shoot. I'm so sorry about that. I modified it for testing the required color and forgot to switch it back.

No worries, it's an easy fix. Thanks for the required hint patch, by the way!

@csmcanarney No problem. I'm glad I was able to contribute to this project.
@javivelasco FYI please merge this when you get time! Also can you let me know when the docs on the live site are going to be updated?

Hey guys! Thanks for the comments and PR. I'm spending some hours today updating dependencies and getting some stuff reviewed and done. If everything goes right I'm releasing a new version and pushing the docs not later than tomorrow


Lore Friendly Version for FiveM?

FiveM recently made it so you can't use real branding is their anyway to swap out the real brands for fake brands in the store so it doesn't violate FiveM's new terms? I love the little grocery store. It's my favorite thing and I really wanted to add it to my server.

Yes, there's the .ytd with all the textures inside. Actually, there are 3-4 brands, like bottles and some bridge stuffs, but i'm working on a V2 with all fake generated stuffs

Thank you so so much, I love your little grocery store, I appreciate you taking time to make it with fake brands so it can be used :)


Sluggishness with peeking references and suggestions on Windows 10 in 1.74 and Insiders 1.75.0

Type: Bug
Hello,
I'm experiencing sluggishness with peeking references and editor suggestions starting with release 1.74 and the latest insiders build.
Suggestions and references can take several seconds to load, and I had to downgrade to 1.73.1 where the same features activate almost instantaneously. I created a small example project to try to share but can't reproduce this issue with a small set of files. I'm only experiencing this in my working Typescript/React codebase with ~1000 modules.
Similarly, linting issues displayed in the editor persist for much longer after changes are saved. I've attached screenshots to demonstrate this behavior.
Thank you.
Screengrabs
Actions taken on 1.73.1 (user setup) with 17 extensions enabled:

CTRL click symbol to peek reference
Format on Save (with Prettier extension) enabled. Save with error, then save with fix.

Same actions in the same project/file on a fresh 1.75.0-insider (user setup) install:

No extensions installed and using default settings. Same issue with 1.74 release.

VS Code version: Code - Insiders 1.75.0-insider (b92894493e6f971a3c71912d823e699d3a05d643, 2022-12-08T05:20:51.149Z)
OS version: Windows_NT x64 10.0.19042
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz (8 x 2304)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.73GB (3.42GB free)

Process Argv
--crash-reporter-id c6f26485-3503-4dde-82a7-7b1e016fe72e

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
vsc_aacf:30263846
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30404738
cppdebug:30492333
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30618038
pylantcb52:30590116
pyindex848:30611229
nodejswelcome1:30587009
pyind779:30611226
dbltrim-noruby:30604474
vscrpc:30624061
pythonsymbol12cf:30622697
fim-prod:30623723

It looks like the issue is caused by one of your installed extensions. All extensions execute together on a single nodejs process, so in order to narrow down the possible problematic extension, please try the following:

run F1 > Help: Start Extension Bisect
(this will restart VS Code with half of your extensions disabled)
try to do the steps which reproduce the problem
if the problem reproduces, click "This is bad" (this narrows down the problematic extension to the half which was enabled)
if the problem does not reproduce, click "Good now" (this narrows down the problematic extension to the half which was disabled)
these steps will repeat until the problematic extension is found

initial
step
final

Hi @jrieken ,
Thank you for the response. I've run Extension Bisect on 1.73.1, 1.74, and 1.75.0-insider and still experience some delay with the latter two releases. Are there any other metrics I can provide to help you with this?
Here are some GIFs from CTRL clicking on a symbol:
✅ 1.73.1 running Extension Bisect:

✅ 1.73.1 with extensions enabled:

❌ 1.74 running Extension Bisect:

❌ 1.75.0-insider no extensions/default settings

forwarding to @mjbvz because this might be an issue with tsserver?

Are you using a custom version of TypeScript in your workspace?
If not, can you try switching to use Typescript 4.8 by following these instructions

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


output from from_euler for quaternions does not match from_angle_* functions

Currently the x, y, z in the function from_euler(x: Rad<S>, y: Rad<S>, z: Rad<S>) do not correspond with the functions from_angle_x, from_angle_y, and from_angle_z.
For example, I would expect the following tests to succeed, but they currently fail.
#[test]
fn test_quaternion_euler_angle_x()
{
    let angle = rad(1.0);
    let q1: Quaternion<f32> = Rotation3::from_euler(angle, rad(0.0), rad(0.0));
    let q2: Quaternion<f32> = Rotation3::from_angle_x(angle);
    assert_approx_eq!(&q1, &q2);
}

#[test]
fn test_quaternion_euler_angle_y()
{
    let angle = rad(1.0);
    let q1: Quaternion<f32> = Rotation3::from_euler(rad(0.0), angle, rad(0.0));
    let q2: Quaternion<f32> = Rotation3::from_angle_y(angle);
    assert_approx_eq!(&q1, &q2);
}

#[test]
fn test_quaternion_euler_angle_z()
{
    let angle = rad(1.0);
    let q1: Quaternion<f32> = Rotation3::from_euler(rad(0.0), rad(0.0), angle);
    let q2: Quaternion<f32> = Rotation3::from_angle_z(angle);
    assert_approx_eq!(&q1, &q2);
}

If the x and z are swapped in the call to from_euler then this test will pass (when maybe it shouldn't?)
#[test]
fn test_quaternion_euler_angle_x_z_swap()
{
    let angle = rad(1.0);
    let q1: Quaternion<f32> = Rotation3::from_euler(rad(0.0), rad(0.0), angle);
    let q2: Quaternion<f32> = Rotation3::from_angle_x(angle);
    assert_approx_eq!(&q1, &q2);
}

The behavior for Matrix3 is different and all of the following tests pass
#[test]
fn test_matrix3_euler_angle_x()
{
    let angle = rad(1.0);
    let b1: Matrix3<f32> = Matrix3::from_euler(angle, rad(0.0), rad(0.0));
    let b2: Matrix3<f32> = Matrix3::from_angle_x(angle);
    assert_approx_eq!(&b1, &b2);
}

#[test]
fn test_matrix3_euler_angle_y()
{
    let angle = rad(1.0);
    let b1: Matrix3<f32> = Matrix3::from_euler(rad(0.0), angle, rad(0.0));
    let b2: Matrix3<f32> = Matrix3::from_angle_y(angle);
    assert_approx_eq!(&b1, &b2);
}

#[test]
fn test_matrix3_euler_angle_z()
{
    let angle = rad(1.0);
    let b1: Matrix3<f32> = Matrix3::from_euler(rad(0.0), rad(0.0), angle);
    let b2: Matrix3<f32> = Matrix3::from_angle_z(angle);
    assert_approx_eq!(&b1, &b2);
}

What are the values that are printed from the failing assertions?

By the way, you can enable code highlighting on your fenced cod blocks by doing:
```rust
fn foo() { }
```

Never mind about the values... I'm guessing I must have got my argument ordering wrong, or matched with the implementations incorrectly. I will look into it. You are welcome to as well though - not sure how much time I will have over Christmas.

I'll also probably be a bit busy. If I do end up looking into the issue/find out anything I'll make sure to put it here.


Adds 'not-allowed' curser to disabled select

This PR adds cursor: not-allowed to the select[disabled] styles of .m-select in cf-forms.less.
Additions

Adds cursor: not-allowed

Testing

Works in IE9, Chrome, and Firefox. I wasn't able to successfully test IE8 - saucelabs doesn't show me the emulated cursor, for some reason.

Review

@jimmynotjim @KimberlyMunoz @cfarm

Screenshots
Apparently, screenshots don't show the cursor. So... no screenshots.
Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

👍


Example Game version 4 - multiple keyboard inputs

platform:  Windows-10-10.0.19041-SP0
release:   10
machine:   AMD64
sys.version: 3.9.1 [MSC v.1927 64 bit (AMD64)]
pyglet.version: 2.0.5
pyglet.compat_platform: win32
Hi guys, I'm following the Asteroid game example provided by the pyglet documentation. I followed the guide up to version 4 and I encountered a problem running the application. Bearing in mind that the code can be viewed at the link: https://github.com/pyglet/pyglet/tree/ae8228d56ed6f0855f6280cc44b22d057d92dc4d/examples/game/version4.
Arrived at version 4. the game involves the rotation and forward thrust of our ship by pressing the relative arrow keys, and the use of the space bar to shoot. I noticed that if you press "Up+Left+Space" at the same time the ship stops firing while if you press "Up+Right+Space" the ship performs all three inputs.
does anyone know what inhibits the space bar?
Alternatively, I attach my version with the same functionality as the game code.
example.game.version4.zip

This is likely just an issue with key rollover on your keyboard. Switching to WASD should fix it.
You can also try this online test to confirm:
https://www.mechanical-keyboard.org/key-rollover-test/

Great, I thought that might be it.


[Feat] Card Design can be made more animated and awesome on the Landing Page

Description
Hey,
I can make the feature cards and favourite products cards more animated and lively that will enhace ui of your website and makes it more awesome looking.
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Please add hacktoberfest label


Migrate Dynamic Data to Input Variables

All data that is user-specific should be moved to variables so users can specify it using standard TF conventions, e.g. tfvars file.
Includes:

Subnets
VPC
AMI
SSH key pair name

Subnets and VPCs complete

https://github.com/magneticstain/tf-ip2cr/pull/8


how to install it on UBUNTU vps

Hello.
can you give me the command to install it and run it on Ubuntu VPS , please ?
i would like to use it.

Hi ingnelson,
please be aware that moproxy is still under heavy development which means I'm still breaking things like config settings etc.
I'm going to update the whole project and add a README with installation instructions within the next days.

@maurice2k perfect , I would like to use it on a Ubuntu VPS , if it is posible add all the commands to Install it and run it on Ubuntu vps README .
I am going to wait .

Install is easy with
# make
# make install

Installs to /opt/moproxy by default and registers a systemd service.
You need go > 1.11 installed for that.
You also need to adjust the config in /opt/moproxy/configs (have a look at moproxy.conf.dist as a reference).
Not sure what you're really looking after. Maybe it's easier to setup a proxy using apt on your ubuntu box.


encrypt data?

Hi all,
It works perfectly with react 0.14.1 & redux 3.0.4. I want to encrypt data when i save data to localstorage so user cannot understand whats going on (i hope :). But i couldn't create any enhancer for that. Do you have any tutorial or "template" to create enhancer? I just want to encrypt & decrypt data on set & get actions.
Thanks!

Hi @Sly777,
An issue has been raised with respect to encryption/encoding, see #16.
Currently discussing improvements to the API that should also take this issue into account, see #21 - would value your input.
Kind regards.

Hi @Sly777,
The problem before was that JSON (de)serialization was done by the actual storage adapters which (as discussed in #16) could get in the way if you wanted to encrypt your data.
This issue has been resolved in 1.0.0-rc5 (you can now access the adapters without serialization), I invite you to have a look at the code snippet shown in the readme under transformState for an encryption example.


fix for issue 3946

In SPIRV legalization, a struct wrapper is created around push constants but is not itself legalized. Putting the struct type into the work list causes the storage access of the push constant pointer to be PhysicalStorageBuffer as expected, instead of Functions scope without the struct legalization.
Closes #3946

@cheneym2 In your future PRs, you can include a line liike:
Closes #3946

In your PR description, so that github can automatically link the issue with the PR and close that issue when the PR is merged.


Token Strategy Enhancement Request 2 - Refresh Token TTL

Consider refresh tokens for X days and new issued refresh tokens will always keep that fixed TTL as exp. date vs. moving TTL window, where each refresh token allows an extra X days from token issuance...

Moved to JanssenProject/Auth Server repository.


CODE: causal_sites

Add option to simulate causal sites by indicating the causal site IDs

@jeromekelleher Would it be possible for you to review this whenever you have some time? I was just playing around with the code to resolve the Codecov issue.

@jeromekelleher I think this branch is ready for check now. Would it be possible for you to see it whenever you have some time?


AStar: cannot remove points connection when was connected more than once

Godot version:
3.0.3 stable
OS/device including version:
Arch Linux x86_64
Issue description:
When method connect_points is invoked more than once for the same points, then I cannot disonnect them.
#for debug used method get_point_connections(1) are_points_connected(1,2)
astar.connect_points(1,2, true) #connections: [2], connected: True
astar.connect_points(1,2, true) #connections: [2, 2], connected: True
astar.disconnect_points(1,2) #connections: [2], connected: False
astar.disconnect_points(1,2) #connections: [2], connected: False

get_path treats nodes as connected

I believe I can handle this one. I've been looking for a good beginner issue. While the second solution seems the most simple, I'm interested to see if I can make the first one work. I'm thinking of adding an  std::find call to the neighbors vector at the beginning of the AStar::connect_points function. If it finds p_with_id, I'll add an ERR_FAIL_COND. Sound like a good start?

Took a look at the code and realized that the vector class includes a find function. Added the following line below the initilization for points a and b.
ERR_FAIL_COND(a->neighbours.find(b, 0) != -1);
If I understand the find function correctly, it returns a -1 if it doesn't find the value in the vector. This should cause an error if it doesn't find point b as a neighbour of point a. Going to build and test this tomorrow.

@MetaSaval TBH, I would prefer the second version as long as it doesn't cause performance problems.
About the other two solutions, you should be careful with the bi-directional parameter. Consider:
command  # expected state after
# Case 1:
astar.connect_points(1, 2) # 1 -> 2
astar.connect_points(2, 1) # 1 -> 2, 2 -> 1
# Case 2:
astar.connect_points(1, 2) # 1 -> 2
astar.connect_points(1, 2, true) # 1 -> 2, 2 -> 1, no errors
# Case 3:
astar.connect_points(1, 2) # 1 -> 2
astar.connect_points(2, 1, true) # 1 -> 2, 2 -> 1, none duplicated

I would suggest not raising errors, but just putting a check around each neighbours.push_back call.

Makes sense. Was able to make neighbours a set, but there's a few places in a_star that need to be updated. More specifically, there's a few places where a_star iterates through neighbours with a for loop, which break because a setdoesn't have access by index. As far as I can tell, there's no iterator class for me to use, and the set class only has a find function, which doesn't really help. Any idea on where to go from here? And how would I check to see if this change ends up causing performance problems?

I think something like this loop might do the trick:
https://github.com/godotengine/godot/blob/d6ddfdf004a1b5a334a0709e87e2e427624e616b/editor/plugins/theme_editor_plugin.cpp#L276
(sorry for not replying earlier)

Sweet, that worked. I was able to make the changes. Committing now.
With the test script:
`	var as = AStar.new()
as.add_point(1, Vector3(1,0,0), 4)
as.add_point(2, Vector3(2,0,0), 4)

as.connect_points(1,2, true)
print(as.are_points_connected(1,2))
print(as.get_point_connections(1))

as.connect_points(1,2, true)
print(as.are_points_connected(1,2))
print(as.get_point_connections(1))

as.disconnect_points(1,2)
print(as.are_points_connected(1,2))
print(as.get_point_connections(1))

as.disconnect_points(1,2)
print(as.are_points_connected(1,2))
print(as.get_point_connections(1))

print(as.get_point_path(1,2))`

I got the following output:
True [2] True [2] False [] False [] []


fix JaCoCo settings warnings

Signed-off-by: Karim Lawani<EMAIL_ADDRESS>Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
AB#171
Change description
Fixe JaCoCo warnings due to Deprecated settings
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x ] No

Merged as it needs a master analysis first due to new project key


Request: Improvements to charts viewer

Hi! Just installed the free version and would like to upgrade to pro, but I think the charts viewer would be more helpful with some features added:

A pdf to png conversion script
Multi page PDF (I.E. a checklist) to multiple PNG's with possibility to view them as a single document in the viewer
3. Folder structure for png's Seems to be there already :)

1 and 2 are actually features I found in the ebag mod I found on flightsim.to. For myself I already modified the conversion script to output PNG's in stead of JPG's.
Hope you can add these features :)
Thanks
Björn
P.S. code to convert to png in the existing folder structure of the ebag mod:
cd code
for %%f in (..\ebag*.pdf) do (
.\gswin64c.exe -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=png16m" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r150x150" -o "..\ebag%%~nf---%%03d.png" "%%f"
)

fskneeboard-charts.zip
Made a sample where the pdfs in the pdf folder are processed and placed in \processed\originalfilename\ subfolders. Hope this somehow helps.

fskneeboard-charts-subdirs.zip
Made some changes now I have the PRO license:
Put files in the pdf folder in subfolders and optional also in sub-sub folders. Folder structure and converted files will be put in C:\fskneeboard-server\charts
Change the .bat to suit your needs.
To do: Add if not exist to pdf files before converting.
example:
Input
pdf\Charts\EHHV\chart1.pdf
pdf\Charts\EHHV\chart2.pdf
pdf\Checklists\Piper P28R\Checklist.pdf
Output:"
C:\fskneeboard-server\charts\Charts\EHHV\chart1.png
C:\fskneeboard-server\charts\Charts\EHHV\chart2.png
C:\fskneeboard-server\charts\Checklists\Piper P28R\Checklist---001.png
C:\fskneeboard-server\charts\Checklists\Piper P28R\Checklist---002.png
C:\fskneeboard-server\charts\Checklists\Piper P28R\Checklist---003.png

Where do I set the server directory for charts?

You would have to edit the .bat file in the main folder, but the default folder is on many lines so make sure you edit it in all places. I can see if I can put it in a variable so you have to set it only once.

fskneeboard-charts.zip
In this version you can edit the server location in the top of the click_me_to_prepare.bat file. Make sure there is no trailing \ or any spaces at the end of this line.

Thank you!

done! to be released with v1.9


Organizations

Hey, wanna ask. Is this bot supposed to not work if subscribed to an organization, works fine for private projects on my profile but not on organizations. BTW I just added it thru the link

Bbot says it is subbed but doesn't do anythin, it's set to all events

Hey there. Just collecting some info to figure this out:

You're trying to subscribe to a repo within the organization right? This bot does not support subscribing to an entire org.
Is the organization repo public or private?

Yep I am trying to sub a repo in the organization
The organization repo is currently private

Got it, thanks! I will do some testing and get back to you.

Have you found the issue?

Hey! I think I might have found the issue after doing some testing across some other orgs. I believe your org has OAuth App access restrictions enabled. You'll have to either disable these restrictions or approve the app for your org. I recommend just approving. I've also pushed ba6a427 which should handle the error and explain the issue if you try to re-sub. Please let me know if this works for you! Thanks.

Yes, that was the issue. Thank you very much.

First time I did this it did a smth with a username error or smth like that

But I just kicked it and invited it back and works now

I remember the thing now, It was: Be sure to provide the GitHub repo URL or username/repo formát. I might typed it wrong but idk.

Yep, that's what that error means. Usually just typed wrong. Thanks for confirming!


langchain: Remove azure-ai-vision as a dependency

Addressing the Azure AI Vision package Deprecation
As documented in Issue #16552, Poetry version solving fails when attempting to deploy the dev container because the azure-ai-vision package has been yanked. The package has been replaced by azure-ai-vision-imageanalysis, which is unfortunately not a drop-in replacement.
Additionally, "Azure Cognitive Services" has been rebranded as "Azure AI Services". As a result, the names currently used by the tools in the AzureCognitiveServicesToolkit and the toolkit itself are outdated.
This pull request aims to:

Provide a short term fix for Issue #16552 by removing azure-ai-vision as a dependency.
Initiate a discussion about updating the AzureCognitiveServicesToolkit and its tools.

Removing azure-ai-vision
The package azure-ai-vision has been yanked from PyPI, meaning it's no longer supported or recommended for use. The new package azure-ai-vision-imageanalysis is referenced as its replacement, but it is not a drop-in substitute as the SDK has been rewritten and all APIs have changed.
To mitigate the impact of removing azure-ai-vision as a dependency while we work on updating the AzureCognitiveServicesToolkit and refactoring AzureCogsImageAnalysisTool, we add a warning on import error stating that the package has been yanked. Users who rely on the tool will still be able to download the yanked package if they need to, as described in this official thread.
By running poetry remove azure-ai-vision we remove azure-ai-vision from libs/langchain/pyproject.toml and libs/langchain/poetry.lock.
It is important to note that while this removal prevents poetry from hanging on this package, it doesn't prevent poetry from resolving dependencies indefinitely, that is its own issue.
Updating AzureCognitiveServicesToolkit
Cognitive Services and Applied AI are Now ‘Azure AI Services’ and as such the names currently used by the tools referenced by the AzureCognitiveServicesToolkitand the toolkit itself are outdated.
I am not sure what the most sensible path forward here is, but as a suggestion we can:

Duplicate the Azure Cognitive Services tools and toolkit files and directories as a starting point for a new Azure AI Services tools and toolkit. We then update file names and code symbols accordingly.
Rewrite image_analysis.py to use the replacement package (azure-ai-vision-imageanalysis).
Implement notices in the old tools and toolkit to guide users towards the new tools toolkit, along with documentation updates.

Concerns about code duplication and the future of the old code merit discussion. My inclination is to phase out the outdated tools while providing users with adequate notice to transition to the updated toolkit, thus minimizing long-term duplication.
I am also not sure by when the old tools and toolkit should be deprecated by, but they should definitely be removed at some point in the future.
I am considering doing this myself and making a pull request, but first I'd like confirmation that this is worth doing and this is a sensible course of action.

My sincerest apologies, I forgot to remove azure-ai-vision from the azure extras.

It seems like the dependency has been removed! Thank you!


How to create Dapp Web3 browser like trust wallet dapp browser?

I want to connect my app wallet to webview link like opensea, uniswap, etc,.  and want to access read and write methods of web3 thru javascript, so will you please help me how to utilise web3 in mobile browser for connect web3 supported link.

@flutterdevcodiste
You need to inject using EIP-1159 I believe.

Need to inject EIP-1193 JS provider to the webview


Publish WKT 0.9.0

There's a nice bundle of changes ready to go out. Note, this would be a breaking release, due to the geo-types 0.7.0 requirement.
Anything else people would want to see in the 0.9.0 release?
I just checked the diff since 0.8.0 and it looks like CHANGES.md is up to date.
(I'd be happy to publish the release myself if @frewsxcv adds me to https://github.com/orgs/georust/teams/wkt-publishers)

Added you to the team!

Excellent thanks!
I'm inferring that you're also OK with the release as-is and will get it out shortly.

Yep yep. Was on my phone when I gave you permissions and was dancing around the GitHub permissions UI and then forgot to response with a 👍🏻 here

WKT 0.9.0 has been published!


Fix pkg/cosign/errors

Remove ThrowError

This function is the identity function, so it doesn't appear to actually
do anything? Tests pass after deleting it.

Unwrap

Errors should implement Unwrap when they wrap another error so that
errors.Is/As will work with it.

Don't break policy-controller

This adds back some public symbols that were removed that prevent
policy-controller from bumping its cosign dependency. They are marked
deprecated.
https://github.com/sigstore/policy-controller/blob/b59a2bf7e4f95e2f9126ce8b4d9dd5bcfbd11c9f/pkg/webhook/validator.go#L518
https://github.com/sigstore/policy-controller/blob/b59a2bf7e4f95e2f9126ce8b4d9dd5bcfbd11c9f/pkg/webhook/validator.go#L836
https://github.com/sigstore/policy-controller/blob/b59a2bf7e4f95e2f9126ce8b4d9dd5bcfbd11c9f/pkg/webhook/validator.go#L912

@ChrisJBurns I think I'm missing some context for some of this stuff, do these changes seem ~reasonable to you?

Hi @jonjohnsonjr , changes seem good with me! :+1:
The ThrowError was mainly to have a common way of throwing errors with a bit of syntactic sugar, there was no functional benefit for it being there. The unwrapping functions seem good to me also.  On the Policy Controller side of things, I didn't actually realise that we were using functions in Cosign to throw errors in other applications, so for backwards compatibility that seems ok with me to put it back in. Although I'd definitely raise the question of whether we should be using Cosign as a library for throwing errors in other applications? As we seem to be coupling the two a bit? Would it be easier to copy the VerificationFailure error code we're putting back in this PR and just put it in policy controller? It doesn't really seem to be anything Cosign specific? Feel free to correct me as I've not got any experience with the policy controller thus far!

Although I'd definitely raise the question of whether we should be using Cosign as a library for throwing errors in other applications? As we seem to be coupling the two a bit? Would it be easier to copy the VerificationFailure error code we're putting back in this PR and just put it in policy controller? It doesn't really seem to be anything Cosign specific? Feel free to correct me as I've not got any experience with the policy controller thus far!

I think that would have been better to do originally, but for the sake of the dependency graph, I think it's easier to just add these back (as deprecated) and then have policy-controller deal with that problem when it bumps cosign.

@jonjohnsonjr  Yep that's fair enough. Out of curiosity, do you know whereas Cosign is used like it is in the policy controller? Just so I can bare it in mind when doing future changes? As I'll be adding a bunch of exit codes when certain errors happen from here onwards (and encourage others to do the same - perfect for good first issues)

Out of curiosity, do you know where else Cosign is used like it is in the policy controller?

I only happened upon this because I tried to bump a cosign dependency and it broke policy-controller :P
I think a lot of these are forks, but if you wanted to dig into it, I'd start here: https://pkg.go.dev/github.com/sigstore/cosign/pkg/cosign?tab=importedby


Added link to an Ansible role as a 3rd party tool.

I did a thing, and I hope it's useful for people other than myself.
The role is able to install Locust, but can also start and restart Locust master, slave and stand-alone, while preserving the parameters. More than one Locust "instance" can exist on the same host in parallel.
The role can copy a directory with files alongside installing Locust, so it's also a convenient way to put your locustfile, classes and required data onto the host in a single step.
Finally, it can be used as an easy way to build docker images with Locust and the desired locustfiles already baked in.

This is probably good, I get questions often from folks wondering how to effectively deploy locust via docker.

Looks nice. Sorry for the super slow response @tinx . Will you resolve the conflicts? Then I can merge.


When there is a single entry, "entry" ought to be singular.

It's a small thing, but right now it says "1 entries" instead of "1 entry" if you have a single entry.

Fixed by @roxaloxa


Use $TMPDIR for temp directory

The TMPDIR environment variable should be honored if set, as it may point to
something other than /tmp (e.g. /tmp/.private/$(whoami) on my system).
Fallback to /tmp if $TMPDIR is unset or empty.

Thanks! :+1:


Add support for any-Display input listeners

For cases where we don't want to figure out which specific Display(s) could be triggering an event.

@zepumph could you review the above change?

@zepumph could you review the above change?

This was brought about by https://github.com/phetsims/tambo/issues/126#issuecomment-765658077. And should likely be used in a conversion in TAMBO/DisplayedProperty. I'll make an issue.
I see that it dispatches after the specific display's. This seems reasonable to me. I could also see us putting it before the Node fires its listeners, so that you could control order a bit more if you needed to, but most likely it is best where it is. Ready to close @jonathanolson?

This was brought about by https://github.com/phetsims/tambo/issues/126#issuecomment-765658077. And should likely be used in a conversion in TAMBO/DisplayedProperty. I'll make an issue.
I see that it dispatches after the specific display's. This seems reasonable to me. I could also see us putting it before the Node fires its listeners, so that you could control order a bit more if you needed to, but most likely it is best where it is. Ready to close @jonathanolson?

Yes! Ideally we'd have options like DOM event capture (so that you could have the reversed propagation at the start), but that's another task! Thanks, closing.

Yes! Ideally we'd have options like DOM event capture (so that you could have the reversed propagation at the start), but that's another task! Thanks, closing.

I see that it dispatches after the specific display's. This seems reasonable to me. I could also see us putting it before the Node fires its listeners, so that you could control order a bit more if you needed to, but most likely it is best where it is.

Over in https://github.com/phetsims/friction/issues/326 @jessegreenberg and I ran into a case where it would be nice if the Display listener could fire before the Node dispatch. @jonathanolson is there another issue about capturing events?


Add status error type

The API will forward the HTTP status in the error response to the client. This updates the types to make TS happy.

All look good except BanFromCommunityResponse.ts
status is doubled up and has 2 commas
  status?: string,,
  status?: string,

All look good except BanFromCommunityResponse.ts
status is doubled up and has 2 commas
  status?: string,,
  status?: string,

@asimons04  Looks alright to me
https://github.com/sublinks/sublinks-js-client/blob/cab26272d2345d70c17e4f267c1051c71d6ac2bc/src/types/lemmy/BanFromCommunityResponse.ts

Sorry, my bad.  Looks like it got fixed in the commit to update the docs (assumed that was just the commit with the typedoc output).

NPM package 0.0.18 built and published.


docs: link to docs in README seems internal

link to docs in README seems internal (at least it requires to login first)
https://github.com/the-grey-group/datalab/blob/7062af272b215a228ed7704757d80482aafd7160/README.md?plain=1#L61
I guess it should be https://the-datalab.readthedocs.io

Thanks @simontaurus, this should have been updated once our paid readthedocs account trial ended...


Paste anything to generate a QR code for it

Paste anything to generate a QR code for it

Hey, @adi2002vicky are u contributing to the open-source program? Just asking if in case you are a participant of JWOC or GSSOC then I will be assigning level/marks?

Hii @harshita214  mam/sir I am Gssoc2022 participants

Okay Sure 👍
Can you add pictures of extension and its working, also add a video implementation

sure mam

https://user-images.githubusercontent.com/78430607/156561765-fb310893-c406-4db7-942f-f1dbdccd178c.MP4
mam pls assigned me then merge pr

Can you add this in your readme file, secondly give example video for website QR generator

pls check again mam

@adi2002vicky kindly give an example video for a website QR generator, what I mean is add a website URL in text box and then generate the QR code. Make a video of the above example as suggested and then update the readme file.

https://user-images.githubusercontent.com/78430607/156920084-b627be31-c7ad-4899-bdd0-7b6858cc5582.MP4
done mam check again

Sure, Good Work @adi2002vicky
Merging the PR ,Thanks for contributing 💛


Is it possible to combine android studio view (frameLayout) and my Godot UI display?

Good afternoon. Could you please suggest a solution where I can use View from android studio along with godot scene tree? Let me describe the situation:
I'm trying to combine google map and godot UI (plugin for godot). Using shouldBeOnTop() it is possible to put the map on top, which overlaps the interface created in godot - not suitable. If it specify false - shouldBeOnTop(), then the view goes under the viewport of godot, and it is not visible even if i set all possible flags transparent in the project settings (simply remains black background) when running on android.
Is there a solution where I can combine the google map together with the scene tree or display the view under the UI elements?
Thanks.
godot 4.2.1
Android Studio

I used it like that:
    @Override
    override fun shouldBeOnTop(): Boolean {
        return false //rue
    }

    @Override
    override fun onMainCreate(activity: Activity?): View? {
        GoogleMapsApi.layout = FrameLayout(activity!!)

        return GoogleMapsApi.layout
    }

Are you trying to embed Godot view in androdi project or android view in Godot project?

Are you trying to embed Godot view in androdi project or android view in Godot project?

Android view to godot view as a plugin. Ideally, it would be great if you could make the viewport background transparent, but in none of the rendering modes with the right settings and all possible combinations did not work for me.
On windows transparency works, on android it doesn't.
That's why we need a way to combine what we have in mind.

Check this


Neos 7.x compatibility

Fixed with #5

Thanks @kdambekalns
Will you create a new release?

Isn't that 2.1.2 ?

Yes, it is, according to Git.

Oh, looks like i had an old version constraints 🙈
Thanks and have a nice day 👋


Exponential grown worktime of StreamWriter

Description
I use StreamWriter for generate large xlsx files. It's just text files: no formatting/styles.
// about 100 columns with different data. But data size does not seriously matter in my tests
dataRow := []interface{}{"Some", "Cell", "Values", "and 100 more"}

// Do not check errors in issue
excFile := excelize.NewFile()
streamWriter, _ := excFile.NewStreamWriter("Sheet0")
for rowNum := 1; rowNum < 50000; rowNum++ {
  streamWriter.SetRow("A"+strconv.Itoa(rowNum), dataRow)
}

streamWriter.Flush()
file, _ := os.Create("some.xlsx")
excFile.Write(file)

In code example we create excel file with 50 000 rows with StreamWriter.
All code will consume about 1.5 minute on my server.
But if rows count increased to 100 000 in will consume not (2 * 1.5) min, but about 10 minutes.
If there are million rows, it takes about 1.5 hours.
Time increates not linear. Is there any way to make time more linear and speed up much rows creation?
Output of go version:
1.17.2

Excelize version or commit ID:
github.com/xuri/excelize/v2 v2.4.1

Environment details (OS, Microsoft Excel™ version, physical, etc.):
Ubuntu x86_64 with SSD drive.

Thanks for your issue, here is some performance figures for your reference: Performance Figures.


Documentation for front end

The current documentation doesn't give a good method to load the library.
I have tried a few methods, but here is the current use case I am unable to get working... I am trying to serve up the library from an isolated virtual machine and let the client alone load the RTL-SDR device. In other words, the dongle is NOT connected to the system running nodejs.
Error on the client:
Uncaught ReferenceError: require is not defined
    at browser.js:1

express application loader
const RtlSdr = require('rtlsdrjs');
const express = require('express')
const app = express()
const port = 9943

/* The folder structure
public/
 |_ rtlsdjs/
 |      |_ lib/
 |_____ browser.js
 |_ index.html
 */
app.use(express.static('public'))

app.listen(port, () => {
  console.log(`Example app listening at http://localhost:${port}`)
})

The web content...
<script src="rtlsdrjs/browser.js"></script>
<script>
let readSamples = true;

async function start() {
  //
  // request a device
  // - displays prompt in browser
  // - selects first device in Node.js
  //
  // RtlSdr.getDevices() can be used to get a list of all RTL SDR's attached to system
  //
  const sdr = await RtlSdr.requestDevice();

  //
  // open the device
  //
  // supported options are:
  // - ppm: frequency correction factor, in parts per million (defaults to 0)
  // - gain: optional gain in dB, auto gain is used if not specified
  //
  await sdr.open({
    ppm: 0.5
  });

  //
  // set sample rate and center frequency in Hz
  // - returns the actual values set
  //
  const actualSampleRate = await sdr.setSampleRate(2000000);
  const actualCenterFrequency = await sdr.setCenterFrequency(1090000000);

  //
  // reset the buffer
  //
  await sdr.resetBuffer();

  while (readSamples) {
    //
    // read some samples
    // - returns an ArrayBuffer with the specified number of samples,
    //   data is interleaved in IQ format
    //
    const samples = await sdr.readSamples(16 * 16384);

    //
    // process the samples ...
    //
  }
}
</script>

Hi @jas-,
You can either download the pre-built release: rtlsdr.js as stated in the read me or run npm run build to create a version for the browser which will be outputted to build/Release/rtlsdr.js.

Could you provide a better use case? Maybe I am missing something.

All of the above require a node.js to serve up the rtlsdr.js due to the require. I thought the build would generate a browser only implementation.


What it is still ain't clear

Does this thing make a web-based chat room?  Is it IRC?  Jabber?

Not to be that guy, but https://github.com/github/hubot/blob/master/README.md it's explained in the README perfectly well.


Relaxing azure-storage-blob<=12.13.0 constraint in azureml-mlflow dependencies

Package Name:  azureml-mlflow
Package Version:  1.50.0
Operating System: Windows
Python Version:  3.10

Describe the bug
When trying to install the latest version of azureml-mlflow  (1.50.0) with latest azure-ai-ml (1.5.0) the tool pip-compile (from the pip-tools library) cannot resolve a version for azure-storage-blob that works and I get this conflicting constraints:

azure-storage-blob<13.0.0,>=12.16.0b1 (from azure-storage-file-datalake==12.11.0->azure-ai-ml==1.5.0)
azure-storage-blob<=12.13.0,>=12.5.0 (from azureml-mlflow==1.50.0)

The latest azureml-mlflow 1.50.0 requires a version of azure-storage-blob that is not newer than a version from July 2022 (12.13.0).
Using pip-compile  requirements.txt --resolver=backtracking solves the problem  but yields azure-storage-file-datalake==12.8.0 and azure-storage-blob==12.13.0 which are not the latest versions and thus It would be good to relax the constraint azure-storage-blob<=12.13.0 in azureml-mlflow in order to be able to use the latest azure-storage-blob version.
To Reproduce
Steps to reproduce the behavior:

create a requirements.in file with  azureml-mlflow==1.50.0 and azure-ai-ml==1.5.0
python.exe -m venv pythonvenv
C:\pythonvenv\Scripts\activate.bat
pip install pip-tools
pip-compile requirements.in

Thanks for the feedback, we’ll investigate asap.

seem like the problem is solved when using azureml-mlflow>=1.54.0.post1


fix: rclone receiving SIGINT prematurely on Windows causing restic hang forever (#3601)

What does this PR change? What problem does it solve?
This PR changed subprocess creation behavior when spawning rclone on Windows, specifying DETACHED_PROCESS as the creation flag. This effectively prevents premature SIGINT sending to the rclone process when hitting Ctrl+C in the console window. More detail is described in the associated issue #3601.
Was the change previously discussed in an issue or on the forum?
Closes #3601.
Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[ ] I have added tests for all code changes (this is pretty tough to write a test I guess?).
[ ] I have added documentation for relevant changes (in the manual) (is this needed for such a bug fix?).
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (see template) (same, needed?).
[x] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[x] I'm done! This pull request is ready for review.

Please fix the compile error and add a changelog entry.
I've digged a bit through the code, currently rclone is already moved into a separate process group on Unix, so it's a good idea to have matching behavior on Windows.
restic won't really hang forever, just for roughly 15min...

I've squashed all those commits into one..

Sometimes the change in this PR prevents restic to talk to rclone, see #3681. Can you maybe help in getting the bug resolved? Thanks!


⚡ Spike storybook-builder-vite

Upgrade storybook and try out the Vite Builder to decrease build time during development

Not relevant anymore. Closing issue.


Request for button support for Freshdesk mint version

Button support for Freshdesk mint version
case/631294

Hey @shantanuraj any chance this can be accommodated? /conversation/18438224329 has also logged a request.


Autoupdate is completely broken

current Master (last commit ...5075):
pip install -r requirements.txt -U
rm -r bower_components/
rm -r node_modules/
npm install
rm -r personal_data/
python manage.py start

Login and navigate to participants. Open the sidebar and click on project Administrator. The button stays white, the projector isn't updating. You have to reload the page to see the changes. Cache is disabled.
Do am I the only one having this problem? This is a total blocker..
pip freeze:
asgiref==0.14.0
autobahn==0.16.0
beautifulsoup4==4.5.1
channels==0.17.2
coverage==4.2
daphne==0.15.0
Django==1.10.1
djangorestframework==3.4.6
flake8==3.0.4
html5lib==0.999999999
isort==4.2.5
jsonfield==1.0.3
jsonschema==2.5.1
mccabe==0.5.2
natsort==5.0.1
Pillow==3.3.1
pycodestyle==2.0.0
pyflakes==1.2.3
PyPDF2==1.26.0
reportlab==3.3.0
roman==2.0.0
six==1.10.0
Twisted==16.4.0
txaio==2.5.1
webencodings==0.5
Whoosh==2.7.4
zope.interface==4.3.2

The problem might be that autoupdate is disable in some new migrations files. Try to restart the server. The second run of python manage.py start should work.


feat: add ops.SimpleCase to translate and decompile

xref: https://github.com/ibis-project/tpc-queries/pull/3


Random bots don't leave starting areas

Regardless of enabling random levels for random bots, they never seem to leave the starting areas.  They painfully grind up to about level 10 and then (I presume) they can't level any further and just stay in that newbie zone.  If you teleport them out, they will run or teleport back to that area.
If you allow random levels, then you have up to level 80s in the starting areas just milling around doing nothing.
I've wiped the bot characters several times now and can't find a solution that will allow them to grind in a level-appropriate zone.
Does anyone have this working?

I can see the same, on some zones. For example: Druids on Teldrassil. Lots of them are purchasing the creatures, but never attack them. So, it's for 24h now that they still are level 1 ^^
The DKs too. Still 55, and for all of them (about 10 bots)
But some others are questing and leveling. And are outside the start area.
So I decided to not touch any of the "others". Maybe they will "learn" how to quest and fight! :D
Lastly, I was just for 2 minutes near one bot, and he started to spam all the emotes he could find, like '... tells you to attack something', or '... orders you to open fire.' etc. But we were not in party and I was not doing something with him. Very strange ^^

The same thing is happening to me too, I'm trying to see if it's something in the settings or even see how to improve the RPG in the bots RPG table.

For the DK's I have no idea how they expect to leave the DK starting area.  Unlikely they will figure out how to complete the quest line.  At least a lot of them have made it to level 56, probably just killing things.  I have one bot out of almost 300 that's made it to level 12.  Gonna have to go spy on him to see what he's doing.  The rest are all level 10 and below.
I should say that I increased their XP to 4x to help them out a bit, so maybe that's why they are higher level.
There's a lot of code commented out where the quest table is supposed to be loaded in TravelMgr::LoadQuestTravelTable().  I suspect there should be data in there on how to complete quests and for traveling to the next area.

Made a fresh compile last night. Bots are all still in the starting zone even after leaving the server on overnight.
The random levels setting doesn't seem to change anything. Leaving it at the default (bots start at lvl 5) still has them all start at level 1 and be stuck in starter zone purgatory. Trying to enable random levels and setting the range high also does nothing for me.
As for DKs, I am curious if the "Skip DK starting zone" module would be compatible with the bots. Assuming I can get them to leave the starter area anyway.

Using the DK starter area skip sounds like an interesting idea.  The DK skip code requires the event OnFirstLogin to fire for the skip to trigger, but I'm not sure if the bots do that.
Yeah the randomize level setting works on my end, but the bots about half end up naked, although some of them are fully kitted out with epic gear, so not sure what's going on with that, either.  However it seems they start life as a level 1 bot, then at some random point in time later, they are leveled up.
The RandombotStartingLevel setting is ignored.  They all start at level 1.
I've seen a few bots not wander out of the starting areas now, but not many, and most of them have stopped doing anything.
Settings changed:
AiPlayerbot.RandomBotRpgChance = 0.80
AiPlayerbot.RpgDistance = 4000

So, you mean that if we change these 2 values and restart the server, it will be a little better for them? Only DKs or others too?

AiPlayerbot.RandomBotRpgChance = 0.80
AiPlayerbot.RpgDistance = 4000

It's inconclusive.  I let it run 400 bots overnight after a wipe and a few have made it out of the starting areas like in the Barrens but most are still hanging out in noob areas.  I turned on random levels just to see what would happen.  They seem to be queueing for battlegrounds but not for LFG.  When they go in the BG they just stand there.  Opposite faction will attack you but they don't leave their base.  Needs more testing.

Então, você quer dizer que se mudarmos esses 2 valores e reiniciarmos o servidor, será um pouco melhor para eles? Apenas DKs ou outros também?

AiPlayerbot.RandomBotRpgChance = 0,80
AiPlayerbot.RpgDistance = 4000

try to put it like thistry to put it like this
AiPlayerbot.RandomBotRpgChance = 100.0

Ill try that.  I had assumed that 0.20 meant 20% but it's actually looking at 0.0-100.0 random value.  Thanks!

Ill try that. I had assumed that 0.20 meant 20% but it's actually looking at 0.0-100.0 random value. Thanks!

Did you make any progress?

Couple things I've found and testing, but so far I'm letting the server run to see what happens with this batch of bots.

Method RandomTeleportForRpg references vector rpgLocsCache but that's never populated so the teleport does nothing.  I temporarily changed the code to call RandomTeleportForLevel instead.
The giant SQL query in PrepareTeleportCache only generates entries in playerbots_tele_cache from map 0, instead of 0, 1, 530, 571 like it should.  If I change the config RandomBotMaps to "530,1,0,571" it works correctly.  But I think this is a moot point since that table doesn't seem to be used by anything.
In PlayerbotAIConfig.cpp around line 314 the check for autoDoQuests seems backward.  It's loading the data for quests etc if the value is set to 0?  I would think it should be loading quest data if the bots were set to do quests.
I made a lua script that can 'skip' the DK starting area so at least I can have the DKs leave that zone and do something else.
The playerbots log doesn't seem to work unless the Appender at least is added to the worldserver.conf file.  The way it is by default, it doesn't create the playerbots.log file at all.

Some other weird stuff is happening now.  I followed a level 7 bot that was teleporting in 40 or 50 yard steps all the way from Valley of Trials, across Durotar, all the way to the zeppelin, then teleported to Undercity Zeppelin tower and then died somehow.  Maybe falling off the tower?  Then they appeared at a graveyard in Alterac mountains and getting killed over and over.  There were about 7-8 bots in the graveyard.  Not sure why they are respawning there but it is close to the zeppelin.
Also, the bots just sometimes stop.  I have a feeling they can see my hidden GM character and if I'm in the area they get confused or something and stop what they were doing.  I can tell they were busy since there's sometimes a trail of bodies around.

Would you mind sharing that DK skip script? I can confirm the module version does not seem work on the bots 😅.
On my end, I did get the random levels working. I set the range to 70-80, and they all just stand around in starter zones at those levels. Most were naked. I haven't tried your config changes yet.
The bots queued up for Warsong Gulch all on their own. I teleported over, and all of the bots were naked and stuck at the beginning. The doors were visually open, and the time was ticking down, but there were invisible walls in place where the gates were.

Sure let me see if I can post it somewhere.
I have a theory about them being naked.  Last night I wiped the playerbots database and it re-generated all the cache tables inside.
The playerbots_equip_cache table has about 6.7 million records and took about an hour to populate.  It only had about 1 million records previously.  I think the server was crashing before and the table wasn't re-generated.  Check if you have about 6.7 mil records in there and if not, wipe the table and have it re-generate.

This is the eluna script to skip DK areas:
https://gist.github.com/drozco/562f2f6f5e806f71ef03c9f274ffecb7

Sure let me see if I can post it somewhere. I have a theory about them being naked. Last night I wiped the playerbots database and it re-generated all the cache tables inside. The playerbots_equip_cache table has about 6.7 million records and took about an hour to populate. It only had about 1 million records previously. I think the server was crashing before and the table wasn't re-generated. Check if you have about 6.7 mil records in there and if not, wipe the table and have it re-generate.

Thanks for the script! I'm gonna have to try letting it regenerate that database when I get a chance. I was having several crashing issues when I first set the server up, so it is definitely possible it did not fully generate that table.
I've been religiously checking this repository for any updates 😅. I wish I had the coding knowledge to help out more.

The bots queued up for Warsong Gulch all on their own. I teleported over, and all of the bots were naked and stuck at the beginning. The doors were visually open, and the time was ticking down, but there were invisible walls in place where the gates were.
The invisible walls are there if you're on a GM character.  You have to go .gm off and then you can run through them.

Ah, ok. That makes sense.

Wow Oo, too much lines in this table?
I just took a look on mine and it's around 183803. No changes. Stable.

@drozco I think the primary issue on here has been resolved if you can please close this out.


Region file (.mca) handling.

DO NOT MERGE YET.
First step towards having a chunk loader.

[x] .mca file reading.
[ ] .mca file writing.
[ ] Chunk loader capabilities.

File writing is utterly incomplete.

@toqueteos I'm working on #[derive] functionality for NBT file formats that should make this task massively easier.

Hmmm... Is #[derive] customizable now? That's awesome!

#[derive(NbtFmt)] has landed now.

I'm closing this PR in favor of a new updated one.


buffer slice

lock used for shmipc buffer slice? lock free??

no. why you need write to buffer with concurrrently.  Maybe another solution is that  you coud create many streams and per stream's write operation could be concurrent


Add OpenEXR

It would be great to have a port of the OpenEXR library ( https://github.com/openexr/openexr ).
Debian package : https://packages.debian.org/source/sid/openexr .
Homebrew formula : https://github.com/Homebrew/homebrew-core/blob/ba0aa68066a89c0654152aba22819736b06987af/Formula/openexr.rb .
Once the port has been added, the freeimage port should be modified to use vcpkg's OpenEXR instead of its own internal version, see https://github.com/Microsoft/vcpkg/pull/366#issue-192123893 . The main problem is that the OpenEXR build system runs executables compiled by the project itself, that prevent crosscompilation.
Related to https://github.com/Microsoft/vcpkg/issues/687 .

I have a temporary one going here:
https://github.com/laserallan/vcpkg
My intention is to get everything needed for open shading language to build but it's quite a struggle.

I find a modified fork https://github.com/wjakob/openexr by one of authors of PBRT 3rd. In this fork, the dev added CMake support


Fixing typo

Removing extra space

awesome name :)

Haha, yeah, I should apply to Clef!
Later, me: "Hi, I'm Tom von Clef, I work for Clef." Them: :confused:


Add location addresses data from Malta

Hej @cieslarmichal, I would like to work on this

Ok :) assigned

Consider giving a star to the repository to make this project more popular 🌟🌟💪

hello, any progress?


Adding/expanding hold_mode mechanism to generic_thermostat

Description:
This PR adds support for several hold modes (currently: away, home [default], vacation and sleep). The mode can be set through the recommended mechanism set_hold_mode.
Each hold_mode has its own temperature tracking (being the home the default one, also called the "target temperature").
Before doing the PR in the documentation I would like to address any issues with the behaviour or the semantics.
Example entry for configuration.yaml:
# Example configuration.yaml entry
climate:
  - platform: generic_thermostat
    name: Study
    heater: switch.study_heater
    target_sensor: sensor.study_temperature
    target_temp: 21.5
    hold_temps:
      away: 16.5
      vacation: 6

Checklist:

[ ] Documentation added/updated in home-assistant.github.io
[x] Local tests with tox run successfully.

Thanks.
I think it should be possible to change the away temp with a service call.

@Danielhiversen I thought about that, but could not decide exactly how (both technical and logistics). Some other climate components (at least, ecobee) do something about "away temperatures", but I don't know how they do that (I checked the source code, but I am not sure how it really works).
Do you think that it is worth adding the general service call to the climate component? I struggle to understand what is an "operation mode" and what is a "hold mode", in order to decide what should go into the climate.set_temperature service call. And whether all hold modes should (potentially) have a temperature or not.

I don't see much benefit of adding this fynctionality. It adds a lot of complexity to the code, so we should  be sure it will be useful.
I am thinking it easily can be done by an automation? With this pr you would still need a script to change the different temperatures and mode.

You can do the same by using automations and a lot of sliders, yes you can. In fact, you could completely throw away the generic_thermostat and use automations. But the features were there, in the climate component, and they were used by some other climate platforms.
I know that the balance point is somewhat difficult to agree on. My initial use case was: I want to be able to set the temperature through the generic_thermostat and I want to have an "away" mode in order to shut down. But the "home" mode should restore the temperature that originally was there. To achieve this with automations I would need an intermediate variable to store the temperature (or use some mechanism that I could not find) and the automation should restore that. If there is no easier way, then I would drop the generic_thermostat entirely and do it by hand. Which may be the best solution to may problem, but I was thinking that maybe I am not the only one and generic_thermostat may benefit from that.

I see a lot of climate platform they make he own fake state stuff. My question, If that possible to add this to base if the device not support a real mode for that? @balloob, @turbokongen ?

Given that maybe there are some structural challenges on that, and different point of views, I started this topic:
https://community.home-assistant.io/t/balancing-documentation-and-service-calls-across-climate-component/11837
I like the idea of adding state stuff to platforms (as can be seen on my PR). That is beyond my initial idea, but it suits me. I will keep an eye for comments on this PR, and possible improvements. Or redo it completely. Or throw it away and keep it as a custom_component in my setup :)

Any updates on this PR?

I was waiting on some feedback regarding the direction of the PR. I can revert to the first away-only simple mechanism (addressing the concerns of @Danielhiversen on code complexity), or I can expand a little bit the selection of hold modes (if the more complex behaviour of hold modes is worth it, in the generic_thermostat platform context).
I have no problem on changing / readapting the PR. Right now, It Works For Me :tm:, but there is room for improvement before a merge.
(Sorry if I am being overzealous, but I hate spending time trying to raise code quality and end up throwing it away because nobody benefits from it).

@Danielhiversen could you give some feedback regarding the direction of this PR?

I just have found #6258, it seems that the ecobee has changed a little bit in version 0.40 and maybe some ideas that I wanted to introduce in the generic thermostat are now more "standard" in the ecobee implementation.
@Duoxilian, may I ask your opinion on this?
Following the lead of #6258 would be a good idea, IMHO. Maybe some specific platform variables and constants can be moved into the component.

Alex,
I am sorry, I am not quite sure what you are asking my opinion about. I
implemented #6258, so I have a natural bias for that one and recommend that
route ;-)
Please advise what ideas you want to introduce and I can give my 2c from an
ecobee point of view...
Cheers...
On Fri, Mar 17, 2017 at 2:14 AM, Alex Barcelo<EMAIL_ADDRESS>wrote:

I just have found #6258
https://github.com/home-assistant/home-assistant/pull/6258, it seems
that the ecobee has changed a little bit in version 0.40 and maybe some
ideas that I wanted to introduce in the generic thermostat are now more
"standard" in the ecobee implementation.
@Duoxilian https://github.com/Duoxilian, may I ask your opinion on this?
Following the lead of #6258
https://github.com/home-assistant/home-assistant/pull/6258 would be a
good idea, IMHO. Maybe some specific platform variables and constants can
be moved into the component.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/5832#issuecomment-287283720,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXZhlhTfsHDwruzVft0W5E6uGIfJa2z0ks5rmjK-gaJpZM4L8Taq
.

It makes the code more complicated, but we have good tests for the component and this new functionality is well tested.
I am doing something similar with different automations to day, but I will start using this functionality instead.
So I think it is worth adding it. :+1:

@Duoxilian, some notes/questions/stuff from the top of my head:
Does #6258 approach make sense without ecobee specific hardware? What is the "black magic" done by ecobee and what is the link between the hass platform and the physical device? The idea of using more hold modes is something that would make sense (like a sleep hold mode)? What should generic climate implement to be somewhat compatible with the ecobee (scenario where a user migrates from one platform to another because they change physical device)? Are there implementation decisions worth doing with that in mind? Should I ignore completely the #6258 and do something "sensible" in the generic_climate? (I would hate to go that path, because maintenance and standardization would suck, IMHO, but maybe I am wrong and I am looking into the wrong direction).
Note that I have no idea of what ecobee does (more specifically, how it does it), but I feel that ecobee climate component is pretty much alive and I thought that it would be an organic way to approach the generic_climate. Again, I may be completely wrong on that approach.

@alexbarcelo: Let me give some background on ecobee, and you can then decide where you want to take this conversation. I assume that most modern thermostats provide something similar, but of course the devil is in the details. Please also review the documentation on home-assistant.io (https://home-assistant.io/components/climate.ecobee/ and click on the Ecobee Thermostat link). I tried to outline some key concepts there. Please look at the definitions of target temperature, climate, hold, and operation mode.
I assume that similar concepts exist for other smart thermostats. I would start with a basic definitions of these concepts. If one knew a number of existing thermostats, one could see what a common definition might look like and what variations there are.
Let's look at the example of hold, as this was subject of several recent updates I did for the ecobee climate device. Regarding a hold, you might want to ask yourself the following questions:

How is the target temperature defined (e.g., based on a reference climate, explicitly set, etc.)?
Are there other thermostat properties which are set in hold mode (e.g., fan interval)?
How long does the hold last (e.g., permanently, until next thermostat transition, until a specific time)?

@alexbarcelo Alex, any updates on this PR?

Leave a comment


[nrf fromtree] bluetooth: host: convert conn address on identity reso…

…lution
Fix an issue in the CCC configuration when the Peripheral device maintains two or more distinct connections on different identities with the same peer. The issue occurs when the local device performs the pairing and the bonding procedure on a connection associated with one of the Bluetooth identities. During the identity resolution, the peer address field in the CCC descriptor is converted from the RPA-type address to the Identity Address. However, the destination address on the remaining connection objects associated with other Bluetooth identities is not converted. Due to this, their CCC configuration is reset and GATT indications and notification fail to be sent even if the Central device subscribed to them.
Added necessary code to iterate over all connection objects during the identity resolution phase and aligned their destination address from the RPA-type to the Identity Address.
Signed-off-by: Kamil Piszczek<EMAIL_ADDRESS>(cherry picked from commit 42c904526b45bbc0fc87171567b88790783f0fbe)

Will be merged as part of the upmerge process


Change color

How would one go about changing the color of the wave? If I wanted to make one end of the gradient pink and the other purple?

How would one go about changing the color of the wave? If I wanted to make one end of the gradient pink and the other purple?

onResize function，you can write your rgb color here


add len method

This is useful for using the size of previous typed arenas to build new typed arenas with large enough spaces.

I'll go ahead and give this a go.