OpenAPI file naming convention issues

We use an OpenAPI file to document our API, and there are a few issues with the naming conventions. As a matter of fact, it's almost like there are no naming conventions at all. Camel case and snake case are combined together in an odd fashion, and some of the names aren't very descriptive. Now that the document is formed, it would be good to take a look at the file as a whole and fix the naming issues.
See https://github.com/OperationCode/resources_api/pull/215#discussion_r352617465 and https://github.com/OperationCode/resources_api/pull/215#discussion_r352618239 for examples of the issues.

@aaron-suarez I want to work on this one. Can you list all the files and references where I need to make changes? Thanks.

@avats-dev The Open API file is here https://github.com/OperationCode/resources_api/blob/main/app/static/openapi.yaml
There isn't really clear acceptance criteria for this issue, just make some decisions about conventions that should be used (i.e., maybe we want to use PascalCase for component schemas) and then make everything conform to that convention.
One example is ApiKeyResponse and ApiKeyResponse_data
https://github.com/OperationCode/resources_api/blob/169e045a0d2fa3cdf68a85b16d47238ba2477949/app/static/openapi.yaml#L1160
https://github.com/OperationCode/resources_api/blob/169e045a0d2fa3cdf68a85b16d47238ba2477949/app/static/openapi.yaml#L1174
Nowhere in programming does it make sense to use PascalCase and snake_case for the same thing (in this case, for a component schema). So perhaps is should be changed to ApiKeyResponseData to make it a little more conventional.
Similarly, Resource_list should probably be changed to ResourceList https://github.com/OperationCode/resources_api/blob/169e045a0d2fa3cdf68a85b16d47238ba2477949/app/static/openapi.yaml#L1079
If you go through the file, you'll see examples of this all over the place.
Another issue with the OpenAPI file conventions is that there are components with names that don't really match what they are. For example Error_list is an object
https://github.com/OperationCode/resources_api/blob/169e045a0d2fa3cdf68a85b16d47238ba2477949/app/static/openapi.yaml#L833-L834
Besides the fact that it should be ErrorList, it really should be called list at all because it's not a list (not an array). It's an object, so maybe ErrorResponse would be more appropriate.
Someone just needs to go in and think about what these things are and name them properly, using a uniform convention for the casing. As they say, naming things is the hardest part of programming 😅 If you're up for it, then feel free to go in and change those names.
We'll accept any improvements in these areas, so don't feel the need to make everything perfect. Make some small improvements to help it get closer, and we can leave the issue open until it's all cleaned up over time.

@aaron-suarez thanks for this, great explanation. Also, I'm going with camelCase as it is more common and also then there would be no need to change existing single word names.

@aaron-suarez I did some work on this issue too but am not able to send in a PR as a prior one is there :sweat_smile:


Unique

You mention at ReadMe,  "They should be reasonably unique."
Can you elaborate on this?

If you look at the implementation in https://github.com/treygriffith/short-mongo-id/blob/master/lib/objectIdToShortId.js you can see that it uses (most of) the time of creation and 3 digits of the counter.
If you are creating less than 30 IDs per second, your odds of a collision are <50%.


Command line usage on a headless server triggers error

Ripme version: 1.5.14.r0.g8064772
Java version: OpenJDK9
Operating system: Linux 4.13.4
Exact URL you were trying to rip when the problem occurred: none
Please include any additional information about how to reproduce the problem: Launch ripme in a terminal on a machine without a graphical server.

Expected Behavior
The app should simply return an help page if no argument is passed, otherwise it should run the operation as intended.
Actual Behavior
The app refuses to do anything and outputs the following error:

Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:202)
at java.desktop/java.awt.Window.(Window.java:534)
at java.desktop/java.awt.Frame.(Frame.java:423)
at java.desktop/javax.swing.JFrame.(JFrame.java:224)
at com.rarchives.ripme.ui.MainWindow.(MainWindow.java:162)
at com.rarchives.ripme.App.main(App.java:60)

The app should simply return an help page if no argument is passed

The issue here is that ripme considers no args being passed as GUI mode

The only interactive mode ripme has is the GUI, so why would you want to run it from a console with no args?

