Make install cannot write to plugin directory

Using main
When running make install, I get the following:
CMake Error at plugins/cmake_install.cmake:54 (file):
  file INSTALL cannot make directory "/usr/local/hdf5/lib/plugin": No such
  file or directory.
Call Stack (most recent call first):
  cmake_install.cmake:94 (include)

This is using an HDF5 that I build and install in a non /usr/local/hdf5 area.  However, in my HDF5 installs, I do not install any plugins, so I don't change the plugin directory from the default (Not sure why HDF5 build does not put the plugin directory path in my install path...)
Now, when I use that HDF5 library, netCDF tries to install its plugins into that same directory, but I don't have write access to that directory and it doesn't even exist...
The fix on my side is to probably specify the hdf5 plugin directory during the build of HDF5, but there is also an issue on netCDF side that if the plugin directory is not writeable by the person running the build, there will be a failure...  Not sure of the correct fix, just reporting an issue...

This is the same as the case with the default install directory which is /use/local. If you are not using sudo you must specify both prefix and plugin dirs.
However most installs will use sudo.
This issue can be closed.

The difference is that I am doing a complete build of both hdf5 and netcdf and specifying the install directories for both and out of the blue once I move up to the next version my builds break because there is now this default plugin directory.
I would think that if there is no HDF5 plugin directory specified, then the default plugin directory would be relative to the install location, not in a system location requiring sudo.
I disagree with "most installs will use sudo" since none of my users need to use sudo for any of the TPL.
I'm fine with closing the ticket since I have a workaround by specifying plugin directories for HDF5 even if I don't use them, but the current default doesn't seem right (But based on discussions I've seen; not sure any default is correct)

I'm also a little confused as to why netCDF is installing files in my HDF5 plugin directory when my HDF5 library isn't using plugins...   Are you expecting HDF5 to recognize this plugin at runtime when it didn't know about it at build time?

Are you expecting HDF5 to recognize this plugin at runtime when it didn't know about it at build time?

Yes, it will actually recognize them at run-time because if you attempt to read a file with compression, and no HDF5_PLUGIN_PATH is explicitly set, then it will search all the shared libraries in the default directory.

Installing plugins there is necessary for zstandard compression to work out of the box. Installing them elsewhere would mean most users could not read zstandard compresses data but would get a filter not found error when trying to.
It's not ideal but is the least worst default.

I would think that if there is no HDF5 plugin directory specified, then the default plugin directory would be relative to the install location, not in a system location requiring sudo.

Frankly we forgot this case. You can of course disable it by using --without-plugin-dir,
but as you say, your users (the same naive ones Ed talks about) will not know to do this
and will get a failure.
Ward -- is it too late for me to make a fix for this?

We did not forget this case, it is the very default case that we are primarily concerned about...

I would think that if there is no HDF5 plugin directory specified, then the default plugin directory would be relative to the install location, not in a system location requiring sudo.

As is clear from this thread, there is no perfect solution.
If you users are installing without sudo then does that mean they do not use compression
at all? Or do you tell them what HDF5_PLUGIN_PATH to use?

We did not forget this case, it is the very default case that we are primarily concerned about...

Sorry, but we did; we have been implicitly assuming that all installs occur using sudo.

If you users are installing without sudo then does that mean they do not use compression
They use zlib (or zlib-ng) and sometimes szip; neither of which require the plugin directory.  I am looking at supporting zstandard and zfp which will require plugin directories, but I then also need to make sure that the downstream application clients also support those plugins (e.g. commercial visualization codes...)

I guess I don't understand why you can't use compression if you don't use sudo...  If I build my own HDF5 and specify the plugin directory, then I can use compression or other filters without requiring sudo.

IF you define the same HDF5_PLUGIN_PATH at both build time
and run-time, then the install will install into the directory
specified by HDF5_PLUGIN_PATH and everything works ok,
even without sudo (assuming that the installer has write access
to the HDF5_PLUGIN_PATH).

@DennisHeimbigner it is not too late, do you think you can have it in today or tomorrow at the latest?  This is the sort of situation I was worried about cropping up; while I understand the technical reasons for the decisions, it is going to lead to confusion insofar as the 'default' configure && make && make install command chain isn't going to work out of the box for people anymore.  This doesn't necessarily require a lot of changes to what we're doing, but we need to make it more explicit.  I'm going to also add a line in the libnetcdf.settings file.  I'd really like to avoid a situation where we have to provide this information on a user-by-user basis, and when one of our power users comes here because the solution isn't immediately obvious, that signals to me we need to do a better job highlighting this information as part of the build process, if nothing else.
I don't want to get bogged down too much, we really, really need to get v4.9.0 out.  But we can spare another day or so to clear up this sort of confusion.

(I'm also working to recover the Windows deployment environment VM I've been using; there's an issue I'm slogging through on my dev machine.  So that gives us a day or so of breathing room to take a look at this.)

I think the number of users who install w/out sudo will be higher than we think.  Since we are adding new functionality that users will not be expecting by default (until we educate them that it is there), and the group of folk who know it's coming will be able to find the correct option, I think we should go with #2 for now, and update this behavior in v4.9.1.  I think that's the easiest path forward.

I will draft something to highlight the addition of compressors, and how to turn them on, to accompany the release notes and announcement.  That should be enough to pique folks interest and give the people who want to play with this (which, the early adopters will be, I suspect, folk who build by hand).  It just occurs to me that going with #1 would break any automated workflow that doesn't use sudo, which includes a lot of our own here at Unidata.

Ward- the fix should this:
In  configure.ac about line 1897 change
 	      [],[with_plugin_dir=yes])
to
	      [],[with_plugin_dir=no])

Similarly, in top level CMakeLists.txt, about line 1122 change
SET(PLUGIN_INSTALL_DIR "YES" CACHE STRING "Whether and where we should install plugins; defaults to yes")
to
SET(PLUGIN_INSTALL_DIR "NO" CACHE STRING "Whether and where we should install plugins; defaults to yes")

Forgot one other change in CMakeLists.txt
change line 1123 from
SET(ENABLE_PLUGIN_INSTALL YES)
to
SET(ENABLE_PLUGIN_INSTALL NO)


Recreate Limelight functionality

With the switch to AprilTags, we must create a reliable replacement for the limelight. Before this is started we must:

[ ] Determine if PID controllers will be run on the Jetson or the Rio
[ ] Determine how to get the data (whether position or power) back to the Rio

Please add this functionality to pose_estimation.py.

Given what the system is capable of, this is an obsolete and unnecessary feature.


Network settings for Azure Key Vault.

When Azure Key Vault is created you need to select from which network locations it will be available:

Public networks
Public networks (selected IP)
Private networks

Which setting should be used for Customer Key? Can private network be used in such case? If not and we want to avoid  allowing access from all IPs what IPs need to be added to allow Office 365 access the Key Vault?

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

ID: 58b6670c-3ed1-97f9-b728-79bb77106206
Version Independent ID: 50934005-9e01-e6ea-21dc-af6735e1faa7
Content: Set up Customer Key - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/customer-key-set-up.md
Service: o365-seccomp
GitHub Login: @KCCross
Microsoft Alias: krowley

@KCCross Please help us and answer this issue. Thanks

@KCCross  Gentle reminder, Kindly answer and help us in resolving this issue. Thanks.

Forwarding to product team. I don't know of any limitations.

@KCCross - I'd probably work with Brijesh Desai on AKV network settings. I have no history configuring Key Vault settings for Customer Key. Sumedh Barde might also be able to opine on best practices.

Yes, Brijesh is the person to ask for this information. Brijesh, please review this issue and make recommendations for updates.

Adding kelley vice for network discussion

AKV access to EXO and SPO is granted by the customer by configuring Access Policy on AKV. The customer grants explicit access to EXO or SPO ServicePrincipal to perform get/wrap/unwrap operations.
Key Vault Auth options are described here: https://docs.microsoft.com/en-us/azure/key-vault/general/secure-your-key-vault#key-vault-authentication-options. Customer Key uses the application-only method for EXO and SPO to access the keys.
So it is up to the customer how they want to restrict access to their AKVs. Customer Key would work as long as the EXO / SPO applications (ServincePrincipal) are granted explicit access to perform get/wrap/unwrap operations on those AKVs.

Hi @brdesai just to clarify how I understand your answer - does it mean that the network location settings are not impacting how EXO and SPO access to AKV is granted and it will work regardless of which setting for AKV network location is being used?

Hi @brdesai just to clarify how I understand your answer - does it mean that the network location settings are not impacting how EXO and SPO access to AKV is granted and it will work regardless of which setting for AKV network location is being used?

EXO and SPO Customer Key should function independent of the AKV network settings as long as the services are granted explicit permission to perform get/wrap/unwrap operations using AKV as called out in the documentation.

EXO and SPO Customer Key should function independent of the AKV network settings as long as the services are granted explicit permission to perform get/wrap/unwrap operations using AKV as called out in the documentation.

@brdesai Thank you very much for sharing this explanation. @Larryngolog Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@brdesai Thank you very much for sharing this explanation. @Larryngolog Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

Thanks a lot, yes now all is clear.

Thanks a lot, yes now all is clear.


Proper way of creating a static connection pool with r2d2

My version:
duckdb = { version = "0.10.1", features = ["bundled", "r2d2"] }
r2d2 = "0.8.10"

I have the following setup for creating a connection pool with r2d2 feature crate:
pub static DUCKDB_CONN_POOL: Lazy<Pool<DuckdbConnectionManager>> = Lazy::new(|| {
    let duckdb_manager = duckdb::DuckdbConnectionManager::memory().expect("DuckDB in-memory");
    let pool = r2d2::Pool::builder().max_size(15).build(duckdb_manager).expect("r2d2 connection pool");
    tracing::info!("NEW DUCKDB CONN POLL CREATED");
    pool
});

It is supposed to be singleton, where once created, would live the whole application lifetime, offering connections from the pool. I'm having some issues, though.

Secrets are being ignored. In order for them to properly work, I need to:
a. get a connection from the pool;
b. configure the secrets (for R2/S3);
c. immediately get another connection from the pool, and only this one will work with the secrets;
More than a single instance of a DB seems to be created?
a. I'm not sure if that is related with the first issue, but subsequente calls from the pooled connections cannot see previously created tables. As if like they don't exist.

