Dropping NonSend resources is unsound

Bevy version
0.5 (and present main)
What you did
use bevy::prelude::*;
use std::cell::UnsafeCell;
struct MyNonSend(UnsafeCell<()>);

impl Drop for MyNonSend {
    fn drop(&mut self) {
        dbg!("dropped");
    }
}

fn main() {
    let mut world = World::new();

    world.insert_non_send(MyNonSend(UnsafeCell::new(())));

    std::thread::spawn(move || {
        drop(world);
    })
    .join()
    .unwrap();
}

What you expected to happen
The NonSend resource is dropped correctly.
What actually happened
"Dropped" is printed.
Additional information
Full credit to @TheRawMeatball, @jakobhellermann @BoxyUwU and @DJMcNab. Blame them; I'm just the ticketmaster!

Ideas of how to resolve "you can't print "dropped" from a different thread".

Make World non-send

Remove unsafe impl Send for World{} to prevent move || { drop(world); } from being valid
I feel like it wouldn't be a ticket if this was wanted

Implement drop to panic if not on the main thread

impl Drop for World { fn drop(&mut self) { if !self.main_thread_validator.is_main_thread()) { panic!("attempted to drop World off of the main thread"); } }
This feels even worse than making World non-send

Implement drop and check for a non-send and if so panic

False positives could certainly be a thing here unless mechanisms were specifically added to track dropability

Implement drop and mem::forget anything that is non-send

Technically correct and safe but not exactly intuitive

Move the drop of the things that are non-send to the main thread

impl Drop would be required of course
Would require a queue of abstract work that is pumped every frame, I know Unity has one but don't know about Bevy.

So importantly, NonSend is not only for the main thread
It can be any thread, so long as it is only 'accessed' from that single thread.
Which makes 1 unviable, since it might be needed that things are added on different threads. 2 would be incorrect by the same token.
5 is not possible in general, and unviable anyway because of the same reason.

Each World object has a main thread that is set on creation. Sure it doesn't have to be the original thread of the program but it also isn't any thread. There is certainly a main thread for the World.
Allowing N threads to create Worlds and queue destructors would require a mechanism to dequeue on each of those threads but could totally be done. Similarly you could try to queue the destructor and panic if you can not due to there being no queue for the main thread of the World.
Honestly though unless the intention is to be ambiguous it would be nice to clarify if this means mem::forget or not.

Hmm yeah, sorry
I misunderstood how NonSend's validation works.


stage_upsampling.cc not building on MSVC 2019 (C4789 error claiming buffer overrun)