It's be nice to get instructions on how to use it if you're on headless.
I might tackle this this weekend.
I've found out about the following piece of code, which could achieve what I want:
if (GraphicsEnvironment.isHeadless()) {
     // redirect to the command line options, if no option is supplied, show an help page
} else {
     // start the gui
}```

I'm mostly running it headless through a Systemd Timer for automated ripping of a list of URLs, but still, it's a "nice to have" for cleanliness on the end-user part :)


Proposal for slightly better Immutable stateTransformer example in the docs

Please consider using this piece of code for the "transform Immutable objects into JSON" example in the docs:
const stateTransformer = (state) => {
    let newState = {};

    for (var i of Object.keys(state)) {
        if (Immutable.Iterable.isIterable(state[i])) {
            newState[i] = state[i].toJS();
        } else {
            if (Object.keys(state[i]).length) {
                newState[i] = stateTransformer(state[i]);
            } else {
                newState[i] = state[i];
            }
        }
    };

    return newState;
}

const loggerMiddleware = createLogger({ stateTransformer });

The current example is fine when the immutable objects are at the highest level. However, in many occasions it may be the case that immutable objects will be set in deeper levels (specially when doing reducer composition with combineReducers). The proposal above goes through all nested objects recursively.

And where is proposal above?…

I suggest that the the section in the docs here :
https://github.com/fcomb/redux-logger#transform-immutable-objects-into-json
shows the peace of code pasted in my comment above.

Oh, yes, sorry.
Thanks, updated!


Request: Make downloads separate into different folders by the linked folders' names

First off, thank you for making this!
Currently the app will just drop everything into the same local directory if the cloud links store their files at the top-level, which basically requires you to clone all of the folders to one folder within your own Mail.ru account, and then feed CMRD that one single link.
I don't know how to get the folder's name from CMR's API, but I assume it has to be possible. Can that be used to name the folder (perhaps with some sanity-checking on pathnames and such?) It would make my life a lot easier with regard to grabbing a bunch of these links.

I've already thought about it. It's not always convenient to upload everything as a continuous list of files. As soon as I have time, I'll definitely add functionality and a parameter for uploading files according to the directory structure.

issue thread closed by mistake.


Renderer m_CastShadows exported twice in prefab yaml

In the exported prefab m_CastShadows is exported twice. It seems like line 595 should use ReceiveShadowsName instead of CastShadowsName. https://github.com/mafaca/UtinyRipper/blob/f9f9989cbb2488acb9a6024f439a1819bfc43772/uTinyRipperCore/Parser/Classes/Base/Renderer/Renderer.cs#L595

Yes, you are right. Thanks for pointing this out
598047c74426b385be7b06170c2eefb763ff306e


meta field is always "unauthorized"

Hi there!

As shown in the image, my meta fields always show a "unauthorized" and "ERROR". I can't seem to understand why? Because the SendGrid API key can been given full access as well.

Nvm, it was the wrong API key. Sorry :')

Glad you worked it out!


Fix Remaining ships color schema in Fullscreen mode

it is hard to read the "Opponent's remaining ships" section when it is Fullscreen mode. I don't know why the background color becomes black but we have to consider it.

@np25071984 Hi mate. The change in background color to black is due to the default styles added by Chrome when handling fullscreen mode. The following CSS takes effect when a non-root element is in fullscreen mode. You only need to add a background color to the "game-boards" element, or alternatively, use a vibrant seascape background.
:not(:root):fullscreen::backdrop {
position: fixed;
inset: 0px;
background: black;
}

@CzhCN0 thank you for the response!

the default styles added by Chrome when handling fullscreen mode

I think those default styles make sense so that it is better to update the text color and follow default fullscreen logic


[Feature Request] Ship new releases with .deb and .rpm packages

It would handy to have DEB and RPM binary packages shipped alongside the source code of poac with each release because building from source is rarely fun for users. This could be done via a set of scripts that create the mentioned packages. The scripts can be kept in the source control.

This sounds great, although I don't have experience creating these. Anyone with experience is welcome to take it on.


[AutoPR mediaservices/resource-manager] Adding Azure Media Services version 2018-06-01-preview version

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3177

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/2100


Reaction Project Hooks

Issue: none
Impact: minor
Type: chore
Issue
We have two projects, reaction and reaction-next-starterkit that must be coordinated to run together. Keycloak will add a 3rd project and another Docker network.
Create tooling that will configure and launch the projects with a single CLI command.
Solution
Integrate this project with multi-project orchestration.
This PR adds everything needed to hook the project into the reaction-next meta project. All the existing backends and frontends can be launched with the make command.
After this merge, make command in reaction-next launches:

Meteor
Devserver
Reaction Next Starter Kit
Keycloak

All user defined networks are automatically created.
See the reactioncommerce/reaction-next project README for more details.
What's included

A bin/setup script that will copy .env.example to .env in this project directory
A pre-build project hook will run the bin/setup script to ensure the required .env file is in place before attempting to run Docker on the project.

Testing
You can test reaction-next in a new directory to launch everything in complete isolation.

Install reaction-next prequisites. Ensure you have SSH enabled on Github.
git clone git@github.com:reactioncommerce/reaction-next.git
cd reaction-next
git checkout -b update-projects origin/update-projects
make
Expect a failure until this PR is merged. Check out this branch in reaction-next-starterkit (in the reaction-next folder)
cd reaction-next-starterkit && git checkout -b reaction-project-hooks origin/reaction-project-hooks && cd ..
make

This should launch all the projects. The first launch may take some time. Meteor is in there.
You can cd into each child directory and control the project with Docker as usual. The reaction-next Makefile is using Docker, too. You do not need to worry about maintaining some high-level Docker state.
Platform Support
📓 These scripts (and the reaction-next project) are portable bash. I doubt they'll work in Windows. We can push windows support to a future effort.

(I know we're moving away from reaction-next terminology. The project name is leftover and has not been renamed yet.)

Ref: https://github.com/reactioncommerce/reaction-next/pull/3

@ticean This is still in In Progress pipeline. Do you want it reviewed yet?

@ticean do we need a similar PR in https://github.com/reactioncommerce/reaction?

@aldeed Thanks. I missed a workflow step. Yes a review would be much appreciated.
@spencern yes, we should add a PR to reaction, too. The meta project's not released yet so we'll need to do that to tie it all together.


"Replace qualified path with use" should replace all paths in the module

When running assists like "Implement missing members" or "Fill match arms", rust-analyzer will qualify all paths in the inserted code as necessary for them to resolve correctly. However, this can create rather long paths, which require many uses of the "Replace qualified path with use" assist to make the code more readable.
This could be fixed by having the "Replace qualified path with use" assist not just replace the path it is invoked on, but all paths in the module that refer to the imported item.
For example:
fn f(e: m::n::Enum) {
    match e {
        m::n::E<|>num::A => {}
        m::n::Enum::B => {}
        m::n::Enum::C => {}
        m::n::Enum::D => {}
    }
}

Invoking "Replace qualified path with use" once at this point should result in the code below:
fn f(e: Enum) {
    match e {
        Enum::A => {}
        Enum::B => {}
        Enum::C => {}
        Enum::D => {}
    }
}

Commenting here because it seems relevant (should I open a new issue?).
replace_qualified_path_with_use does not work for paths to the same type constructor but with different type parameter. In the example below std::pin::Pin<T> only gets replaced for those instances where T is the same. However, for U != T nothing changes.
Before running replace_qualified_path_with_use:
use futures::FutureExt;
use std::{
    future::Future,
    task::{
        Context,
        Poll,
    },
    time::Duration,
};
use tokio::time::Sleep;

struct MyFuture {
    sleep: std::pin::Pin<Box<Sleep>>,
}

impl Future for MyFuture {
    type Output = ();

    fn poll(mut self: std::pin::Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
        println!("MyFuture::poll()");
        self.sleep.poll_unpin(cx)
    }
}

After having run replace_qualified_path_with_use on either occurence of Pin (second one for demonstration purposes; similar result for the first one):
use futures::FutureExt;
use std::{future::Future, pin::Pin, task::{
        Context,
        Poll,
    }, time::Duration};
use tokio::time::Sleep;

struct MyFuture {
    sleep: std::pin::Pin<Box<Sleep>>,
}

impl Future for MyFuture {
    type Output = ();

    fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
        println!("MyFuture::poll()");
        self.sleep.poll_unpin(cx)
    }
}

You can see that std::pin::Pin<Box<Sleep>> was not changed. Not shown here: a second instance of std::pin::Pin<&mut Self> would have been correctly truncated to Pin<&mut Self>.

@SuperFluffy since this is closed, I think it'd be better to open a new issue :slightly_smiling_face:


feat: Add SCP: Secret Laboratory protocol support

Contribution Details:

Implemented a new protocol for SCP: Secret Laboratory in protocols/scpsl.py.
Updated games.csv to include SCP: Secret Laboratory entry.
Modified main.py to handle additional query parameters for SCP: Secret Laboratory servers.
Added the line 'from .scpsl import SCP_SL' to protocols/init.py.

Changes:

discordgsm/games.csv: 1 addition
discordgsm/main.py: 1 addition
discordgsm/protocols/init.py: 1 addition
discordgsm/protocols/scpsl.py: 42 additions

Note:
I am not a professional developer, and this contribution might have limitations. I've noticed a demand for SCP: Secret Laboratory support in Discord GSM and attempted to implement it based on community interest. Feedback and assistance from experienced developers are highly appreciated.

Thank you for the implementation! Your coding skills are great!


Problems in running the project locally

Note: Thanks for reporting an issue! Please make sure you click the link above to view the guidelines, then fill out the blanks below.
There are two templates. You can choose which one to use and delete the other one. Also, please remove the text in the brackets before you submit an issue

For bug reporting
What are the steps to reproduce this issue?

…
…
…

What happens?
…
What were you expecting to happen?
…
What versions of software are you using?
Operating System: …
For feature suggestion
Feature description:
…
Any ideas on how to implement it?
…
Casual questions
Any other comments?
I am a newbie, though I followed the instructions given in README.md but still I am not able to run the project locally.
Help would be appreciated.
Thanks.
Any feedback on the project?
The project's idea is amazing and I really want to contribute , so help would really be appreciated.
Thanks

@swapagarwal I would like to work on this


The icon may not be correct when searching for templates

Describe the bug

Steps to reproduce
https://github.com/seal-io/walrus/assets/26084756/5e0ea440-54a3-4ea8-997e-8a87b01e8fa9
Expected behavior

Environment

Walrus version: main 93b14e2c6b2eb3d71adefe654bd7082c85442d7f
UI version: dev-952e597

Additional context
Add any other context about the problem here.

Environment

Walrus version: main 44305cd5fb89716a1e183344072ec5f805819605
UI version: dev-30a1783

Test Result: pass


Exception safety and C++

Now, if C++ service implementation throw an exception it ends up in double free or corruption with following stacktrace:
/lib64/libc.so.6(+0x72e7f)[0x7f75d8623e7f]
/lib64/libc.so.6(+0x782ae)[0x7f75d86292ae]
/lib64/libc.so.6(+0x78ff6)[0x7f75d8629ff6]
/usr/lib64/libgrpc++.so.0(_ZN4grpc6Server6RunRpcEv+0x490)[0x7f75d9181d60]
/usr/lib64/libgrpc++.so.0(_ZN4grpc17DynamicThreadPool10ThreadFuncEv+0xe2)[0x7f75d917d042]
/usr/lib64/libgrpc++.so.0(_ZN4grpc17DynamicThreadPool13DynamicThread10ThreadFuncEv+0x13)[0x7f75d917d233]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/libstdc++.so.6(+0xb2430)[0x7f75d8f09430]
/lib64/libpthread.so.0(+0x8204)[0x7f75d9e76204]
/lib64/libc.so.6(clone+0x6d)[0x7f75d86985bd]

Message is pretty meaningless and took me some time to figure where the problem in my code was.
I think it may be the grpc_byte_buffer_destroy in Server::CallData::~CallData. Or DynamicThreadPool::DynamicThread::ThreadFunc is not marking self as dead.
So, I think, it should be exception-safe, at least with proper abort to stop debugger at and without double-free

About to close due to age. This issue has likely gone away in the last ~1.5 years. Reopen if appropriate.

I just ran into this bug with gRPC 1.3.2.  The service implementation happens to use Boost serialization routines, which throw exceptions when they encounter an error.  If the service method itself doesn't catch the exception, gRPC core dumps with the above-mentioned double free or corruption error.  Even if the service method just does a throw 0; the problem manifests.


Profiling/improving our tests

We've got a lot of tests which is very good except they take a heck lot of time to run. There were some optimizations already done previously (most notably in #2001), but it's time to make another round. First of all, the most resource-demanding tests need to be identified and then we'll think on whether and how they can be improved.

Packages where tests take more than 5 seconds:

compiler #2382
cli -- the biggest (80 seconds), designed to perform end-to-end testing, runs blockchain, waits for blocks. Not sure if we can do anything about it.
wallet -- probably stays as it is, most of the time is spent in crypto routines
vm -- TestUT, most of the time spent in execute.
core

cli -- the biggest (80 seconds), designed to perform end-to-end testing, runs blockchain, waits for blocks. Not sure if we can do anything about it.

It can be split into subpackages which can then be run in parallel (the effect was seen in #1472 already).
My current list is:
ok      github.com/nspcc-dev/neo-go/cli 86.593s coverage: 80.0% of statements
...
ok      github.com/nspcc-dev/neo-go/pkg/compiler        37.964s coverage: 92.0% of statements
...
ok      github.com/nspcc-dev/neo-go/pkg/crypto/keys     7.564s  coverage: 80.8% of statements
...
ok      github.com/nspcc-dev/neo-go/pkg/services/notary 5.021s  coverage: 93.0% of statements
ok      github.com/nspcc-dev/neo-go/pkg/services/oracle 13.095s coverage: 74.7% of statements
...
ok      github.com/nspcc-dev/neo-go/pkg/services/stateroot      8.760s  coverage: 84.3% of statements
...
ok      github.com/nspcc-dev/neo-go/pkg/vm      16.205s coverage: 82.0% of statements
...
ok      github.com/nspcc-dev/neo-go/pkg/wallet  9.996s  coverage: 79.0% of statements

It can be split into subpackages

Argh.
?       github.com/nspcc-dev/neo-go/cli [no test files]
ok      github.com/nspcc-dev/neo-go/cli/app     0.036s  coverage: 100.0% of statements
ok      github.com/nspcc-dev/neo-go/cli/cmdargs 0.011s  coverage: 60.8% of statements
ok      github.com/nspcc-dev/neo-go/cli/flags   0.009s  coverage: 97.7% of statements
?       github.com/nspcc-dev/neo-go/cli/input   [no test files]
ok      github.com/nspcc-dev/neo-go/cli/options 0.033s  coverage: 50.0% of statements
?       github.com/nspcc-dev/neo-go/cli/paramcontext    [no test files]
ok      github.com/nspcc-dev/neo-go/cli/query   2.155s  coverage: 45.3% of statements
ok      github.com/nspcc-dev/neo-go/cli/server  1.373s  coverage: 67.8% of statements
ok      github.com/nspcc-dev/neo-go/cli/smartcontract   8.819s  coverage: 94.3% of statements
ok      github.com/nspcc-dev/neo-go/cli/util    0.006s  coverage: 10.9% of statements
?       github.com/nspcc-dev/neo-go/cli/vm      [no test files]
ok      github.com/nspcc-dev/neo-go/cli/wallet  72.103s coverage: 88.2% of statements

Block verification can be disabled in most of tests to remove some crypto overhead.

Btw, I have recently stumbled upon https://github.com/gotestyourself/gotestsum which is quite useful
$ go test -json -count=1 ./pkg/... | gotestsum tool slowest --threshold 1s
github.com/nspcc-dev/neo-go/pkg/services/rpcsrv TestClient_Wait 22.53s
github.com/nspcc-dev/neo-go/pkg/services/rpcsrv TestSubClientWaitWithMissedEvent 15.21s
github.com/nspcc-dev/neo-go/pkg/services/rpcsrv TestSubClientWait 9.4s
...


doc: corrected some typo

What this PR does / why we need it:
there is two Nginx typo  in the documents
Pre-submission checklist:

[x] Did you explain what problem does this PR solve? Or what new features have been added?
[x] Have you added corresponding test cases?
[x] Have you modified the corresponding document?
[x] Is this PR backward compatible?

many thx, merged @lilien1010


vSphere Volume Attachment Fails with Error "unknown SCSI controller type 'lsiLogic-sas'"

This is issue is to track issue https://github.com/kubernetes/kubernetes/issues/37527

Fix on the way: https://github.com/kubernetes/kubernetes/pull/38426


Add a check on time selection

Due to calendar issues, especially affecting observational data, it could happen that the time selection with start_year and end_year does not work properly and an incorrect number of time-steps is returned.
This kind of error is very difficult to detect, since the code does not return any warning and the diagnostics do not crash, unless some specific time function is applied.
It would be good to add a simple check at least for monthly mean fields (T3M, T2Ms, etc), like:
if (ntimesteps != 12 * (start_year - end_year + 1)) error

A similar check could be done also for daily fields, but that's a bit more tricky since it depends on the calendar.

Missing timesteps in the middle of the series must be detected using the following check, as it tests that the intervals between timesteps match the declared frequency:
https://github.com/ESMValGroup/ESMValTool/blob/2f8d47be75320d9d00410ae59c858b39506a266b/esmvaltool/cmor/check.py#L397
If they are not, we should update this check
Missing timesteps at the start or the end are not that simple, as not all experiments start at January 1st and end at December 31st, and the same can be said about observations.
I know that for now this check can work, as this is the case for most of the CMIP experiments, but it will fail when we start to support decadal and seasonal timescales. I think that the better option is to allow users to be more specific in the start and end options, adding the day and month if necessary
model: 1, start: 1998, end: 2000
model: 2, start: 199811, end: 200011
model: 3, start: 19981117, end: 19981216

If we assume that no month and day refer to the first (last) for start (year) option it should be backwards compatible

Replaced by #851.


Invalid URL or Proxy error occurred

Hi Renier,
I think there was an update to the App that might cause the login to fail or there is a difference in connection parameters between the ADT version and the IDS version of the App. My IDS App has version 4.1.4 on Android 13
I am attempting to login to the generic version,
import json import pyhyypapi client = pyhyypapi.HyypClient(email="myEmail",password="myPw",pkg=pyhyypapi.HyypPkg.IDS_HYYP_GENERIC.value) client.login()
But get exception
    client.login()   File "c:\Development\Source\GITHUB\pyHyypApi\pyhyypapi\client.py", line 72, in login     raise InvalidURL("A Invalid URL or Proxy error occured") from err pyhyypapi.exceptions.InvalidURL: A Invalid URL or Proxy error occured

Hi @Cuberice,
The "InvalidURL" exception should only raise when there's a connectivity issue. I'm assuming you've checked dns and other network settings?
It calls this url (doesn't matter if it the generic or adt one):
https://ids.trintel.co.za/Inhep-Impl-1.0-SNAPSHOT/auth/login
If you open it in a browser, you should get an invalid login json message.

Thanks @RenierM26.
I didn't think it would be blocked by the proxy, but it is working through the VPN.


fix: deprecated single_blank_line_before_namespace

Deprecated.
see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/24f863c6a3958273d1dea3902b7781b9d9aca264

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


fix: walletSupportsChain handle arbitrum nova feature flag

Description
i.e we can't have Nova as a supported chain, if the flag is off and we don't have any Arbitrum asset in store, including the native asset.
Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes https://github.com/shapeshift/web/issues/6664
Risk

High Risk PRs Require 2 approvals

None

What protocols, transaction types or contract interactions might be affected by this PR?

Testing

Open chain selection dropdown in e.g swapper
Ensure the empty slot with a placeholder FOX icon is gone at the end of chain selection dropdown

Engineering

^

Operations

^

Screenshots (if applicable)
Devleop

This diff

This is fixed on the trade from asset drop down but the icon still appears in the trade to menu


no type named 'type' in 'struct std::enable_if<false, xsimd::batch<double, 4> >'

xtensor-0.16.3
xsimd-4.1.6
xtensor-blas-0.11.0
This code:
https://gist.github.com/nbecker/251112eb10e8effbdeb0545eabef6b31
compiled with
g++ -o mag_sqr.cpython-36m-x86_64-linux-gnu.os -c -g -std=c++1z -O3 -march=native -fvisibility=hidden -flto -DNDEBUG -ffast-math -fPIC -DHAVE_CBLAS -DXTENSOR_USE_XSIMD -I/home/nbecker/.local/include/xtensor-blas/flens -I/home/nbecker/.local/include -I/usr/include/eigen3 -I/home/nbecker/.local/lib/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m mag_sqr.cc
results in errors (rather long, not copied here)

This is a bug in xsimd, an issue has been opened there, closing this one as duplicate.


Unknown issue on running dart run git_stamp --build-type full command

I always get this issue while I'm trying to use git stamp

This is my flutter doctor -v result if it is needed

@Manuel36791 Hello and thanks for reporting the bug.
File number 4 is: lib/git_stamp/data/commit_list.dart
Did you add the package to the project or globally using: $ flutter pub add git_stamp ?
It looks like there is some problem with character encoding under Windows, but I have integration tests run on Windows and they pass: https://github.com/arononak/git_stamp/blob/main/.github/workflows/dev.yml
Could you provide exact details on how you installed the package and whether you have git in your system and project?

@arononak Hello
I added the dependency manually by copying the dependency line for the installation page at the 'pub.dev', I do the same for all packages

And this command returns json? You don't have to put in the verse
git log --pretty=format:'{"hash":"%H","subject":"%s","date":"%ad","authorName":"%an","authorEmail":"%ae"}' --date='format-local:%Y-%m-%d %H:%M:%S %z'

@arononak I'm sorry I don't think I understand your last comment 😅
Do you need me to run the line you just wrote in the last comment?

@Manuel36791 If you could run it I would be grateful Xd

@Manuel36791 It seems that in your project it does not add quotes when building json. Would you be so kind as to try in another project?

@arononak
Sure I'll try the command and the package in another project then show you the result

@arononak I tried the command on another project but I think it is the same

@Manuel36791 And how could you tell if it works? Xd


Does "Heart" in the tuneful does same thing as "Star" in Apple Music?

I've actually have a non-issue (I think?). Does "Heart" in the tuneful does same thing as "Star" in Apple Music (e.g Adding to Favorites playlist and library)? As currently I can't find where songs are added.
https://imgur.com/a/kUZzrPa
Also please consider enabling "Discussion" in addition to Issues.
https://docs.github.com/en/discussions

Interesting, this functionality was working a few months ago while I was developing it. Now that I'm loooking at it, Apple most likely changed the header files for Apple Music in the latest version which breaks it. I will look at it, hopefully will be able to fix it for the next release. And yes, heart in Tuneful "stars" song in Apple Music (probably will change the icon accordingly as well).
Thanks for suggesting Discussion, just added a poll there

New version that fixes this issue was just released, it also introduces a new customisation features to popover and mini player window  🎉

Thank you, great!
But it looks like there is one more bug. 😅
https://youtu.be/KiMsRJLIG4k
"Unstaring" work only, when track is played from favorites playlist.


variant depreciations violated if calling update_attribute or update_attributes on a product or variant

It appears that calling update_attribute or update_attributes on a product or variant will send the whole body of the resource or nested resource in the api call. (See http://api.rubyonrails.org/v3.2.6/classes/ActiveResource/Base.html#method-i-update_attribute and verified looking at the resulting api calls.) This means that inventory_quantity and old_inventory_quantity are included on the variant in the api call. If I understand Jordan's recent announcement post https://ecommerce.shopify.com/c/api-announcements/t/updated-deadline-breaking-changes-to-product-variant-fulfillment-and-refund-apis-527356, this would cause apps to get pulled from the app store on August 1.

This may be related to an issue I'm currently dealing with. I can't simply save a product anymore. Here is the response body:
Write requests to inventory_quantity and inventory_quantity_adjustment are no longer supported. Please use the Inventory Levels API.
> p = ShopifyAPI::Product.find(1315545120831)
> p.save
ActiveResource::BadRequest: Failed.  Response code = 400.  Response message = Bad Request.
	from (irb):10

I have updated to gem version 4.12.0 but error remains.

update_attribute or update_attributesare no more working for Product and Variant. This is because of  inventory_quantity is deprecated. from 1st August this issue will be affected in apps which contains update call. let us provide the proper solution for this issue.
shopifyVariant = ShopifyAPI::Variant.find(12359561117730)    shopifyVariant.update_attribute(price: 111)
This will give 400 Bad Request Error: https://prnt.sc/k5koad

I can't explain why you guys are getting 400 errors. I'm not seeing that yet. Maybe down the road. Someone from Shopify told me they are hoping to allow these fields as long as they don't attempt to mutate the value. In the mean time I wrote this monkeypatch for my own branch that I'm using to avoid this issue. I'm not planning on submitting this as a pull request because I think the right solution is for Shopify to allow those fields for now rather than force unsuspecting apps to suddenly update their gem. But anyway, here's the monkey patch in case anyone finds it useful.
`module ShopifyAPI
class Variant
before_update :clear_inventory_updates
private
def clear_inventory_updates
  self.attributes.except!(:inventory_quantity, :old_inventory_quantity)