Is there something I'm seeing?

Did you manage to fix this issue @mgrazianoc ? Wonder if this is related.
https://github.com/marcboeker/go-duckdb/pull/61

Tbh, I've gave up using a connection pool, and just locked the single connection behind a private Arc Mutex


CDI-DOCUMENTATION-SPANISH

Add documentation in language spanish

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@sercheo87 Looks great!


Picking up aether logs does not grant recipe book recipes

Vanilla logs unlock the wood and plank recipes when picked up. Aether logs do not. This issue applies to other items as well, such as planks

Looks like this is just creating a boat load of JSON files.

Oh, how this aged like milk

This issue has been partially resolved for b1.6.5, and will be finalized in b1.7
b1.6.5 only will have recipe book support for the plank, bark, boat, and slab recipies for wood types (Enough for a started player). It is subject to team approval whether this should be extended to all blocks, or kept as is to retain some complexity.

This has been fixed in 1.6.5+. Thanks for reporting!


Pull request for hints code

All commits messages should be of the form:
affected package[s]: short description
empty line
Extended description.
Note: no CAPS/dot at the end on the first line. That's the format used by Linux kernel and a bunch of other projects for good reasons.

Other high level things:

verify your account as Google-affiliated so that CLA bot does not complain
make sure 'make presubmit' passes locally
make sure travis build passes
check-in generated files (sys/const)


Sometimes very bad performance of cblas_sgemm on Samsung S7 (and other Exynos phones?) with OMP_NUM_THREADS=4

The following code
#include "cblas.h"
#include <chrono>
#include <random>
#include <algorithm>
#include <limits>
#include <iostream>

int main(int argc, char** argv) {
    constexpr int m = 128, n = 64, k = 768, attempts = 100;
    float a[k * m], b[n * k], c[n * m];
    std::minstd_rand gen;
    std::fill_n(c, n * m, 0);

    int min = std::numeric_limits<int>::max(), max = std::numeric_limits<int>::min();
    double sum = 0;
    for (int i = 0; i < attempts; i++) {
        std::generate_n(a, k * m, gen);
        std::generate_n(b, n * k, gen);
        auto start = std::chrono::steady_clock::now();
        cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, m, n, k, 1.0,
                    a, k, b, n, 1.0, c, n);
        int diff = std::chrono::duration_cast<std::chrono::microseconds>(
            std::chrono::steady_clock::now() - start).count();
        sum += diff;
        min = std::min(min, diff);
        max = std::max(max, diff);
    }
    std::cerr << "Min: " << min << ", max: " << max << ", mean: " << sum / attempts << "\n";

    return 0;
}

gives consistent results on my Samsung S7 Edge (the Exynos version) when run with OMP_NUM_THREADS=2:
hero2lte:/ $ for i in 1 2 3 4 5 6 7 8 9 10; do OMP_NUM_THREADS=2 /data/local/tmp/encoder_sample; done
Min: 1206, max: 5058, mean: 1270.65
Min: 1200, max: 4829, mean: 1259.47
Min: 1207, max: 4751, mean: 1262.73
Min: 1212, max: 5921, mean: 1295.69
Min: 1205, max: 4738, mean: 1270
Min: 1212, max: 4637, mean: 1267.83
Min: 1203, max: 5318, mean: 1266.7
Min: 1218, max: 4621, mean: 1274.14
Min: 1214, max: 4861, mean: 1287.41
Min: 1205, max: 4965, mean: 1277.11

But OMP_NUM_THREADS=4 gives something like
130|hero2lte:/ $ for i in 1 2 3 4 5 6 7 8 9 10; do OMP_NUM_THREADS=4 /data/local/tmp/encoder_sample; done
Min: 1050, max: 14507, mean: 1291.4
Min: 1400, max: 13520, mean: 1599.03
Min: 1381, max: 13113, mean: 1571.65
Min: 1393, max: 9575, mean: 1580.16
Min: 55965, max: 98585, mean: 65195
Min: 945, max: 43219, mean: 2431.44
Min: 1275, max: 68717, mean: 2700.56
Min: 55915, max: 103316, mean: 64446.7
Min: 926, max: 80020, mean: 9143.66
Min: 1265, max: 6865, mean: 1479.05

As you can see, most runs are fine but there are not just bad outliers but runs where the miminum result is awful. We've also seen similar problems with our actual code on S9, but some other phones work fine, so my guess is that the problem might be Exynos CPUs (haven't tried a non-Exynos Samsung).
Built according to https://github.com/xianyi/OpenBLAS/wiki/How-to-build-OpenBLAS-for-Android#build-armv8-with-clang. I tried compiling develop branch and the 0.3.9 release, using TARGET=ARMV8 and TARGET=CORTEXA57.

Seeing that the S7 has an Exynos with four fast and four slow cores, a possibility could be that OpenMP tasks get scheduled onto some or all of the slower ones sometimes.  Can you try to bind processes to specific cores with OMP_PLACES ?

I thought I'd have to figure out which cores are which, but just OMP_PLACES=cores appears to solve the problem. The strange thing is that one of the phones which doesn't have the problem is also 4+4 (Honor 8, 4x2.3 GHz Cortex-A72 & 4x1.8 GHz Cortex A53). Thank you!

Thanks for the feedback, I have amended the FAQ in the wiki accordingly.

Fun addition: for OMP_NUM_THREADS=2, OMP_PLACES=cores halves the performance (I've tried to find another value which doesn't, but unsuccessfully). Maybe also change the title in the FAQ from "on my ARMV7 board" to "ARM" or "ARMV7/ARMV8"?

Fun addition: for OMP_NUM_THREADS=2, OMP_PLACES=cores halves the performance (cores(2) is the better alternative at least on this phone).
Maybe also change the title in the FAQ from "on my ARMV7 board" to "ARM" or "ARMV7/ARMV8"?

Guess that deserves its own FAQ entry rather than being tacked onto the ARMV7 topic. The num=2 result is "interesting" - wonder if specifying just "cores" makes a thread wander about and lose its cache, and/or if that is intended behaviour or a bug in libgomp...


Version mapping for PR must be lowercase

Description
When performing account version mapping, you can't use uppercase for ConfigMaps metadata.name field:
Error from server (Invalid): error when creating "overrides": ConfigMap "tracing-global-overrides-PR-123" is invalid: metadata.name: Invalid value: "tracing-global-overrides-PR-123": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

On the other hand, the uppercase format is needed for fetching kyma-installer.yaml file properly:
https://github.com/kyma-project/control-plane/blob/9465c2f0d2e65053657d94d2769602f82b02d15f/components/kyma-environment-broker/internal/runtime/provider.go#L166-L171
Changes proposed in this pull request:

Changed kymaVersion string handling when processing versions from PR to lowercase for example pr-123

Related issue(s)

not needed: logic works fine, only the suffix in ConfigMap name needs to be lowercase.


android splash new API in 12

Now, Android is using icon in splash.
https://developer.android.google.cn/about/versions/12/features/splash-screen
Usually there is no problem, but mismatch in case of dark theme
So, I need some customize splash both ios and android for same looks
flavors:
    prod:
      app:
        name: "apple"
        icon: "images/launch_icon.png"
        splash_background_color: "#FFFFFF" // like this or _dark or etc..

Hi @xpwmaosldk , can you customize these settings manually after you ran flutter_flavorizr?


Count function merge failed

Bug Report

What version of Pisanix are you using?
pisanix v0.3.1
What operating system and CPU are you using?
Steps to reproduce
MySQL [mysqlio_test]> select count() from t_order;
+----------+
| count() |
+----------+
|        1 |
|        1 |
+----------+
What did you expect?
in Sharding, after count computing, result should be merged
What did happened?

I will check on it.


Chat commands are different for PoE2

There is no distinction between to and from in the logs for PoE2, for unknown reasons.
PoE2:
2024/12/13 18:00:54 29126453 3ef2336d [INFO Client 17856] @xxx: test test
2024/12/13 18:04:04 29316421 3ef2336d [INFO Client 17856] @xxx: test

PoE1:
2024/12/11 10:18:45 326447218 cff94598 [INFO Client 37516] @From xxx: test

Duplicate of #340


rename unittest package to unit_test

This issue was originally filed by @seaneagan

in order to align with the style guide:
http://www.dartlang.org/articles/style-guide/#do-name-libraries-and-source-files-using-lowercasewithunderscores

This issue has been moved to dart-lang/test#209.


Document IREE's views on type support