Describe the bug
I'm trying to build libjxl on MSVC 2019, x64 debug.
I'm currently getting a series of compiler errors when building "stage_upsampling.cc":
  template <ssize_t N>
  void ProcessRowImpl(const RowInfo& input_rows, const RowInfo& output_rows,
                      ssize_t x0, ssize_t x1) const {
    static HWY_FULL(float) df;
    using V = hwy::HWY_NAMESPACE::Vec<HWY_FULL(float)>;
    V ups0, ups1, ups2, ups3, ups4, ups5, ups6, ups7;
    (void)ups2, (void)ups3, (void)ups4, (void)ups5, (void)ups6, (void)ups7;
    V* ups[N];
    if (N >= 2) {
      ups[0] = &ups0;
      ups[1] = &ups1;
    }
    if (N >= 4) {
      ups[2] = &ups2;    //<- compiler error for every array index 2 and higher
      ups[3] = &ups3;
    }
    if (N == 8) {
      ups[4] = &ups4;
      ups[5] = &ups5;
      ups[6] = &ups6;
      ups[7] = &ups7;
    }

Error says "C4789	buffer 'ups' of size 16 bytes will be overrun; 8 bytes will be written starting at offset 56", so the compiler thinks there is a buffer overflow error here.
Environment

OS: Windows 10
Compiler version: MSVC 2019
CPU type: x64 (debug build)
cjxl/djxl version string: Whatever was on Git Main at the time of this bug report

Disregard, forgot to update submodules.

Changing "if" to "if constexpr" seems to work.

a possible workaround might be to make ups always length 8.
..or disable warning as error...


Speed up broadcasting of column major

With the current assign loop we cannot speed up column major broadcasting, because broadcasting is still performed in row_major fashion.
For column major broadcasting, we need to load some leaves like "scalars" (i.e. broadcast a scalar into a simd register) and others as column.
This needs to be decided based on the broadcast position. The idea would be to add another parameter (offset) to the simd_step of the stepper, which can be compared against the dimension of the leaf. If the offset is smaller than the dimension, the step_simd does not increment the position of the iterator, and loads a scalar at the current position.

The offset is already available in the stepper (m_offset), so I think we don't have to add a parameter to the simd_step method.


Advanced features refactor

Description
Please include a short summary of the change.
This PR introduces some updates to the documentation, especially making many changes to the advanced features section of the tutorial.

moved SDP, MIP, attributes to a new section titled Advanced Constraints
moved solver related stuff to a new section titled Solver Features
moved DPP and sensitivity analysis to a new section titled DPP
combined license, related projects, citations and short course into a new top level page titled other
removed content tree in FAQ since the new theme does it automatically
other minor changes that use the sphinx immaterial theme features (ex: using collapsible instead of dropdown)
The documentation changes can be previewed here.

Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[x] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[x] Write unittests.
[x] Run the unittests and check that they’re passing.
[x] Run the benchmarks to make sure your change doesn’t introduce a regression.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Transurgeon seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

How is this going? Let me know if I can help! There is a merge conflict right now, not sure how to resolve it.

@SteveDiamond I removed the RDT setup file. If there are no other issues with the PR, we are good for merging.

WOOOOOOOO!!!
On Mon, Jan 29, 2024 at 7:00 AM Steven Diamond @.***>
wrote:

Merged #2309 https://github.com/cvxpy/cvxpy/pull/2309 into master.
—
Reply to this email directly, view it on GitHub
https://github.com/cvxpy/cvxpy/pull/2309#event-11629020621, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRLIFH2BHC5PYGUZBPY7MLYQ62RJAVCNFSM6AAAAABA52IRXOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGYZDSMBSGA3DEMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Use git user to fetch variables

Signed-off-by: Raul Sevilla<EMAIL_ADDRESS>Description
Also adding missing docs for cluster_version override in BM environments.

Codecov Report

Merging #207 (9de2600) into master (f7bf19b) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #207   +/-   ##
=======================================
  Coverage   93.20%   93.20%
=======================================
  Files          24       24
  Lines        1000     1000
=======================================
  Hits          932      932
  Misses         68       68

Flag
Coverage Δ

gha
93.20% <100.00%> (ø)

python-3.9
93.20% <100.00%> (ø)

unit
93.20% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

dags/openshift_nightlies/tasks/benchmarks/e2e.py
92.42% <100.00%> (ø)

Continue to review full report at Codecov.

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

@rsevilla87 Should we include the branch name as well so we can have multiple palyground isntances per user?

lol, you don't think <GIT_USER>-<DAG_NAME>-<TASK_NAME> is long enough? :-D, just kidding, I think is a good idea, we can use the original syntax -<DAG_NAME>-<TASK_NAME> for the main airflow instance and <GIT_USER><GIT_BRANCH>-<DAG_NAME>-<TASK_NAME> for a user's playgrounds

Sounds good, and how is this user specific secret populated in the vault instance?

Same, let's say that you have a playground based in your fork and your branch ovn-stuff. You'd have to create a secret in vault with the name:
smalleni-ovn-stuff-

@rsevilla87 Should we include the branch name as well so we can have multiple palyground isntances per user?

lol, you don't think <GIT_USER>-<DAG_NAME>-<TASK_NAME> is long enough? :-D, just kidding, I think is a good idea, we can use the original syntax -<DAG_NAME>-<TASK_NAME> for the main airflow instance and <GIT_USER><GIT_BRANCH>-<DAG_NAME>-<TASK_NAME> for a user's playgrounds

Sounds good, and how is this user specific secret populated in the vault instance?

I updated the docs, take a look at them


Clipper2 and cpp14

Hi,
Is there a possibility to change clipper2 library so that it compiles with cpp 14?
This is the error:
  In file included from src/frontend/src/3rd_party/Clipper2Lib/src/clipper.engine.cpp:17:
    In file included from src/frontend/src/3rd_party/Clipper2Lib/include/clipper2/clipper.engine.h:23:
    src/frontend/src/3rd_party/Clipper2Lib/include/clipper2/clipper.core.h:145:10: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
          if constexpr (std::numeric_limits<T>::is_integer &&
             ^
    src/frontend/src/3rd_party/Clipper2Lib/include/clipper2/clipper.core.h:321:8: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
        if constexpr (std::numeric_limits<T1>::is_integer &&
           ^
    src/frontend/src/3rd_party/Clipper2Lib/include/clipper2/clipper.core.h:466:8: warning: constexpr if is a C++17 extension [-Wc++17-extensions]
        if constexpr (std::numeric_limits<T1>::is_integer &&
           ^
    In file included from src/frontend/src/3rd_party/Clipper2Lib/src/clipper.engine.cpp:17:
    src/frontend/src/3rd_party/Clipper2Lib/include/clipper2/clipper.engine.h:349:53: error: member reference base type 'void' is not a structure or union
                            auto* result = childs_.emplace_back(std::move(p)).get();
                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
    src/frontend/src/3rd_party/Clipper2Lib/include/clipper2/clipper.engine.h:409:58: error: member reference base type 'void' is not a structure or union
                            PolyPathD* result = childs_.emplace_back(std::move(p)).get();
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~

Maybe you can try something like this?
I mean locally, or in your own branch. It's 2023, and I think main should be allowed to require at least C++17.


Return inscription content from endpoint

Add an endpoint to the server that returns inscription content. Query by hash?

Done!


Checksum mismatch: imazing

imazing 2.3.2 is failing to install with a checksum mismatch. I did try deleting and re-downloading the installation file, but it was the same. https://imazing.com/download shows 2.3.2 as the current version.
⋊> ~ brew cask install imazing --verbose --debug
==> Hbc::Installer#install
==> Printing caveats
==> Caveats
Performing a zap on this cask removes files pertaining to both imazing
and imazing-mini, so it should not be done if you only want to uninstall one of them.

==> Hbc::Installer#fetch
==> Satisfying dependencies
==> Downloading
==> Downloading https://dl.devmate.com/com.DigiDNA.iMazing2Mac/iMazing2forMac.dmg
==> Calling curl with args ["https://dl.devmate.com/com.DigiDNA.iMazing2Mac/iMazing2forMac.dmg", "-C", 0, "-o", #<Pathname:/Users/vickio/Library/Caches/Homebrew/Cask/imazing--2.3.2.dmg.incomplete>]
/usr/bin/curl --remote-time --location --user-agent Homebrew/1.2.5-14-g88b762f (Macintosh; Intel Mac OS X 10.12.6) curl/7.54.0 --fail https://dl.devmate.com/com.DigiDNA.iMazing2Mac/iMazing2forMac.dmg -C 0 -o /Users/vickio/Library/Caches/Homebrew/Cask/imazing--2.3.2.dmg.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 68.7M  100 68.7M    0     0  3333k      0  0:00:21  0:00:21 --:--:-- 3508k
==> Downloaded to -> /Users/vickio/Library/Caches/Homebrew/Cask/imazing--2.3.2.dmg
==> Verifying download
==> Determining which verifications to run for Cask imazing
==> Checking for verification class Hbc::Verify::Checksum
==> 1 verifications defined
Hbc::Verify::Checksum
==> Running verification of class Hbc::Verify::Checksum
==> Verifying checksum for Cask imazing
==> Note: running "brew update" may fix sha256 checksum errors
Error: Checksum for Cask 'imazing' does not match.

Expected: 69d3d1656ad7c434ada1f744bdd2d43a4e559d8d69101635f31efa8a7bf5f530
Actual:   603bb52c2ce07ece36229384248bccc4e9e9dc06f30b83e2ae9bd15b3dabd11b
File:     /Users/vickio/Library/Caches/Homebrew/Cask/imazing--2.3.2.dmg

To retry an incomplete download, remove the file above.
Error: Install incomplete.
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:13:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:98:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:168:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:173:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:156:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:132:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'

https://github.com/caskroom/homebrew-cask/pull/36988


0.13.1 pre release 时间序列不能自动创建

问题描述

iotdb 版本：0.13.1 pre release
iotdb-engine.properties 配置文件中enable_auto_create_schema=true这个已经开启
以下是做的操作：

IoTDB> create storage group root.fz4.ceshi.s_2;
Msg: The statement is executed successfully.
IoTDB> create schema template tceshi aligned (
> long_value        int64   encoding=RLE,
> station_id        int32   encoding=RLE);
Msg: The statement is executed successfully.
IoTDB> set schema template tceshi to root.fz4.ceshi.s_2;
Msg: The statement is executed successfully.
IoTDB> insert into root.fz4.ceshi.s_2.io_1(timestamp,long_value,station_id) aligned values(now(),1,1);
Msg: 304: Path [root.fz4.ceshi.s_2.io_1] does not exist

该操作在 0.13 release 中是可以正常操作的

@bigreybear PTAL

Sorry but I can execute that sucessfully with 0.13.1 server and client. So I have to make sure that whether you are issuing statments with BOTH client and server within 0.13.1?

yes


About the prediction of opacity.

As in the paper, Sect. 3.2, the opacity is predicted from the matching confidence with 2 convolution layers. However, I can only find the function map_pdf_to_opacity in the code that maps densities to opacities.
I wonder which one is the final implementation. Looking forward to your reply!

Hi @Mayzazhou, thanks for your interest in our work.
We use two convolution layers to predict the density, see here, which is then mapped to opacity via the map_pdf_to_opacity function. Since the mapping is a deterministic operation (not something learnable), we mix the use of density and opacity in the writing for simplicity.

Thanks a lot for your response. My problem is solved! :-)


Pixel API

There are currently quite a few places both in here and in the image library where we do clunky things to get at, operate on, and assign sub pixels of a given Pixel type.
We need at least:

Type level operations on Pixels, e.g. get the equivalent type where all channels are of a given floating point type,
A wider set of arithmetic operators available on Pixels (so that we can just add p and q, rather than get all their channel values, add those, and set as channels of a pixel r),
A handy set of bounds to express when certain operations are possible, e.g. expressing when filtering by a float-valued kernel is appropriate.

Try to replace all current iterations over pixel channels with something nicer.

We should also add helpers to initialise pixels to standard values. PixelType::White, PixelType::Black, etc. For the current Luma and Rgb pixels in the image library, this is the same as zero-initialising or max-value-initialising, but when we add HSL, etc. it won't be.

One could already define
const WHITE: Rgb<u8> = Rgb(data: [255, 255, 255]);
and use
pixel.from_color(WHITE)
using the FromColor trait.

Thanks, I hadn't spotted that trait. I'd prefer to not have to impose a bound "where Pixel: FromColor" on these functions though. Black and white at least seem common enough to require from all Pixels.


Add key prefix

I added an option to prepend a prefix to every key.
The tests all pass, and I added a case to test with a store set up with a prefix.
Performance-wise, when the option is not set, there is no impact (at least, not noticeable in milliseconds) to get requests, and there is maybe a 1 - 2% impact when setting keys. When the option is set, get operations jump from 25ms for 100k to around 100ms for 100k. Set jump from 200ms to around 280ms.
This should not be a problem, since most people won't use the option anyway.
I also added the option to the README.

As nodecache runs in a single isolated process i see no real need for a prefix to namespace all variables. It's just your app that uses nodecache anyway.
If your app really needs this you should add this in you app. When you have different "areas" in your app that require this change you know about this and can handle it in a `createKey()' function.
If many of your apps need this you should create a new npm modules which might depend on nodecache and add the desired functionality.
Addding this to the core of nodecache makes no sense imho.

Thanks for looking into this. I agree with you this makes no sense, I realized that and my pull request was already done.
I started with the idea of using a Redis server to act as cache storage (where prefixes are useful) but quickly realized I didn't realize to share cached content between my apps, so I went when this module instead, which is way faster. I just didn't realize prefixes were no longer a requirement!
Have a nice day


Can't use interpolation tokens for occurrences or refresh

Expected Behavior
When I use interpolation tokens for 'occurrences' and 'refresh', the are looked up and the values are converted integers. If the lookup fails, or the conversion to integer fails, then the defaults will be used.
Current Behavior
In order to use interpolation tokens, it is necessary to wrap them in quotes, or Sensu Client chokes on the "additional colons" in the :::check.token:::. However, when the token is wrapped in double quotes, the occurrences extension treats the quoted token values as strings, and does not attempt to convert them. This results in 'default' values being silently used.
Steps to reproduce
Create a check definition JSON file that uses interpolation tokens for 'occurrences' and 'refresh'. Example:
{
  "checks": {
    "check_test": {
      "low_flap_threshold": 10,
      "interval": 60,
      "subscribers": [ "test-subscription ],
      "command": "/bin/false",
      "high_flap_threshold": 25,
      "standalone": false,
      "occurrences": ":::check_test.occurrences|5:::",
      "refresh": ":::check_test.refresh|1800:::"
    }
  }
}

Context
We are a Puppet/Hiera/Sensu house, and we wish to use standard hiera patterns to deploy 'global' published checks, and use per-client client_custom data to override the interpolation tokens' default values. This works great for check parameters, but it does not work for 'refresh' or 'occurrences', which must be overridden via overrides to the puppet ::sensu::check parameters. Not the end of the world, but it means that our engineers must define overrides in two places.
My Environment
Sensu version used: 0.28.x
Operating System: Host: CentOS 6 / CentOS 7
Possible Solution
I have forked the code and added a str2int function that returns integers unchanged, tries to convert strings to integers, or returns nil on failure. I modified the occurrences and refresh variables to use the function. This is a hack but it works.

I am running the fork in our test environment. I don't want to have our engineers all jump onto this bandwagon and use client custom overrides if it turns out that Sensu will never take this path (i.e. using interpolation tokens for refresh / occurrences overrides).

@raffraffraff thanks for raising this issue. I think this makes sense, but I am curious to see if a similar change elsewhere in Sensu Core would make this less of a special feature specific to this extension.
@portertech thoughts on this? see comparison for what I assume would be in the PR here: https://github.com/sensu-extensions/sensu-extensions-occurrences/compare/master...raffraffraff:master

@cwjohnston I though about making the change elsewhere. but I couldn't find anywhere that made more sense.  sensu/lib/sensu/utilities.rb has the two functions that perform substitution

function substitute_tokens (tokens=string, attributes=hash), which returns an array containing a string of substituted tokens.
function object_substitute_tokens(object, attributes=hash), returns array containing updated object
..but neither of these functions care which attribute that the token is assigned to. Since the values 'occurrences' and 'refresh' do not apply to the check, the extension is the only place I could think of doing it. But I didn't delve further into the code to find other places to put it.


请问一下吾爱破解脚本报错 望回复

Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 196, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Operation timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 789, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 495, in _make_request
conn.request(
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 398, in request
self.endheaders()
File "/usr/local/lib/python3.11/http/client.py", line 1298, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.11/http/client.py", line 1058, in _send_output
self.send(msg)
File "/usr/local/lib/python3.11/http/client.py", line 996, in send
self.connect()
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 236, in connect
self.sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 205, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection object at 0x7faeb2dcb0d0>, 'Connection to <IP_ADDRESS> timed out. (connect timeout=None)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 667, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 843, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=5700): Max retries exceeded with url: /open/auth/token?client_id=&client_secret= (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7faeb2dcb0d0>, 'Connection to <IP_ADDRESS> timed out. (connect timeout=None)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/ql/data/scripts/cloudcranes_QLScripts/scripts/吾爱破解.py", line 102, in
ql = ql()
^^^^
File "/ql/data/scripts/cloudcranes_QLScripts/scripts/qinglong.py", line 11, in init
self.get_token()
File "/ql/data/scripts/cloudcranes_QLScripts/scripts/qinglong.py", line 16, in get_token
response = requests.get(url, headers=self.headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 688, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='<IP_ADDRESS>', port=5700): Max retries exceeded with url: /open/auth/token?client_id=&client_secret= (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7faeb2dcb0d0>, 'Connection to <IP_ADDRESS> timed out. (connect timeout=None)'))

qinglong.py里面的青龙host是我机器默认的，你需要修改成你自己的ip

@cloudcranes 请问在哪修改？

@cloudcranes 是修改这里嘛？


Mo/comment controller

Is is possible to create comment for event? In the POST /comments there is:
{
  "postGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "content": "string",
  "inResponseTo": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

So as far as I understand currenly only posts can get comments.

Seems ok except the thing about id.


I have a question about AOT (Ahead-of-Time) publishing.

I have a relatively simple project that just registers one or two classes with V8 from C#. When using AOT publishing, an exception occurs during operation. I downloaded the source code and debugged it step by step, and determined that the exception was caused by calling binder.Bind:
public static DynamicMetaObject Bind(DynamicMetaObjectBinder binder, object target, object[] args)
{
return binder.Bind(CreateDynamicTarget(target), CreateDynamicArgs(args));
}
The exception information is as follows:
Error: Object reference not set to an instance of an object.
at Microsoft.ClearScript.V8.SplitProxy.V8SplitProxyNative.Invoke(Action1) + 0x9d at Microsoft.ClearScript.V8.SplitProxy.V8ContextProxyImpl.InvokeWithLock(Action) + 0x64 at Microsoft.ClearScript.V8.V8ScriptEngine.ScriptInvoke[T](Func1) + 0x82
at TestAot.Program.Main(String[] args) + 0x111
I guess this problem may be caused by dynamic calling, which is incompatible with AOT. This function is called only once in the following location:
private static object BindMethodRaw(BindingFlags bindFlags, InvokeMemberBinder binder, HostTarget target, object[] bindArgs)
{
}
My idea is that if dynamic calling is not supported (using RuntimeFeature.IsDynamicCodeSupported for judgment), reflection is used to obtain the matching method. After a simple test, the corresponding method can be called normally after modification.
I would like to ask if it is appropriate to modify BindMethodRaw if reflection is used to obtain MethodInfo. Are there any other points that need attention?

Hi @lgBlog,

My idea is that if dynamic calling is not supported (using RuntimeFeature.IsDynamicCodeSupported for judgment), reflection is used to obtain the matching method.

Have you tried disabling the default method binding algorithm via DisableDynamicBinding?
Thanks!

Thank you for your prompt reply.
After disabling dynamic binding, the AOT release test was successful.
Other minor issues such as type loss can be solved using the rd.xml file.
The rd.xml example is as follows
<?xml version="1.0" encoding="utf-8" ?>
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
    <Library>
        <Assembly Name="ClearScript.Core" Dynamic="Required All">
            <Type Name="Microsoft.ClearScript.Util.ScriptableEnumerableHelpers`1[System.Byte]" Dynamic="Required All" />
            <Type Name="Microsoft.ClearScript.Util.MemberMap+Method" Dynamic="Required All"/>
        </Assembly>
    </Library>
</Directives>

Include rd.xml in your .csproj
<ItemGroup>
    <RdXmlFile  Include="rd.xml" />
</ItemGroup>

Please reopen this issue if you have additional questions about this topic. Thank you!


Seeing repeat of AB information in AMR bar graph

Spelling with a capital first letter, and lower case first letter are separated for the same antibiotic.  The example here is Levofloxacin.
https://www.patricbrc.org/view/Taxonomy/286#view_tab=overview

fixed.


changed some tests thread array list into executor and added timeout …

…and exception handling like asked in issue #142

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Hi @OrHayat.
Thank you for your contribution.
It seems that your implementation is inlined with what we intended in #142.
However, it neglects to propagate the exceptions.
This was the main motivation behind this issue.
The idea to keep the Future objects in some collection, and call .get() for each of the futures once the test ends.
This will raise an exception if the thread raised an exception.
So the test will fail if one of the threads had an error.

alright fixed those things espically the error propergation with Future objects and in order to it to work you need to use callables instead of runnables (which cant propergate the errors in other threads) which i changed


Run the game

Hello
How do I run this game? Can u make a step by step for beginners? Im learning how to code.
I downloaded the zip file and then put the folder on VS.
Idk much about this, so I really didnt know what to do next to run the game.
current state:

Open new window of VSC.
Click Clone Git Repository

- Enter git link and press enter

- Choose a location of the game and press enter

你好，我因为要学习 Pygame 而在官网看到了您的游戏，我对这个游戏的一点建议就是有时候抢礼物的手出现的位置不太合理导致游戏一开始就结束或者是难度过大了，希望在后面的版本能得到改进。
Hello, I saw your game on the official website because I want to learn Pygame. My suggestion for this game is that sometimes the position of the gift grabbing hand is not reasonable, which leads to the end of the game at the beginning or the difficulty is too great. I hope it can be improved in the later version.

I just want to know if this is not closed yet. I think I can contribute to closing this one issue atleast.


Sync eng/common directory with azure-sdk-tools for PR 7468

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/7468  See eng/common workflow

/check-enforcer override


The Multibus_simple.ino example does not work

Note that the example https://github.com/milesburton/Arduino-Temperature-Control-Library/blob/master/examples/Multibus_simple/Multibus_simple.ino does not work unless you have changes in OneWire.h that is not yet merged in that lib.
Specifically this Pull Request has not yet been merged:
https://github.com/ntruchsess/arduino-OneWire/pull/2

Ok, I now realise that the mentioned repository I linked to is not the official one. The arduino lib community is very confusing :(
As I understand it, this is the official repository: https://github.com/PaulStoffregen/OneWire
But the issue still applies. The example requiers the changes by @prashantdev in OneWire.h to work

The reason that OneWire class does not contain a default parameterless constructor. I think Multibus_simple.ino is outdated

I've started the example after the following changes:
#include <OneWire.h>
#include <DallasTemperature.h>
//int oneWirePins[]={3,7};//OneWire DS18x20 temperature sensors on these wires
//const int oneWirePinsCount=sizeof(oneWirePins)/sizeof(int);
#define ONE_WIRE_BUS0 2
#define ONE_WIRE_BUS1 3
#define ONE_WIRE_BUS2 4
const int oneWirePinsCount = 3;
//OneWire ds18x20[oneWirePinsCount];
OneWire oneWire0(ONE_WIRE_BUS0);
OneWire oneWire1(ONE_WIRE_BUS1);
OneWire oneWire2(ONE_WIRE_BUS2);
OneWire ds18x20[] = {oneWire0, oneWire1, oneWire2};
DallasTemperature sensor[oneWirePinsCount];

The whole reason for my writing this code (and the empty constructor) is to
have exactly one place to make a change in sensors - add a new sensor,
change a pin, remove a sensor. Change in one place, and don't worry about
code breaking elsewhere.
So, while I could have started out by doing what you did, my liking for a
better/cleaner code forced me to update OneWire. Multibus_simple derives
from my attempt to write better code in my .ino files.
On Sat, Feb 6, 2016 at 11:59 PM, 2mik<EMAIL_ADDRESS>wrote:

I've started the example after the following changes:
#include
#include
//int oneWirePins[]={3,7};//OneWire DS18x20 temperature sensors on these
wires
//const int oneWirePinsCount=sizeof(oneWirePins)/sizeof(int);
#define ONE_WIRE_BUS0 2
#define ONE_WIRE_BUS1 3
#define ONE_WIRE_BUS2 4
const int oneWirePinsCount = 3;
//OneWire ds18x20[oneWirePinsCount];
OneWire oneWire0(ONE_WIRE_BUS0);
OneWire oneWire1(ONE_WIRE_BUS1);
OneWire oneWire2(ONE_WIRE_BUS2);
OneWire ds18x20[] = {oneWire0, oneWire1, oneWire2};
DallasTemperature sensor[oneWirePinsCount];
—
Reply to this email directly or view it on GitHub
https://github.com/milesburton/Arduino-Temperature-Control-Library/issues/47#issuecomment-180830310
.

Thank you for the very usefull library

Closing issue for now. Feel free to reopen if any new information appears

@2mik Would it be possible to publish the complete -revised- example sketch? I have two 1820's, one is recognized, the other isn't...
And me knowledge is just (too) little... (and not only on this subject, helas)
BTW thank you very very much, I'm almost home!

Oh, it was so far ago, sorry.
May be my project that uses this library, helps you. See the link


WIP: zed-editor: 0.141.3 -> 0.143.7

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Why target staging?

Why target staging?

Because of https://github.com/NixOS/nixpkgs/pull/324549#issuecomment-2223947419
But I didn't intend to merge this. I only wanted to see if it would build and end up in the nix-community cachix. Sadly ofborg-eval didn't work.

Yes the eval error is unrelated.
@ofborg eval

@ofborg eval

Duplicate of #324549

Because of #324549 (comment)
But I didn't intend to merge this. I only wanted to see if it would build and end up in the nix-community cachix. Sadly ofborg-eval didn't work.

Oops sorry, I haven't seen that.

Duplicate of #324549?

nix run github:bbigras/nixpkgs/zed-editor#zed-editor

nix run github:bbigras/nixpkgs/zed-editor#zed-editor

I also push to https://app.cachix.org/cache/tmp-zed-editor . only x86_64

Why close this?

Why close this?

The update is being worked on in https://github.com/NixOS/nixpkgs/pull/331354

Also the rust update is now in nixpkgs-unstable so we don't need to rebuild everything anymore.


v10 - Accessibility issues with navigation

Environment
Usability testing with JAWS on Windows 10
Problem
Pages contain multiple navigation regions all announced as "navigation". When several regions exist, they should be labelled so that they are not identical.
Reference

Tested with February DAP rulset and looks 👍🏽


Clicking slider handles or selection bar scrolls to window top

I am facing issue that when I click on slider handles or selection bar it scrolls to window top. can you pleas suggest way to avoid this situation ?

Could you please provide a demo? I have never such an issue with this library.

Hello Valentin,
Please go to : https://www.the-online-gallery.com/artworks

  Scroll down to bottom

  Click on Price dropdown to open slider

  Click on any handle of the price slider

By just clicking handle it scrolls to window top.
Thanks,
Manish
From: Valentin Hervieu<EMAIL_ADDRESS>Sent: Friday, July 27, 2018 10:14 PM
To: angular-slider/angularjs-slider
Cc: dexbytesmanish; Author
Subject: Re: [angular-slider/angularjs-slider] Clicking slider handles or selection bar scrolls to window top (#646)
Could you please provide a demo? I have never such an issue with this library.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/angular-slider/angularjs-slider/issues/646#issuecomment-408474792 , or mute the thread https://github.com/notifications/unsubscribe-auth/AlP6ZcvhMzR-dhHnxToz_9w3eGX42PWUks5uK0M3gaJpZM4VjcpO .  https://github.com/notifications/beacon/AlP6ZXtykqf6yagAlOmLuJGq6fcXbeoEks5uK0M3gaJpZM4VjcpO.gif

This is not an issue with this library. The problem comes from the fact you navigate to page/1/sort-by/default%20sorting/price/1-28200 when the slider is clicked and thus, the page scrolls to top.
If you don't want this, you should only navigate when the price value has really changed.

onEnd is called when the user finished on interaction with the slider. In this callback, you can write any custom logic to prevent unwanted actions.

Ok, so how should I avoid this situation that if price value has not really changed not change the URL ?
From: Valentin Hervieu<EMAIL_ADDRESS>Sent: Monday, July 30, 2018 12:34 PM
To: angular-slider/angularjs-slider
Cc: dexbytesmanish; Author
Subject: Re: [angular-slider/angularjs-slider] Clicking slider handles or selection bar scrolls to window top (#646)
onEnd is called when the user finished on interaction with the slider. In this callback, you can write any custom logic to prevent unwanted actions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/angular-slider/angularjs-slider/issues/646#issuecomment-408766696 , or mute the thread https://github.com/notifications/unsubscribe-auth/AlP6ZYx0LOgi7h87iJT07CBJcoRkT8oFks5uLq_KgaJpZM4VjcpO .  https://github.com/notifications/beacon/AlP6ZYJgqpgeFLP1pv5Umvfa9rNTiRYmks5uLq_KgaJpZM4VjcpO.gif

You can compare the new values with the previous ones, if they haven't changed, don't do anything.

How do I get new values and previous values ?
From: Valentin Hervieu<EMAIL_ADDRESS>Sent: Monday, July 30, 2018 12:38 PM
To: angular-slider/angularjs-slider
Cc: dexbytesmanish; Author
Subject: Re: [angular-slider/angularjs-slider] Clicking slider handles or selection bar scrolls to window top (#646)
You can compare the new values with the previous ones, if they haven't changed, don't do anything.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/angular-slider/angularjs-slider/issues/646#issuecomment-408767736 , or mute the thread https://github.com/notifications/unsubscribe-auth/AlP6ZcuaNp7XNz7LZFZVFPBqfo8oheChks5uLrDsgaJpZM4VjcpO .  https://github.com/notifications/beacon/AlP6ZSKsqLd_mHAUjXBv2aMHP4lWXqLZks5uLrDsgaJpZM4VjcpO.gif

You need to store the previous values somehow. Anyway, if you want the price slider to reflect what's in the url, you need to know what's the current selection is. Thus, compare to this.
This is custom logic so I can't help more.

I have debugged in Web Inspector by setting breakpoint just before URL navigation and it is being observed that it is scrolling to window top before navigation.
From: Valentin Hervieu<EMAIL_ADDRESS>Sent: Monday, July 30, 2018 1:03 PM
To: angular-slider/angularjs-slider
Cc: dexbytesmanish; Author
Subject: Re: [angular-slider/angularjs-slider] Clicking slider handles or selection bar scrolls to window top (#646)
You need to store the previous values somehow. Anyway, if you want the price slider to reflect what's in the url, you need to know what's the current selection is. Thus, compare to this.
This is custom logic so I can't help more.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/angular-slider/angularjs-slider/issues/646#issuecomment-408773248 , or mute the thread https://github.com/notifications/unsubscribe-auth/AlP6ZfphrVdglqTjG-QydBItUDIvrkN7ks5uLraXgaJpZM4VjcpO .  https://github.com/notifications/beacon/AlP6ZSTOZitzD56YtLm52b4IFdnx0_Dtks5uLraXgaJpZM4VjcpO.gif


Example that shows how to convert query result into rust struct #2959

Which issue does this PR close?
Closes #2959 .
Rationale for this change
Add an example that shows how to convert query result into rust struct.
Details/Background in the issue.
What changes are included in this PR?
New example.
Are there any user-facing changes?
No.

Codecov Report

Merging #2969 (d94c8be) into master (4005076) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2969      +/-   ##
==========================================
- Coverage   85.71%   85.71%   -0.01%
==========================================
  Files         280      280
  Lines       51313    51313
==========================================
- Hits        43983    43982       -1
- Misses       7330     7331       +1

Impacted Files
Coverage Δ

datafusion/expr/src/logical_plan/plan.rs
77.43% <0.00%> (-0.35%)
:arrow_down:

datafusion/expr/src/window_frame.rs
93.27% <0.00%> (+0.84%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.

Fixed all the stuff mentioned by the tests


Can't install on Sierra

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following existing directories will be made group writable:
/usr/local/bin

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin
==> Downloading and installing Homebrew...
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
HEAD is now at 17bad9a Merge pull request #1374 from sjackman/bottle-checksums
ln: /usr/local/bin/brew: Permission denied
Failed during: ln -sf /usr/local/Homebrew/bin/brew /usr/local/bin/brew

and my system integrity is disabled

and my system integrity is disabled

Please re-enable it.
You need to uninstall and reinstall Homebrew using the instructions here: https://github.com/Homebrew/install

uninstall can't locate homebrew and install fails with the exact same error

sudo chown -R $USER /usr/local

nope

What's the output of running that command (if any) and what did you try afterwards and what was the output then?

$ sudo chown -R hydroflame /usr/local
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following existing directories will be made group writable:
/usr/local/bin

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin
==> Downloading and installing Homebrew...
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
HEAD is now at 62e0ecd Merge pull request #1559 from MikeMcQuaid/unsupported-better-exceptions
ln: /usr/local/bin/brew: Permission denied
Failed during: ln -sf /usr/local/Homebrew/bin/brew /usr/local/bin/brew

What does ls -lha /usr/local/bin output?

and ls -lha /usr/local?

$ ls -lha /usr/local/bin
hydroflame@MacbookMainframe models$ ls -lha /usr/local
total 16
drwxr-xr-x   22 hydroflame  admin   748B 23 Nov 15:06 .
drwxr-xr-x@  12 root        wheel   408B 23 Nov 15:23 ..
drw-rwxr--  158 hydroflame  admin   5.2K 23 Nov 15:32 bin
``` (edited)

sudo rm -rf /usr/local/bin and then reinstall.

With a fresh Sierra, I have the exact same problem. Initial install failed in the same way - permission denied. Uninstall cannot locate home-brew.
==> The following existing directories will be made group writable:
/usr/local/bin

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin
==> Downloading and installing Homebrew...
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
HEAD is now at 0f529da Merge pull request #1573 from sorin-ionescu/fix-xcode-version-comparison
ln: /usr/local/bin/brew: Permission denied
Failed during: ln -sf /usr/local/Homebrew/bin/brew /usr/local/bin/brew
Antony-Stubbs-MBP:~ antony$ ls -la /usr/local/bin

Antony-Stubbs-MBP:~ antony$ ls -lha /usr/local/bin
total 248
dr-xrwxr-x   4 antony  admin   136B Nov 28 13:55 .
drwxr-xr-x  13 root    wheel   442B Nov 28 13:33 ..
-r-xr-xr-x   1 root    wheel    77K Jul 13  2012 hppaauthtool
-r-xr-xr-x   1 root    wheel    41K Jul 13  2012 launcher
Antony-Stubbs-MBP:~ antony$ ls -lha /usr/local
total 0
drwxr-xr-x  13 root    wheel   442B Nov 28 13:33 .
drwxr-xr-x@ 11 root    wheel   374B Nov 28 13:34 ..
drwxrwxr-x   3 antony  admin   102B Nov 28 13:51 Cellar
drwxrwxr-x   2 antony  admin    68B Nov 28 13:33 Frameworks
drwxrwxr-x  16 antony  admin   544B Nov 28 13:34 Homebrew
dr-xrwxr-x   4 antony  admin   136B Nov 28 13:55 bin
drwxrwxr-x   2 antony  admin    68B Nov 28 13:37 etc
drwxrwxr-x   2 antony  admin    68B Nov 28 13:33 include
drwxrwxr-x   2 antony  admin    68B Nov 28 13:33 lib
drwxrwxr-x   3 antony  admin   102B Nov 28 13:51 opt
drwxrwxr-x   2 antony  admin    68B Nov 28 13:33 sbin
drwxrwxr-x   3 antony  admin   102B Nov 28 13:33 share
drwxrwxr-x   3 antony  admin   102B Nov 28 13:37 var

Antony-Stubbs-MBP:~ antony$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Failed to locate Homebrew!

With a fresh Sierra, I have the exact same problem.

What was already in /usr/local/bin in a fresh Sierra?

Hard to saw, I didn't set it up. Don't have a log of what was in it before I ran the install command.

Ok so when I say fresh, I can't be sure exactly how "fresh" it was :/

Strange. If I make /usr/local/bin user writeable, everything works as expected :/

Nice. But if I was in the group that owned the dir - it should have worked. Any ideas?

@astubbs Your /usr/local/bin was not writeable.

But it was group writable for my group right?
On Sat, 3 Dec 2016 at 1:28 pm, Mike McQuaid<EMAIL_ADDRESS>wrote:

@astubbs https://github.com/astubbs Your /usr/local/bin was not
writeable.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Homebrew/brew/issues/1556#issuecomment-264639333, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAANVonbKUT8uW9BCvrCuaURTl3b7Y4tks5rEW6TgaJpZM4K7BjA
.

@astubbs I don't know what's going on. You've got it fixed now so it's not worth digging into any further on our end. Thanks!

Sure. I just personally like getting to the bottom of things and dislike
not understanding systems 😁
On Sat, 3 Dec 2016 at 1:43 pm, Mike McQuaid<EMAIL_ADDRESS>wrote:

@astubbs https://github.com/astubbs I don't know what's going on.
You've got it fixed now so it's not worth digging into any further on our
end. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Homebrew/brew/issues/1556#issuecomment-264640048, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAANVu5I5Q4xWUh1qOZVst4CUYDTQ29oks5rEXIMgaJpZM4K7BjA
.


Revert "Feat/chipper repetitions"

Reverts Unstructured-IO/unstructured-inference#295

Examples of documents where this fails. There are two main issues, one is empty bounding boxes and the other one is in unstructured https://github.com/Unstructured-IO/unstructured/blob/4533bdac98a8a0db554f0165729bc2aba3cc2607/unstructured/partition/common.py#L628 where a parent element has been removed from the list of elements.
soldering-iron-manual.pdf
TX-penal-code-T8-36-1-3.pdf


[#PLAT-366]Add download counts to admin

Purpose
Investigate why the keen download counts are way lower than the data in the pagecounter. And find out that the keen download counts reflected in admin app only gives the download count for yesterday. Add total download counts to admin.

Changes

[x] check the reason that keen's file download data is way different from the data in pagecounter

[x] write script to calculate the file download counts and store it somewhere in the database

[x] change the metrics.es6.js to reflect the total download counts

QA Notes
Now when you log on to admin app in the OSF Metrics page, check for the downloads number, you should be able to see the total file download counts and total file unique download counts. And the chart data from keen's title has been adjusted to 'The total number of files downloaded from the OSF for yesterday' and 'The number of unique downloads of files on the OSF for yesterday'.

Side Effects
Don't have keen api locally, cannot really test this locally. And also this is trying to initial a keen data storage backend model as from ticket https://openscience.atlassian.net/browse/PRODUCT-28. Currently all the metrics data from keen on admin app is fetched from keen each time that page is rendered which is not ideal, since we are paying keen for the query number. Later on it will requires an improvement to have a full set of data storage backend model so we can just pull all those numbers from database.

Ticket
https://openscience.atlassian.net/browse/PLAT-366

Closing in favor of #8478


Expected parameter covariance_matrix (Tensor of shape (95, 95)) of distribution MultivariateNormal(loc: torch.Size([95]), covariance_matrix: torch.Size([95, 95])) to satisfy the constraint PositiveDefinite(), but found invalid values

Dear Tang,
I have a question is this repo the newest code ? I directly fork the git and run the given fedcorr command for both Fminist and Cifar-10, however, both of them meets PositiveDefinite issue when calculate the  gpr.Predict_Loss(test_data,test_idx,pred_idx).
Thanks!

Hi,
Thank you for your issue. We noticed that there was a wrong default hyperparameter in our code. The default gpr_begin should be 0 instead of 10. We have fixed this in the new version. Sorry for your inconvenience.

Hi,
Thank you for your issue. We noticed that there was a wrong default hyperparameter in our code. The default gpr_begin should be 0 instead of 10. We have fixed this in the new version. Sorry for your inconvenience.

Thank you very much for your quick reply!!! I will try the new hyp.  In the meantime, may I ask what's the except condition ValueError. Actually I solved that by changing the ecexpt condition from runtime-error to value-error, since I thought you may wish to skip and increase the noise when not PositiveDefinite.

We hope to increase the noise scale (namely, adding a larger diagonal matrix to the covariance matrix) when the covariance matrix is singular. If the covariance matrix is singular, the MultivariateNormal function in Pytorch will raise a RuntimeError.

We hope to increase the noise scale (namely, adding a larger diagonal matrix to the covariance matrix) when the covariance matrix is singular. If the covariance matrix is singular, the MultivariateNormal function in Pytorch will raise a RuntimeError.

Oh I see, thank you very much for your explain!!

Hi tang, sottry to bother you again, a quick update that I reforked the rep and use the newest paramter but the error still occurs after the warmup at epoch 21 in cifar case.

I did not get the same error on my server. Please check if you are using the same Pytorch version as mine which is 1.7.1.

Thanks! I will try it again

I followed your environment and now everything is good, thank you very much!


Red nodes

the node is not found, I downloaded the custom node and downloaded the requirements.

check your ComfyUI error messages in the console. You have nodes that aren't loading because they have an error.


[STORM-1662] Reduce map lookups in send_to_eventlogger

Reducing map lookup in send_to_eventlogger can improve performance when when a spout emits in a tight loop.

@HeartSaVioR could you take a look ?

+1 if it's same to https://github.com/arunmahadevan/storm/commit/7eae5ec9f63cee82c49980a3bedf5f0dfe4e3a8d.
I already applied this patch and test, and it looks good.
Btw, I may need to have dedicated server during test, cause when last performance test for me this patch doesn't increase throughput when eventlogger=1 but this patch increase throughput when eventlogger=0.
(Tested with roshan's topology, I didn't test with your topology.

@HeartSaVioR actually this patch has no effect with eventlogger=0. I assume you modified BasicTopology to emit a constant long. I also restart all the storm processes before each run and let it run for 12 mins and compare the last 10 min window stats.

@arunmahadevan
No effect with eventlogger=0 is what I assume, so I'm saying that's weird...
I tested on roshan's topology with no modifying.
Maybe I need to clean up something with each test, or test with your topology.

I tested on roshan's topology with no modifying.

I also tried that and it was producing weird results, so I changed it to emit a constant long and restarted storm processes after each run.

@arunmahadevan
I've just done with performance test, and the result is a bit different what I expected.

This patch affects the performance even though event logger is set to 0 thought I can't understand the result.
This performance test is done with your topology + modification for logging performance.
(https://gist.github.com/HeartSaVioR/0e2555633a5f7d12cb68)
I restarted all Storm processes for every test.
eventlogger-performance-test-STORM-1662-excel.xlsx
Since test is done with my dev. machine (MBP), I really would like to borrow a dedicated machine and try this performance test again.

In result, sorry I changed my vote to +0 for now.
I think we should make the test result stable before taking any actions.

test several times and take average or mean
test longer
test with dedicated (idle, not dev., no GUI) machine

If we can get the stable result before releasing 1.0.0 is in progress, we can include this as 1.0.0. But it shouldn't block releasing 1.0.0.


birdlady(birdlady.palomachain.com) validator keeps going down

the validator keeps going down with the same reason after validating a few blocks
https://testnet.paloma.explorers.guru/validator/palomavaloper18d4cfq63h4a9cz49d86pr84hpang7yvq04tyc6
https://testnet.paloma.explorers.guru/account/paloma18d4cfq63h4a9cz49d86pr84hpang7yvqq9ucwf
palomad q valset get-validator-jail-reason palomavaloper18d4cfq63h4a9cz49d86pr84hpang7yvq04tyc6
reason: validator's pigeon has been inactive

here is the log from the pigeon
May 16 04:30:11 localhost pigeon[1224519]: {"level":"info","msg":"not staking. waiting","time":"2023-05-16T04:30:11Z"}
May 16 04:30:16 localhost pigeon[1224519]: {"level":"info","msg":"validator is staking","time":"2023-05-16T04:30:16Z"}
May 16 04:30:16 localhost pigeon[1224519]: {"level":"info","msg":"starting relayer","time":"2023-05-16T04:30:16Z"}
May 16 04:30:16 localhost pigeon[1224519]: {"level":"debug","msg":"waiting on the loop for a new tick","time":"2023-05-16T04:30:16Z"}
May 16 04:30:16 localhost pigeon[1224519]: {"level":"debug","msg":"starting keep alive loop","time":"2023-05-16T04:30:16Z"}
May 16 04:30:16 localhost pigeon[1224519]: {"level":"info","msg":"relayer loop","time":"2023-05-16T04:30:16Z"}
May 16 04:30:16 localhost pigeon[1224519]: {"level":"debug","msg":"querying get alive time","time":"2023-05-16T04:30:16Z"}
May 16 04:30:16 localhost pigeon[1224519]: {"alive-until":"2023-05-15T21:36:42.026159273Z","level":"debug","msg":"checking keep alive","should-send-keep-alive":true,"time":"2023-05-16T04:30:16Z","ti>
May 16 04:30:18 localhost pigeon[1224519]: {"error":"not found","level":"error","msg":"error while trying to process messages","time":"2023-05-16T04:30:18Z"}
May 16 04:30:18 localhost pigeon[1224519]: {"level":"debug","msg":"waiting on the loop for a new tick","time":"2023-05-16T04:30:18Z"}

@rootedbox are the RPC endpoints functioing?

this was created in Paloma org instead of Volume which is why it's not showing on teh board. Will move this over shortly

moved to https://github.com/VolumeFi/paloma/issues/193

https://github.com/palomachain/pigeon/pull/152
https://github.com/palomachain/pigeon/pull/153

Fixed.


Unformatted Sway Code

Unformatted Sway Code
Informational
Consider running forc fmt to format the Sway code in the repository.
This may require some manual formatting of the large commented code blocks.

this will not be worked on because the Sway formatter is very unreliable and overformats the codebase


Map: Does not show connections with hop count >1

I have a nice graph on my dashboard that displays lots of connections with hop counts up to 10. If I use exactly the same code to create a map, it cuts off everything that is more than 1 hop away.
To be fair, the graph has about a hundred nodes. But it manages to work fine, while the map does not. Could you look into that, please?
So that you have some idea what kind of graph I'm talking about:

Note: This only seems to be an issue if there are a lot of nodes (>100?). Otherwise it works fine.

Hi @JoridK , thanks for the suggestion.
Would you mind sharing the query (possibly with anonymized labels/types) with me? Then I can see if I can reproduce the same behaviour locally on a test dataset.
Thank you,
Niels

Hi,
it is really difficult to replicate this... by now I think this may have been a side effect of nodes not being shown if they have the same coordinates. We do have a good amount of those cases, and the more nodes on the map, the more likely that a large number disappear completely due to having the same coordinates.
If I find something where this is definitely not the explanation, I will let you know and see what I can do so that you can replicate that case.
(The issue is definitely not caused by hop count >1, as I initially assumed)
Thanks!

Is this still relevant @nielsdejong  @JoridK ? If not i will close it (i think we can show big tracks on the Maps, see the Trainline example inside the Dashboard Gallery)


microdata on user page?

Could we get the actual value of brew.updatedAt expressed into the html of the page as an html attribute?
Something like this:

  ...

This line here, I think:
https://github.com/naturalcrit/homebrewery/blob/6f6c4acf7efc02b32a77291081851c1b0bec0c68/client/homebrew/pages/userPage/brewItem/brewItem.jsx#L116-L118

And while we're at it, express the brew.createdAt value into the page as another span, but use CSS to hide that by default.

  ...

.userPage .brewItem .info .createdAt { display: none; }

No immediate need, but it will enable some creative hacking, and possibly some accessibility improvedments.
The title=<human-readable-moment> will enable a tooltip on the html element.

Also, put classnames on each of the meta data spans inside the
 for good measure.

Class names on the published vs unpublished divs too. Class names all the way down.

The title= will enable a tooltip on the html element.

I like this, I've pushed it onto the BrewItem so anywhere over the item gives you the tooltip, and then populated the tooltip with the Created and Updated date information.
However, it appears that the Google Brews are returning invalid data for the Created Date, so the ordering system replaces it with the current time and date... So Google Brews are always considered the most recently created.
Still investigating; I'll update if/when I discover more.

I pushed the googleBrews object to the console from server.js, which showed me the following:

I tried messing with the Google permissions, which resulted in "Error Listing Google Brews: Error: Insufficient Permission: Request had insufficient authentication scopes." Changing it back got the Brews listing again, but for some reason, the brew.createdAt (set by file.createdTime ) returns undefined.

Got it, createdTime wasn't included in the fields list of listGoogleBrews.


onboarding: Change Welcome Bot message interactions.

Fixes failing tests on #30278 -- Opened a separate PR because I can't push my changes on that PR.
https://github.com/zulip/zulip/pull/30278#issuecomment-2216757961

I added a commit to update Welcome Bot's responses to commands, which had gotten stale.

@prakhar1144 if you are up for fixing any tests I might have broken, that would be helpful. :)

Fixes: #30049

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks great, merged, thanks @prakhar1144 and @codewithnick!


Pushing to Harbor which requires a ca cert

Is this a request for help?:
YES
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
FEATURE REQUEST

Environment (plugin version, maven version, OS, ...):
Any
What happened:
mvn plugin does not support pushing image to Harbor with ca cert
What you expected to happen:
would like an option to push and provide a path to a ca cert file
How to reproduce it (as minimally and precisely as possible):
N/A
Anything else we need to know:
Does anyone know of an existing helm mvn plugin that already supports this?

cacerts file is in JAVA_HOME/[jre]/lib/security/cacerts
You could either:

Update that cacerts file with your server's cert, using keytool -importcert
Create an alternate cacerts file and -Djavax.net.ssl.trustStore=/path/to/alternate/cacerts

I had the same issue and opened this ticket to support the insecure flag (available from version 6.7.0) also on the push goal: https://github.com/kokuwaio/helm-maven-plugin/issues/302


Sort output in Documentation format

As I can see - documentation format is displaying different order for checks. This is making work with this format quite hard especially if results presents many checks / results. Having the same order allows quicker to see output when refresing web brwoser (to re-check status of check)
(As I do understand - I can be wrong - Goss displays results based on dictionary - which is not sorted by default - can we add some OrderDict function on Sort? - I am familar with python and this suggestion is based on python experience).

It's not actually a dictionary. Rather the tests run in parallel and are streamed to the output as they're completed.
Sorting the output is possible, essentially the output driver would have to record everything first, then sort it all, then print it. Rather than printing it as it comes in.

As I can see this was approved - so with my observation this is really helpful during debug of issue. For example - error is detected / one is working on soluton and expecting to see 'OK' in the same line ... (how human mind is working). So unsorted list generating different output on the same line - so one things 'is fixed' - but maybe is not really fixed - only line changed.
I assume that is dictionary - based on dicts in python. Thank you for clarification :).

Hi @aelsabbahy, thank you for implementing this - I've just tested and seems be working as expected (at least for cases which are useful for me). Great work - thank you.

Sorry for the extremely long delay on this, has been an interesting journey. Glad you're still using goss, and glad this helps.
Feel free to open up any feature requests or but reports.. always good to get feedback from long term goss users.


Add remove-window-from-set extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Could you please check your package-lock file, maybe you're using packages from another source since CI is failing?

Could you please check your package-lock file, maybe you're using packages from another source since CI is failing?

Recreating the package-lock with proper sources fixed the CI issues. Thanks for the hint.


chore: Refactor Vale spell checking to better support local development

Hey, I just made a Pull Request!
This PR refactors the Vale spell checking configuration in the project.
Currently, the config was is in a subfolder which was directly reference by a script which runs in CI.  This absolutely works.  However, it renders local development value of the Vale config either useless, or very hard to configure (IMHO).
I just briefly noticed that my local Vale Extension ins VS Code wasn't picking up spelling problems, and I discovered it's because of this config. (but it works in many other projects)  Clearly also I was not able to use the Vale CLI on the command line if I wanted to for a folder or an individual file, either. So the current config picks up errors in CI, but I would suggest to truly "shift left" we should let the devs get the value out of it locally as well to potentially avoid CI needing to catch errors at all.
This PR refactors it in the following ways:

Moves the .vale.ini config back to the root.

The reason for this is Vale is very specific in how it works. It looks for a config file in the current working directory of any file you're trying to spell check, and then it searches up 6 levels. Because the config was placed in the .github/ subfolder, it effectively will never trigger locally for any developer as it's never "upstream" of a change unless the change is made in that folder (which is rare).

Adds an ignore to the check docs script for the docs/reference/ subfolder.

This folder doesn't get checked in (its in the gitignore and generated at site publish runtime), so normally it's not needed in CI.
But I found running the command node scripts/check-docs-quality.js was pretty useful locally also, as a root vale . spell checks too much (exactly the point of the script). But I do have the reference folder locally, and so this just allows me to also run this script locally if I want to.

I had to add an eslint ignore which may have been introduced prior to my change but the check docs script maybe hasn't been modified since an eslint rule (or config or version) was bumped?  Welcome any ideas/suggestion for how to fix that, but I believe it's definitely a devDependency as it stands today and so I didn't want to move that library to a main dependency.

CLI
❌ Current

✅ CLI works!

CI
✅ CI works!
✅ CI still works! 😁
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

...interesting, I don't see the verify docs workflow firing.  I know there was a legacy one which I see disabled in the Actions UI (but that workflow file doesn't exist anymore). Anyway, opening for review!

(oh i made no docs changes likely; lemme make a small one to see if I can fire CI to validate it catches a typo)

Ok awesome. At least pre-commit works. Leave it to the team if you'd have a recommendation if we want to test it a bit further or not, but would have to disable precommit hooks in Husky for that I guess?

@Rugvip Ah good catch. So actually, the main method was appending the config flag and the files, and then passing that to the runVale() method which ALSO added the config flag again (and just passed through the specified fileS). As a result, I think that was a duplicate and so removed one.
In addition, since the config is in the root now anyway, so long as the command is IN the root the config flag is no longer absolutely required, but I think it makes sense to keep it in the script for full clarity.
I made a change to remove it from the main routine, keeping it closer to the runVale routine and it remains to work locally.
Locally, I've tested with Vale v2.10.7, though I've also tested with the latest through the MacOS brew formula which is v2.21.3.  Interestingly, there's seems to be a problem after v2.10 which renders the Vale VS Code extension not to work (even though it remains working in CLI and via various CI i have internally, reference https://github.com/errata-ai/vale-vscode/issues/49), so I've kept pinned to v2.10 locally so I can keep using it on VS Code. I assume it'll be fixed upstream at some point!


Added example how to use ollama hosted models

Example added how to use llama3.2 locally run via Ollama

Hi @grg-ffb this looks great, if you can get pre-commit to pass we can merge this in.

Thank you @grg-ffb ! Appreciated
I am not sure how much time you have, but having a unit test that echoes these docs on Ollama + PaperQA in tests/test_paperqa.py could be cool


Unable to run since version 0.27.0

Hi,
For some reason I cannot get TreeExplainer to run for anything greater than version 27. Version 27 still works perfect though, on Pycharm I just get return error code. I know this sound vague but I tried debugging and went pretty deep and then gave up. Any pointers? Otherwise I'll probably stick with 27.

@pranut
Have you tried latest version: https://github.com/slundberg/shap/releases/tag/0.28.5
There was a fix for TreeExplainer in 0.28.4/0.28.5

@imatiach-msft
Yes I tried all the versions one by one after 27 to identify which version the issue is cropping from, but was not able to figure it out.

@pranut are you sure you tried specifically 0.28.5?
This sounds very similar to the issue that I fixed here with a memory corruption error in TreeExplainer:
https://github.com/slundberg/shap/pull/430
Could you do a pip freeze and send the specific version of shap with the error?  Also, could you send us the error message?

attrs==18.2.0 backcall==0.1.0 bleach==3.1.0 cloudpickle==0.8.0 colorama==0.4.1 cycler==0.10.0 dask==1.1.2 decorator==4.3.2 defusedxml==0.5.0 entrypoints==0.3 graphviz==0.10.1 ipykernel==5.1.0 ipython==7.3.0 ipython-genutils==0.2.0 ipywidgets==7.4.2 jedi==0.13.3 Jinja2==2.10 jsonschema==3.0.0 jupyter==1.0.0 jupyter-client==5.2.4 jupyter-console==6.0.0 jupyter-core==4.4.0 kiwisolver==1.0.1 lime==<IP_ADDRESS> MarkupSafe==1.1.1 matplotlib==3.0.2 mistune==0.8.4 nbconvert==5.4.1 nbformat==4.4.0 networkx==2.2 notebook==5.7.4 numpy==1.16.1 pandas==0.24.1 pandocfilters==1.4.2 parso==0.3.4 pickleshare==0.7.5 Pillow==5.4.1 prometheus-client==0.5.0 prompt-toolkit==2.0.8 Pygments==2.3.1 pyparsing==2.3.1 pyrsistent==0.14.11 python-dateutil==2.8.0 pytz==2018.9 PyWavelets==1.0.1 pywinpty==0.5.5 pyzmq==18.0.0 qtconsole==4.4.3 scikit-image==0.14.2 scikit-learn==0.20.2 scipy==1.2.1 Send2Trash==1.5.0 shap==0.28.5 six==1.12.0 terminado==0.8.1 testpath==0.4.2 toolz==0.9.0 tornado==5.1.1 tqdm==4.31.1 traitlets==4.3.2 wcwidth==0.1.7 webencodings==0.5.1 widgetsnbextension==3.4.2 xgboost==0.81
The error message is Process finished with exit code -1073741571 (0xC00000FD) on PyCharm

@pranut it looks like you are on the latest version.  Not sure what is causing the error.  Could you share the output before the error message:
Process finished with exit code -1073741571 (0xC00000FD)
Otherwise, I'm not seeing this issue with the latest package.
Also, could you try doing a pip uninstall shap/pip install shap, just to see if it makes any difference.

@pranut it looks like you are on the latest version.  Not sure what is causing the error.  Could you share the output before the error message:
Process finished with exit code -1073741571 (0xC00000FD)
Otherwise, I'm not seeing this issue with the latest package.
Also, could you try doing a pip uninstall shap/pip install shap, just to see if it makes any difference.

@imatiach-msft
There is no error/output before the exit code, just typical script output until the TreeExplainer part.
I tried uninstalling and re-installing but still had the issue. How should I debug further to get the exact error?

@pranut probably the best way is to clone shap locally and create a test case that can reproduce the issue.  You can then add prints in the native code to track down where the issue is happening.  @slundberg might have better recommendations (eg increase verbosity for debugging?).

So, I found the point where it breaks:
# we compute the expectations to make sure they follow the SHAP logic         self.max_depth = _cext.compute_expectations(             self.children_left, self.children_right, self.node_sample_weight,             self.values         )
<self = {Tree} <shap.explainers.tree.Tree object at 0x00000178B549C780>
children_default = {ndarray} [1 0 3 0 0]
children_left = {ndarray} [ 1 -1  3 -1 -1]
children_right = {ndarray} [2 0 4 0 0]
features = {ndarray} [74  0 52  0  0]
node_sample_weight = {ndarray} [4753. 3387. 1366. 1344.   22.]
thresholds = {ndarray} [  302355.        0. 13191834.        0.        0.]
values = {ndarray} [[ 0.        ]\n [ 0.14995573]\n [ 0.        ]\n [-0.14877324]\n [-0.11739131]]>
This is the value of the Tree object

@pranut Sorry for the trouble. How did you train the model you are explaining? Someone mentioned some issues with a GPU version of an XGBoost model. When I get some time I can also reconstruct that tree and see if I get the same error.

@slundberg Hi Scott, I am training XGBoost using GPU Hist. I will try training without GPU and report back.
Thanks!

Hi, just wanted to give a quick update, I was running the same model again with the latest SHAP and it seems to have now been fixed in one of the updates after 0.28.5.
Thanks!


Availability of media doesn't change after a full scan.

Description
After deleting media in Jellyfin, Jellyseerr still marks the media as Available. So you can't request it a 2nd time.
Even when running a manual Full Library scan it still marks it as Available.
Version
1.1
Steps to Reproduce

Request media in Jellyseerr.
Delete it from Sonarr/Radarr/Jellyfin.
Notice that Jellyfin doesn't show the movie anymore in the library.
Do a Full Manual Library Scan in Jellyseerr.

Screenshots

All this media has been deleted from my server already, jellyseerr marks it as Available.
Logs
No response
Platform
desktop
Device
Windows
Operating System
Ubuntu
Browser
Edge
Additional Context
No response
Code of Conduct

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

Do you have available scan enabled on sonarr and radarr services? Because if so it will do that. Otherwise it shouldn't (I just tested)

Do you have available scan enabled on sonarr and radarr services? Because if so it will do that. Otherwise it shouldn't (I just tested)

Scan is enabled on both Sonarr and Radarr since the setup. I just double-checked and they are still enabled. I also tried disabling and re-enabling them but after a Radarr and Sonarr scan the media is still marked as available.

You could create a new instance, this time disable scan on sonarr and radarr and it won't mark anything as available. Or you can manually remove data for each one after the other (not ideal). The reason why they are marked as available is because you had scan from both services turned on when you set it up

I'm having the same problems, the above steps didn't solved them.

I'm having the same problems, the above steps didn't solved them.

Could you come over to discord so its easier to troubleshoot?

Did this ever make it over to discord. Went and searched but could not find it. Having the same issue on unraid server build.

Did this ever make it over to discord. Went and searched but could not find it. Having the same issue on unraid server build.

It did. But I recommend to make a new support thread on discord and we can follow the troubleshooting steps. I think I already know your issue so

:tada: This issue has been resolved in version 1.8.0 :tada:
The release is available on:

v1.8.0
GitHub release

Your semantic-release bot :package::rocket:

I'm on version 2.0.1 and this issue is still affecting me. I've done a full manual scan and jellyseerr still thinks the movie is available in jellyfin.
I was able to delete it by going into the cog on the right hand side of the screen and 'manage  movie' and delete it that way.

That's usually due to a misconfiguration. You'll have to jump onto discord to troubleshoot this.


docs: geo functions

What's Changed in this PR
Fixes #1183
Fixes #1210
Fixes #1164
Checklist

[x] Please confirm that all corresponding versions of the documents have been revised.
[x] Please ensure that the content in sidebars.ts matches the current document structure when you changed the document structure.
[ ] This change requires follow-up update in localized docs.

I though we need to use mdx for components but it turn off unnecessary


blocking versioned image, signature, etc

Good morning,
The command flutter pub get returns me this:
Because flutter_img 0.0.3 depends on flutter_svg ^1.1.6 and no versions of flutter_img match >0.0.3 <0.1.0, flutter_img ^0.0.3 requires flutter_svg ^1.1.6.
So, because TDC_RapVerif depends on both flutter_img ^0.0.3 and flutter_svg ^2.0.6, version solving failed.
Is it possible to upgrade the version of flutter_svg to 2.0.6 instead of 1.1.6 please?
Best regards,
Stéphane

hope 0.1.0 will solve your problem


Base box size is far too small (8GB)

http://stackoverflow.com/questions/14917353/resizing-disk-space-on-vagrant-box

Attached a virtual 40GB HDD and mounted to ~/workspace.


Benchmarking a new load balancing algorithm

TLDR: We would like to benchmark a simple variant of the Two-Choice load balancing algorithm on smallrye-stork. Is there a recommended benchmark or a typical workload that you use?
The variant is the following: For each request,

Allocate to the least loaded of two randomly chosen servers (i.e., like Two-Choice) with probability β.
Otherwise, allocate to a random server.

Somewhat surprisingly we recently demonstrated in theory and simulations (paper, slides, visualisation) that for suitably chosen β, this outperforms Two-Choice when there is outdated information (RTT is large, there are multiple allocators) or there is noise. The main reason for this is that it allocates to lesser loaded servers less aggressively than Two-Choice, so that it spreads the load more evenly (see figure below).

We would like to see whether this result also implies improvements in real-world load balancers, including smallrye-stork. For the evaluation purposes, I have drafted a very simple implementation (see here) and was wondering whether you could give me some pointers for setting up and running a benchmark representative of a typical workload.
Kind regards,
Dimitris
P.S. I have reached out to a few other open source load balancers.

That's interesting!
I would start with micro-benchmarks, just stressing the service discovery.
You can use JMH, but it might be a bit overkill. That being said, what will give you the best "results"

Thank you for the reply! I will start implementing a benchmark and will try to use JMH. But I have a few questions first:

How many instances of stork do you expect to be running in parallel? Is it one instance on a single core? Multiple instances on multiple cores? Or multiple instances multiple machines?
What is the typical range for the number of instances running? Are these expected to be on the same or different machines?
When you say "just stressing the servise discovery" which parameters for the above did you have in mind?


Python2 + hierarchy

Added support for Python2. Additionally, blueprints can have other blueprints as children for more complex hierarchies.

Thanks, those are some great improvements.


Adds tooling

Background
This is part of the wider 'Zonal-isolation' feature:
Changes
Introduces commands for updating and getting the current state of isolation groups:
# to read for a domain
cadence admin isolation-groups get-domain --domain cadence-system

# to read 'globally', ie for all domains
cadence admin isolation-groups get-global

# To add a drain to zones 1 and zone-2:
$ cadence admin isolation-groups update-global --set-drains zone-1 zone-2

# Note that this is Upsert semantics, so by doing this subsequently..
$ cadence admin isolation-groups update-global --set-drains zone-3
# ... now only zone-3 is drained, zone-1 and zone-2 drains are removed

# to drain just for some domain
$ cadence admin isolation-groups update-domain --set-drains zone-3 --domain some-domain

# to remove
$ cadence admin isolation-groups update-domain --remove-all-drains

Testing
Unit tests

Pull Request Test Coverage Report for Build 01880bf8-c723-4fd9-87e0-830c096296d0

53 of 369 (14.36%)  changed or added relevant lines in 9 files are covered.
75 unchanged lines in 12 files lost coverage.
Overall coverage decreased (-0.1%) to 57.217%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tools/cli/admin.go
7
18
38.89%

client/admin/grpcClient.go
0
16
0.0%

client/admin/thriftClient.go
0
16
0.0%

client/admin/client.go
0
20
0.0%

client/admin/metricClient.go
0
36
0.0%

client/admin/retryableClient.go
0
36
0.0%

client/admin/errorInjectionClient.go
0
76
0.0%

tools/cli/isolation-groups.go
40
145
27.59%

Files with Coverage Reduction
New Missed Lines
%

client/history/client.go
2
38.1%

client/history/metricClient.go
2
45.3%

service/history/handler.go
2
47.15%

service/history/shard/context.go
2
66.52%

service/history/task/transfer_standby_task_executor.go
2
87.34%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
59.55%

common/persistence/statsComputer.go
3
94.64%

service/frontend/workflowHandler.go
4
60.24%

service/history/historyEngine.go
9
68.64%

common/persistence/nosql/nosqlplugin/cassandra/workflowUtils.go
11
74.32%

Totals

Change from base Build 01880bdf-c38c-430f-8249-282c4e9cc3f9:
-0.1%

Covered Lines:
86806

Relevant Lines:
151714

💛  - Coveralls


feat(autoware_adapi_version_msgs): add version messages

Signed-off-by: Takagi, Isamu<EMAIL_ADDRESS>Moved autoware_ad_api_msgs from autoware.universe.

@isamu-takagi Could you add explain of where you brought this message from in the description so that we can track source when needed?

@mitsudome-r Added link to original package.


Bazel: custom scala toolchain

Introduce a custom bazel toolchain for scala projects that will by default enforce a cleaner workspace via unused dependency tracking and failure on compiler warnings.

Closes #10


A question about the cdvae

Excuse me, I'm a first-year graduate student. My programming ability is limited. So I have a question.

I want to know what the MODEL_PATH is. I tried many paths, but none of them worked. this is the hint:

hydra.errors.MissingConfigException: Primary config directory not found.
Check that the config directory '\Users\12032\Desktop\cdvae-main\cdvae\run.py' exists and readable

How should I set the MODEL_PATH?

this is error information:
AttributeError: 'CrystGNN_Supervise' object has no attribute 'langevin_dynamics'
I find that the attribute 'langevin_dynamics'  exists in the CDVAE class, not CrysGNN_Supervise. So How do I solve this problem?

when I execute the recon command, I ran into a problem:
100%|██████████| 2030/2030 [02:43<00:00, 12.44it/s]
Evaluate model on the reconstruction task.
Traceback (most recent call last):
  File "C:/Users/12032/Desktop/cdvae-main/scripts/evaluate.py", line 281, in <module>
    main(args)
  File "C:/Users/12032/Desktop/cdvae-main/scripts/evaluate.py", line 194, in main
    all_frac_coords_stack, all_atom_types_stack, input_data_batch) = reconstructon(
  File "C:/Users/12032/Desktop/cdvae-main/scripts/evaluate.py", line 38, in reconstructon
    _, _, z = model.encode(batch)
  File "E:\anaconda3\envs\cdvae\lib\site-packages\torch\nn\modules\module.py", line 947, in __getattr__
    raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'CrystGNN_Supervise' object has no attribute 'encode'
batch 0 in 8

Hi @szy120320, did you figure out this problem?

Hi @szy120320, did you figure out this problem?

I tried, but it didn't work

I am probably late and it's already solved, but I worked through it by using the Hydra output from the training instead of prop_models as my model_path which was where I got that error.


cargo-benchcmp: init at 0.4.4

https://github.com/BurntSushi/cargo-benchcmp
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 233257 run on aarch64-darwin 1

1 package built:

cargo-benchcmp


Is this library maintained?

There are numerous years-old pull requests, the library appears to have been left to rot. That would be a shame because I haven't been able to find any other good pure-C threadpool libraries.

Hi @JayWalker512. In the past I would go through the PRs in chunks every few months whenever I found time. Unfortunately I have been quite busy with my life the last period so didn't have the chance to put more time into this. I understand your concern which is also why I built the library in the first place. However since I don't use C anymore on a daily basis and due to having to deal with other things, I can't tell if I will be able to go through the PRs in the short-term at least.
I'm happy to give access to people to maintain the project, assuming they share the same vision for keeping the solution elegant and minimal.
Cheers

I volunteer to help merging some of the PRs, if you offer still stands. In fact, I will send at least one of my own, just for docs, because I see the code changes I wanted to make have already been included in other PRs.

@gonzus yes sure, that would be great! Just let me update the CI, since I noticed it's broken, and I will add you.

Hey, got the invite, already approved two PRs. I didn't want to approve a pending PR of my own (https://github.com/Pithikos/C-Thread-Pool/pull/91/), thought it would be bad form -- if you are OK with that, I can approve it.

Hi @Pithikos,
As we rely heavily on your lib (thanks for your work!) for FrankenPHP, I would also be happy to get the commit right to merge the fixes we need :)
Cheers,

I merged a few things and with Github Actions now (thanks @dunglas) things should be easier. Feel free to nudge me for anything to improve collaboration. Have a good 2024 :cake:

Haha! That latest merge resolved my problem, on my workload the threads got stuck without doing any work sometimes. I ended up rewriting thpool.c and went back here to see how I could contribute. No need anymore, nice work.


animation property missing

First i want to say, this tool is really useful for me, i learn a lot using this tool, you really make an amazing work.
I download this game, https://gallery.leapmotion.com/cat-explorer/, and the cat animation property is missing when i open using utinyripper, but when i use other software like DevXUnity to open this game, the properties are normal. It would be very perfect if this issue can be handle in next version, thanks a lot!

done in 9bd0213fdd211d194a9ba6fa74e25fe9c118bf28


perf(freespace_planning_algorithms): improve freespace planning performance

Description
See #2039
Related links

Tests performed
Test environment: planning simulator as default

start point: "pose: {position: {x: 3713.99, y: 73732.0, z: 0.664812}, orientation: {x: 0.0, y: 0.0, z: 0.850511, w: 0.525957}"
goal point: "pose: {position: {x: 3727.39, y: 73750.0, z: 0.0}, orientation: {x: 0.0, y: 0.0, z: 0.850592, w: 0.525827}"
In test 1 costmap resolution is 0.2m and in test 2 which is 0.1m.
Results are average value of at least 3 replications.

Use unordered_map to store node data instead of vector
The memory cost sharply decreases. The efficiency of data access is almost the same as before.

Eliminate unnecessary calculation steps in collision detection function
Delete duplicate indexes which corresponds to vehicle shape. More than 3/4 indexes are not unique.

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.
[x] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@NorahXiong Thank you for your contribution! Your report for the performance improvement is very impressive!
Recently, we merged a large PR for the freespace planner, so there is now a conflict in this PR. Would you solve the conflict? Then we'd like to merge this PR soon.

@TakaHoribe ,hi. NorthXiong has resolve the conflict , please take a look and give your valuable advice.

@NorahXiong Thank you for your contribution! Your report for the performance improvement is very impressive!
Recently, we merged a large PR for the freespace planner, so there is now a conflict in this PR. Would you solve the conflict? Then we'd like to merge this PR soon.

@TakaHoribe  ,hi. NorthXiong has resolved the conflict , please take a look and give your valuable advice.

@liuXinGangChina @NorahXiong One test is failing in the CI: https://github.com/autowarefoundation/autoware.universe/actions/runs/3376624609/jobs/5605343502#step:7:380
Please fix it as we cannot merge until all tests are passing.

@liuXinGangChina @NorahXiong One test is failing in the CI: https://github.com/autowarefoundation/autoware.universe/actions/runs/3376624609/jobs/5605343502#step:7:380 Please fix it as we cannot merge until all tests are passing.

@maxime-clem @TakaHoribe  I've fixed the problem. PR is ready to merge now.

@NorahXiong Thank you so much. I'd like to merge this PR soon. Do you have a test script to measure performance like you put in the top of this PR? We need to track the performance since the OSS is frequently updated. Your script would be very useful.

@NorahXiong Thank you so much. I'd like to merge this PR soon. Do you have a test script to measure performance like you put in the top of this PR? We need to track the performance since the OSS is frequently updated. Your script would be very useful.

Sorry I don't have that script. I counted executing time of each step by debug log. I have a simple script to precisely set the start and goal point in order to repeat tests. I'd like to share it if you need.

@NorahXiong Thank you so much. I'd like to merge this PR soon. Do you have a test script to measure performance like you put in the top of this PR? We need to track the performance since the OSS is frequently updated. Your script would be very useful.

Sorry I don't have that script. I counted executing time of each step by debug log. I have a simple script to precisely set the start and goal point in order to repeat tests. I'd like to share it if you need.

@TakaHoribe, the attached script can precisely set start/goal point and the usage is as below. Hope it will be helpful for you.
# source env
./astar_set 1 n # set start point with the nth start point
./astar_set 2 n # set start point with the nth goal point

astar_set.zip


feat(connector): [Elavon] Add card payments, psync, refunds, rsync and void flows

Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Elavon Inc., formerly NOVA, is a processor of card transactions and a subsidiary of U.S. Bancorp. Elavon offers merchant processing in more than 30 countries and supports the payment needs of more than 1,000,000 merchant locations across the globe.
Resolves #2957
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

How did you test it?

Can't be tested as Elavon has a closed sandbox.
Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Elavon converge, no more supports REST API integration. For further information refer here.

Blocking this Pull Request as Elavon converge, no more supports REST API integration.

I'm not sure what the API was before, but it seems they have an XML (😢) API in case that'd be possible to use.

Connector contract changed


How to define noise virtual point?

It seems that the paper didn't define it clearly.
Why the red points in Fig.2(c) are marked? How did you distinguish them?
Thanks.

The noise points in Fig.2 are manually labeled, just for better view. The noise did not have a mathematical definition currently. Our method did not explicitly distinguish them. For more detail, please read our paper.


[Bug]: JumptToSection scroll in DS Project UI is not working anymore

Is there an existing issue for this?

[X] I have searched the existing issues

Deploy type
Downstream version (eg. RHODS 1.29)
Version
1.33
Current Behavior
The navigation menu inside DS Project UI (including also Workbenche Create/Edit page) does not work anymore. It used to work fine in the previous version - regression.
Check the GIF:

Expected Behavior
The UI scrolls down to the selected section from the Jump to section navigation menu
Steps To Reproduce

create a DS Project
click on Models and model servers section from the Jump to section navigation menu
check if the page gets scrolled down to the right section
click Create workbench button
click on Cluster storage from the Jump to section navigation menu
check if the page gets scrolled down to the right section

Workaround (if any)
None
What browsers are you seeing the problem on?
No response
Anything else
This issue is blocking our automated test for the DS Project test suite

I think this bug is caused by the element main with ID dashboard-page-main  losing its scrollable property.
In 1.32 the element was scrollable, but in 1.33 RC1 it's a random div nested below it.
document.getElementById("dashboard-page-main").scrollBy(0,100) this code used to work, but now it does not anymore. Instead what works is document.getElementsByClassName("pf-c-drawer__content")[1].scrollBy(0,100)

Related work: https://github.com/opendatahub-io/odh-dashboard/pull/1571

@andrewballantyne could we get this fixed for the current release?

Was a hotfix for 1.33 -- officially part of the build for 1.34. Won't make a real difference I imagine, but worth noting why it has both.