end

end
class Product
before_update :clear_inventory_updates
private
def clear_inventory_updates
  self.variants.each do |api_variant|
    api_variant.send(:clear_inventory_updates)
  end
end

end
end`

The reason that some folks are seeing a 4** error and others are not is because the deprecation is currently only applied to API clients created after a certain date (~ July 1st).
We're aware of this issue and are currently working on a solution – thanks for bearing with us.


Add CWE to ensure Task will be restarted.

add as a flag for this option to ensure it's when required.

There is a better mechanism than this so will kill this issue.


Releasing plan for azarr

Hi @martindurant Just discovered this repo and it's looks very interesting for my project, thanks for sharing it! Now I am wondering is there a plan to integrate to zarr or release it as a standalone package so we can use it.
The thing I try to solve is that we have the imjoy-rpc library which uses asyncio to wrap remote functions, so we can obtain a zarr store object implemented remotely, however, since all the member functions (including getItem, __getitem__ etc. ) are async, we need something like azarr to be able to use the async functions. We can potentially use threading to wrap the async store as sync store, however, it won't work in pyodide.

Thanks for the interest, and indeed for reminding me about this. The code here is pretty POC, and I wouldn't recommend it for any serious work. However, it would be nice to see it developed further into something that can be useful, particularly with pyodide/pyscript now a serious concern.
I don't think there's a great chance of zarr-python itself wanting to take control of and maintaining this code. I would be happy to push it out, "release" it, wherever; but I don't really have the time to put in much effort myself. Or, actually, a plan of how to make things more solid (beyond obvious things like writing lots of tests).

I don't think there's a great chance of zarr-python itself wanting to take control of and maintaining this code.

@martindurant: why's that?

Would be most helpful in driving that discussion? A focused community call with some extra invites? A blog and request for feedback?
cc: @MSankeys963

Hi, @martindurant and @joshmoore.
I think the idea of having async-zarr sounds intriguing to me. Discussing the idea in one of the community calls will be a good idea moving forward.
After the discussion, I'm happy to write a blog post, diving more into the features and codebase.
Let me know what you think.


TypeError (no implicit conversion of String into Integer):

When response is empty and adding only status code -
status :no_content OR status 204
Getting below error -
TypeError (no implicit conversion of String into Integer):
grape-attack (0.2.0) lib/grape/attack/throttle.rb:20:in []='   grape-attack (0.2.0) lib/grape/attack/throttle.rb:20:in after'
grape (0.14.0) lib/grape/middleware/base.rb:26:in call!'   grape (0.14.0) lib/grape/middleware/base.rb:19:in call'
....
how can we add/send status with no response....

Can you show me your endpoint definition please?

resource :getrecords do
desc "List all the member"
get do
   if params[:email].present?
	  js = User.where(email: params[:email]).paginate(page: 1)
	  status js.present? ? :ok : 204
	  response(js)
   else
	 status 204
   end
end

end
when code is in the else part or when there is no data .. it breaks
i guess status is creating some issue... do you have any suggestion

Hm looking at your code no, I'll need to investigate a bit more.

Can you try with latest version? v0.3.0

hi it got fixed with  the update..
thanks

How do we need to set redis client url through env['REDIS_URL'] variable.
Where we need to write this code.
On server I am getting error Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED)

On your server, you just want to set the REDIS_URL env variable to your production redis database url :)

A question - can we use grape-attack other than grape API.. i.e., for any methods.

Well the gem has been designed to work for Grape. Do you have a concrete example in mind? Otherwise rack-attack is a great gem as well.


polish up, rebrand, add supabase auth

What kind of change does this PR introduce?
Bug fix, feature, docs update, ...
What is the current behavior?
Please link any relevant issues here.
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
Add any other context or screenshots.

@juliusmarminge
Thanks for the amazing work here! I just had some hick up, and it would be great if you could take a look and let me know if you know what maybe the cause!
I followed the steps on readme, and the third step is failing for me.

pnpm i
1cp .env.example .env` and populated the credentials
pnpm db:push, which fails with the following error message