(In general, I think it would be useful to document more parts of IREE's compiler and runtime architecture)
IREE aims to support a variety of frontends and backends, and uses a soup of MLIR dialects and passes to connect between them. Each layer of this aggregate system has its own views on types. Sometimes these views are explicit, such as through a spec and set of extensions in Vulkan. Sometimes they are based on established code patterns that make sense at a specific design layer.
Type support for float16, boolean, int64, int8, etc. has come up across several PRs and issues[1], so I think it would be useful if we had a central place (e.g. a markdown file, a page on our website, this issue?) that lays out our views on how types are / should be handled at the various layers we interact with.
Some points I'd like to see covered:

index types vs specific bit depths
how to represent boolean types efficiently down through codegen to targets with no native support for lower bit depth integers
how to handle 64 bit types (and the fact that many targets we care about either do not support them, or only support them optionally)
fixed-point operations (where bit exactness matters), see https://llvm.discourse.group/t/fixed-point-integer-operations/2995
when to truncate or pad, when to emulate, and when to bit pack (or maybe just some general acknowledgement that there are various ways to map from an input set of types to an output set of types while preserving correctness)

[1] For example: https://github.com/google/iree/issues/3102, https://github.com/google/iree/pull/3066, https://github.com/google/iree/issues/958, https://github.com/google/iree/issues/3536, https://github.com/google/iree/issues/2574, https://github.com/google/iree/issues/5240

I would love to see this documentation also exist as more helpful error messages. A lot of the time we have things getting way too far with an unsupported type such that the error mode is very confusing

I'll start a page for this.


Fail to detect internet connection

Using 5.3.0, the server side configuration according tot he example is:
{
  "inbounds": [
    {
      "port": 16823, // Server listening port
      "protocol": "vmess",    // Major incoming protocol
      "settings": {
        "clients": [
          {
            "id": "MY_UUID",  // UUID, must to be kept the same between server and client.
            "alterId": 64
          }
        ]
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",  // Majoy outcoming protocol.
      "settings": {}
    }
  ]
}

The client configuration is

{
  "inbounds": [
    {
      "port": 1080, // Listening port
      "protocol": "socks", // Incoming protocol is SOCKS 5
      "sniffing": {
        "enabled": true,
        "destOverride": ["http", "tls"]
      },
      "settings": {
        "auth": "noauth"  // Authorisation setting of socks protocol. Here, noauth means no authorisation, beacuse in general socks only used in client side, so no need to authorise.
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "vmess", // Outcoming protocol
      "settings": {
        "vnext": [
          {
            "address": "MY_IP", // Server address, yoou need to edit this to your own IP address/domian.
            "port": 16823,  // Server listenning port.
            "users": [
              {
                "id": "MY_UUID",  // UUID, must be as same as server side
                "alterId": 64 // AlterID should be as same as server side
              }
            ]
          }
        ]
      }
    }
  ]
}

As you can see server side is fine.
# v2ray version
V2Ray 5.3.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.20 linux/amd64)
A unified platform for anti-censorship.
# systemctl restart v2ray
# systemctl status v2ray
● v2ray.service - V2Ray Service
     Loaded: loaded (/etc/systemd/system/v2ray.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/v2ray.service.d
             └─10-donot_touch_single_conf.conf
     Active: active (running) since Mon 2023-02-27 08:53:52 UTC; 5min ago
       Docs: https://www.v2fly.org/
   Main PID: 1931 (v2ray)
      Tasks: 6 (limit: 1030)
     Memory: 9.2M
        CPU: 75ms
# ss -lnpt | grep v2ray
LISTEN 0      4096               *:16823            *:*    users:(("v2ray",pid=1931,fd=3))

When I import the client configuration file into V2rayNG (android app), I click on connect and it says successful. However, when I tap "test connection", it says:
Fail to detect internet connection: context deadline exceeded.
The internet connection is fine, because without v2 websites are reachable on my Android phone.
Any idea about that?

Here is a checklist

[ ] 1. Server respons to ping
[ ] 2. Server respons to TCP SYN
[ ] 3. Server has a firewall, such as UFW, and port 16823 is open
[ ] 4. Your connection to server via VMESS over TCP is not blocked by whatever national firewall you have

If you server is indeed blocking connections to port 16823 you can in most case open it by running sudo ufw allow 16823.
Also check the firewall of your cloud provider or CDN.
Finally, VMESS over plain TCP is mostly dead meat. I think you want at least VMESS over TLS.

I changed the client config to "destOverride": ["tls"].
As you can see below, ufw settings are fine.
# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
# ufw allow 16823
Rules updated
Rules updated (v6)
# ufw status
Status: active

To                         Action      From
--                         ------      ----
16823                      ALLOW       Anywhere
16823 (v6)                 ALLOW       Anywhere (v6)
# ss -lnpt | grep v2ray
LISTEN 0      4096               *:16823            *:*    users:(("v2ray",pid=562,fd=3))
# systemctl restart v2ray
#

How can I check 1 and 2 in the checklist?
When I use my computer (using the same network as my phone), I can ping the server via command line.
I have an older V2 virtual machine on a cloud (the same cloud provider) and it works. But I am not able to make 5.3.0 working now.

BTW, the following log files are empty means that the client doesn't reach the server.
# cat /var/log/v2ray/access.log
# cat /var/log/v2ray/error.log
2023/02/27 08:33:53 [Warning] V2Ray 5.3.0 started

"destOverride" is used to correct destination addresses, and have nothing to do with this connection issue.

Use ping command. On Android, you can use Termuxto access it.
Run curl and tcpdump, look for normal and complete TCP handshake

Are you sure you are using VMESS on TCP? It's easy meat for suppressive firewalls.

BTW, the following log files are empty means that the client doesn't reach the server.

Check if normal connection, like HTTP or SSH, to your server can be made. If not, you server has been blocked.

I can SSH to the server via my computer.

Are you sure you are using VMESS over TCP? It's easy meat for suppressive firewalls.
How can I check that? I already pasted the server and client in the first post. Which item should I check?

The configuration you posted uses VMESS over plain TCP, which could easily be targeted by firewalls. A common practice is to use VMESS with TLS, which should be more resistant to blocking.
If you can connect to your server by normal means, but not by VMESS, then TLS may help.
You can look for answers at https://guide.v2fly.org/advanced/tls.html.

OK I am following that guide for TLS. It seems that a domain name is mandatory. Am I right? Does that mean in case of having a VM with valid IP, that is not enough?

Domain name is required for valid TLS certificates and CDN, not required for self-signed certificates.
Regular domain names are cheap.
nic.eu.org and nom.za offer free domains.
afriad.org offer free subdomains (cannot be used with CDN).

OK I will try and come back later. Thanks.


'Conv2D' object has no attribute 'W'

Code Snippet:
def plot_filters(layer, x, y):
filters = layer.W.get_value()
...........
plot_filters(model.layers[0], 8, 4)
Error:
AttributeError: 'Conv2D' object has no attribute 'W'
====================================
I am using:
tensorflow==1.1.0rc0 Keras==2.0.2
Could version be a problem? What versions should be used?

Please read: https://github.com/fchollet/keras/wiki/Keras-2.0-release-notes
Also, code tells you everything. Change to layer.kernel, layer.bias

Still don't know how to solve the problem? Can you explain more details.

def plot_filters(layer, x, y):
    # Change layer.W to layer.kernel since API variable name has changed in Keras 2
    filters = layer.kernel.get_value()
    ...........

plot_filters(model.layers[0], 8, 4)

This feed helps me a lot!
As a Keras newbie, I was having trouble with deprecated codes.
layer.W is one of them.

I'm trying to visualise weights in the layers. Here's the code:
def plot_filters(layer, nrows = 1, ncols=1):
        """Plot the filters for convolution layer number (layer),
        plotted in nrows by ncols layout"""

        filters = layer.kernel.get_value()
        fig = plt.figure()...

plot_filters(model.layers[0], 4, 4)

It's coming back with AttributeError: 'Variable' object has no attribute 'get_value'

@d8sconz Please check what kind of layer is model.layers[0], I believe it is Input layer or any layer except Convolutional layer.

Yes, that's the input layer. Same issue with layer[1] though which is a conv2D layer. I actually changed the code back to post to  keep in  line with original issue (layer[0]). I've gone with:
filters = model.layers[layer].get_weights()[0][:,:,0,:]
It gives me pretty visuals for both layer[0] and layer[1]. I'm not sure if it's what I actually need though, LOL. Still getting my head around it all.

hello evryone, I am trying the get the weight matrix, but im getting some error here
autoencoder.layers[3].kernel.get_value()
AttributeError: 'Variable' object has no attribute 'get_value'
im using keras(backend tensorflow).
Can someone please tell me whets wrong im doing?

getting 'Conv2D' object has no attribute 'nb_filter'
what's the issue?

AttributeError: 'Conv2D' object has no attribute 'layers'
Any help?

AttributeError: 'Conv2D' object has no attribute '_batch_input_shape'
What's wrong here?Thanks a lot!

AttributeError: 'Conv2D' object has no attribute '_batch_input_shape'
What's wrong here?Thanks a lot!

save problem. Any help yet ?


Validate generation more extensively

I believe https://github.com/elastic/elasticsearch-specification/pull/2548 broke OpenAPI generation: https://github.com/elastic/elasticsearch-specification/actions/runs/9712341316/job/26806908311, which prevented the "Generate output" step to run.
Adding all necessary steps in make contrib and running them during PR validation will help notice those issues before merging.

https://github.com/elastic/elasticsearch-specification/actions/runs/9739075639/job/26873669785?pr=2662 is failing as expected. We can merge this when the build is fixed, in this pull request or another one.


Too much jobs :(

CI complained about the number of jobs
Continuos Delivery: .github#L1
Strategy produced more than 256

Think how to solve this issue

Going to follow the first idea, but it will happen again once numbers get to big, so still needs a proper solution


Multiple Emails

Just like multiple file share ( urls ), please add this features for email address.
let shareOptions = {
urls: [image1, image2],
emails: [email1, email2],
....
};

You can share multiple like this: email: 'email1, email2'

Hey @VinitBhavsar can you check if this works for you?


add audit enable to role

expose audit enabled flag in athens ui
Signed-off-by: nsegal<EMAIL_ADDRESS>

@noy93845 server side changes look fine. please follow up with Roy to review UI changes and once Roy approves the changes, we'll merge this PR.


Fix XSS and spoofing issues in widget.js

This patch ensures that the message event comes from the iframe and nobody else.
Further it ensures that navigation triggered by message passing actually navigates to another website and does not allow javascript URLs which is a Cross-Site-Scripting vulnerabilities.
If you do not take this patch, people who add widget.js to their web page might introduce a security vulnerability.

Thanks so much for this @mozfreddyb . I created a new PR that does the same checks, but supports all browsers so the widget doesn't break in Internet Explorer: #79

Closing this due to #79


Unify code path for metaseq and metaseq-internal

Currently we have 2 versions of sweep.py and slurm.py: One version is used when a opt_baseline script is run from metaseq and the other version is used with sweep_baseline from metaseq-internal. Maintaining both versions adds unnecessary complexity to the code base and makes testing more difficult.
This PR brings most features of the sweep and slurm file from metaseq-internal to metaseq, in preparation of deleting these files in metaseq-internal.
Here some notes:

brought in the tombstone feature
metaseq-internal had a wrapper (to log some worker info) around the training script "train_wrapper.py" that I now moved to the train.py file
there was some shuffling around in the path logic for the train command in slurm.py, so that it will now work independently of the user's working directory

Some things were not brought in (i.e. flags without use).
For a number of other features that I included I'm not sure if they are actually used currently:

post_cmds
container_image and container_save
array_length
args.dep and args.sequential
Should these stay?

Issue: https://github.com/facebookresearch/metaseq/issues/472
Internal PR: https://github.com/fairinternal/metaseq-internal/pull/558
Testing:
python metaseq/launcher/opt_baselines.py --prefix train.8m --model-size 8m --checkpoints-dir ./test-checkpoint --tensorboard-logdir ./test-checkpoint --num-trials 1 --azure --num-gpus 4 --num-nodes 1 --seed 1 --circleci --local --disable-validation --max-epoch 100 --max-update 100

Fixed the hardcoded base directory in tombstones feature for rsc.
Can someone approve this here and the internal PR as well? Thanks!

Thanks, Stephen!


[Dark Theme] Unreadable source code mode switch

Hi @ReykerBlack.
I'm not sure what I'm looking at here. What OS are you using? Where is this control located?

Fixed in v1.0.2.
Thanks for filing the PR, @ReykerBlack!


BI-1440 - ISSUE: ERROR message in banner calls out "scale data type" when field is "scale class"

Description
Story: Please include a link to the story in Jira

Changed scale datatype to scale class in message

Dependencies

bi-web develop

Testing

Follow process in JIRA card and verify error message is as expected.

Checklist:

[x] I have performed a self-review of my own code
[x] I have tested my code and ensured it meets the acceptance criteria of the story
[ ] I have tested that my code works with both the brapi-java-server and BreedBase
[ ] I have create/modified unit tests to cover this change
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to documentation
[ ] I have run TAF: <please include a link to TAF run>

passed test


Add runtime upgrade and compatibility tests to workflow

[ ] add test for backward compatibility - try to run build against current chain
[ ] add runtime upgrade test and prepare to run integration test with halva

@martinfridrich we already have runtime upgrade test in parachain, do we still need anything from this issue?

This issue was about testing runtime upgrade with fork-ed chain and integrations tests. It probably can be closed, we decided to go different direction.


Improve documentation

Include more informations in the README.

Done in version 1.0.0.
https://github.com/romuloalves/micro-post/tree/v1.0.0


Lights transpasing rooms through walls

Checklist:

[x] I updated to the latest version available
[ X] I cleared the cache of my browser

Release with the issue:
Last working release (if known):
Browser and Operating System:
I'm using Chrome latest version
Description of problem:
Hello, first of all congratulate you on your work, it's amazing, really. I have a small problem and it is that the lights go through the walls as you can see in the image, any solution? Thank you

Javascript errors shown in the web inspector (if applicable):

Additional information:

Hello @jgarmar, if you do not want this to happen, you need to use the shadow card parameter. Just set it like:
shadow: 'yes'

bear in mind that this feature is consuming a lot of PC resources and that when you activate the shadow you can only have in your scene less a number of lights than is less than the number of "Max Texture Image Units" you will find in this report https://webglreport.com/?v=2, Since v1.1.5 of the card I have introduced the possibility to remove the shadow at light entity level for the lights you do not want to cast the shadow like this:
entity: <light entity>
    .....
    light:
         shadow: 'no'


999Hentai: Rebrand to AnimeH

Closes #4151
Checklist:

[x] Updated extVersionCode value in build.gradle for individual extensions
[ ] Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
[x] Referenced all related issues in the PR body (e.g. "Closes #xyz")
[x] Added the isNsfw = true flag in build.gradle when appropriate
[ ] Have not changed source names
[x] Have explicitly kept the id if a source's name or language were changed
[x] Have tested the modifications by compiling and running the extension through Android Studio
[x] Have removed web_hi_res_512.png when adding a new extension

How to change 999hentai to animeh.to in my tachiyomi?

@Norsze I cant update it it didnt show update iconic but it show "obsolete"

@Norsze I cant find it

@Norsze ok thanks for replying to my question


Oracle and new Id

Each table that has translatable fields failed to create new records.
The error is this:
[InvalidArgumentException]
The given entity has no identity.
I checked the tables and the strategy for id generatiorn is auto, and that means sequences for Oracle.
The table EXT_TRANSLATIONS has a sequence inside Oracle (EXT_TRANSLATIONS_SEQ), nevertheless, the record creation fails in the table that contains the fields o be translated. I pressume the error comes from the no new insertion of record in the translation table.
When I remove the fields that are translatable from the table, the new record creation works fine.
Any ideas about what is happening?

See l3pp4rd/DoctrineExtensions#257 instead


Paris StreetView dataset

Hi Taeksoo,
thanks a lot for sharing this code! :) Which version of the Paris StreetView dataset did you use for your training? Did you contact the authors to get exactly their version or use their script to scrape StreetView for your own version?
Best,
Christoph

I have the same problem.

Which other dataset can I use? I cannot find Paris StreetView. Plus what is the alternative of using a .pickle file.

can i use just a image, how can i get the "...pickle" training set?

I have the same problem.

http://www.iapr-tc11.org/mediawiki/index.php/The_Street_View_Text_Dataset
Written following lines in the READme file of codes regarding above dataset....
"Unfortunately we cannot publicly distribute the data used
in the paper, since Google is subject some legal obligations with respect to
all Street View data."
@docsong


Page 3: Make it possible to select an LAD from the map

When you hover over the maps, you can currently see a tooltip.

It would be nice if a user could click on an LAD, the map zooms into that LAD and the other tables / map all filter as if that LAD has been selected in the relevant dropdown.

Couple of helpful starting points
https://stackoverflow.com/questions/33261202/in-leaflet-js-how-do-you-focus-the-map-on-a-polygon-that-is-being-highlighted-b
https://forum.posit.co/t/shiny-leaflet-link-map-polygons-to-reactive-plotly-graphs/40527


CheckQueue

Noticed you removed the CheckQueue function from the client scripts, but are still calling it in updateMessage, sendFile and sendMessage functions. This breaks these functions. Is there a solution to this other than manually copying the old checkqueue function back in the client scripts?

Hi, adding the queue convoluted the code quite a bit, so I don't think I'll be adding it back anytime soon.
However, you can add the code back yourself or you can make a helper function in your own code, sorry about that!


Error: Prefix fasta file does not exist! Please check output path

Hi Kinsey,
I am interested in these exciting tools. I was trying to apply it to my data as follows:
hmmstr targets_tsv input.txt ./C9ORF72 C9ORF72_1.fasta

The error shows:
Prefix fasta file does not exist! Please check output path
Prefix fasta file does not exist! Please check output path
Prefix fasta file does not exist! Please check output path
Prefix fasta file does not exist! Please check output path
Prefix fasta file does not exist! Please check output path
Prefix fasta file does not exist! Please check output path
Prefix fasta file does not exist! Please check output path

I have C9ORF72_1.fasta and input.txt in my working directory.
I have no idea how to resolve this. I would appreciate any comments on this.
Best,
Hsin

Hi Hsin,
First thank you for your interest in trying out HMMSTR! This error is thrown when the prefix.fa file does not exist. This may occur when there are no prefixes and/or suffixes detected in the input tsv. To solve this I would ensure that your input file contains both the expected header (name, prefix, repeat, suffix in tab delimited format) as well as at least one intended target. Please let us know if you have any other issues!


Limit PTR requests

Why change that setting?
(It doesn't exist by default)
Also looks like this is only for Windows 2000 and Server 2003 relevant:
https://support.microsoft.com/en-us/help/246804/how-to-enable-or-disable-dns-updates-in-windows-2000-and-in-windows-se

@beerisgood Thanks for checking, I haven't looked at this repository for some time.
Please feel free to "watch" it as I will be updating the materials in 2020.
Also, contributions are more than welcome.


[$250] Infinite loading on members list on refreshing transfer owner success page & back to members list

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.64-0
Reproducible in staging?: y
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail: n/a
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
Precondition:
User is an admin of a collect workspace where the owner is someone else

Go to the workspace page and open the collect workspace
Open members page
Click on the owner
Click on "Transfer owner"
When the success page loads refresh the page
Tap back button twice till member listing page is displayed
Wait for few seconds (Note: Infinite loading appears)
Refresh the members listing page & wait for few seconds & observe endless loading occurs again

Expected Result:
Transferred roles get updated & member listing is displayed
Actual Result:
Infinite loading appears on WS members listing after refreshing the transfer owner success page & going back to members listing page
Note :

Issue reproducible on Android & iOS app as well when background app on member listing page & reopen it (Video attached for Android app)
Issue doesn't get resolved when members listing page is refreshed on step 7 as endless loading is seen again after few seconds

Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/43996225/184ab6b6-a5f9-4764-bcce-1677d98d116b

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~010e809f2c16a22ffe
Upwork Job ID:<PHONE_NUMBER>073084416
Last Price Increase: 2024-05-21

@anmurali  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

Exporting this and demoting it seems to be quite rare reproduction steps

@fedirjh reassigning, please take over as C+. If you don't have bandwidth, unassign yourself. Thanks

Awaiting proposals

Issue not reproducible during KI retests. (First week)

Issue not reproducible during KI retests. (Second week)

Going to close this out for now given that we were unable to reproduce here:  https://github.com/Expensify/App/issues/40746#issuecomment-2123851010


Precipitation Probability >0 with no accumulation

Thanks.  My results have been looking good too for the past 10 days or so.  However, right now I'm seeing 19% probability and 0 for accumulation on day 0.  Does that sometimes happen or should accumulation always be >0 if probability is >0%?
Originally posted by @jhemak in https://github.com/Pirate-Weather/pirateweather/issues/205#issuecomment-2113473313

I created a new issue for you from your comment @jhemak. I think that may happen sometimes but I'll also ping @alexander0042 to confirm for you.

From my experience you can get precipitation probability >0 without any precipitation if the probability is low enough. I've used other APIs in the past where it has a probability >0 with no precipitation so it's not completely unheard of for it to happen.
Will ping @alexander0042 again to confirm if this is intended behaviour

Thanks for the updated ping! Was travelling for a bit there, so behind on this.
Yes, I can confirm that you can get a probability >0 with no precipitation. It's because they're sometimes coming from different sources or different models, and the ensemble will sometimes show a chance of something but not confident in any amount. Basically, one is probabilistic, the other deterministic. Should update the docs though, so thanks for creating that issue!


RetroArch on Startup Instead of EmulationStation

Using a RG353M on ArkOS v2.0 (08/23/2024)
I personally prefer using the RetroArch front-end over EmulationStation.
Currently I just boot into EmulationStation and have to press a couple buttons before I can go into RetroArch.
Could there be a feature added to choose my preferred front-end? I understand that EmulationStation has special menus for system management; however, I'd prefer to just quit out of RetroArch manually to return to EmulationStation than to have to manually enter into RetroArch upon every startup.

That's been possible for awhile already.  See here how to easily achieve this. https://github.com/christianhaitian/arkos/wiki/Frequently-Asked-Questions---rg353m#q-what-is-bart-and-how-do-i-access-it


A more "modern-ish" looking web client

Although I don't think this is good enough to keep around forever, hopefully, I've been able to make some looks improvements to the GUI. If you have any suggestions on what I could do better, please feel free to let me know, and I'll do my best to work on them. If you'd rather not have this pull request go through for one reason or another, no worries!
EDIT: Some notes about the changes:

It uses a CSS framework called Bulma, mainly for the buttons.
Because I'm not sure how you're going to want a GUI to look later down the road, I tried my best not to change much about what text, etc., you already have.

Thanks! BTW I prefer tabs over spaces but that's fine for now since we'll likely be ditching this file and using the React version that linked in a fork. Although I'd still like for this client.html to work as a simple version that's easy to deploy and for people to use locally.


Unable to find "tslint" command

Hi,
I am getting this error when try to start new RC0 project
using
ionic start test sidemenu --v2 --ts
cd test
ionic serve

[15:56:37]  lint failed:  Unable to find "tslint" command: null

[15:56:37]  Error: Unable to find "tslint" command: null
    at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\dist\lint.js:38:20
    at runTsLint (C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\dist\lint.js:35:12)
    at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\dist\lint.js:22:13
    at FSReqWrap.oncomplete (fs.js:82:15)

[15:56:37]  copy finished in 333 ms
[15:56:37]  bundle dev failed:  Could not resolve '@angular/platform-browser-dynamic' from C:\Users\vinodhum\Desktop\App-v1\plus\src\app\main.dev.ts

[15:56:37]  Error: Could not resolve '@angular/platform-browser-dynamic' from C:\Users\vinodhum\Desktop\App-v1\plus\src\app\main.dev.ts
    at Error (native)
    at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\dist\rollup-plugin-node-resolve.cjs.js:78:21
    at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\browser-resolve\index.js:265:24
    at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:46:14
    at process (C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:173:43)
    at ondir (C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:188:17)
    at load (C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:69:43)
    at onex (C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:92:31)
    at C:\Users\vinodhum\Desktop\App-v1\plus\node_modules\@ionic\app-scripts\node_modules\rollup-plugin-node-resolve\node_modules\resolve\lib\async.js:22:47
    at FSReqWrap.oncomplete (fs.js:82:15)

here is output of "ionic info"
$ ionic info

Your system information:

Cordova CLI: 6.2.0
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.0.0-beta.20
OS: Windows 8.1
Node Version: v4.6.0

here is what I have tried to resolve it
uninstall - reinstall ionic, gulp,nodejs
tried deleting %appdata%
then install everything again.
then install fresh new OS and then tried installing everything again.
but still same error.

I'm Chinese. my friend happennd to the same issue. I try to several times to make the same error, finally i reproduce the error. I use npm install never find the the error. but when i try to  use cnpm install ,it happens to the error. the project may need to download packages from github, maybe u need to use gitbash to download the project and run it.

Hello, thanks for using Ionic! This is caused by you running NPM 2, for RC0 we require NPM 3. Node 4 unfortunately still installs NPM 2 by default, but you can update to NPM 3 by running npm install -g npm. You can also install Node 6 which will give you NPM 3 by default. Node 6 is scheduled to become the new LTS release this month, so this may be your better bet. Thanks!

thanx, finally installing Node 6 resolved it.

this is not just npm version problem. i always use<EMAIL_ADDRESS>but also happened to the problem. now my npm is 3.10.7.I try to use ionic start demo --v2 to create initial project. first time is failed, and i try to npm install and cnpm install to install relay package, it happens to ok. but my friend try also failure, so i want to check out the resoure-problem. i delete node_modules file. and npm install again. the problem is always at there. i have no idea about the problem.
i think the demo project may need to use git to download relay from github or npm.I am in Chinese mainland . maybe it's the problem to network.
Anyone can try to delete ur node_modules and install again to reproduce the problem?

I get the unable to find ts lint command as well. The project can serve, but it cannot build to ios.
I've tried uninstalling and reinstalling node, npm, ionic & cordova.
Here's my system
Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.7.0
Xcode version: Xcode 8.0 Build version 8A218a
$ ionic start test --v2
$ ionic build ios
Running 'build:before' npm script before build

ionic-hello-world@ build /Users/haydenbrown/Desktop/ionicProject/myapps/test
ionic-app-scripts build
[21:42:46]  ionic-app-scripts 0.0.30
[21:42:46]  build prod started ...
[21:42:46]  clean started ...
[21:42:46]  clean finished in 7 ms
[21:42:46]  copy started ...
[21:42:46]  ngc started ...
[21:42:46]  lint started ...
[21:42:46]  lint failed:  Unable to find "tslint" command: null

[21:42:46]  Error: Unable to find "tslint" command: null
at /usr/local/lib/node_modules/@ionic/app-scripts/dist/lint.js:38:20
at runTsLint (/usr/local/lib/node_modules/@ionic/app-scripts/dist/lint.js:35:12)
at /usr/local/lib/node_modules/@ionic/app-scripts/dist/lint.js:22:13
at FSReqWrap.oncomplete (fs.js:123:15)
[21:42:46]  copy finished in 38 ms
[21:42:46]  ngc: module.js:457
throw err;
^
Error: Cannot find module 'typescript'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/Users/haydenbrown/Desktop/ionicProject/myapps/test/node_modules/tsickle/build/src/tsickle.js:7:10)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
[21:42:46]  ngc failed:  NGC encountered an error
[21:42:46]  Error: NGC encountered an error
at ChildProcess. (/usr/local/lib/node_modules/@ionic/app-scripts/dist/ngc.js:62:24)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Socket. (internal/child_process.js:334:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:493:12)
Error running ionic app script "build": Error: NGC encountered an error
npm
ERR! Darwin 15.6.0
npm
ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm
ERR! node v6.7.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! ionic-hello-world@ build: ionic-app-scripts build
npm ERR! Exit status 1
npm ERR!
npm
ERR! Failed at the ionic-hello-world@ build script 'ionic-app-scripts build'.
npm ERR!
Make sure you have the latest version of node.js and npm installed.
npm ERR!
If you do, this is most likely a problem with the ionic-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!
ionic-app-scripts build
npm ERR! You can get information on how to open an issue for this project with:
npm
ERR!     npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ionic-hello-world
npm
ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/haydenbrown/Desktop/ionicProject/myapps/test/npm-debug.log

Seems to happen wth yarn as well

@jgw96 i have the same issue when i run "npm run build"
i tried everything:deleted all my files cordova\ionic\npm\node\node_modules and then installed again.
i have npm 3.10.8 and node 3.10.8

;int failed: Unable to find "tslint" command: null
[16:43:35] Error: Unable to find "tslint" command: null
at C:\Users\Adir\development\eventApp\node_modules\@ionic\app-scripts\dist\lint.js:38:20
at runTsLint (C:\Users\Adir\development\eventApp\node_modules\@ionic\app-scripts\dist\lint.js:35:12)
at C:\Users\Adir\development\eventApp\node_modules\@ionic\app-scripts\dist\lint.js:22:13
at FSReqWrap.oncomplete (fs.js:123:15)
[18:25:35] copy finished in 32 ms
[18:25:35] ngc failed: Unable to find Angular Compiler "ngc" command: null. Please ensure @angular/compiler-cli has been installed with NPM.
[18:25:35] Error: Unable to find Angular Compiler "ngc" command: null. Please ensure @angular/compiler-cli has been installed with NPM.
at C:\Users\Adir\development\eventApp\node_modules\@ionic\app-scripts\dist\ngc.js:40:20
at runNgc (C:\Users\Adir\development\eventApp\node_modules\@ionic\app-scripts\dist\ngc.js:34:12)
at C:\Users\Adir\development\eventApp\node_modules\@ionic\app-scripts\dist\ngc.js:18:16
Error running ionic app script "build": Error: Unable to find Angular Compiler "ngc" command: null. Please ensure @angular/compiler-cli has been installed with NPM.

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
npm ERR! node v6.7.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! ionic-hello-world@ build: ionic-app-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ build script 'ionic-app-scripts build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ionic-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ionic-app-scripts build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Adir\development\eventApp\npm-debug.log

C:\Users\Adir\development\eventApp>


How to use this library with an imported .md file rather than a string literal?

Hi, do you or any users of this library have some example code on how to use this library in React Native with an imported local (or indeed, remote) .md file? Thank you.

I did this https://stackoverflow.com/questions/52571450/react-native-expo-load-markdown-files/71679347#71679347 and it works perfectly (in a non-expo app, contrary to the original post)


About the test Results

You have conducted ten rounds of tests in your code, and there are ten test results in total. May I ask how you choose the test results in Table 1 in your paper，Here are my results

取FC的mAP累加求平均


[Question]: why MySQL container keeps reporting errors

Describe your problem
I followed the user manual to pull the image and executed docker compose -f docker-compose-CN.yml up -d, but the MySQL image keeps reporting the error: '[Note] Access denied for user<EMAIL_ADDRESS>(using password: YES)'". My code version is v0.9.0

Check docker/.env and conf/service_conf.yml. The password in both file should be the same.

Check docker/.env and conf/service_conf.yml. The password in both file should be the same.

Yes.I have checked password in two config files, but not work yet.The password used default value.This phenomenon occurs when I execute docker compose after I pull down the image, even if I change the password.


Add blueprint validation to tutorials and video blueprints

This could be merged directly to develop but I need it for the Spack work and figure it will end on develop eventually and is not worth the effort to merge twice.
Submission Checklist
Please take the following actions before submitting this pull request.

Fork your PR branch from the Toolkit "develop" branch (not main)
Test all changes with pre-commit in a local branch #
Confirm that "make tests" passes all tests
Add or modify unit tests to cover code changes
Ensure that unit test coverage remains above 80%
Update all applicable documentation
Follow Cloud HPC Toolkit Contribution guidelines #

Needs to be rebased past #1528 for tests to pass.


Pull Requests/Branches no longer visible in Jira?

Now that the old DVCS connector is gone, we tried setting up the new Github app in our Jira Cloud instance but it is not working.
There are no logs or error messages I can reference.  The 'Development' section of our Jira tickets simply no longer appears and the Pull Request links are no longer there.
This is most inconvenient.
I uninstalled the app from our Jira instance and went through the complete setup again with a new github user, but this is still not working.
Does anybody support this app?

It was working well for us on Jira cloud, but a few week backs it started to be totally random. It is now less and less reliable. Sometime just showing one of the pull request attached to a ticket, sometimes none at all. I haven't found a way to troubleshoot this yet and couldn't find a common pattern that could be the root cause.

nothing works. I've installed, uninstalled. Seems like I'm not the only one. Anybody investigating this?

@tebriel is there anyone who could investigate - we have also just hit this issue and are "cold in the water" damaging GitHub's reputation pretty badly.

I'm sorry to hear that y'all are experiencing issues. I'd recommend creating a support ticket (support.github.com) for a more thorough investigation but if you can tell me the name of an organization/repo that I can go investigate, I'll take a quick look.
/cc @HarryWeppner

@tebriel we have - and let's say it was less than helpful :-/ Our org is c3-e

@HarryWeppner ahh gosh I'm sorry, I've actually been actively working on your issue this week. you have a repo that has over 100k Issues (or maybe PRs) that causes a timeout with an internal API we use during the full sync, so we get stuck about halfway through. Are you saying that new commits/pull requests are also not reflected in jira?

@tebriel nope - new PRs are not reflected in Jira for a while now. Is there any control what "full" sync actually means, i.e. can branches / PRs be excluded in some way, e.g. by naming convention or date closed.
Anything I can help with on our side?

@HarryWeppner The only control at this time is to limit the list of repositories the github app has access to. You can modify the list under your organization settings / installed apps / Jira. You could then try to run a full sync from within your jira application settings on jira.com. I'm going to go poke at the database and see if I can tell why you're not receiving updates for those new pr/issues/etc. I'm still fairly new to the Jira app, but I thought it would work even as the sync was progressing (or failing as in your case).

That control isn't fine-grained enough - bummer. Let us know what you find out. Thanks!

@HarryWeppner it's concerning, I'm seeing many HTTP 202's (accepted) from the Jira Devinfo Bulk API for your installation. Project Key PLAT seems to have over 11,000 pieces of data synced. Can you create a PR with a ticket in the title and see if that works? something like [ASDF-123] this is the title of a PR (note that the ticket must be valid).

@HarryWeppner I've resumed your failed sync, it seems to be going through that very huge repo (though very slowly). I'm on PTO this coming week, hopefully this resolves at least some of your issues.

@tebriel thank you so much for digging into this - just created a PR #20461 in our repo.

Nothing updated yet...

@HarryWeppner disappointing. I just looked and your sync is still in progress, I'm holding out hope there's something I don't understand about the sync being crucial for the webhooks that I don't understand yet. Anyways, let's see what happens after your sync (hopefully successfully) completes.

@HarryWeppner I see the sync completed successfully, have you noticed any improvement? Or are things still not communicating?

@tebriel I hope you enjoyed your vacation - I am happy to report that things are back to normal. Thank you so much for your efforts!

Closing as no longer appears to be an issue.


Resolving dead link

https://github.com/marketplace/actions/upload-artifact is a 404
https://github.com/marketplace/actions/upload-a-build-artifact is the marketplace link for upload-artifact
Changes

...

Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated or not needed)
[x] Tests (added, updated or not needed)

Great, thank you!


Symphony Bdk Datafeed service fails to reconnect in java.net.SocketException

Bug Report
As observed we found that if the BOT is running and the Agent gets restarted or upgraded the BOT will then be not able to reconnect successfully to the data feed in case of java.net.SocketException
Expected Result:
Once the Agent is back the BOT should reconnect automatically to the Data Feed.
Actual Result:
Bot is not reconnecting to the data feed and it continues to retry and retry. At the end customers need to restart the BOT so that it reconnects successfully.
Environment:
Java BDK 2.9.0
Additional Context:
2022-08-24T09:59:37,892Z INFO  [SymphonyBdk_Datafeed-77] com.symphony.bdk.core.retry.resilience4j.Resilience4jRetryWithRecovery : YQs7gf -  Retry in 2.0s...
2022-08-24T09:59:39,980Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  I/O exception (java.net.SocketException) caught when processing request to {s}->https://some-pod.com:443: Connection reset
2022-08-24T09:59:39,980Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  Retrying request to {s}->https://some-pod.com:443
2022-08-24T09:59:40,065Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  I/O exception (java.net.SocketException) caught when processing request to {s}->https://some-pod.com:443: Connection reset
2022-08-24T09:59:40,065Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  Retrying request to {s}->https://some-pod.com:443
2022-08-24T09:59:40,148Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  I/O exception (java.net.SocketException) caught when processing request to {s}->https://some-pod.com:443: Connection reset
2022-08-24T09:59:40,148Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  Retrying request to {s}->https://some-pod.com:443
2022-08-24T09:59:40,284Z INFO  [SymphonyBdk_Datafeed-77] com.symphony.bdk.core.retry.resilience4j.Resilience4jRetryWithRecovery : YQs7gf -  Retry in 4.0s...
2022-08-24T09:59:44,292Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  I/O exception (java.net.SocketException) caught when processing request to {s}->https://some-pod.com:443: Connection reset
2022-08-24T09:59:44,293Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  Retrying request to {s}->https://some-pod.com:443
2022-08-24T09:59:44,299Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  I/O exception (java.net.SocketException) caught when processing request to {s}->https://some-pod.com:443: Connection reset
2022-08-24T09:59:44,299Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  Retrying request to {s}->https://some-pod.com:443
2022-08-24T09:59:44,306Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  I/O exception (java.net.SocketException) caught when processing request to {s}->https://some-pod.com:443: Connection reset
2022-08-24T09:59:44,306Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  Retrying request to {s}->https://some-pod.com:443
2022-08-24T09:59:44,313Z INFO  [SymphonyBdk_Datafeed-77] com.symphony.bdk.core.retry.resilience4j.Resilience4jRetryWithRecovery : YQs7gf -  Retry in 8.0s...
2022-08-24T09:59:52,321Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  I/O exception (java.net.SocketException) caught when processing request to {s}->https://some-pod.com:443: Connection reset
2022-08-24T09:59:52,321Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  Retrying request to {s}->https://some-pod.com:443
2022-08-24T09:59:52,330Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  I/O exception (java.net.SocketException) caught when processing request to {s}->https://some-pod.com:443: Connection reset
2022-08-24T09:59:52,330Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  Retrying request to {s}->https://some-pod.com:443
2022-08-24T09:59:52,337Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  I/O exception (java.net.SocketException) caught when processing request to {s}->https://some-pod.com:443: Connection reset
2022-08-24T09:59:52,337Z INFO  [SymphonyBdk_Datafeed-77] org.apache.http.impl.execchain.RetryExec : YQs7gf -  Retrying request to {s}->https://some-pod.com:443
2022-08-24T09:59:52,345Z INFO  [SymphonyBdk_Datafeed-77] com.symphony.bdk.core.retry.resilience4j.Resilience4jRetryWithRecovery : YQs7gf -  Retry in 16.0s...

Extensive investigations were performed by @yinan-symphony and myself that were inconclusive in determining a root cause of this issue. It would appear to be an edge case that happens only in very specific network environments. Closing for now and we can revisit when more information is available on how this can be prevented.


can't find older beta yalu102

hi I'm trying to find the older beta of yalu102 but the links are broken can someone fix them or find them please

It's not fuckin code related!!!jesus read the fucking readme!

mate i know this but link is broken i can't download beta 4 or 5

Yep, the website's config is broken, probably while trying to screw with that icrackuridevice site.
Workaround:
curl -O --referer https://yalu.qwertyoruiop.com/ https://yalu.qwertyoruiop.com/yalu102_beta5.ipa

thank you what about beta 4 please

Really? Look closely at the command and take an educated guess...

shit sorry my bad i didn't look proplery hahah umm just trying to fix dropper over ssh

ok i fixed ssh vai dropper but i patch nonceEnabler this a new ipa

https://github.com/kpwn/yalu102/blob/master/README.md

There is absolutely no need to use older betas.


Add tenant and formation id to capability

Description
This PR adds missing tenant_id and formation_id fields to the Capabilities entity. When they were missing, the performance was extremely bad because there was no filtering in the SQL queries for that entity.
Changes proposed in this pull request:

...
...
...

Related issue(s)

/test pull-ord-service-build

/hold

/hold cancel


Why does Netty not support allocating ByteBufs off heap?

The backing memory of a ByteBuf can be allocated off heap, but not the object itself. Is there a particular reason for that?

Can you even allocate a Java object off-heap? How would the garbage collector know when to remove the object?

@mheath You can do this with sun.misc.Unsafe.  :D

@buchgr @JuKu What would be the gain for having this implemented? I would imagine that would take some time to add correctly.

@Underbalanced
Typically a considerable portion of the JVM heap is ByteBuf objects. We already do reference counting, so I imagine this could be implemented transparently in the Recycler, without any public API changes.
As for the benefit, I imagine it would help reduce GC times, as those objects no longer have to be copied. To be fair, it would mostly affect full GCs due to the implied longevity of pooled objects.

@buchgr
That thought actually bypassed my mind. I have not really checked my ByteBuf objects and and GC thought I do allocate tons of small messages all the time (Massive Multiplayer Game).

Depending on the scope of the object, they might be allocated on stack rather than on-heap. The backing array cannot be allocated on the stack.

@CodingFabian
I think that's rather unlikely for most Netty use cases, where one eventually sends the ByteBuf through the pipeline.

I think such implementation can be useful when it is necessary to pass some data to third party code or legacy code (not necessarily as ByteBuf itself but as Closable for example) and streaming is not possible.
I would rather think of moving data on disk as soon as a specified threshold is reached … HttpObjectAggregator would benefit from such BB version.

@buchgr Why not simply pool ByteBuf objects? You can definitely allocate a chunk of memory through sun.misc.Unsafe, but you would need an enclosing object in order to make it possible to use (set fields, get fields of your 'object' etc.) anyway.
The idea itself is great. It would be especially useful for people who care about GC pauses (low-latency network applications).

Just checked it. You're right. According to YourKit java.nio.DirectByteBuffer objects are the ones which cause GC to pause. At least java.nio.DirectByteBuffer is at the top of the allocation table :disappointed:

@maseev can you share the profiler snapshot?

@normanmaurer Should I attach the profiler snapshot to this issue or send it to you by email?

if you can attach it do it... if not send via email or upload it somewhere :) Thanks again

@normanmaurer Here you go: EchoServer-2016-12-06.snapshot.zip

@maseev can I see the code of the server as well ?

@normanmaurer Here it is. And here's the pipeline I collected the memory profiler snapshot for.

@maseev makes sense.. I think if you would use the epoll transport on linux it will eliminate these allocations. Can you try ?

@normanmaurer It did the trick. Now there are only 28 java.nio.DirectByteBuffer object that have been GCed. Here's the profiler snapshot in case you're interested: EchoServer-2016-12-06-1.snapshot.zip

@maseev you are welcome ;)
The reason is that in our native transport we not need to create a new ByteBuffer for a write and just act directly on the memory addresses.

@normanmaurer That's great! Kudos to you guys! :smile:

Let me close this...


How to use the vars_name

Hi, could you give an example of using vars_name?

Please check on this page, units.csv. The first columns shows examples of Variables names.


Color Declaration value's CssText does not preserve original text

If this is parsed:
p {background-color:#ffffff;}
The CssText of the declaration value returns rgb(255,255,255) instead of the original text.
The fix is a single line, in StringExtensions.cs.
Change:
		if (Color.TryFromHex(value, out color))
			return color.ToString(null, CultureInfo.InvariantCulture);

to
		if (Color.TryFromHex(value, out color))
			return "#" + value;

Hope you agree with this fix.

This is intentional and won't be fixed like that. What you want is the original value - which you can easily obtained by ignoring invalid values.
Also you may look for something like #38 - which will come in v0.9. That way not only the inserted value, but also the inserted position is preserved.

Please, I don't understand your comment - what do you mean by "ignoring invalid values"?

You pass in options to the CSS parser. If invalid values are ignored no validation will be done. Without validation the incoming value is not recognized as a color, hence no color will be serialized.
You are looking for the serialization of the given tokens, not the provided value. The value is serialized in rgb / rgba form, the token will be serialized as given.

Again, I don't understand what you mean. It seems like you are talking about something totally different.
 I'm just trying to parse it with AngleSharp, and read the original text of the property value using
 (p as Dom.CssProperty).DeclaredValue.CssText
which is currently converting the color to an rgb format instead of returning the original value.
The css parser options are:
					IsIncludingUnknownDeclarations = true,
					IsIncludingUnknownRules = true,
					IsToleratingInvalidConstraints = true,
					IsToleratingInvalidValues = true,

Please try and understand my question - I don't think we're on the same page here.


model.destroy option required has wrong default

I'm using model.destroy in a record that doesn't exist and I'm not getting the Model.NoRowsDeletedError error.
I need to set explicitly the options.required to true to get the error.
I'm quite sure this is not the intended behavior because the documentations also states the default is true and because model.save doesn't work that way.

mmm I will check on it

this is the code for the destroy method
https://github.com/bookshelf/bookshelf/blob/master/src/model.js#L1077
Now, as you can see there is not a default value for option or any options child
I think that the documentation says that IF you set options.require = true THEN you will trigger the error
Reading the whole model codebase I don't see any default value for options in any method... maybe the docs are misleading?
@dj-hedgehog  can you look on this? I want another opinion

In the save method although we don't have a default value explicitly set it works as if it was true.
https://github.com/bookshelf/bookshelf/blob/master/src/model.js#L1023
In the destroy method, require has to be explicitly set to a truth-y value for it to work.
https://github.com/bookshelf/bookshelf/blob/master/src/model.js#L1132

Reading the whole model codebase I don't see any default value for options in any method... maybe the docs are misleading?

I think it is and other fellows as myself could be confused.
I understand that this is a breaking change and existing applications could rely on it so maybe we should update the documentation?

@Playrom this should be defaulted, I've run into cases many times where I thought a delete was successful and it was not. In any type of update we should throw an exception if it fails to occur.

@jadengore I love the error driven programming so I'm for this change, the problem is that it will break a lot of existing code in production

@Playrom We can keep this in mind for maybe a 1.0 release, in the meantime we can update docs.

added in 0.11 milestone

Fixed with #1779.


Complete LDAP Mappers

LDAP Mappers allow converting a java object to a ldap object and vice versa. There is a mapper for Address, Application, Group, Organization, Realm and User. For now only major or simple attributes such as the id is mapped. We need to test what the mapper can do and add missing mappings.

should we add addresses as independant ldap objects or as a list of attributes directly in the user or organization ldap object ?

should we add addresses as independant ldap objects or as a list of attributes directly in the user or organization ldap object ?

should we add addresses as independant ldap objects or as a list of attributes directly in the user or organization ldap object ?

We want to support the existing storage, so adress as an independant object (in a branch we have to declare in userstorage config).
In the future this will be configurable.

should we add addresses as independant ldap objects or as a list of attributes directly in the user or organization ldap object ?

We want to support the existing storage, so adress as an independant object (in a branch we have to declare in userstorage config).
In the future this will be configurable.


Updating the Writing Checklist

Summary of changes

This PR resolves issue 193 and updates the writing checklist based on previously edited documents.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Associated Issues and PRs

Issue: #193

Checklist for Reviewers
Reviewers should use this link to get to the Review Checklist before they begin their review.

https://sdk.bitmoji.com/render/panel/d3d6b80e-2ffe-4826-baa6-3ff0aac3e09d-aef391d1-ee2a-4ffc-b1c7-1c24444a7cae-v1.png?transparent=1&palette=1


Feature request: CopyFilesV2 task option to copy files only if newer

Required Information
Question, Bug, or Feature?
Type:  Feature Request
Enter Task Name: CopyFilesV2
Environment

Server - Azure Pipelines

Issue Description
Currently, when copying directories containing a huge amount of files, the CopyFiles task can take several minutes to complete. My request is to introduce a new option to optimize copy by verifying if file is newer (o by checksum?) in the target destination in order to reduce execution time and avoid unnecessary copying.
Is there any workaround available for the time being?

@ejjpi One workaround would be to use a powershell task and xcopy /D.

Good point @moswald, seems like /D parameter did the trick!
Although I still think an integrated option in the pipeline copy task would be a better solution.


fix(getButtonProps): automatically focus on the button if necessary

What: auto-focus the target if the activeElement is the body

Why: Closes #276

How: Just change the logic a bit in the button click handler and improve the prop types.

Checklist:

[ ] Documentation N/A
[ ] Tests N/A
[x] Ready to be merged

[x] Added myself (or others) to contributors table

cc @httpete-ire and @philipyoungg :)