error message in termial
```
• Packages in scope: @acme/api, @acme/db, @acme/eslint-config, @acme/expo, @acme/nextjs, @acme/tailwind-config
• Running db:push, db:generate in 6 packages
• Remote caching disabled
@acme/db:db:generate: cache bypass, force executing b82c987f0ec493df
@acme/db:db:push: cache bypass, force executing 289ccbbeceeb848e
@acme/db:db:generate:
@acme/db:db:generate: ><EMAIL_ADDRESS>db:generate /Users/tylershukert/Desktop/create-t3-turbo/packages/db
@acme/db:db:generate: > pnpm with-env prisma generate
@acme/db:db:generate:
@acme/db:db:push:
@acme/db:db:push: ><EMAIL_ADDRESS>db:push /Users/tylershukert/Desktop/create-t3-turbo/packages/db
@acme/db:db:push: > pnpm with-env prisma db push --skip-generate
@acme/db:db:push:
@acme/db:db:generate:
@acme/db:db:generate: ><EMAIL_ADDRESS>with-env /Users/tylershukert/Desktop/create-t3-turbo/packages/db
@acme/db:db:generate: > dotenv -e ../../.env -- "prisma" "generate"
@acme/db:db:generate:
@acme/db:db:push:
@acme/db:db:push: ><EMAIL_ADDRESS>with-env /Users/tylershukert/Desktop/create-t3-turbo/packages/db
@acme/db:db:push: > dotenv -e ../../.env -- "prisma" "db" "push" "--skip-generate"
@acme/db:db:push:
@acme/db:db:generate: Prisma schema loaded from prisma/schema.prisma
@acme/db:db:push: Prisma schema loaded from prisma/schema.prisma
@acme/db:db:push: Datasource "db": PostgreSQL database "postgres", schemas "auth, public" at "db.hvikvyyvkormucwjjohl.supabase.co:5432"
@acme/db:db:generate:
@acme/db:db:generate: ✔ Generated Prisma Client (4.12.0 | library) to ./../../node_modules/@prisma/client in 125ms
@acme/db:db:generate: You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client
@acme/db:db:generate: ```
@acme/db:db:generate: import { PrismaClient } from '@prisma/client'
@acme/db:db:generate: const prisma = new PrismaClient()
@acme/db:db:generate: ```
@acme/db:db:push:
@acme/db:db:push: ⚠  There might be data loss when applying the changes:
@acme/db:db:push:
@acme/db:db:push:   • The primary key for the `schema_migrations` table will be changed. If it partially fails, the table could be left without primary key constraint.
@acme/db:db:push:   • You are about to alter the column `version` on the `schema_migrations` table, which contains 42 non-null values. The data in that column will be cast from `VarChar(255)` to `VarChar(14)`.
@acme/db:db:push:   • A unique constraint covering the columns `[version]` on the table `schema_migrations` will be added. If there are existing duplicate values, this will fail.
@acme/db:db:push:
@acme/db:db:push: Error: Use the --accept-data-loss flag to ignore the data loss warnings like prisma db push --accept-data-loss
@acme/db:db:push:  ELIFECYCLE  Command failed with exit code 1.
@acme/db:db:push:  WARN   Local package.json exists, but node_modules missing, did you mean to install?
@acme/db:db:push:  ELIFECYCLE  Command failed with exit code 1.
@acme/db:db:push:  WARN   Local package.json exists, but node_modules missing, did you mean to install?
@acme/db:db:push: ERROR: command finished with error: command (/Users/tylershukert/Desktop/create-t3-turbo/packages/db) pnpm run db:push exited (1)
command (/Users/tylershukert/Desktop/create-t3-turbo/packages/db) pnpm run db:push exited (1)
Tasks:    1 successful, 2 total
Cached:    0 cached, 2 total
Time:    2.439s
</details>

I also wanted to try out the Apple login, but kept getting `Unexpected error from Apple SignIn: AuthRetryableFetchError: Network request failed`. It looks like any network request going out from the iOS simulator is failing, but is there any setup process that I should take other than updating the `apps/expo/app.config.ts` file with the Supabase credential?

I also wanted to try out the Apple login, but kept getting Unexpected error from Apple SignIn: AuthRetryableFetchError: Network request failed. It looks like any network request going out from the iOS simulator is failing, but is there any setup process that I should take other than updating the apps/expo/app.config.ts file with the Supabase credential?

The Apple Auth only works on physical device i think: https://docs.expo.dev/versions/latest/sdk/apple-authentication#development-and-testing
As for the error you're getting - is it a new supabase project you're trying out or how is the setup there? It should just be as simple as creating a new project on Supabase then doing a db push i believe


Add vSphere lab test and debug helper

What does this PR do?
Add vSphere lab test and debug helper
More info in docstring.

Style still failing but 👍


Media Control Shortcuts

I think a useful addition would be to support Play/Pause, Next and Previous key support.
When connecting a USB or Bluetooth keyboard with media keys to a phone the buttons work as expected, but they don't seem to be passed through to the device when using scrcpy.
I'm not sure if it makes more sense to have a separate shortcut or to actually listen to the media keys themselves.

I'm not sure if it makes more sense to have a separate shortcut or to actually listen to the media keys themselves.

I would say the latter, otherwise this would add too many shortcuts :)

I've been toying with this a bit today, it seems making this work on the Windows side is going to be more work than just adding cases for SDLK_AUDIOPLAY, SDLK_AUDIONEXT and SDLK_AUDIOPREV.
Just for testing I created the appropriate functions and set CTRL+Left to be previous, CTRL+Right to next, and CTRL+L to play/pause-- and it all works.
While looking at the android keycodes, I found a AKEYCODE_VOICE_ASSIST that I tried to use, but it doesn't seem to open the assistant like I hoped it would.


Update

Hi,
I have read all fork and not found what i'm looking for !
I need juste use this script but with  only one stream URL no random twitch game

Maybe try it this fork: https://github.com/PurpleMyst/Valorant-watcher

Couldn't you just.. open a browser page and leave it open? There's not much that this script does that's unrelated to watching a random streamer.

Its for run on linux server without interface


add prefix paths flag to build

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @justinwhall,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Coda Daemon crashed.

Briefly describe what you were doing and include the last 20 lines from .mina-config/mina.log and then paste the following:
Summary:
"Shutdown before Coda instance was created"
Status:
{"OS_type":"Unix","Release":"4.9.0-14-amd64","Machine":"x86_64","Sys_name":"Linux","Exception":{"commit_id":"68200c7b409e105d174f079c5c39f7926819784b","sexp":["monitor.ml.Error",["Unix.Unix_error","Cannot allocate memory","fork","((command \"curl --fail --silent --show-error -o \\\"/tmp/s3_cache_dir/vk-wrap-wrap-verification-key-blockchain-snark-9fa3fe2a9a55981507e9ca1cac1ce617\\\" \\\"https://s3-us-west-2.amazonaws.com/snark-keys.o1test.net/vk-wrap-wrap-verification-key-blockchain-snark-9fa3fe2a9a55981507e9ca1cac1ce617\\\"\"))"],["Raised at file \"src/core_unix.ml\", line 50, characters 4-43","Called from file \"src/lib/key_cache/key_cache.ml\", line 104, characters 10-132","Called from file \"src/lib/key_cache/key_cache.ml\", line 159, characters 15-67","Called from file \"src/or_error.ml\", line 122, characters 12-17","Called from file \"src/list.ml\", line 355, characters 13-17","Called from file \"src/list.ml\" (inlined), line 361, characters 15-31","Called from file \"src/or_error.ml\", line 121, characters 25-133","Called from file \"src/with_return.ml\", line 20, characters 12-24","Re-raised at file \"src/with_return.ml\", line 27, characters 11-20","Called from file \"src/lib/pickles/cache.ml\", line 265, characters 23-56","Called from file \"camlinternalLazy.ml\", line 27, characters 17-27","Re-raised at file \"camlinternalLazy.ml\", line 34, characters 4-11","Called from file \"camlinternalLazy.ml\", line 27, characters 17-27","Re-raised at file \"camlinternalLazy.ml\", line 34, characters 4-11","Called from file \"src/lib/genesis_proof/genesis_proof.ml\", line 138, characters 32-46","Called from file \"src/lib/genesis_ledger_helper/genesis_ledger_helper.ml\", line 1068, characters 26-43","Called from file \"src/deferred0.ml\", line 56, characters 64-69","Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5","Called from file \"src/job_queue.ml\", line 171, characters 6-47","Caught by monitor coda"]],"backtrace":["Raised at file \"src/core_unix.ml\", line 50, characters 4-43","Called from file \"src/lib/key_cache/key_cache.ml\", line 104, characters 10-132","Called from file \"src/lib/key_cache/key_cache.ml\", line 159, characters 15-67","Called from file \"src/or_error.ml\", line 122, characters 12-17","Called from file \"src/list.ml\", line 355, characters 13-17","Called from file \"src/list.ml\" (inlined), line 361, characters 15-31","Called from file \"src/or_error.ml\", line 121, characters 25-133","Called from file \"src/with_return.ml\", line 20, characters 12-24","Re-raised at file \"src/with_return.ml\", line 27, characters 11-20","Called from file \"src/lib/pickles/cache.ml\", line 265, characters 23-56","Called from file \"camlinternalLazy.ml\", line 27, characters 17-27","Re-raised at file \"camlinternalLazy.ml\", line 34, characters 4-11","Called from file \"camlinternalLazy.ml\", line 27, characters 17-27","Re-raised at file \"camlinternalLazy.ml\", line 34, characters 4-11","Called from file \"src/lib/genesis_proof/genesis_proof.ml\", line 138, characters 32-46","Called from file \"src/lib/genesis_ledger_helper/genesis_ledger_helper.ml\", line 1068, characters 26-43","Called from file \"src/deferred0.ml\", line 56, characters 64-69","Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5","Called from file \"src/job_queue.ml\", line 171, characters 6-47"]},"Command":"Command: (mina daemon -generate-genesis-proof true --peer-list-url\n https://storage.googleapis.com/seed-lists/devnet_seeds.txt)","Coda_branch":"master","Coda_commit":"68200c7b409e105d174f079c5c39f7926819784b"}

{"timestamp":"2021-03-17 06:51:42.962137Z","level":"Fatal","source":{"module":"Init__Coda_run","location":"File \"src/app/cli/src/init/coda_run.ml\", line 603, characters 2-26"},"message":"Unhandled top-level exception: $exn\nGenerating crash report","metadata":{"exn":{"commit_id":"68200c7b409e105d174f079c5c39f7926819784b","sexp":["monitor.ml.Error",["Unix.Unix_error","Cannot allocate memory","fork","((command \"curl --fail --silent --show-error -o \\\"/tmp/s3_cache_dir/vk-wrap-wrap-verification-key-blockchain-snark-9fa3fe2a9a55981507e9ca1cac1ce617\\\" \\\"https://s3-us-west-2.amazonaws.com/snark-keys.o1test.net/vk-wrap-wrap-verification-key-blockchain-snark-9fa3fe2a9a55981507e9ca1cac1ce617\\\"\"))"],["Raised at file \"src/core_unix.ml\", line 50, characters 4-43","Called from file \"src/lib/key_cache/key_cache.ml\", line 104, characters 10-132","Called from file \"src/lib/key_cache/key_cache.ml\", line 159, characters 15-67","Called from file \"src/or_error.ml\", line 122, characters 12-17","Called from file \"src/list.ml\", line 355, characters 13-17","Called from file \"src/list.ml\" (inlined), line 361, characters 15-31","Called from file \"src/or_error.ml\", line 121, characters 25-133","Called from file \"src/with_return.ml\", line 20, characters 12-24","Re-raised at file \"src/with_return.ml\", line 27, characters 11-20","Called from file \"src/lib/pickles/cache.ml\", line 265, characters 23-56","Called from file \"camlinternalLazy.ml\", line 27, characters 17-27","Re-raised at file \"camlinternalLazy.ml\", line 34, characters 4-11","Called from file \"camlinternalLazy.ml\", line 27, characters 17-27","Re-raised at file \"camlinternalLazy.ml\", line 34, characters 4-11","Called from file \"src/lib/genesis_proof/genesis_proof.ml\", line 138, characters 32-46","Called from file \"src/lib/genesis_ledger_helper/genesis_ledger_helper.ml\", line 1068, characters 26-43","Called from file \"src/deferred0.ml\", line 56, characters 64-69","Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5","Called from file \"src/job_queue.ml\", line 171, characters 6-47","Caught by monitor coda"]],"backtrace":["Raised at file \"src/core_unix.ml\", line 50, characters 4-43","Called from file \"src/lib/key_cache/key_cache.ml\", line 104, characters 10-132","Called from file \"src/lib/key_cache/key_cache.ml\", line 159, characters 15-67","Called from file \"src/or_error.ml\", line 122, characters 12-17","Called from file \"src/list.ml\", line 355, characters 13-17","Called from file \"src/list.ml\" (inlined), line 361, characters 15-31","Called from file \"src/or_error.ml\", line 121, characters 25-133","Called from file \"src/with_return.ml\", line 20, characters 12-24","Re-raised at file \"src/with_return.ml\", line 27, characters 11-20","Called from file \"src/lib/pickles/cache.ml\", line 265, characters 23-56","Called from file \"camlinternalLazy.ml\", line 27, characters 17-27","Re-raised at file \"camlinternalLazy.ml\", line 34, characters 4-11","Called from file \"camlinternalLazy.ml\", line 27, characters 17-27","Re-raised at file \"camlinternalLazy.ml\", line 34, characters 4-11","Called from file \"src/lib/genesis_proof/genesis_proof.ml\", line 138, characters 32-46","Called from file \"src/lib/genesis_ledger_helper/genesis_ledger_helper.ml\", line 1068, characters 26-43","Called from file \"src/deferred0.ml\", line 56, characters 64-69","Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5","Called from file \"src/job_queue.ml\", line 171, characters 6-47"]},"pid":3407}}
{"timestamp":"2021-03-17 06:51:42.965044Z","level":"Trace","source":{"module":"Init__Coda_run","location":"File \"src/app/cli/src/init/coda_run.ml\", line 608, characters 2-26"},"message":"handle_crash: acquired coda status","metadata":{"pid":3407}}
{"timestamp":"2021-03-17 06:51:42.965103Z","level":"Trace","source":{"module":"Init__Coda_run","location":"File \"src/app/cli/src/init/coda_run.ml\", line 201, characters 2-26"},"message":"make_report: enter","metadata":{"pid":3407}}
{"timestamp":"2021-03-17 06:51:42.965798Z","level":"Debug","source":{"module":"Block_time","location":"File \"src/lib/block_time/block_time.ml\", line 76, characters 18-30"},"message":"Environment variable CODA_TIME_OFFSET not found, using default of 0","metadata":{"pid":3407}}
{"timestamp":"2021-03-17 06:51:42.965845Z","level":"Fatal","source":{"module":"Init__Coda_run","location":"File \"src/app/cli/src/init/coda_run.ml\", line 627, characters 8-32"},"message":"Exception when generating crash report: $exn","metadata":{"exn":{"commit_id":"68200c7b409e105d174f079c5c39f7926819784b","exn_name":"Sys_error","exn":["Sys_error","rm -rf /root/.mina-config/coda_crash_report*: Cannot allocate memory"]},"pid":3407}}

[ "monitor.ml.Error"
, [ "Unix.Unix_error","Cannot allocate memory"
  , "fork"
  , "((command \"curl --fail --silent --show-error -o \\\"/tmp/s3_cache_dir/vk-wrap-wrap-verification-key-blockchain-snark-9fa3fe2a9a55981507e9ca1cac1ce617\\\" \\\"https://s3-us-west-2.amazonaws.com/snark-keys.o1test.net/vk-wrap-wrap-verification-key-blockchain-snark-9fa3fe2a9a55981507e9ca1cac1ce617\\\"\"))" ]]

@1160007652 can you check that your node meets the minimum memory requirements?

solved


Adjust callouts to match explanations #1960

Moved callout 4 to location of previous callout 5 for clusteredCacheManagerExample() to match explanation in GettingStarted doc.

Can one of the admins verify this patch?

Thanks, Henri. I added the explanation for #4 and re-numbered the last one (now #5) in the doc.
To revert the code change I made, I just added another commit that fixed it (I'm just working straight from GitHub.com right now and don't know how to revert to an earlier commit). Will those commits go away after the merge or is there a way for me to remove the first two commits so they don't pollute the commit history?

In github I don't know. To make it clean, you need to squash them during an interactive rebase. And then push force the change.
 That would have been easier.

Ok, I think I fixed the multiple commits. Does this look the way it should now?

Hi @jdsandifer,
Yes it looks ok now.
Thank you very much for your interest in contributing to the project! Please read about submitting contributions here: http://www.ehcache.org/community/contribute.html and confirm in a reply comment that you agree to the grant statement under the heading "Agreement and Grant of Copyright"

I agree to the grant statement.

Commit included in #2035 and #2036


189963661 missing parish (Kirk)

Issue reported by Captkirk at 2021-01-07 15:41:01 UTC
Time: 2021-01-07T15:38:12+00:00
Session ID: e0a712c8a93c59b38ac52dee70dd0459
Problem Page URL: /feedbacks
Previous Page URL: https://www.freecen.org.uk/manage_resources/new?locale=en
Reported Issue:
One of my transcribers has an error report. I am looking at RG13_2286 Entry 991. It is an ED transition
The reported Error is Line 991 Civil Parish Pawlett Is Not In The List Of Civil Parishes.
The file information says
Enumeration Districts
{"Bawdrip"=>["1"], "Puriton"=>["2", "0#8"], "Pawlett"=>["3"], "Huntspill"=>["4", "5", "6", "0#8"], "Woolavington"=>["7"], "Cossington"=>["7"], "Chedzoy"=>["8"], "Moorlinch"=>["9"], "Chilton On Polden"=>["10"], "Stawell"=>["11"], "Sutton Mallet"=>["11"], "Edington"=>["12"], "Catcott"=>["13"], "Shapwick"=>["14"], "Greinton"=>["15"], "Ashcott"=>["16"]}
So the Civil Parish and ED number look OK.
Pawlett SOM is in the Place Names Database.
What am I missing? It looks right to me but is producing an error report.

@geoffj-FUG clearly the EDS are not alright "Puriton"=>["2", "0#8"],  Huntspill"=>["4", "5", "6", "0#8"]. Further research is required

@geoffj-FUG clearly the EDS are not alright "Puriton"=>["2", "0#8"],  Huntspill"=>["4", "5", "6", "0#8"]. Further research is required

@geoffj-FUG research is required, may take a day or 2

@geoffj-FUG research is required, may take a day or 2

this looks dangerous

this looks dangerous

Kirk
I have asked for this to be fixed. I will add a note against each field in the Handbook.
I still cannot see why the Civil Parish should not match Pawlett.
Geoff

Kirk
I have asked for this to be fixed. I will add a note against each field in the Handbook.
I still cannot see why the Civil Parish should not match Pawlett.
Geoff

@geoffj-FUG
It is because Pawlett is spelt Powlett in 1901 parms for that Piece

Doing a fill index civil parish csv for Somerset shows it missing and where it is.

This shows that Somerset still needs lots of work to clean up spelling mistakes
@rhodamackenzie
It also shows the importance of the coordinators downloading and reviewing the fill index CSV displays and once cleaned up keeping a copy to hand

@geoffj-FUG
It is because Pawlett is spelt Powlett in 1901 parms for that Piece

Doing a fill index civil parish csv for Somerset shows it missing and where it is.

This shows that Somerset still needs lots of work to clean up spelling mistakes
@rhodamackenzie
It also shows the importance of the coordinators downloading and reviewing the fill index CSV displays and once cleaned up keeping a copy to hand

Thanks Kirk
I couldn't see that. A case of wood and trees.
The spreadsheet is going to be a big help in this. It is easier to read.
Geoff

Thanks Kirk
I couldn't see that. A case of wood and trees.
The spreadsheet is going to be a big help in this. It is easier to read.
Geoff


KernelDriverActive method ignores the return value 1, "kernel driver active"

return values for libusb_kernel_driver_active
0 if no kernel driver is active
1 if a kernel driver is active
LIBUSB_ERROR_NO_DEVICE if the device has been disconnected
LIBUSB_ERROR_NOT_SUPPORTED on platforms where the functionality is not available
another LIBUSB_ERROR code on other failure

Not sure how you plan on implementing it but for the fork I'm using I did:
func (dh *DeviceHandle) KernelDriverActive(interfaceNum int) (bool, error) {
        err := C.libusb_kernel_driver_active(
                dh.libusbDeviceHandle, C.int(interfaceNum))
        if err == 1 {
                return true, nil
        } else if err != 0 {
                return false, ErrorCode(err)
        }
        return false, nil
}

@jpoirier — Do you want to create a pull request? I'm happy to merge your solution for this.

@jpoirier — I pulled in the changes from your fork.

Thanks!
On Thu, Nov 3, 2016 at 1:45 PM, Matthew Rankin<EMAIL_ADDRESS>wrote:

@jpoirier https://github.com/jpoirier — I pulled in the changes from
your fork.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gotmc/libusb/issues/4#issuecomment-258237637, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAd7bl8UwF4Z_D-YGwrfi2wLg9T5R3usks5q6ivMgaJpZM4KL-Ue
.


Surf-N-Perf D3 Visualization

Provide another demo page that provides visualization of Surf-N-Perf data, similar to how Comcast uses it with the data we log and then visualize:
https://speakerdeck.com/johnriv/the-truth-about-your-web-apps-performance?slide=53
Feel free to come up with other visualizations as well.
The data visualized should be Network Time, Server Time & Processing Load Time.
My vision for this is that there would be a parent page with the D3 visuals, and that would include an iframe that would serve up another page, run Surf-N-Perf in that iframe, and then send the Network Time, Server Time & Processing Load Time to the parent page so that D3 can visualize it. After it sends the data to the page and D3 renders it, the iframe would reload to gather a new set of those same data points, so it looks like data is coming in in real time. So you'll end up with something that looks like this:
https://fastly.github.io/epoch/real-time/#area
Ideally, we'd publish it to http://comcast.github.io/Surf-N-Perf/visualize/

This & Issue #1  are part of Pull Request #37. Before I merge in that Pull Request, I want these changes made:

move demo.html to /demo/index.html
move public/bootstrap.min.css to demo/bootstrap.min.css (& update the path reference to it in demo/index.html)
move visualize.html to visualize/index.html
move public/nv.d3.css to visualize/nv.d3.css (& update the path reference to it in visualize/index.html)
move public/nv.d3.js to visualize/nv.d3.js (& update the path reference to it in visualize/index.html)
move public/surfnperf.html to visualize/surfnperf.html (& update the path reference to it in visualize/index.html)

:warning: Note that those changes are made in the gh-pages branch, not master
The best way to go about this (since you don't have access to shynp's repo) to actually fetch the pull request in progress (see https://help.github.com/articles/checking-out-pull-requests-locally/), make another commit with the changes listed above, and then push that.

#42 closes this


refs #175, include support for Julia v1.7 and v1.10

Installed the package and ran the test cases without any issues.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.92%. Comparing base (4f45889) to head (1763854).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #176   +/-   ##
=======================================
  Coverage   91.92%   91.92%
=======================================
  Files          20       20
  Lines         458      458
=======================================
  Hits          421      421
  Misses         37       37

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


How to view image_raw with opencv

Using the vrx open source example, we are going to output the image that comes out through the image_raw topic to opencv. I implemented the code, but only a black screen is output and no proper video is displayed. I want to ask how to solve this.
`#!/usr/bin/env python3
import rospy
from sensor_msgs.msg import Image
from cv_bridge import CvBridge, CvBridgeError
import cv2
bridge_object = CvBridge() # create the cv_bridge object
image_received = 0 #Flag to indicate that we have already received an image
cv_image = 0 #This is just to create the global variable cv_image
def show_image():
image_sub = rospy.Subscriber("/wamv/sensors/cameras/front_left_camera/image_raw",Image,camera_callback)
r = rospy.Rate(10) #10Hz
#cv2.waitKey(1)
while not rospy.is_shutdown():
if image_received:
cv2.waitKey(1)
r.sleep()
cv2.destroyAllWindows()
def camera_callback(data):
global bridge_object
global cv_image
global image_received
image_received=1
try:
print("received ROS image, I will convert it to opencv")
# We select bgr8 because its the OpenCV encoding by default
cv_image = bridge_object.imgmsg_to_cv2(data, desired_encoding="bgr8")
#Add your code to save the image here:
#Save the image "img" in the current path
#cv2.imwrite('robot_image.jpg', cv_image)
#Display the image in a window
cv2.imshow('Image from robot camera', cv_image)
except CvBridgeError as e:
print(e)
if name == 'main':
rospy.init_node('cam_test', anonymous=True)
show_image()
`

Sorry but this is more an OpenCV question than a VRX issue.

@mazik1496  This is my code, I don't know whether you succeed or not.
`import rospy
import cv2
from sensor_msgs.msg import Image
from std_msgs.msg import Header
from cv_bridge import CvBridge, CvBridgeError
import numpy as np
def capture_video(data):
bridge = CvBridge()
rospy.loginfo("receiving video frame")