Codecov Report

Merging #278 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #278   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines         310    311    +1
  Branches       75     76    +1
=====================================
+ Hits          310    311    +1

Impacted Files
Coverage Δ

src/downshift.js
100% <100%> (ø)
:arrow_up:

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 d81062d...4d5ac0e. Read the comment docs.


Add fresh docs for v1

General structure and todos:

[x] Getting Started

[x] Installation (and notes on peer deps)
[x] First Query (<Query> and useQuery)
[x] First Mutation (<Mutation> and useMutation)
[x] executeQuery and the requestPolicy option

[x] Architecture

[x] Using the client directly (Also operations & context)
[x] Results in detail data, error: CombinedError, executeQuery
[x] What are exchanges? (Also what are the default ones)

[x] Basics

[x] fetchExchange: Default fetch behaviour
[x] cacheExchange: Default caching behaviour
[x] subscriptionExchange: Subscriptions and useSubscription (link to specific example)

[ ] Extending & Experimenting

[x] Using the client without the built-in React API
[ ] Exchanges in detail, writing your own, composeExchanges

Merging this with one section left incomplete so we have some up-to-date docs in master


[WIP] rebuild

Having trouble installing this in conjuction with other packages. Just trying to see if there is a difference in this build.

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

So, do you need me to do anything here? Just wanted to look at the CI build, or do you want to bump the build number and push a new build with the re-render?

Let me really nail things down. Sorry I'll reopen when I find the two conflicting packages. I thought more would have been changed.
Some dependency needs to be added somewhere...


Prune unnecessary deps and update rush audit

Based on #5397.

This is approximately a backport of #5397?

This is approximately a backport of #5397?

Yes. Mostly. Didn't remove base64-js because we still support node 12 and need the polyfill.
Couldn't remove the dep on azure/storage-blob in core-backend.
Need to do one more pass at this pr, just triggered to get pipelines ready for paulius. Will update title and description shortly.

/azp run iTwin.js Docs

/azp run iTwin.js Docs - YAML


Use keyword warn in eslint config

We can use the keyword warn for rule configuration instead of a number.

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Thanks!

Thank you! And sorry for the wrong changes. :smile:


Convert to netcoreapp2.0

@davidfowl @anurse @moozzyk @mikaelm12

@BrennanConroy,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

I can't seem to reproduce these null refs locally.

Nice! How did you figure that out? I would like to know for future debugging, I figured it was something with _unreadSegments

@BrennanConroy I just narrowed it down after realizing that the buffer was reported as empty. This was the original repro https://github.com/dotnet/corefxlab/issues/1374


Request for new release

While support for new boards has been added, the latest official bossa release is now almost two years old. Can you please consider another release sometime soon so the latest version can be deployed via official packages? At present many users have to compile this tool before using it with newer chips.