current_frame = bridge.imgmsg_to_cv2(data)
current_frame = cv2.cvtColor(current_frame, cv2.COLOR_RGB2BGR)
cv2.imshow("camera", current_frame)
cv2.waitKey(1)

def receive_message():
rospy.init_node('video_publisher', anonymous=True)
sub = rospy.Subscriber('/wamv/sensors/cameras/middle_right_camera/image_raw', Image, queue_size=10, callback = capture_video)
rospy.spin()
Close down the video stream when done
cv2.destroyAllWindows()

if name == 'main':
try:
receive_message()
except rospy.ROSInterruptException:
pass
`


Updated github actions.

@ladinesa: Could you review and merge this? I just updated the repo to use latest github actions, project setup etc. to fix the CI problems.


Gym Env Checker

Description

Many people have errors because of a custom gym environment, this should address most issues
related to a wrong implementation of the Gym interface.
Motivation and Context

[x] I have raised an issue to propose this change (required for new features and bug fixes)

closes #601
related to #595
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Documentation (update in the documentation)

Checklist:

[x] I've read the CONTRIBUTION guide (required)
[x] I have updated the changelog accordingly (required).
[x] My change requires a change to the documentation.
[x] I have updated the tests accordingly (required for a bug fix or a new feature).
[x] I have updated the documentation accordingly.
[x] I have ensured pytest and pytype both pass.

High-level feedback is I think this would be clearer if check_env (and tests) were split up into smaller helper methods.

Good point, I will do that, thanks for taking the time to review =)

will catch a lot of common problems.

In fact, we should have created that way earlier ( we have more that 50 issues related to custom environments...)

I reformated the files using pycharm + addressed the comments ;) (+ fix the type in check_image)


Merge sds_ingress tests to share a common test suite

This will reduce the test time by making it so all of these tests share
a single Istio deployment rather than creating ~7 deployments of Istio.
This is a start to https://github.com/istio/istio/issues/17512 (note - I likely won't have time to resolve the rest)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
2fd0d6ee177374e148f2245cb19b132d006acecd
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
2fd0d6ee177374e148f2245cb19b132d006acecd
link
/test lint_istio

racetest_istio
2fd0d6ee177374e148f2245cb19b132d006acecd
link
/test racetest_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
2fd0d6ee177374e148f2245cb19b132d006acecd
link
/test lint_istio

racetest_istio
2fd0d6ee177374e148f2245cb19b132d006acecd
link
/test racetest_istio

integ-security-k8s-tests_istio
2fd0d6ee177374e148f2245cb19b132d006acecd
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Support for FluentValidation

Description
I really like fluent validations as they give a more descriptive messages when things are going wrong.
Current behavior
Currently the default Assert is used.
Expected behavior
I can decide what asserting library I want to use - I saw a bunch of different asserting libraries, so might be a good start with FluentValidation
Link:
https://www.nuget.org/packages/fluentvalidation/

We don't write a lot of Assert statements. Only the Assert.Fail in the stub tests I think.
One workaround would be to remove the $TestMethods$ part in the template and put in your own "starter" test with whatever assert statement you want. Though you'd only get the one test, and not one per public method.
A more general fix might be to add a template for the test method contents, so you could change what's put under the // Assert section. Would also probably need to add a list of namespaces to add in. With those two things you could set it up to whatever validation library you wanted.

Sounds cool! Thanks for the quick response!

In 2.0 the test method code is generated from a customizable template.


snapchat beta and account locking due to 3rd part apps.

Is anyone here looking into snapchat beta? I applied this morning but somehow the "opt-in" for the beta does not work on my end, I guess my IP is flagged or something.
So I was wondering if anyone here has had the privelege to look into the beta code.
Especially if there's something that will fix the current issue I have which is getting locked due to 3rd part apps.
if someone has a non beta related fix, please let me know as well!

They hacked my INSTAGRAM, my email and they took my phone number
I try to send the forgotten password and it keeps sending to the new email in my IG details and I informed Facebook community service and they told me they would look for me and get back to me since I didn't hear from them again and then someone.  on Facebook he recommended me to<EMAIL_ADDRESS>I tried it and it worked, she got my old page back and sent me the details of the new page
I had to change the password as soon as possible thank you very much. And you can reach them on instagram to nyx_cybersleuth.


example: LLM inference with Ray Serve

This could be used as a starting point for people who want to experiment with distributed LLM inference on Ray

Awesome, thanks @rgerganov !


.mod extension

There is more than 148,000 .mod files on GitHub and it's used by many languages. Thus, to add that extension, we need to identify all languages using it (with at least hundreds of examples).
I will update this post with the list of languages as we go. I might eventually turn this issue into a pull request to add support of the extension.

Language
Number of files

AMPL

XML (DTD)
47,550

Modula-2
2,300

This extension was requested for AMPL in #2073.

There are about 5,280 AMPL files: https://github.com/search?utf8=✓&q=extension%3Amod+minimize+OR+maximize&type=Code&ref=searchresults

Also there are ~3,200 GFortran modules.

Thanks @vitaut! I've updated the table.

~16k .mod files used in building Linux kernel modules: http://www.tldp.org/HOWTO/html_single/Module-HOWTO/#AEN913.
Also including attlist and xmlns in query will give more search results for XML: https://github.com/search?utf8=✓&q=extension%3Amod+entity+OR+attlist&type=Code&ref=searchresults

Thanks @vitaut! I've update the results.

Didn't find any Amiga modules. ;-)

~18000 KiCAD modules: https://github.com/search?utf8=✓&q=extension%3Amod+PCBNEW&type=Code&ref=searchresults
Is possible to filter out audio MOD files in search somehow?

@arfon @bkeepers I just converted the issue into a pull request to add support for .mod.
I didn't define a language for KiCAD and GFortran module files. It seemed unnecessary since they are generated and don't have syntax highlighting. Should I?
I used harogaston/Sublime-Modula-2 to highlight Modula-2 source code. Here (Lightshow) is an example of how it will look like.

I didn't define a language for KiCAD and GFortran module files. It seemed unnecessary since they are generated and don't have syntax highlighting. Should I?

I think that's probably OK.
@pchaigno - do you need samples for any of these file types?

@pchaigno - do you need samples for any of these file types?

@arfon Yes, I will need samples for XML, Linux Kernel Module, AMPL and Modula-2.

@arfon Yes, I will need samples for XML, Linux Kernel Module, AMPL and Modula-2.
Show all checks

In your inbox.

In your inbox.

Thanks!

The Bayesian classifier wasn't good enough to distinguish XML, Modula-2 and AMPL (Linux Kernel Module are fine though). So, I added a two heuristic rules for Modula-2 and XML. Here are the result for the four corpora:

Corpus
XML
Modula-2
AMPL
Linux Kernel Module

1,000 XML files
100.00%
0.00%
0.00%
0.00%

1,000 Modula-2 files
0.00%
99.20%
0.80%
0.00%

1,000 AMPL files
0.00%
99.83%
0.00%
0.17%

1,000 Linux Kernel Module files
0.00%
0.00%
0.00%
100.00%

That's the best results I could get without getting over-complicated regular expressions. I think the PR is ready. It could use some :eyes: :-)

Thanks for working on this, @pchaigno. Could you by any chance extend the heuristic to improve detection of AMPL files? I think even something simple like
if /(minimize|maximize)/.match(data)
  Language["AMPL"]

could make a big difference as IIUC most of AMPL files are currently misidentified as Modula-2 or, rarely, as Linux Kernel Modules.

@vitaut That was a mistake, I updated the table above. 99.83% of the 1,000 AMPL files are correctly detected (% in file sizes). Error rates are in bold ;)

:+1:

@arfon I just updated the branch

:+1: thanks @pchaigno


⚠ Processors has degraded performance

In 42ab608, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 57 ms

Resolved: Processors performance has improved in b012976.


[UVG] Added translations strings, logo and minor fixes

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description
Added a official logo, translation strings and translation.json, and fixes some buttons bugs

Hey There @RodrigoBigg, you pull request contains changes to multiple character sheets (Blood & Honor and UVG). If that was unintentional, I will ask you to fix you PR. Otherwise, I will ask you to split you PR to one request per sheet. Thanks for all the work you do!

It was unintentional, sorry.  I'll fix that


Update MD file on new branch 2017-21-15_11-11-35

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

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


Set up a testing framework for the project.

User Story

#1

Hi good day sir please i need more information on this. @stephane-segning

Hello @Ngha-Boris. We want to be able to test this app. We need to make sure that the code written is actually of good quality and that it does what it is supposed to do. Hence the idea of testing it. To create this ticket, you should

identify what needs to be tested
research how to test it

Hi @stephane-segning  thank you for your reply please can you put my ticket in the in progress column


Add package NimbleEx01

A nimble package to do basic math operations
https://github.com/CodeBoySoca/NimbleEx01

It's a 404 now.


permission denied to create folder

I try to follow  http://richardhawthorn.com/?p=148 tutorial but when i try to deploy its saying errors
can not create directory<EMAIL_ADDRESS>permission denied

Can you paste the full log here? Does the user you configured have permissions to create folders where you're trying to deploy (ie. if you try it yourself by sshing into the server does it work)?

when I go to my server and try to make directory manually it not allow with user ubuntu when i change ubuntu to sudo su I can make directory one thing problem is that when i try to give username root it not connect and when i give ubuntu i connect
so what i have do? I using ec2 ubuntu server

Rocketeer can't do any more than what you yourself are allowed to do on the server, you'll need to grant your ubuntu user the rights to create the folders where you want Rocketeer to, but this is normal behaviour.


How to generate password and SHA2 in Windows?

I run W10 and docker inside. How to generate these 2 environment variables?

You can use this https://serverfault.com/a/1122278/208062 on Windows

Deploy your own it-tools container, nice tools theirs also an sha generator:
https://github.com/CorentinTh/it-tools


contextual help (dev): endless while loop in include/nav.php line 156

what it says... have not investigated further yet...

changing the loop to
while (! $context_help && ($parentdir !== '.' || $parentdir == ''))
seems to help...

probably fixed

Thanks


[Bug] Or not a bug? Interesting generated titles for CVs

Is there an existing issue for this?

[X] Yes, I have searched the existing issues and none of them match my problem.

Product Variant
Cloud (http://rxresu.me)
Current Behavior
Why is RXResume calling me names?

🤣 😆
Expected Behavior
No response
Steps To Reproduce
No response
What browsers are you seeing the problem on?
No response
What template are you using?
None
Anything else?
No response

Hahaha. Well. You got some of the unfortunate names. Probably should add a filter, but it's also fun 😅 This isn't some corporate politically correct project.
This is indeed a randomly generated title. When creating a resume, you can click on the magic wand icon to generate a name. Keep clicking on it to cycle between different names, to choose one less insulting 😅


feat: esbuild as a peer dependency

Decided not to move forward with this:
Debating whether to move esbuild from dependency to peer-dependency.
The main argument for making it a peer-dependency is that it makes it easier to specify which version of esbuild to use. However, I think that's easily possible even with esbuild as a dependency using any of these methods:

Using npm update to upgrade nested dependencies within the semver range
Using overrides if you want to upgrade to a version outside the semver range
Passing it in via implementation option

The second argument is that it would remove the responsibility for me to update esbuild-loader every time esbuild releases a new major. But since I would set the peer-dependency to a semver range I confirmed works, I would still need to cut a new release to update the semver range.
I'm not sure if there are actually any benefits to having it as a peer-dependency.
I also don't want to needlessly complicate installation/setup by asking users to install esbuild and esbuild-loader. Webpack has a very wide range of users (different eng levels, languages, etc.) so I would like to keep it as simple as possible.


[fix] gws/discussion : remove unused views

Coverage: 82.819%. Remained the same when pulling cc88f70763d4f959e8b5db96d77cba7f0213c816 on fix-gws-discussion into b055313f10ee97f7d82e4362161d3fe8ec4d45c5 on master.


request help: Not able to hit kubernetes local service using ApisixRoute and ApisixUpstream

Issue description
Issue description
Not able to hit kubernetes local service using ApisixRoute and ApisixUpstream. Getting the below error.
Error message in Apisix logs : http_access_phase(): failed to set upstream: discovery dns is uninitialized, client: <IP_ADDRESS>
I am installing the apisix using the below link(through manifest files)
https://apisix.apache.org/docs/ingress-controller/tutorials/the-hard-way/
I added below extra configuration for service discovery in apisix-conf.yaml file.
apiVersion: v1
kind: ConfigMap
metadata:
name: apisix-conf
namespace: apisix
data:
config.yaml: |-
apisix:
discovery:
enabled: true
registry:
dns:
servers:
- "<IP_ADDRESS>:53"
Thanks,
Hariharan.
Environment
Environment
your apisix-ingress-controller version (output of apisix-ingress-controller version --long): 1.6.0
your Kubernetes cluster version (output of kubectl version): 1.28.3
if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
etcd - docker.io/bitnami/etcd:3.4.14-debian-10-r0
Apisix version - apache/apisix:2.15.0-alpine

Are there any other logs?
You can change the log level to debug in the config.yaml to get more logs
nginx_config:
      error_log_level: "debug"

This was answered here https://github.com/apache/apisix-ingress-controller/issues/2097#issuecomment-1876453987


Methods without @Define() inside a processor throws error

Hi,
While working with this module, I got an error. I attached the stack:
UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property 'name' of 'this.metadataAcessor.getDefinitionOptions(...)' as it is undefined.
    at MapIterator.iteratee (D:\Development\project\node_modules\@agent-ly\nestjs-agenda\dist\agenda.explorer.js:43:25)
    at MapIterator.next (D:\Development\project\node_modules\iterare\lib\map.js:13:39)
    at FilterIterator.next (D:\Development\project\node_modules\iterare\lib\filter.js:12:34)
    at IteratorWithOperators.next (D:\Development\project\node_modules\iterare\lib\iterate.js:21:28)
    at Function.from (<anonymous>)
    at IteratorWithOperators.toArray (D:\Development\project\node_modules\iterare\lib\iterate.js:180:22)
    at MetadataScanner.scanFromPrototype (D:\Development\project\node_modules\@nestjs\core\metadata-scanner.js:12:14)
    at D:\Development\project\node_modules\@agent-ly\nestjs-agenda\dist\agenda.explorer.js:40:34
    at Array.forEach (<anonymous>)
    at AgendaExplorer.explore (D:\Development\project\node_modules\@agent-ly\nestjs-agenda\dist\agenda.explorer.js:34:14)
(node:1136) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:1136) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Based on the review of the code, I found it is something related to the method it is getting undefined. So, I tested and found the following details:

I was having 2 methods in the processor file with @Processor()
Only 1 method had @Define() and another method was called from the first method and was private.
When I removed that It worked without any error.

So, based on this I found, I cannot use any method without a Define decorator in a processor class. Can we fix that? I can update to use a new service file, but sometimes it is better to write a private function handle the similar implementation in the same class.

Yea, that wasn't intended -- fixed in 1.2.0

Thanks


Enhancement: Use Bulk Uploader

for easier mass uploading of files:
https://packagist.org/packages/colymba/gridfield-bulk-editing-tools

Thanks for the suggestion @wernerkrauss! We'll look at getting this worked into the next 2 release.

closed via #9


Windows is only supporting Shadow Stack feature for CET

Correcting document technical accuracy

@jinmsft : Thanks for your contribution! The author, @, has been notified to review your proposed change.


Added jump links.

Related issue: #31
Updated index.vue component with ids on different event sections.
Updated header.vue component with links to this sections.

Hey @geekyd updated the approach addressing your comment.

@nicolasacquaviva Thanks for the PR.


fix: fully manage yum confluent.repo file

Description
This PR makes cp-ansible fully manage the yum confluent.repo file using a template; to mend the version upgrade/downgrade issues described in #833. This will assure the correct/desired state on the repo-file when repositories are removed on upgrade/downgrade.
This might be considered a breaking change if any user has added additional repositories to confluent.repo.
Fixes #833
Type of change

[x] 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 not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Any dependent changes have been merged and published in downstream modules
[ ] Any variable changes have been validated to be backwards compatible

Hello @erikgb
The pre check job fails with below error.
13:35:57  TASK [confluent.common : Red Hat Repo Setup and Java Installation] *************
13:35:57  included: /home/jenkins/workspace/c_Contributors_cp-ansible_PR-834/roles/confluent.common/tasks/redhat.yml for zookeeper16, zookeeper26, zookeeper36, kafka-broker16, kafka-broker26, kafka-broker36, schema-registry16, kafka-connect16, ksql16, control-center16, kafka-rest16
13:35:57
13:35:57  TASK [confluent.common : Add Confluent Repo file] ******************************
13:36:00  An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'http_proxy' is undefined
13:36:00  fatal: [ksql16]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'http_proxy' is undefined"}
13:36:00  An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: 'http_proxy' is undefined

Would you mind taking a look on this.

@nsharma-git I think I found the bug. Missing some quotes on a dict key. I will rebase and squash the commits, but please check if the error is gone.

Thanks @erikgb The changes looks good. The PR is successful. We are good to go.
I'll wait for your new squashed commit

Rebased and squashed, should be GTM. Thanks for reviewing @nsharma-git!


Added support for read, create, delete risk in api

Request Template Witsml Explorer
Thank you for contributing to WITSML Explorer!
Before submitting this PR, please fill in the following template.
Fixes
This pull request fixes # (issue)
Description
Added support to read, create and delete risk in WitsmlExplorer.Api
Added some new risk properties
...
Type of change
List the types of change. Remove from the list any points which are not necessary

New feature (non-breaking change which adds functionality)
Enhancement of existing functionality

Impacted Areas in Application
List general components of the application that this PR will affect:
Checklist:
Please tick all the boxes or remove the ones that aren't needed and explain why
Communication

[x] PR is related to an issue
[ ] I have made corresponding changes to the documentation

Code quality

[x] Code follows the style guidelines
[x] I have self-reviewed my code
[x] No new warnings are generated

Test coverage

[x] Existing tests pass
[x] New code is covered by passing tests

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

I got an exception now trying to run this PR today:
Unable to resolve service for type 'WitsmlExplorer.Api.Workers.IWorker`1[WitsmlExplorer.Api.Jobs.CreateRiskJob]' while attempting to activate 'WitsmlExplorer.Api.Services.JobService'