Now 4.5 years since latest release, many pull requests pending - abandonware?


Old Intuit Developer Account Not Showing OAuth2 Support on Keys page for App

I tried the following steps multiple times but was not successful in getting the new ClientID and ClientSecret for OAuth2, kept getting the old AppToken, ConsumerKey/Secret values and no way to configure RedirectURI even for newly created App.

Create App
Select Accounting and/or Payment API
Intuit Single Sign On --> Yes

The ONLY workaround seems to be to create a new account and create an app in the new account then I get the OAuth2 ClientID/Secret.
@hlu2 Any help here would be much appreciated.

Hi in the oauth2 announcement they mentioned they plan to offer a migration path for apps on 1.0a in the future but it is currently unsupported


[Docs] fixed OS X location of defaultRealmPath in docs

As identified by https://twitter.com/ronaldmannak/status/604118705870479360. /cc @tgoyne @bdash @segiddins

:+1:


Can't Change IPv4 Address when it is already registered

Version of the custom_component
meross lan v2.4.2
Configuration
no yaml conf, that is the problem, all was done by the interface "integration"
Describe the bug
I set up all my meross devices couple of months ago, and it worked very well. Thanks for your work.
However, i started segmenting my Lan with VLANS and now i have other ip addresses assigned to the devices.
If there was a way to change manually the ip address that would be awesome, because this way i would not need to change my lovelace card nor my nodered automation, which are all based on the devices entity id.
Can you tell me how to proceed? might be good if there was an option to be able to change the ip of a device once it is configured.
Debug log
It is not a bug, but it is an issue. One could consider this a feature request maybe ? it depends if there is a solution to this already or not