This might be due to recent changes from PR #479


asn1rs chokes on empty SEQUENCE

I was attempting to use asn1rs to produce a rust codec for the 3GPP RRC protocol (38.331. It immediately bombs out with this error:
Failed to load file rrc.asn: Model(At line 36, column 34 expected text, but instead got: '}'
   0: <asn1rs_model::model::ComponentTypeList as core::convert::TryFrom<&mut core::iter::adapters::Peekable<alloc::vec::IntoIter<asn1rs_model::parser::Token>>>>::try_from
   1: asn1rs_model::model::Model<asn1rs_model::model::Asn>::read_sequence_or_sequence_of
   2: asn1rs_model::model::Model<asn1rs_model::model::Asn>::read_role_given_text
   3: <asn1rs_model::model::Choice as core::convert::TryFrom<&mut core::iter::adapters::Peekable<alloc::vec::IntoIter<asn1rs_model::parser::Token>>>>::try_from
   4: asn1rs_model::model::Model<asn1rs_model::model::Asn>::try_from
   5: asn1rs::converter::Converter::load_file
   6: asn1rs::main
   7: std::sys_common::backtrace::__rust_begin_short_backtrace
   8: std::rt::lang_start::{{closure}}
   9: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:259:13
      std::panicking::try::do_call
             at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40
      std::panicking::try
             at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19
      std::panic::catch_unwind
             at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14
      std::rt::lang_start_internal
             at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/rt.rs:51:25
  10: main
  11: __libc_start_main
  12: <unknown>

)

It is complaining about the field messageClassExtension field below:
BCCH-DL-SCH-MessageType ::= CHOICE {
	c1						CHOICE {
		systemInformation						SystemInformation,
		systemInformationBlockType1				SystemInformationBlockType1
	},
	messageClassExtension	SEQUENCE {}
}

I'm not sure why they have these empty SEQEUNCE fields, presumably something to do with extensibility.
I was using asn1rs 0.2.0.

Thats wired, but shouldn't happen. Hopefully I will be able to fix this in the coming days.
Thanks for reporting


setup.py' nor 'pyproject.toml' found at Installation step 5

Thanks for putting the detailed installation step.
I follow the installation step at the read me web page. I maneuver to reach at the last step, which is 5:

Install tensorflow_gnn
$> cd tensorflow_gnn && python3 -m pip install .

I face the error message:
    ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
The tensorflow_gnn folder looks like not haing the setup.py file. Should I use the setpu.py file at the gnn folder, which is the parent folder of the tensorflow_gnn?
Runtime environment:
    OS: Windows 10
    Virtual environment: Anaconda
    Bazel: 5.0
    Tensowflow: 2.7
    Python: 3.8.12

python_requires='>=3.9,<4',

@SidneyLann thanks for indication of Python version. I actually tried with Python 3.9 but it didn't result correctly.
I ran the command (pip install .) at the "gnn" folder (not "gnn/tensorflow_gnn"), and it installed related dependent tools.
For this reason, I want to suggest python3 -m pip install . as a solution for my own problem.


new ideas for TripleAgent

We can inject exceptions at the beginning of loop bodies to reduce brittleness in batch and data processing pipelines.
Related work:
Robust Programs with Filtered Iterators
https://people.csail.mit.edu/rinard/paper/sle17.pdf


iOS: 'clearProducts is not a recognized Objective-C method.'

Hello.
Command clearProductsIOS causes the following error:
ExceptionsManager.js:184 Exception 'clearProducts is not a recognized Objective-C method.' was thrown while invoking clearProducts on target RNIapIos with params (
)

Version of react-native-iap
8.0.5
Version of react-native
0.66.4
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
Clear valid Products
Actual behavior
ExceptionsManager.js:184 Exception 'clearProducts is not a recognized Objective-C method.' was thrown while invoking clearProducts on target RNIapIos with params (
)

Tested environment (Emulator? Real Device?)
Read Device
Steps to reproduce the behavior
await RNIap.initConnection();
await RNIap.clearProductsIOS();

It maybe related to bridging header but I have it.
Maybe somebody have a suggestion how to fix it?


Fixed issue 393 autogenerated headerlinks

@rxaviers sir,
I have fixed issue #393 - Use autogenerated headerlinks. Please review the pull request. I have also swapped the reference links "Build" and "Tests" under "Development" to keep things in order.

@ManrajGrover please, read and sign our CLA.

Apart from missing CLA signature, looks good to me!

@rxaviers
Okay sir, I have filled the details. May I know how to fix this?

Overall looks good. Please, just let us know when you push new commits.

Okay sir, I have filled the details. May I know how to fix this?

You should be good now.

@rxaviers Sir made final changes. Please check.

One last missing link

@rxaviers Sir, made the change.Sorry for missing that.

Landed. No problem for the last link. Thank you for your contribution.

There's a typo in the commit message, so the PR didn't close. Can somebody do it?

Shoot my bad. Thanks @arthurvr


Warning for componentWillReceiveProps

When using the latest version of React, I'm receiving the following warning in the developer console.

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

Move data fetching code or side effects to componentDidUpdate.
If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: Avatar

Thanks @Valkryst for letting us know. We still use this component in React 15, so we'll have to find an easy way to maintain both.

@JorgenEvens - Its not a 'breaking' change per-say. This would error before if you had strict mode on, now its just forced error in prep for upcoming release. If you make the change suggested, it will work on both versions and be forward ready.

@amcdnl I was under the impression from what I had read that the UNSAFE_* methods were only introduced in React release 16.3 and greater. Effectively breaking our application which is still on 15.6.
I'll see what I can do to migrate this component onto the new API or unsafe methods.

Hi @Valkryst, @amcdnl,
I've just released v3.7.0 which no longer uses the deprecated componentWillReceiveProps but rather does the same work in componentDidUpdate which works out to the same behavior. This should work in all version of react we previously supported, adding future version of react as well.

Hey @JorgenEvens,
Thanks for the heads-up!


Unable to find shader

Enviroment: visual studio 2017 with MSBuild 2019. windows 10 x64
first off. I cannot install visual studio plugin. and write a shader seems working on editor. but it occurds an exception about unable to find shader.
should I deal with the plugin problem first?

I'm sure It' not visual studio plugin issue. But I don't really know how it works.
Is shader compiled to byte code into database? or just use origin shader string, and be compiled before application launching?

Problem solved. My shader file(.xksl) is in $(Project)/Shader folder. but in [XenkoProject].Game.xkpkg file, configuration [AssetFolders] doesn't exist Shader folder, It uses Effects folder by default.

why this issue just come to me. Now it makes scene.

I think this issue should be re-opened @xen2 as I also hit the issue. I created a fresh project and attempted to add a single shader. The Editor renders the shader no problem (in the Project folder), however when compiling and running the game, the shader cannot be found, the [XenkoProjectName].xkpkg was looking in Effects. I created Effects and moved the shader to that folder and now the game compiles.