Hello @xvolte ,
Yeah this is something I often think of: the ability to change the ip address for an already known device. Up to this point I've always considered an ip change as a device change so I've never considered the ip as an editable property but as an identifier property. You're right anyway there could be some cases where would be benficial to not re.configure the integration from scratch if a device jsut moves to a different ip.
Beside this 'theoretical' consideration I'm scared that allowing editing the ip would need some added logic in meross_lan to check the address change is still related to the same device (identified by its own UUID that is) and so I've always postponed the implementation which itself would be easy in terms of added UI fields.
Thinking of it right now..if not too cumbersome I'd post a patch with some other bug fixing very soon

I suspect I am too "victim" of this issue as I recently revamped my plan and put order in my DHCP changing pretty much all the devices' IP in my network.
Now I'm in this weird situation where the integration seems working fine:

While all the devices and entities  are un unavailable

and since one of these plugs controls the booster heater in my bathroom I woke up and had to take a shower in 18ºC 🥶
Jokes aside my 1st thought was to remove the integration and add it again, promoting the rediscovery of the devices.
The problem is: there is no remove/delete button and even if I fiscally remove the module from HA (from hacs), as soon as the module is reinstalled I'm back on square one (and frozen butt in the morning).
Please adivese?

Hello @unlucio ,
I'm sorry for the 'cold' showers ;) and slowly working toward allowing the ip address edit in configuration.

You can instead remove and readd every single 'integration' entry : not the devices nor the entities.
Just enter a single card (every physical device has 1 integration configuration entry) from the integrations page and, by using the 'dots' menu on the panel hit 'Delete' in order to cleanup the HA configuration from any 'awareness' of the device.
Then you'll be able to either manually add a new intgration configuration for the removed device or wait until discovery does its job (which could never happen at least until you restart HA)

Unfortunately deleting the device to remove awareness of it doesn't seem to completely work.  I'm looking forward to the fix for this issue...

The incoming release allows updating the host address in configuration (allowed the device is really the same..else: boom!)


Adds support for ClamAV

Metadata

Fixed Issue: #54
Contributors: @AntociAlin

Proposed Changes

Implements the new ClamAV module for the new MutableSecurity structure.
Bug fixes to the already existing solutions.
Adds new categories: ANTIMALWARE and HOST_PROTECTION.

New Functioning

ClamAV is able to offer real-time protection to Ubuntu type OS.
It contains an easy to use and customizable crontab. It is used to run custom scans.
It contains a Start Scan action to run a custom scan in a given directory at will.
Every information and test can be easily seen and controlled.

Fixed everything you asked. I am awaiting one more review and if everything runs smoothly, it should be ready to be pushed to main.


Incorrect height of TokenInputView

In few cases (like the one in attached screenshot) the height for particular TokenInputView is incorrect. Can anyone tell me whats wrong and how can I fix this?
This screenshot is taken from same this very project.

That's because the UITextfield is present there. As soon as a CLToken is added, it generates a CLTokenView which is added to the top and shifts the UITextField down


Bugs

closes #227
closes #232

@wholmgren This fixes the last few bugs you found. If you find any issue with it I can tackle them tomorrow before we get beta5 out.
The skill metric is now selectable as long as at least one object pair has a reference forecast (or none are selected yet).
I figured out the cause of the TypeError I was seeing and opened a core PR to address. https://github.com/SolarArbiter/solarforecastarbiter-core/pull/410


[Proof of Concept] Extract bucket folder from scoop core

#2939, #1328, #2609
This PR is not meant to be merged. I want to only proof, that extraction of bucket is possible and pretty easy. Bucket folder will not be removed from this PR (to keep diff cleaner, without millions of lines deleted due to bucket folder deletion). If collaborators decided to adopt this change, just follow these steps (co-authored-by tag would be nice for all commits / PR 😍):
* SideNote: I will push small tweaks, which i found, so noone should fix them inside bucket extraction phase (like lib-exec bucket moving, don't use scoop directly inside update functions, update branch reflection)
How to adapt into new repositories

[ ] Extract bucket folder with history

git filter-branch --prune-empty --subdirectory-filter bucket

Do it inside normal terminal (not vscode)

There will be lots of changes and vscode could be unstable

It takes quite a while
For me it was ~50 minutes

git remote set-url origin 'https://github.com/ScoopInstaller/MainBucket' # Or whatever
git push -u origin
New bucket repository is DONE

Sure, there is need to be setuped appveyor, binaries, contributing and all other bucket repository things

[ ] Create develop branch

All changes to reflect this change
Maybe even PR for some discussion❓

[ ] buckets.json

Add main bucket into known buckets

[ ] Fix code to reflect, that default path is now bucketsdir 'main'\bucket instead of scoop home\bucket

[ ] Install.ps1

Download main bucket while installing

Since git, 7zip are needed
Any better way?

checkup should look for added bucket
scoop update

Current users could not even notify change
While updating, check for bucket

If there is not added, add it

[ ] General code
[ ] binaries default dir parameter

[ ] How to deal with tests?
[ ] Move all package requests (not core related) issues into new repository
[ ] Create develop branch

Notify users, who want to test earlier changes

scoop config SCOOP_BRANCH develop

There is need little fix for this.
When you change it, you need to reset to that branch.

No it's needed to do it manually using command line.

Basicly if git branch -ne get-config SCOOP_BRANCH { git checkout get-config SCOOP_BRANCH }

Create issue, about how to use develop branch and what does it involve
Pin that issue

Updating works even after this change.
If there is no bucket property inside install.json, 'main' is considered. So updates will be OK, without needing to reinstall.
Only inside scoop list will be [main] instead of empty collumn.

How to test?

docker-compose up --build -d; docker-compose run scoop
$env:SCOOP = 'SOME NEW PATH TO TEST'
PS: bin> .\install.ps1
Rename-Item "$env:SCOOP\apps\scoop\current\bucket" "new-bucket"
Test installing, uninstall, whatever

I haven't touched on tests yet. But after recent changes (@r15ch13, 589303facc5284f6f95c1305191e0558c0169691), it should be fine.

Feel free to suggest any change.
/fyi @r15ch13 @rasa @h404bi

There is one thing VERY important that you didn't cover above. We need to handle those previously installed packages so that users can still update these packages after this breaking change.
packages installed from the extras bucket has a bucket mark.
install.json
{
    "bucket": "extras",
    "architecture": "64bit"
}

but packages installed from core bucket doesn't.
install.json
{
    "architecture": "64bit"
}

It's already handled :)
2f16f0d1370b9cc50534fd3407a949e2e8377f27

Like brew? Coooool!

If a user installs scoop from the first time, the installer script downloads a zip of the core bucket (this is a normal logic, to make scoop work at the first time, git and 7zip are needed). When the user runs scoop update for the first time, they will be notified to install git and 7zip.
But the zip version of the core bucket is not a git repository after the installation. So there should be a handler logic to clone a new core bucket and remove the zip one in scoop-update.ps1.

@Ash258 make sense.

Ok. Everything is no prepared. This could be even merged, since all references were changed.
Today / tomorrow when I arrive into flat I will run some docker testing with updating already installed scoop and clean installation, binaries.
When i do not find any bugs this could be even merged. There are still few steps needed by @r15ch13, regarding excavator settings, but this PR now ready to merge. (Best possible to merge it into develop branch, where it will be prepared and then PR it into master, so users should not even notice some problems.)
@h404bi, @niheaven, @r15ch13 Pleaes review suggest alternative to whatever.

Made $Dir Parameter inside binaries mandatory and defaults are gone.

I think this is ready to be merged into develop branch. We can test it today / tomorrow in develop branch and then merge it to master

@Ash258 can you squash some of the commits? Or should I squash the whole PR?

Squash whole PR.

Looks good after fix for switch branches ❤


Seg Fault when calling fit on XGBClassifier

I keep running into Seg Faults when calling fit on an XGBClassifier instance. The inputs are np arrays with the X array being encoded text using a BERT tokenizer. Could someone help me point in the right direction? Thank you!

Can you post your code? Also what is the version of XGBoost you are using?

https://github.com/mahadafzal/BERT-XGBoost/blob/2c2eaffba0df2bd9ec0da5a19b4793bc3cd128c0/xgbert.py#L37-L133
I am using version 1.5.2
I've had experience with PyTorch but haven't really used the XGBoost library before, so any help would be much appreciated!

Can you check the dimension of the data array used in XGBClassifier.fit? The crash may be due to running out of memory.

It is a 2d array, (4536 x 1), where 4536 is the number of training sentences. I use the same setup with a LinearSVC classifier and it works fine.

Could you please share the data too?  Maybe with fusing.

I am not allowed to share the data publicly, but I was able to solve the issue. It was a preprocessing error on my end causing the program to run out of memory. Thank you for the help!