Fast and generic implementation using OpenMP and CUDA

I have implemented a module using OpenMP and CUDA that runs faster while maintaining the memory efficiency of your CuPy implementation.
shikishima-TasakiLab/Involution-PyTorch
It also supports TorchScript and 16-bit float.
shikishima-TasakiLab/Involution-PyTorch#1

Great work! It will help a lot in practice!
As I have mentioned in the README, would you please make a PR to contribute to this repo? Just to be on the safe side, I will run some experiments to double-check the reimplementation's correctness before merging it into the main branch. Thanks.

I made a PR.
I did not merge the conflicting parts of the README, so please add module descriptions accordingly.

OK, I will verify and merge it as soon as I could.


Official Bootstrap and Vite Guide Causes 404.

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
The official guide, when followed exactly, produces a 404.
https://getbootstrap.com/docs/5.2/getting-started/vite/
Reduced test cases
I don't know what this means.
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.2

Thanks for reporting an issue @scottonanski
Which part exactly?
I've retested it quickly and it it works perfectly. On top of that, you have https://stackblitz.com/github/twbs/examples/tree/main/vite?file=README.md which is the result of this guide, and it works.

@scottonanski @julien-deramond Hi I am new to Open Source so can you please provide me some guidance on how can I be helpful in contributing in this Project.

Most of the information is gathered in our Contributing Guidelines.
Regarding this issue, you can be helpful by explaining what's the problem with the Vite guide. Otherwise, please close it.


Software catalogs integration with gitlab - facing error

📜 Description
Hi Team
I am very new to backstage and first I am trying to integrate Software catalog from gitlab, but resulting in below error
referred https://backstage.io/docs/integrations/gitlab/discovery
still facing below error
error GitlabDiscoveryEntityProvider:organization refresh failed, FetchError: request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com target=GitlabDiscoveryEntityProvider:organization class=GitlabDiscoveryEntityProvider taskId=GitlabDiscoveryEntityProvider:organization:refresh taskInstanceId=d733b910-de77-4003-9d9c-19a0959c0a98 type=system errno=ENOTFOUND code=ENOTFOUND stack=FetchError: request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com
[1]     at ClientRequest. (/home/vinaykv/backstage/node_modules/node-fetch/lib/index.js:1501:11)
[1]     at ClientRequest.emit (node:events:517:28)
[1]     at TLSSocket.socketErrorListener (node:_http_client:501:9)
[1]     at TLSSocket.emit (node:events:517:28)
[1]     at emitErrorNT (node:internal/streams/destroy:151:8)
[1]     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
[1]     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[1] 2024-06-10T17:48:28.955Z catalog error GitlabDiscoveryEntityProvider:yourProviderId refresh failed, FetchError: request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com target=GitlabDiscoveryEntityProvider:yourProviderId class=GitlabDiscoveryEntityProvider taskId=GitlabDiscoveryEntityProvider:yourProviderId:refresh taskInstanceId=e5e9d813-6972-4d4d-8cc7-80cc5579275f type=system errno=ENOTFOUND code=ENOTFOUND stack=FetchError: request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com
[1]     at ClientRequest. (/home/vinaykv/backstage/node_modules/node-fetch/lib/index.js:1501:11)
[1]     at ClientRequest.emit (node:events:517:28)
[1]     at TLSSocket.socketErrorListener (node:_http_client:501:9)
[1]     at TLSSocket.emit (node:events:517:28)
[1]     at emitErrorNT (node:internal/streams/destroy:151:8)
[1]     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
[1]     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
👍 Expected behavior
it should load the software catalogs from gitlab, where catalog-info.yaml is present
example
https://gitlab.corp.organization.com/project-one/project-one-sub/-/blob/develop/catalog-info.yaml
https://gitlab.corp.organization.com/project-one/project-two-sub/-/blob/develop/catalog-info.yaml
https://gitlab.corp.organization.com/project-two/project-one/-/blob/develop/catalog-info.yaml
etc
👎 Actual Behavior with Screenshots
I am trying to integrate Software catalog from gitlab, but resulting in below error
referred https://backstage.io/docs/integrations/gitlab/discovery
still facing below error
error GitlabDiscoveryEntityProvider:organization refresh failed, FetchError: request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com target=GitlabDiscoveryEntityProvider:organization class=GitlabDiscoveryEntityProvider taskId=GitlabDiscoveryEntityProvider:organization:refresh taskInstanceId=d733b910-de77-4003-9d9c-19a0959c0a98 type=system errno=ENOTFOUND code=ENOTFOUND stack=FetchError: request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com
[1]     at ClientRequest. (/home/vinaykv/backstage/node_modules/node-fetch/lib/index.js:1501:11)
[1]     at ClientRequest.emit (node:events:517:28)
[1]     at TLSSocket.socketErrorListener (node:_http_client:501:9)
[1]     at TLSSocket.emit (node:events:517:28)
[1]     at emitErrorNT (node:internal/streams/destroy:151:8)
[1]     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
[1]     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[1] 2024-06-10T17:48:28.955Z catalog error GitlabDiscoveryEntityProvider:yourProviderId refresh failed, FetchError: request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com target=GitlabDiscoveryEntityProvider:yourProviderId class=GitlabDiscoveryEntityProvider taskId=GitlabDiscoveryEntityProvider:yourProviderId:refresh taskInstanceId=e5e9d813-6972-4d4d-8cc7-80cc5579275f type=system errno=ENOTFOUND code=ENOTFOUND stack=FetchError: request to https://gitlab.corp.organization.com/api/v4/projects?archived=false&page=1&per_page=50 failed, reason: getaddrinfo ENOTFOUND gitlab.corp.organization.com
[1]     at ClientRequest. (/home/vinaykv/backstage/node_modules/node-fetch/lib/index.js:1501:11)
[1]     at ClientRequest.emit (node:events:517:28)
[1]     at TLSSocket.socketErrorListener (node:_http_client:501:9)
[1]     at TLSSocket.emit (node:events:517:28)
[1]     at emitErrorNT (node:internal/streams/destroy:151:8)
[1]     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
[1]     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
👟 Reproduction steps

npx @backstage/create-app@latest create project

cd my-backstage-app # your app name

yarn dev

app-config.yaml
integrations:
gitlab:
- host: gitlab.corp.organization.com
token: token
apiBaseUrl: https://gitlab.corp.organization.com/api/v4
baseUrl: https://gitlab.corp.organization.com
catalog:
providers:
gitlab:
yourProviderId:
host: gitlab.corp.organization.com
branch: master
fallbackBranch: master
skipForkedRepos: false
entityFilename: catalog-info.yaml
projectPattern: '[\s\S]*'
schedule:
frequency: { minutes: 30 }
timeout: { minutes: 10 }

execute below commands
From your Backstage root directory
yarn --cwd packages/backend add @backstage/plugin-catalog-backend-module-gitlab
backend/src/index.ts
backend.add(import('@backstage/plugin-catalog-backend-module-gitlab/alpha'));
backend/src/plugins/catalog.ts
import { GitlabDiscoveryEntityProvider } from '@backstage/plugin-catalog-backend-module-gitlab';
import { CatalogBuilder } from '@backstage/plugin-catalog-backend';
import { ScaffolderEntitiesProcessor } from '@backstage/plugin-scaffolder-backend';
import { Router } from 'express';
import { PluginEnvironment } from '../types';
export default async function createPlugin(
env: PluginEnvironment,
): Promise {
const builder = await CatalogBuilder.create(env);
builder.addEntityProvider(
...GitlabDiscoveryEntityProvider.fromConfig(env.config, {
logger: env.logger,
// optional: alternatively, use scheduler with schedule defined in app-config.yaml
schedule: env.scheduler.createScheduledTaskRunner({
frequency: { minutes: 30 },
timeout: { minutes: 3 },
}),
// optional: alternatively, use schedule
scheduler: env.scheduler,
}),
);
builder.addProcessor(new ScaffolderEntitiesProcessor());
const {processingEngine, router } = await builder.build();
await processingEngine.start();
return router;
}

📃 Provide the context for the Bug.
backstage with gitlab
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Hi @vinaykv23, could you please let us know if you are running behind a corporate proxy? This documentation might be helpful if so: https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/help-im-behind-a-corporate-proxy.md


"There is no runtime available right now"

I'm getting this error for the CPU runtime so my work is currently stuck. Can you please fix this issue? This is also the issue for GPU but I mostly utilize the CPU notebook.

Sorry for the inconvenience, please refer the replies in the following issue. We are tackling this issue eagerly from the last year.
https://github.com/aws/studio-lab-examples/issues/202

Hi NelsonMoore00, is this still an issue or can we close it.

We close this issue and merge to #202.


Unable to run the Web build with Expo Router enabled (forcing to use Metro bundler)

Description
(I'm building a multi-platform music learning game and RN Skia has been at the core of the playing interface, so thank you for all your work on this repo! 🙏)
After a successful mobile development, I'm now building my RN app for the Web, and have been following the official instructions. It's been working great, until... I started using Expo Router v2.
As mentioned in the Expo Router installation guide, the web bundler needs to be changed from webpack to  metro which make the build fails (see below).
Version
RN Skia: 0.1.197
🔴 Steps to reproduce (.wasm loading issue with metro)
Starting from a working Web build on webpack:

Change the web bundler in my app.json to "bundler": "metro" (required by Expo Router).
I make sure fs, path and os are not triggering errors by updating the package.json from canvaskit-wasm through this postinstall script:

// To be added in package.json "postinstall": "(...) && node [name-of-this-file].js"
const fs = require('fs');
const path = require('path');

const packageJsonPath = path.join(__dirname, 'node_modules', '@shopify', 'react-native-skia', 'node_modules', 'canvaskit-wasm', 'package.json');
const packageJson = require(packageJsonPath);

packageJson.browser = {
  fs: false,
  path: false,
  os: false,
};

fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2));

Then choose how to load the CanvasKit web assembly file .wasm (both fails).
1. Local .wasm loading
When loading the app from a local file (LoadSkiaWeb().then(...)), this issue is raised:

-> This could be raised by the fact that the WebAssembly file is not available from the build system. In the expo metro vs webpack documentation, it's stated that the static folder is now public (instead of web).
Fixing that by:

passing this folder to the installer (yarn setup-skia-web "public") so that it's copied on the right static folder for metro
adding .wasm to the list of accepted public assets in the metro.config.js:

(...)
config.resolver.assetExts.push(
  // Adds support for `.wasm` files for Skia's web build
  'wasm',
)
(..)

=> BUT the same error is still thrown. 😬
2. CDN .wasm loading
If I try to load the .wasm from a CDN instead of locally:
LoadSkiaWeb({
  locateFile: (file) => `https://cdn.jsdelivr.net/npm/canvaskit-wasm@${version}/bin/full/${file}`,
}).then(...)

=> a different issue is raised:

Any thoughts on how to fix those issues to have the Skia web build work with Metro instead of webpack? Or another workaround?

✅ fs error (solved, see above for current build issue)
The build was first crashing because the native React runtime does not include the Node standard library like fs:

=> Solved the fs issue by adding this to the package.json of the canvaskit-wasm as per this comment on #1448 and #1243 :
"browser": {
    "fs": false,
    "path": false,
    "os": false
  }

Note: You need to modify the canvaskit-wasm loaded by react-native-skia, full file path is<EMAIL_ADDRESS>Smart postinstall trick in this comment too.

Solved the fs issue by adding this to the package.json of the canvaskit-wasm as per this comment on #1448:
"browser": {
    "fs": false,
    "path": false,
    "os": false
  }

Note: You need to modify the canvaskit-wasm loaded by react-native-skia, full file path is<EMAIL_ADDRESS>Smart postinstall trick in this comment too.

Still facing issue running RN Skia with Expo Router though. Read some comments on #944 & #1084.
-> It seems like the recommended way is to use deferred component registration (as per remotion with skia's example).
Problem: The way that Expo Router is designed, there is no registerRoot function anymore and I haven't found a way to defer the component registration...
=> The _layout.js file that is supposed to load the root / URL, has to return a JSX component instantly and can't be deferred.
@wcandillon any thoughts on having a similar behavior than the fallback={<Text>Loading Skia...</Text>} />} of the WithSkiaWeb component, but while using the LoadSkiaWeb function?

Current error: As of now, I have my app/_layout.tsx main routing file as:
import { WithSkiaWeb } from '@shopify/react-native-skia/lib/module/web';
import { Text } from 'react-native';

const App = () => <WithSkiaWeb
    getComponent={() => import('(...)/mySkiaComponent')}
    fallback={<Text style={{ textAlign: 'center' }}>Loading Skia...</Text>}
  />;

export default App;

But it's throwing this error when Skia finally loads: Cannot read properties of undefined (reading 'Matrix')

Note: the web build of this project was working great before I migrated to Expo Router & therefore Metro bundler...
-> I'm happy to update the RN Skia doc page once we find a fix to this since more and more people are going to start using Expo Router with the new v2 features...

The only dynamic re-rendering of the _layout.js file I've seen if while using hooks, see the expo-router-layout-root.ts example:
// app/_layout.tsx
// ...
import { Slot } from "expo-router";

const App = () => {
  const [fontsLoaded] = useFonts(fontFiles);

  if (!fontsLoaded) {
    return null;
  }

  return (
    <QueryClientProvider>
        <ThemeProvider theme={theme}>
          <AuthProvider>
              <Slot />
          </AuthProvider>
        </ThemeProvider>
    </QueryClientProvider>
  );
};

export default App;

But not sure how this could be applied with LoadSkiaWeb(). 🤔

Similar error while trying to load another component, but with Path this time:

Rebuilt an example repo from scratch and found a way to make it work.
Example repo available here: rn-skia-metro-web-example
Will do a Doc PR asap soon to share this set-up process with the community.

I was able to make this work with a different approach which expects yarn setup-skia-web public to be ran post install.
I then used an index.web.js file at the root of the expo-router project.
import "@expo/metro-runtime";
import { LoadSkiaWeb } from "@shopify/react-native-skia/lib/module/web";
import { App } from "expo-router/build/qualified-entry";
import { renderRootComponent } from "expo-router/build/renderRootComponent";

// This file should only import and register the root. No components or exports
// should be added here.
LoadSkiaWeb({
  locateFile: (file) => {
    console.log("file", file);
    return `/public/static/js/${file}`;
  },
}).then(async () => {
  renderRootComponent(App);
});

This should also work with the <WithSkiaWeb> code splitting approach in the docs.
Hope this helps!

I get this error when trying your code: @jmatsushita

I was able to make this work with a different approach which expects yarn setup-skia-web public to be ran post install.
I then used an index.web.js file at the root of the expo-router project.
import "@expo/metro-runtime";
import { LoadSkiaWeb } from "@shopify/react-native-skia/lib/module/web";
import { App } from "expo-router/build/qualified-entry";
import { renderRootComponent } from "expo-router/build/renderRootComponent";

// This file should only import and register the root. No components or exports
// should be added here.
LoadSkiaWeb({
  locateFile: (file) => {
    return `/public/static/js/${file}`;
  },
}).then(async () => {
  renderRootComponent(App);
});

This should also work with the <WithSkiaWeb> code splitting approach in the docs.
Hope this helps!

Ah I missed this reply for some reason. Very exciting, I'll try it too & see if it works as well 🤔


[Bug 610]carbondatasourcerelation size issue fix

When table is dropped and user runs below command
"drop table if exists "
carbon is giving issue while evaluating size as directory doesn't exist.
Fixe is made to check if directory exists than only evaluate size.

LGTM


fix: improve TModelFieldsConfig type

Hi @ragafus ✋
I'm not sure about the background and goal of this PR but just wanted to let you know we have a ticket in the FE chapter we want to use to improve typescript support for test data models, specially regarding the typing of fields configuration.
Our idea is to do some research on the topic and create an RFC where we document what are current status look like, what we think we can improve and how we can do it.
If you want to work on this topic, perhaps we can have some kind of initial alignment.


New Additions

Added
[Promo Image Resizer] -> [Image Compression]
Link: https://promo.com/tools/image-resizer/
[Grabient] -> [Colors]
Link : https://www.grabient.com/
Desc: Gradient selector
[Growwkit] -> [Icons]
Link : https://growwwkit.com/illustrations/phonies
[Unminus] -> [Stock Music & Sound Effects]
Link : https://www.unminus.com/
[knutsynstad] -> [Online Design Tools]
Link : http://knutsynstad.com/fauxcode/
[uibakery] -> [Online Design Tools]
Link : https://uibakery.io/signup-form-generator/
Desc : Online form generator
Please delete this line before submitting, Pull request TITLE should look like this: [Resource] -> [Resource Section In Docs]
[Resource Name - Edit this line]
Edit this line with Small Description about new added resource
Link: www.linkToResource
Checklist:

[ ] I have performed a self-review of submitted resource and its follows the guidelines of the project.

@Devendra616 Hey, Can you split your Pull request to single resource per one pull request?

Closing, all resources have been added.

Sorry did not check my mails for last few days. Good to know that resources have been added.


Cannot read property 'query' of undefined in node.js server(+MySQL)

I have a some problem about node.js server. What should I do to solve the this problem?
Below list is error message to node.js server(+MySQL):
TypeError: Cannot read property 'query' of undefined
at c:\Users\Administrator\Mobius Yellow Turtle\app.js:202:15
at Handshake.onConnect (c:\Users\Administrator\Mobius Yellow Turtle\node_modules\mysql\lib\Pool.js:54:9)
at Handshake.Sequence.end (c:\Users\Administrator\Mobius Yellow Turtle\node_modules\mysql\lib\protocol\sequences\Sequence.js:96:24)
at Handshake.ErrorPacket (c:\Users\Administrator\Mobius Yellow Turtle\node_modules\mysql\lib\protocol\sequences\Handshake.js:103:8)
at Protocol._parsePacket (c:\Users\Administrator\Mobius Yellow Turtle\node_modules\mysql\lib\protocol\Protocol.js:274:23)
at Parser.write (c:\Users\Administrator\Mobius Yellow Turtle\node_modules\mysql\lib\protocol\Parser.js:77:12)
at Protocol.write (c:\Users\Administrator\Mobius Yellow Turtle\node_modules\mysql\lib\protocol\Protocol.js:39:16)
at Socket.<anonymous> (c:\Users\Administrator\Mobius Yellow Turtle\node_modules\mysql\lib\Connection.js:96:28)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)

Hi! This is an error your your code, and the error is coming from the logic you have in app.js line 202. We should be able to help you if you share that entire file with us, so we can figure out where the mistake is :)

I have similar error. Here is my function which executes mysql queries using pool connection
function execute(query) {   return new Promise((resolve, reject) => {     pool.getConnection((err, connection) => {       if (err) {         logger.error(Error getting connection from MySQL pool: ${err.stack}`);
reject(err);
}
  connection.query(query, (err,rows) => {
    if (err) {
      logger.error(`Couldn't execute SQL query: ${err.stack}`);
      reject(err);
    }
    connection.release();

    resolve(rows[0]);
  });
});

});
}`
but I get an error
connection.query(query, (err,rows) => { TypeError: Cannot read property 'query' of undefined
which comes after checking if there was an error in getting connection from the pool.
Question is in what kind of situations there is no error while you get connection from the pool, but connection object itself is undefined?

Hi @Satyricon , you check for the error and call reject(err), but then you don't actually stop your code from continuing to execute. You need to either wrap the connection.query in an else block or add return; as the last statement of your if block.

Good catch, but the problem is that I never get error log that there was a problem in getting connection from the pool.

Hm, weird, @Satyricon. I'm not sure how much I can really help with the invormation provided. Can you open a new issue for this? Also, please include all the information I would need to be able to reproduce the issue, or I really have no idea why you would not get an error nor a connection object. Have you been able to attach a debugger and see what is happening in the code?

I am running this code in very concurrent environment, that's why it is hard reproduce this error without enough load on the system. Shortly I am reading JSONs from kafka queue and for some key/value pairs from JSON making sql queries to add more data to JSON. So I can have many simultaneous sql queries to DB. In mysql conf file I have a limit for pool connection amount (100), but I am not setting waitForConnections parameter to false (and default value is true), so it should queue for getting connections from pool.

And comment to your first comment @dougwilson related to return after rejecting promise. Here is a test function:
`function test(arg) {
return new Promise((res, rej) => {
if (arg > 10) {
console.log("before reject")
reject("err")
console.log("after reject")
}
console.log("before resolve")
resolve("suc")
console.log("after resolve")
})
}
test(14).then((res) => console.log(res))
`
and result is
before reject
so I don't think that you need to terminate with return statement after rejection.

Ah, @Satyricon, good to know. I don't really use promises, so didn't know :) I'm truly at a loss, though, I have no idea how to help you...

Perhaps, if you could offer up a pull request that fixes the issue? I could certainly get it merged & released :) !

First I need to figure out what is happening :). In all cases thanks for trying to help.

No problem, @Satyricon ! Sorry I couldn't help :( If you could provide enough information for me to reproduce it locally, I can attach a debugger and track it down in no time...


Hack-fixed cwd

This fixes my problems with the current working directory.
There are two instances where the cwd is changed while getting the compile messages.
The first is probably understandable: After running cargo metadata --no-deps, cargo seems to have changed the cwd and this change seems to propagate into the plugin.
The second change is a complete mystery to me: After the call to view.erase_phantoms('rust-syntax-phantom') in hide_phantoms(), the cwd is lost as well. This seems to be a bug in Sublime itself, if I didn't miss something else plugin-related.
In my particular case, when starting with a file_dir of ~/projects/mio/code/crates/mio_core/src, after each of those two instances, the cwd would have been "reset" to ~/projects/mio/code.
Obviously my changes are not a robust solution. I'd propose generally passing the cwd into Popen to avoid such problems in the future.

Update: The commit doesn't seem to be sufficient in all cases. Sometimes, after saving, I still get the error: could not find Cargo.tomlin~/projects/mio/code or any parent directory error message.
So I guess that the working directory is changed in other places as well. I can look into that earliest on Monday. This enforces my suggestion to always pass the desired cwd into Popen.

I agree, the chdir stuff is a little strange, and it's not surprising it would cause issues.  I will make a PR that will set it in Popen within the next day or two.


[Question] How can I record WAV or MP3?

Changing 'fileType': 'wav' or just the output file name to output.wav creates an unplayable WAV file.

Changing 'fileType': 'wav' should do it on Mac or Windows with SoX.
So we use the 'rec' command which uses SoX. On Linux we are using alsa tools 'arecord'. For SoX, you need to check how to record a wave file by reading up here: http://sox.sourceforge.net/soxformat.html
Excerpt here:
.wav (also with −t sndfile)
Microsoft .WAV RIFF files. This is the native audio file format of Windows, and widely used for uncompressed audio.
Normally .wav files have all formatting information in their headers, and so do not need any format options specified for an input file. If any are, they will override the file header, and you will be warned to this effect. You had better know what you are doing! Output format options will cause a format conversion, and the .wav will written appropriately.
SoX can read and write linear PCM, floating point, μ-law, A-law, MS ADPCM, and IMA (or DVI) ADPCM encoded samples. WAV files can also contain audio encoded in many other ways (not currently supported with SoX) e.g. MP3; in some cases such a file can still be read by SoX by overriding the file type, e.g.
   play −t mp3 mp3−encoded.wav
Big endian versions of RIFF files, called RIFX, are also supported. To write a RIFX file, use the −B option with the output file options.

You can see how we are calling the underlying 'rec' by looking at the mic.js file available at: mic/lib/mic.js
Clearly we call it with -t fileType so if you change it to 'wav' it should work.


Jackettio

Addon Manifest URL
https://jackettio.elfhosted.com/manifest.json
Addon Description
Addon Manifest URL
https://jackettio.elfhosted.com/manifest.json
Addon Description

This is a public, ElfHosted instance of jackettio for the Stremio community - Enjoy! (reasonable rate-limits apply)
jackettio is a self-hostable Stremio Addon which uses Jackett to provide search results - you supply your own indexers / trackers, and it integrates seamlessly with private trackers (You can also seed back to private trackers if you're a debrid-link user)
ElfHosted is an open-source PaaS built and run by geeks, which self-hosts your favorite streaming apps for you, automatically and easily.
Individual, hosted Jackettio instances are available (say, if you need to add your private trackers) from $0.05/day, with $10 free credit for new accounts.
Why use ElfHosted Stremio addons?

✅ Highly-available, open-source infrastructure /
✅ Active contributors to r/StremioAddons subreddit and Discord
✅ Geek out over public performance metrics

Language of Content
English (en-US)
Choose Labels

[ ] anime
[ ] asian drama
[ ] bollywood
[ ] cartoons
[X] debrid support
[ ] http streams
[ ] live tv
[ ] metadata
[ ] misc
[X] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[ ] subtitles
[ ] torrents
[X] tv shows
[ ] video games

jackettio is not working with alldebrid, can u take a look? please

Doesnt work?

Ah, thanks for pointing that out. I found that a data volume had filled up, I've refactored it to avoid this, should be working now :)

Thanks for the addon but i cant get any 4k links,what could be the problem ? Thanks

will you add Premiumize support please ?


A&R: Add Date Range search/filter to review data page

Description:
As a bc parks staff who uses A&R, I would like to export a specific date range in a standard report so that I do not download all the data from A&R.
This ticket is to add a date range filter (from admin library) to the export report standard report tab.

downloading an A&R standard report is getting big, especially when users do not need to see all data from all years.
Acceptance Criteria:
Given I am a A&R admin user (role dependent for what data is downloaded)
When I go to the export report page
Then I see an option to select a date range OR export all data on the standard report tab.
Given I am an A&R admin user (role dependent for what data is downloaded)
When I go to the export report page and select date range for standard report download
Then I can select a specific date range by year and month to download.
Development Checklist:

[ ] ...
[ ] ...
[ ] ...

Dependencies

Blocked by
Blocking

Wireframe(s):
Workflows:
Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

Definition of Done

In progress:

[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] UI meets accessibility requirements
[ ] Unit tests are written
[ ] Work is traceable in GitHub
[ ] PR linked to ticket number
[ ] If needed/required - Dev adds flag/label to highlight any migration steps necessary prior to PROD deployment

Code review:

[ ] Code is peer reviewed and has passed CI/CD tests

QA:

[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] Code is potentially shippable to the production environment
[ ] Functional features have been tested and passed by QA
[ ] UI components tested by designer
[ ] Code is deployed to PROD when moved to 'done' column (unless requested otherwise by PO)

PO Review:

[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] Reviewed and approved by Product Owner

Notes:

Q for team in refinement: Does something like this need a separate design ticket, or is it straight forward enough to embed the full implementation in this one card? cc @JLWade

Refinement Notes:

99% of the time the export is just for the most recent data.
Prefers to export a set of months (eg: Jan-March as an example of a set)
Rarely would they need to export the whole thing

Designs in ticket #338

Blocked by SAM release.

This may have been a duplicate of this one - https://github.com/bcgov/bcparks-ar-admin/issues/265

@meredithom seeing this has a couple PRs, should this ticket be in the Code Review pipeline?

Tested on TEST: Failed

Verified that the date range field only enables when the checkbox to export all is unchecked.

Issues:

Exporting a standard report with "All" or a date range export empty reports, tested with both sysAdmin user and a Park/facility specific role.
The font size of the label "Export all" looks smaller than whats given on Figma.
When the date range have lengthy month names, the text overflow out of the field.
The date picket shows the month name "September" in two lines.

Passing this back to Todo.

@manuji this should be good for review! Looks like the issue was a small typo with the new exporter logic, and then an issue with how it request data with those start and end dates.
All the styling issues should be addressed now as well, so "Export all" should be a proper size, the calendar picker should be a little wider so months don't get clipped, and then some fixes to the date input box so it doesn't push items outside the box.
Let me know if it all looks good.

Tested on TEST: Passed

verified that the issues have been fixed and the report can be exported.
Passing to PO review.

Looks great! Thank you @meredithom @davidclaveau and @manuji !


After update to 6.5.2 the radar diagram shows no data

After update to 6.5.2 the radar diagram shows no data - I have the latest version of radar panel (34713c1)  Anyone have noticed same problem.  I use Data via influxdb.

Yes, I have Grafana v6.6.1 and the radar diagram in my old dashboard shows no data.
I use Data via InfluxDB too!
I have lastest radar panel too!


Parameter confusion/mismatch with options.purpose on verify

The verify call accepts either a presentation or a credential. If passing a presentation, all credentials in the presentation are also checked. However, this creates a problem with the optional purpose parameter: It's unclear whether it applies to the credentials or the presentation. These two items are generally signed for different purposes (credentials to make assertions and presentations to authenticate). Therefore, when verifying a VP, passing a purpose parameter breaks things/creates confusion; only the defaults work properly.

I recommend we specify two different sets of options for VCs vs. VPs -- and, perhaps we should just have two different methods for further clarity, as prefixing/namespacing the options when just verifying a VC may seem weird, whereas the purpose for that is clear when verifying a VP + its VCs.

@dlongley sure, separating it into a verifyCredential and verifyPresentation seems reasonable.

Addressed in PR #54.

PR #54 merged into master, closing.


file hash verification

Might be useful to verify the file hash on downloading. Look at how pooch does it.

Closing this since I'm not working on it at the moment.


Error in downstream segment

Running into an issue in the downstream portion of the pipeline. The "wat3r" portion seems to run fine with no errors. I've attached a screenshot of the terminal as well as the log files for both "wat3r" and "downstream". Overall the "downstream" portion does output the two result tables, but only exports the db_histograms.pdf plot and not the ReadPercentage_FilteringSteps.pdf plot.
mysample_downstream.log
wat3r.log

Hi,
It looks like you didn't add a file with cell annotations when running downstream, using the option -a /path/to/annotations.txt. You need it in order to get the rest of the plots. Everything else looks good!

Thanks! I tried it again and passed in the -a option with an annotation file. Looks like the rest of the plots are generated, with the exception of the ReadPercentage_FilteringSteps.pdf plot. This one is still missing but realistically is probably the least important.

The read percentages are also reported in this file: downstream/wat3rMetrics_downstream.txt
I'm going to close this ticket since it has been inactive for a few months but please re-open if you have more questions.


cors-anywhere on a2 hosting server

i have setup cors-anywhere on heroku and other on a2 hosting server, api/post working fine with heroku server but not with my a2 hosting server.
-- "https://testmycors.herokuapp.com/https://--api-name--6443/api/v2" works great
on a2hosting - "http://--my url--/proxy?url=http://--api-name--:6443/api/v2"
results in Error: connect ETIMEDOUT x.x.x.x:443
`const express = require('express');
const app = express();
const port = 49405;
const corsAnywhere = require('cors-anywhere');
const httpProxy = require('http-proxy');
let proxy = corsAnywhere.createServer({
originBlacklist: [],
originWhitelist: [],
requireHeader: ['origin', 'x-requested-with'],
removeHeaders: ['cookie', 'cookie2','x-request-start'],
setHeaders :{"x-powered-by": "CORS Anywhere"},
redirectSameOrigin: true,
httpProxyOptions: {
secure:true
},
});
/* Attach our cors proxy to the existing API on the /proxy endpoint. */
app.use('/proxy', (req, res) => {
req.url = req.url.replace('/?url=','/');
proxy.emit('request', req, res);
});
app.get('/', (req, res) => res.send('This API enables cross-origin requests to anywhere.'));
i cannot seems to figure out the issue ..why its not working from my server

It seems that your search term is incorrect. Replace
req.url = req.url.replace('/?url=','/');

with
req.url = req.url.replace('/proxy?url=', '/');


Iteration Plan for 3.9

The OHIF Viewers 3.9 iteration aims to deliver a comprehensive set of improvements and new features to enhance the user experience, performance, and functionality of the OHIF Viewers application. This plan outlines the proposed areas of focus and serves as a roadmap for the development efforts. Please note that this is a tentative plan, and the actual scope may vary based on available resources and priorities.
Proposed Timeline
The tentative timeline for the OHIF Viewers 3.9 iteration is from May 2024 to September 2024 October 2024
Legend
🔢 🔢 : Partially completed
Focus Areas

User Interface (UI) and User Experience (UX)

[x] 3.9-MP Revamp Measurement Panel Design: Update measurement panel to match segmentation panel design and add new features (PR#4347)
[x] 3.9-SB Revamp Study Browser Panel Design: Redesign study browser panel with optimized layout and visual indicators (PR#4254 PR#4417)
[x] 3.9-UI Miscellaneous UI Improvements: Address outdated UI components and add new functionality across the application (PR#4206) (PR#4347)
[ ] 🔢 🔢 3.9-RD Improve Responsiveness and Optimize UI for Tablets and Mobile Devices: Introduce responsive designs for tablets and mobile devices (part 1) PR#4469, PR#4412, PR#4399, PR#4387, PR#4378, PR#4384, PR#4324,
[ ] 🔢 🔢 3.9-FU Implement Fusion UI for Foreground/Background and Segmentation Rendering (partly by PR#4347)

Testing and Quality Assurance

[x] 3.9-TS Expand Test Coverage with End-to-End and Visual Regression Tests: Implement E2E and visual regression tests to improve stability and quality (💯  Added via PR#4273  , PR#4263, PR#4255, PR#4221, PR#4202, In cornerstone3D, PR#1359, PR#1332, PR#1315)

Performance and Optimization

[x] 3.9-WW Improve Web Worker Integration and Documentation: Enhance web worker support, documentation, and user experience (PR#4347)
[x] 3.9-HT Support for HTJ2K Progressive Image Loading: Enable progressive loading and rendering of large image datasets using HTJ2K

Deployment and Infrastructure

[x] 3.9-OP Enhance On-Premise Deployment and Authentication Support: Improve on-premise deployment, authentication mechanisms, and documentation (💯 PR#4234)

Viewer Functionality

[x] 3.9-VV Adopt Advanced Video Viewport: Migrate to the new advanced video viewport with additional capabilities
[x] 3.9-SS Add Support for Stack Segmentation: Enable segmentation directly within stack viewports for various image types (PR#4347)
[x] 🔢 🔢 3.9-RT Enhanced RT Structure Support and Rendering: Improve rendering and visualization of RT structures ( 🔢  🔢  🔢 added by PR#4074, PR#4128, PR#4157)
[x] 3.9-PM Support for Parametric Maps and AI Results Visualization: Enable display and analysis of parametric maps and AI results (💯 added by PR#4284)
[ ] 3.9-PS Support for Presentation States and GSPS Export: Support rendering presentation states and exporting as GSPS files
[x] 3.9-3D Enable 3D Visualization of Label Maps: Convert and render label map segmentations as 3D surfaces (PR#4347)

Interoperability and Standards

[ ] 3.9-FH Integrate with Fast Healthcare Interoperability Resource (FHIR) Standard: Enable integration with the FHIR standard for healthcare data exchange

Image Display and Rendering

[x] 3.9-US Ultrasound Rendering Issues: Resolve various issues related to rendering and displaying ultrasound images correctly (💯  fixed by PR #1 and PR#2)

Collaborate with Us
We welcome contributions and collaboration from the community across all areas of this iteration plan. If you would like to expedite any of the proposed improvements or new features, please contact us, and we'll guide you on how you can support us.

We released OHIF 3.9, addressing most of the planned issues for this iteration. Some larger scope UI issues are still in progress for the next release. Only one issue remains incomplete:

FHIR: We are seeking additional funding to develop an MVP for FHIRCast and OHIF soon.

Thanks.


[BUG] - Fatal Exception: android.content.res.Resources$NotFoundException: Resource ID #0x7f080126

Lib Version [3.3.5]

Describe the bug
App is got crash in only NEXUS 5X device. I am attaching here the log of crash which is received in crashlytics
CrashLog
Fatal Exception: android.content.res.Resources$NotFoundException: Resource ID #0x7f080126
       at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:215)
       at android.content.res.Resources.getValue(Resources.java:1316)
       at androidx.appcompat.widget.ResourceManagerInternal.createDrawableIfNeeded(ResourceManagerInternal.java:179)
       at androidx.appcompat.widget.ResourceManagerInternal.getDrawable(ResourceManagerInternal.java:144)
       at androidx.appcompat.widget.ResourceManagerInternal.getDrawable(ResourceManagerInternal.java:135)
       at androidx.appcompat.content.res.AppCompatResources.getDrawable(AppCompatResources.java:104)
       at androidx.appcompat.view.menu.MenuItemImpl.getIcon(MenuItemImpl.java:505)
       at androidx.appcompat.view.menu.ActionMenuItemView.initialize(ActionMenuItemView.java:126)
       at androidx.appcompat.widget.ActionMenuPresenter.bindItemView(ActionMenuPresenter.java:207)
       at androidx.appcompat.view.menu.BaseMenuPresenter.getItemView(BaseMenuPresenter.java:188)
       at androidx.appcompat.widget.ActionMenuPresenter.getItemView(ActionMenuPresenter.java:193)
       at androidx.appcompat.widget.ActionMenuPresenter.flagActionItems(ActionMenuPresenter.java:495)
       at androidx.appcompat.view.menu.MenuBuilder.flagActionItems(MenuBuilder.java:1176)
       at androidx.appcompat.view.menu.BaseMenuPresenter.updateMenuView(BaseMenuPresenter.java:96)
       at androidx.appcompat.widget.ActionMenuPresenter.updateMenuView(ActionMenuPresenter.java:226)
       at androidx.appcompat.view.menu.MenuBuilder.dispatchPresenterUpdate(MenuBuilder.java:292)
       at androidx.appcompat.view.menu.MenuBuilder.onItemsChanged(MenuBuilder.java:1063)
       at androidx.appcompat.view.menu.MenuBuilder.startDispatchingItemsChanged(MenuBuilder.java:1090)
       at androidx.appcompat.app.AppCompatDelegateImpl.preparePanel(AppCompatDelegateImpl.java:1949)
       at androidx.appcompat.app.AppCompatDelegateImpl.doInvalidatePanelMenu(AppCompatDelegateImpl.java:2188)
       at androidx.appcompat.app.AppCompatDelegateImpl$2.run(AppCompatDelegateImpl.java:271)
       at android.os.Handler.handleCallback(Handler.java:790)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6494)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

I thought the issue is within my app core drawables used. But when I used this  to find out which drawable is doing the crash. I found below attached screenshot.

Then after check in project. Which lib is using this resource file. I found below attached screenshot

To Reproduce
Steps to reproduce the behavior:
Use in below mentioned device.
Expected behavior
It should not crash in any device because of resource file. File should place in anydpi resource folder to prevent this.
Media
Please add screenshots and/or screen recordings to help explain your problem.
Added all required screenshots in description.
Smartphone (please complete the following information):

Hey @hiteshsarsava thanks for the detailed issue, helps a lot to get context

File should place in anydpi resource folder to prevent this.

The icon is a vector, do we have any issues in this device related to vectors? is strange that it say NotFoundException because the xml vector is there 🤔

@Canato I am also using other vector icons. But it is not creating any problem or crash.

Not sure what we can do here @hiteshsarsava open to suggestions

@Canato I think you can place this vector in anydpi folder to accept this configuration for any device to accept it.

@hiteshsarsava please open a PR with the vector in the place it work for you and we can merge it ^^

Ok. @Canato Will take time and update you with PR. Thanks.

Hi @hiteshsarsava @Canato was a PR ever raised and merged for this issue? As seeing the same crash with library version 4.1.0 (same device type - Nexus 5X running Android 8.1.0).

@sanvean no PR was open for it (nothing linked on this issue) and the stale bot close it cause no one was working on it =/

Ah I see. @hiteshsarsava any chance you could submit the PR for this one? Sounds like you've identified the exact change required to solve this issue?

Issue still there.

@abinhho Can you please open a PR with a solution for it?

@Canato I hope I can, I will if I found the right reason. I am researching about the reason.
Because my users said:

When resize image -> crashed (Unknown device) - maybe user used two fingers to resize and crashed at this time.
When clicked crop button -> crashed (Galaxy Note 20 Ultra)

I check Crashlytics and also saw ResourceNotFoundException but not sure is it true. Because crop screen is shown, so resource not found should not happen.
Also, icons resource already on drawable folder. Put it in this folder is enough I think. So why do we need anydpi? (still researching...).


HWVER on a pi 2 returns a strange number

Hi,
On a raspberry pi 2 :
pi@raspberrypi:~ $ pigs pigpv
60
pi@raspberrypi:~ $ pigs hwver
10489921
pi@raspberrypi:~ $ cat /proc/cpuinfo
...
Hardware        : BCM2835
Revision        : a01041

Is HWVER a reliable command to detect the type of board (Pi 1, 2, 3, Compute Module) ?

You mean the "10489921"?  That is just the decimal equvalent of the hex "a01041"
See the list of board revisions (in hex format) here: http://elinux.org/RPi_HardwareHistory

Ok, I was reading the doc http://abyz.co.uk/rpi/pigpio/pigs.html#HWVER .
Thanks for your help
Le 15 juil. 2017 19:55, "Kean Maizels"<EMAIL_ADDRESS>a écrit :

You mean the "10489921"? That is just the decimal equvalent of the hex
"a01041"
See the list of board revisions (in hex format) here:
http://elinux.org/RPi_HardwareHistory
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/joan2937/pigpio/issues/143#issuecomment-315520559,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABrwIPG6v5mGLrFvoWpNeiek49k2At7Bks5sOH5rgaJpZM4OY9eo
.


Make the height of auro-select the same as auro-input

Is your feature request related to a problem? Please describe.
When using auro-select as part of a form, the height discrepancy between the two is jarring.
Describe the solution you'd like
Can we add a prop to pass in a custom size?
Describe alternatives you've considered
I could probably dig in to the shadow root and modify the underlying elements but that seems less than ideal.
Additional context

Here's a screenshot of the mockup we're working against:

Here's what it looks like in our UI:

You can see that the actual height of the element itself is the same as auro-input, but the bordered part of the select is less than that:

@leeejune let's double check this tomorrow and see what the correct height should be for these so they work well together.

I would recommend adding a label to select and then we'll need to address this issue #71 so that input and select can work together better.
We'll also reach out to the designer so we can sync on how to handle these going forward.

Two things are missing:
The label animation

The label should shift up when the dropdown is triggered/filled for label=true, placeholder=false
There should be options for when:

label=true, placeholder=true (does not need animation)
label=true, placeholder=false (need animation)
label=false, placeholder=true (missing this option, need animation)
@jason-capsule42 after our discussion and I found that there are no accessibility requirements for having a label on dropdown.

Spacing
The dropdown without either a label or placeholder should have larger spacing to have the same height as when there is both a label and placeholder text. See image below for correct UI, and refer to the blueprint for exact design tokens.

These things will fix issue #71 and the issue in the auro-dropdown repo #121.

During refinement we noticed that it is 66px and it should be 58px including the border.
AC: Validate that combobox, select, input and datepicker all are exactly the same height.

Recatorigized this as a bug as the height consistency between elements needs to be fixed. No new feature to be added.


react-native-fetch-blob override on the native XMLHttpRequest

Hi Everyone , i have Problem when i use "React-native-fetch-blob" with "react-native-google-places-autocomplete" ..
the Problem is react-native-fetch-blob override on the native XMLHttpRequest
when i use react-native-fetch-blob it give me this Problem ..

and when i uninstall react-native-fetch-blob or when i remove this Line of Code
window.XMLHttpRequest = RNFetchBlob.polyfill.XMLHttpRequest;
the problem solved

.. Plz can any One Help me
i Use
"react-native": "0.46.4",
"react-native-fetch-blob": "^0.10.8",
"react-native-google-places-autocomplete": "^1.3.6",
Thanks

I have noticed the same issue.

I have noticed this problem as well

Same problem. Did you find solution?

Found the fix!
The problem is - that react-native-google-places-autocomplete sets undefined Referrer header.
You need to set origin in query prop of Autocomplete componentet (which translates to Referrer in HTTP request)
 query={{

            key: AppConfig.googleApiKey,
            ....
            origin: 'http://mywebsite.com'
          }}


Update version numbers for all packages

Most packages are just bumped up their existing alpha/beta level.
In addition:

Google.Cloud.Storage.V1 goes to 1.0.0 (GA)
Google.Cloud.Datastore.V1 goes to 1.0.0 (GA)
Google.Cloud.Logging.V2 goes to 1.0.0 (GA)
Google.Cloud.Logging.Type goes to 1.0.0 (GA)
Google.Cloud.Translation.V2 goes to 1.0.0-alpha01

Not sure why there are 20 files here - would expect 22. Looking...

Ah - no, would be 23 files, but Spanner has no packages. It's fine.


[v2.9] SAML provider SearchPrincipals fixes

Issue:

Backport of #46657 and #46685
Original issue https://github.com/rancher/rancher/issues/44441
Problem

Solution

Testing

Engineering Testing
Manual Testing

Automated Testing

Test types added/modified:

Unit

QA Testing Considerations

Regressions Considerations

N/A
Existing / newly added automated tests that provide evidence there are no regressions:
N/A

#46959


FR: Allow SSL verification to be disabled with an env var

Summary.
Lots of libraries use requests. If there's an error verifying SSL in a third-party library it'd be useful to be able to just set an env var to disable SSL verification while the issue is fixed in the failing library.
This issue is currently affecting me and others after upgrading google-cloud. Even modifying that library to pass verify=False would be no mean feat.

I guess it'd make sense if it used the PYTHONHTTPSVERIFY env var that urllib uses.

@boosh, I believe this has been discussed and soundly rejected before. Please search open and closed issues prior to opening new ones.
Further, the PEP you're referencing is not intended to be used like this. For one thing, it was added because the standard library was insecure by default and the transition to making it secure by default was deemed problematic by some. This was an escape hatch to avoid having to update a formerly insecure block of code to properly handle being secure. I don't fully understand what is happening with google-cloud but I suspect that the solution to their problem doesn't actually belong here.

This has been requested before and I think our position is the same: global switches to disable certificate validation are an attractive nuisance that tend to be used to mask actual problems.
I don't think the brokenness of other libraries requires us to provide this functionality.


Added sbt-scoverage code coverage reporting

DAFFODIL-2003

+1

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@193c846). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #184   +/-   ##
=========================================
  Coverage          ?   79.09%
=========================================
  Files             ?      380
  Lines             ?    21524
  Branches          ?     2483
=========================================
  Hits              ?    17025
  Misses            ?     4499
  Partials          ?        0

Continue to review full report at Codecov.

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

Cool, guess it's working!
That said, I'm not sure we want codecov-io to add a comment to every pull request. Looks like that can be disabled with a codecov.yml file?

Just pushed up another small change, adding a .codecov.yml file, which should disable the comment creation


No available formula with the name "shrewsoft-vpn-client"

brew install shrewsoft-vpn-client
Updating Homebrew...
Error: No available formula with the name "shrewsoft-vpn-client"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

+1


Clarify serialization and discoverability

fixes https://github.com/frictionlessdata/specs/issues/292

Overview
It's the first attempt to clarify the specifications serialization and discoverability. Also it deals with often requested YAML

A data producer MAY use any suitable serialization format. A data consumer MUST support JSON serialization format and > MAY support other serialization formats like YAML or TOML.
The above states that JSON is the only serialization format that MUST be used for publishing

The data producer is the publishing agent, so either it MUST use JSON or it MAY use JSON. I guess you meant to say something like

A data producer MUST publish JSON but it MAY use any suitable serialization format to create JSON from.

@nichtich
The point was that one can serialize a descriptor using any format, but only JSON is guaranteed to be understood by consumers. It reflects that we can't forbid e.g. frictionless-py or Open Data Editor generate YAML descriptors but we can state that it's not acceptable for external data publishing

Hi @peterdesmet,
WDYT? Does it make sense?

Sorry, but this reads like "please use JSON and name the file datapackage.json but you can also use anything else" so nothing is guaranteed. The fact that JSON can internally be serialized in YAML, TOML etc. should better be a sidenote but not part of the specification.

The extra text in this PR makes sense. But it also includes relaxing the format and the datapackage.json name. I think it is fine to relax the format for internal use, but the text should be clearer on "publishing" (the "The above states..." is unclear to me). Personally, when provided/published as a JSON file, I think it should remain being called datapackage.json.

Thanks @peterdesmet!
I've merged your suggestions at it is

I'll put this under the draft label this one for one to take some extra time working on it as obviously, it will be probably if we move the definitions in one place (like glossary/terminology spec) instead of duplicating it in all the specs

CLOSED in favour of #50


feat(connector): [cybersource] Implement 3DS flow for cards

Type of Change

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

Description

Implement 3DS flow for cards
Additional Changes

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

Motivation and Context

#3296
How did you test it?

Checklist

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

Please add the flow diagram for 3ds friction and frictionless flow in the PR


[Question] [Worker] Why can't I find the execution result in the task instance?

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
I successfully executed the workflow
Why can't I find the execution result in the task instance?

Is this the root of the problem? How to solve it?

What you expected to happen
normal
How to reproduce
3.2.0  macos memory 16G devloper
Anything else
No response
Version
3.2.x
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Xmx512M

Xmx512M


default_domain_table_size

Hi,
Should add default_domain_table_size that defines the default number of domains to show. Currently this can only be changed by manually adding pageLength to app/templates/dashboard.html.

(sorry for the spam -- just writing down all impressions/thoughts as I work through the software "for the first time").

Thanks @jallakim  for your contribution. I merged your PR.
To whom the database was already created. Need to run migration script and insert more fields in the setting table.
powerdnsadmin=# INSERT INTO setting(name,value) values('login_ldap_first', 'True');
INSERT 0 1
powerdnsadmin=# INSERT INTO setting(name,value) values('default_record_table_size', '15');
INSERT 0 1
powerdnsadmin=# INSERT INTO setting(name,value) values('default_domain_table_size', '10');
powerdnsadmin=# select * from setting;
 id |           name            | value
----+---------------------------+-------
  1 | maintenance               | False
  2 | fullscreen_layout         | True
  3 | record_helper             | False
  9 | login_ldap_first          | True
 10 | default_record_table_size | 15
 11 | default_domain_table_size | 10


Add Calculator Plus icon

Description
Added Icon for Calculator Plus app.
https://play.google.com/store/apps/details?id=com.gigaworks.tech.calculator
Type of change

:x: Bug fix (non-breaking change which fixes an issue)
:white_check_mark: Icon addition (non-breaking change that adds/modifies Lawnicons's icons)
:x: General change (non-breaking change that doesn't fit the above categories like copyediting)

Icons addition information
Icons added

Calculator Plus (com.gigaworks.tech.calculator)

Icons linked

Calculator Plus (linked com.gigaworks.tech.calculator to @drawable/calculator_plus)

Hey @Chefski
Sorry, I didn't really understood your question.
This is a square icon and, as per the contribution doc, needs to fit inside the 144px square area. Also this icon is similar to existing calculator icon with elements re-arranged.
Do you want me to increase the size of elements to fit inside 160px content area?

Do you want me to increase the size of elements to fit inside 160px content area?

Yes. Didn't know the calculator icon has a content area of 144x144px. I'll probably change it to 160x160

Thanks for updating the PR. 😄


Make sure we are able to use zectl without any boot loader plugin

This PR fixes 2 issues:

We were not initialising bootloader and using it expecting that it was initialised. This results in behaviour where if no prop has been set for the bootloader, bootloader.prop is not NULL as it gets the value which was on the stack when it was declared and then we error out at libze_bootloader_fini in this scenario.
nvlist_lookup_nvlist returns 0 on success and otherwise it's an error. So we should only have B_TRUE set if we were able to find the bootloader prop set.

Thanks for your contribution!


Set max selectable image/video at the same time

How I can set max selectable for each type and max selectable for all of them?
For example:

For image type, i want to set max selectable are 5
For video type, i want to set max selectable is 1
And max selectable all of them are 5
Sorry about my english! :)) Thanks!

you can try with
maxSelectablePerMediaType(int maxImageSelectable, int maxVideoSelectable)


[Bug] @wendellhu/redi not export useObservable

Before you submit this issue, have you checked the following

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions
v0.1.12
Reproduction link
https://univer.ai/playground
Expected behavior
bootstrap would't display error info.
Actual behavior
bootstrap will display error info. e.g.

maybe the error code.

System information
No response

It seems that the issue was caused by an outdated demo in one of our playgrounds. We have now fixed the problem. Thank you for bringing this to our attention and for your report.


[don't merge] add stripe test

closes #22

just a test to try the stripe pre-built checkout example: https://stripe.com/docs/checkout/quickstart?client=next
note: won't work without a stripe api key (env.STRIPE_SECRET_KEY) + product price id is hardcoded

add this to .env file NEXT_PUBLIC_APP_URL=https://tangerine-moose-ecommerce.vercel.app, localhost doesn't seem to work


Update codebase to use llvm-style RTTI

http://llvm.org/docs/HowToSetUpLLVMStyleRTTI.html#classof-contract
This is partially implemented right now by using the 'kind' discriminator. Should create a casting.hpp file similar to LLVM's in order to use isa(), cast(), and dyn_cast()

Fixed by #47


Instructions on how to install .NET for Apache Spark interactive notebooks on Azure HDInsight

Move docs from Spark .NET github repo to microsoft docs.
This PR will provide the instructions on how to install .NET for Apache Spark interactive notebooks on Azure HDInsight.

Thanks for @bamurtaugh and @mamccrea for your review! I have made changes accordingly and resolved all the comments. Please let me know if you have any feedback/comments. Thanks!


rename all options to be camelCase and not snake_case

To follow with JSON naming conventions, we should make all the options in the devcontainer-features.json camelCase.
Right now, options are converted to environment variables with this logic in the CLI.
"v2" features require environment variables of this form, which will get emitted by the tooling.  The tranformation linked above converts what the user types in their devcontainer-feature.json to the env variable that is actually emitted by the tooling.
One solution is to sanitize and transform camelcase to CAPITAL_SNAKE_CASE at the capitalization boundaries.
dockerDashComposeVersion -> DOCKER_DASH_COMPOSE_VERSION.
This change alone would may not automatically be backwards compatible, thus we'll have to be careful with how it is implemented.

This appears to be fixed, Should we close the issue?

@samruddhikhandale I think you resolved all these - but please reopen if that's not the case.


Verify that "Dobrot" is listed in the dropdown menu when searched

Description:
"Dobrot" should appear in the dropdown menu with correct spelling and locality information.
Preconditions:
The website is up and running.

Step 1
Type "Dobrot" in the search bar.
Expected results:
The dropdown is listing "Dobrot" as the first location in the dropdown menu.

Step 2
Observe the dropdown menu.
Expected results:
"Dobrot" is displayed and selectable from the dropdown menu.


Feathers generate fails on node 7.5.0

Steps to reproduce

Install feathers-cli globally
Run feathers generate

Expected behavior
Feathers sample app generated.
Actual behavior
Got this:
> feathers generate
local@craigs-mm-imac~$

? Project name (feathers-chat)

events.js:161
      throw er; // Unhandled 'error' event
      ^

TypeError: this.env.adapter.prompt(...).then is not a function
    at constructor.Base.prompt (/Users/craigmorris/.config/yarn/global/node_modules/generator-feathers/node_modules/yeoman-generator/lib/base.js:240:45)
    at constructor.prompting (/Users/craigmorris/.config/yarn/global/node_modules/generator-feathers/generators/app/index.js:195:10)
    at Object.<anonymous> (/Users/craigmorris/.config/yarn/global/node_modules/generator-feathers/node_modules/yeoman-generator/lib/base.js:439:23)
    at /Users/craigmorris/.config/yarn/global/node_modules/generator-feathers/node_modules/run-async/index.js:25:25
    at /Users/craigmorris/.config/yarn/global/node_modules/generator-feathers/node_modules/run-async/index.js:24:19
    at /Users/craigmorris/.config/yarn/global/node_modules/generator-feathers/node_modules/yeoman-generator/lib/base.js:440:9
    at runCallback (timers.js:651:20)
    at tryOnImmediate (timers.js:624:5)
    at processImmediate [as _immediateCallback] (timers.js:596:5)

System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
feathers-cli 1.2.7
NodeJS version:
7.5.0
Operating System:
Mac Sierra

I can't reproduce this. Are you using nvm? Also, try npm cache clean and reinstalling feathers-cli you might also have an old global version of yo.

Closing since we don't have more info and I can't reproduce.

Same problem here:
/bin/sh: 1: yarn: not found
Ubuntu 16

I solve it by doing:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
REFERENCE: https://yarnpkg.com/lang/en/docs/install/#linux-tab


Add missing condition for geoip volume mount

When not using GeoIP, there is a condition missing to disable the GeoIP volume mount. This PR adds this condition.

Thank you for your PR. this is awesome!

I just pushed  plausible-analytics-0.2.2 containing your fix @philband


Trying to copy a large selection (426x178) disables the mod tools

I'm trying to copy my base over to another area/planet but every time I try to copy the selection the selection window disappears and the tools stop working. This happens no matter if I'm using the compact or individual tool types. The area I'm selecting is 426 blocks wide and 178 blocks deep.
Game version: 1.4
Mod version: Latest Steam issue

Using the SchematicMaker also produces the same result.

I've solved it by increasing the ScriptInstructionLimit as stated in a lower issue.

Duplicate of #5.
If you're having troubles getting your player character to work you could use the player unpacker and packer tool to remove the wedit schematic / stamp data from the file. If you need any help with that I can write up some steps after I get home from work.
You shouldn't increase the ScriptInstructionLimit because of issues like this. The workaround would be to copy over your structure in smaller chunks. With an update to the game I'm still hoping will come out soon it'll be possible to make some significant improvements to the way WEdit operates, but sadly Chucklefish hasn't had the time to implement it.
I can rewrite the serialization for the stamp and schematics to lower the data size of copies, but I'd probably end up doing that on the wip-bounty branch which won't be ready until (if even) that update ever comes out.

Good to know. I'll try out the un/packer. I'm used to Fallout and Skyrim modding, so I can probably figure it out right dandy. Thanks for the help!

I presume I am to delete the specific section that begins in "techController" and ends in "Objects" : True?

I will have a look at the keys in <1 hour. If you're not sure what to delete it's probably safer to hold on so that you don't brick your player file.

Right now I'm trying to repack the file. I've got two backups, so I'm pretty okay with breaking this one.
My issue with repacking is that the program made by ThakyZ from [https://steamcommunity.com/sharedfiles/filedetails/?id=942157446] (Here) doesn't seem to want to repack the .json I've got. Powershell is being finnicky as well, and I don't want to re-edit that huge string for the schematic.
Using the common file by lyoko1 doesn't work, as my system doesn't want to make the new files for Notepad++.

I have these simple batch scripts that pack and unpack the files for me. Just edit them in notepad and change the file paths, then drag and drop the files on top of the batch files.
bat_versioned_json.zip
For the copy, you'll want to remove techController > techModules > scriptData > weditCopy (listed under the module: dash).
For the schematics, remove weditSchematics in the same scriptData table.

Those 4 lines or everything underneath weditCopy? I assume it's the latter option.
Is it important to delete the data strings associated with the wedit lines, or will they be removed automagically by the game with no reference to them?

If you use Notepad++ with JSON as the editor language then you can fold the entire table and see what you have to remove. You can leave all the other data as is; you only have to remove the weditCopy and weditSchematics table.

I can do that? Guess I'll do that.

I've gotten this problem.
error: Error unexpected character parsing word at 469:24

Well, the file is just plain JSON so make sure the structure is valid. You probably didn't remove the tables correctly, have a trailing comma or are lacking a comma somewhere.
https://jsonlint.com/

Man, I didn't even think of that. Though line 469 is quite far away from where I made edits.

Ehh, if it's an exponential number you'll have to normalize it. Quirk of the (un)packer they provided us with.

Define "normalize." Square root?
Would a "{" at the end of "scriptData" be the culprit? Here's the exact line:
"scriptData" : {

Sorry if you feel like you're teaching me how to write in JSON, you kinda are honestly. Great help you've been, though.

No, some numbers are unpacked as 2e10  or something like that, which then can't be parsed by the packer. Maybe it's easier if you attach your player file or mail it to<EMAIL_ADDRESS>

I've fixed up the endings of the deleted sections and found this at line 469. I don't know the exact rules, but doesn't each bracket need a partner?
Here's a copy of the table:
"ephemeralEffects" : [{
"duration" : inf,
"effect" : "nightarglow3"
}, {
"duration" : inf,
"effect" : "darkhunternightar"
}, {
"duration" : inf,
"effect" : "drainnightar"
}]
},
The ending curly bracket has no partner; am I right to put a pairing in front of the first bracket?
I'll email it to you as well, since you obviously know like 400% more than I do.

The issue was the following code:
      "ephemeralEffects" : [{
          "duration" : inf,
          "effect" : "nightarglow3"
        }, {
          "duration" : inf,
          "effect" : "darkhunternightar"
        }, {
          "duration" : inf,
          "effect" : "drainnightar"
        }]

inf isn't a valid JSON data type. The unpacker yielded incorrect data. I've fixed the issue in my reply to your email by changing these to 2,147,483,647, which is technically not 'infinite' but it should last you long enough. I assume simply joining the game once will reset them back to infinite, but if your buffs disappear at random dying will probably fix it.

I die plenty enough, so that's a relief! Thanks a ton for the work and taking time to help me out!

All fixed!

Probably the edit. Any schematics you have will make your player file larger which could affect performance.
I will try to change the data structure of copies as there's significant improvements possible to slim down the size. But like I said in my first reply, the update probably won't go live if Chucklefish doesn't find the time to implement a change I've been waiting for for basically years now. I have changed a lot of the code but the restructure won't work with the current game limitations.

Luckily, the modding community is growing, so more and more people are in demand of a change to the current system running the game. Hopefully it'll happen within the next year, what with the soda thing going on now and tons of new people coming to the scene.

Most of the team has moved onto other games or are working on the console port. The few that still work on the game are busy making sure the game and updates work properly. There isn't much time left to add conveniences for modders that don't affect the base game. But we'll have to wait and see what happens. I'm still hopeful.
I'm going to go ahead and close this issue as the main issue is already listed in #5 and your player file is no longer broken.

Seems like the last developer working on Starbound has resigned. Sigh.


Add base image for ros2 humble on 22.04

Hello,
added base image for ros2 humble on 22.04.
You can test it using the commands:
source /opt/ros/humble/setup.bash
ros2 run demo_nodes_cpp talker

source /opt/ros/humble/setup.bash
ros2 run demo_nodes_py listener

Best,
Haider

base images should not build based on other base images (even though the varname somehow indicates that).
As there is no 3d accellerated image from nvidia (https://hub.docker.com/r/nvidia/opengl), please use "ubuntu:22.04"
please also add the _nogl tag to the base image name and script to indicate that there is no 3d acceleration support.
similar to build_plain_22.04_nogl.bash
When the script is ready, i'll add it to our buildserver and that will push the new base image to hub.docker.com

Got it. Made the required changes


Installation process no longer appears to work

The documentation for installation in the install guide https://github.com/Telmate/terraform-provider-proxmox/blob/master/docs/guides/installation.md appears to no longer work.
I installed, ie built the provider on a Debian 11 box using the supplied instructions on the 1st August. This appeared to work fine. I then wished to rebuild the provider to accomodate the latest Int/Bool bug fix in #582. Relevant dependancies including go1.19.linux-amd64 were installed first and verified as present and working correctly.
Using my bash history to look at the commands I previously had run which mirror the documentation I get the following. (all from within the /root directory, running as root)
`go install github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provider-proxmox
go: 'go install' requires a version when current directory is not in a module
Try 'go install github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provider-proxmox@latest' to install the latest version
`
This has been built using the same version of Go as before, however this behaviour is unexpected.
Following the suggest to reference the latest version I get
`go install github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provider-proxmox@latest
go: downloading github.com/Telmate/terraform-provider-proxmox v0.0.0-20220808123439-c1de2ad98b55
go: github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provider-proxmox@latest: module github.com/Telmate/terraform-provider-proxmox@latest found (v0.0.0-20220808123439-c1de2ad98b55), but does not contain package github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provider-proxmox
`
Expected behaviour would be for this command to build the provider in the /root/terraform-provider-proxmox folder

you should use makefile helpers to do that, try!


Use one version of async.

socketcluster and socketcluster-server require<EMAIL_ADDRESS>while sc-broker-cluster requires<EMAIL_ADDRESS> So multiple versions of async are downloaded for socketcluster.

The best option IMO is to get rid of the Async module at all.
It should be relatively easy to rewrite some code in the socketcluster-* repositories, since there are just a couple of places, where the Async module is required.
I'd like to mention this issue in the Wishlist topic https://github.com/SocketCluster/socketcluster/issues/202

That would require a bit more work. but that may be an option, as well.  Between socketcluster, socketcluster-server, and sc-broker-cluster, only three functions, applyEachSeries, waterfall, and parallel, are used.  I had taken a look at that a while ago, and it seemed that the functions could be optimized for their specific uses, as well.

I've updated async to v2.0.0 in socketcluster-server v5.1.6 so that it matches the one in sc-broker-cluster.
We could switch to using Promises instead of the async module but as @wtgtybhertgeghgtwtg mentioned, it would be a fair bit of work (but mostly, we risk breaking things). Particularly the async.applyEachSeries function which is used for running middleware in series asynchronously.
We could revisit this at some point in the future, but I don't want to take any big risks since a lot of people are using SC now and it's extremely easy to break stuff.

Above all, stability, I agree.
Nevertheless, one day, for the sake of posterity, all the code will be rewrited in ES2015 or maybe ES2030 :dancer:
That day we'll change the Async in favor to Promises or something else anyway.
I'm patient and I'm looking forward for that day.

We are using SC for production and would really appreciate some caution on rewrites lol. Our customers are extremely sensitive and a massive break could cost us a lot of money. Thanks!

@happilymarrieddad You are programmer, right? You must know - no one will force you to update SC to a next major version, when it will be rewrited.
Furthermore, I doubt it will be soon. Not in next two years, I guess. So, don't worry.

I think the word 'rewrite' is confusing - I don't think SC will ever be 'rewritten'. But small parts might be refactored over time yes.
I think refactoring SC to use Promises instead of async is currently very low priority (unless someone finds an actual bug with it).
In either case, we're at a stage that we probably shouldn't change anything unless we have tests around it (so we can make sure that we don't break stuff).

There are a good number of things that can be done if socketcluster bumps the minimum node version to 4.  It might be enough to warrant a full rewrite.


Accessing Tokenizer

Is there a way to access lunr's tokenizer?
I'm trying to create an autosuggest, and token results are too mangled to display for end users.
EDIT:
What I'd like to accomplish is integrate this plugin with downshift and match-sorter for autosuggestion while typing.

Which mangled results are you talking about? Could you elaborate?

On my (WIP) blog https://azdanov.js.org/blog. If you click on search, it will display all the tokens that can be used for searching. And lots of results are truncated at the end.
For example pretty -> pretti, dummy -> dummi, information -> inform.
I understand that this happens to facilitate searching. But in my use case, I'd like a different behavior.
P.S. This is my first time working with lunr, and searching on a website in general.

Thanks for the information!
How and where would I plug this in? Since I'm not accessing lunr directly in my code.
Currently, I grab the search keys from window.__LUNR__.en.index.invertedIndex and they already exist in such a state.

At the moment this is impossible, I'll add an option next week

Awesome! Thanks for clarifying the issue.


Exception thrown when order product contains configurable_fields (select_box_options)

I just got started with this code base and have been thankful for it. -Thank you :)
I found a workaround to this problem but any additional feedback would be greatly appreciated.
When I execute the line (var products = Client.OrdersProducts.Get(136); I get an exception thrown only when the product contains configurable_fields. The exception is thrown from line 47 in NewtonSoftJsonDeserializer.cs (return JsonConvert.DeserializeObject<T>(response.Content);).
An example value for response.Content which causes the error follows:
[{"id":43,"order_id":136,"product_id":121,"order_address_id":37,"name":"MySuperC0oolProduct","sku":"","type":"physical","base_price":"25.0000","price_ex_tax":"25.0000","price_inc_tax":"27.0600","price_tax":"2.0600","base_total":"25.0000","total_ex_tax":"25.0000","total_inc_tax":"27.0600","total_tax":"2.0600","weight":"8.0000","quantity":1,"base_cost_price":"0.0000","cost_price_inc_tax":"0.0000","cost_price_ex_tax":"0.0000","cost_price_tax":"0.0000","is_refunded":false,"quantity_refunded":0,"refund_amount":"0.0000","return_id":0,"wrapping_name":"","base_wrapping_cost":"0.0000","wrapping_cost_ex_tax":"0.0000","wrapping_cost_inc_tax":"0.0000","wrapping_cost_tax":"0.0000","wrapping_message":"","quantity_shipped":0,"event_name":null,"event_date":"","fixed_shipping_cost":"0.0000","ebay_item_id":"","ebay_transaction_id":"","option_set_id":null,"parent_order_product_id":null,"is_bundled_product":false,"bin_picking_number":"","applied_discounts":[],"product_options":[],"configurable_fields":[{"id":4,"configurable_field_id":3,"name":"Product SerialNumber","fieldtype":"text","value":"MySerialNumber","original_filename":"","select_box_options":[""]}]}]
The error details follow:
{"Unexpected character encountered while parsing value: [. Path '[0].configurable_fields[0].select_box_options', line 1, position 1156."}
To fix the issue, I removed the brackets from the select_box_options parameter before deserializing ("select_box_options":"")

I have not looked at BC json/xml data structure coming back in sometime but you need a Product object that has matching properties to deserialize to.  My guess is select_box_options is not defined in the object model/domain  or is not a collection, it needs to be a collection such as a list to deserialize correctly.
http://json2csharp.com/ will give you a clue on the Product object model/domain, just paste your json in and it spits out an C# object back.  This is what the JsonConvert.DeserializeObject is expecting T = Product object in this case.
Your fix will will work fine, unless your need access to the select_box_options collection or the json coming back contains a collection the thing may blow up.
Hope that helps

Thanks for the speedy reply. I looked into it a bit further based on your feedback and believe I found the root cause and fix.
The OrdersProductsConfigurableField class does have a select_box_options property of type string. The logical assumptions are that 1) this should be a list, and 2) is only used when the configurable_field is of type Select Box. Since I'm using type Short Text my fix worked for me.
When I change the line public virtual string SelectBoxOptions { get; set; }  to public virtual List<string> SelectBoxOptions { get; set; }  in the OrdersProductsConfigurableField class I was able to run the original JSON without error.
Strangely, I was not able to find mention of select_box_options in bigcommerce's documentation.
Thanks again for your help!


Styling road.fill breaks custom styling on Android

Summary
Hi there, I'm not sure if this is an issue with this library or Google's code underneath, but passing this style causes all custom styling to not be rendered on Android.  It renders fine on iOS (using PROVIDER_GOOGLE), which made me suspect it could be a problem here, but I don't know for sure.
Reproducible sample code
import React from 'react';
import MapView from 'react-native-maps';

export default App() {
  return (
    <MapView
      style={{ flex: 1 }}
      provider={PROVIDER_GOOGLE}
      customMapStyle={[
        {
          elementType: 'geometry.fill',
          stylers: [
            {
              color: '#6d86a9',
            },
          ],
        }, // this style renders fine
        {
          featureType: 'road.fill',
          stylers: [
            {
              weight: 1,
            },
          ],
        }, // this causes the map to ignore the rest of the custom styles on Android only
      ]}
      // ...
    />
  );
};

Steps to reproduce
Run the above map on Android on an emulator or physical device.  Comment out the second style in the array and reload the map to see that the first style works on its own.
Expected result
road.fill width style should apply to the map and not break the rest of the styling.  Google map on iOS with road.fill style:

Actual result
Pixel 4 emulator with the rest of my custom style (but not road.fill)

Pixel 4 emulator with the road.fill styler also applied

React Native Maps Version
1.3.2
What platforms are you seeing the problem on?
Android
React Native Version
0.70.4
What version of Expo are you using?
Not using Expo
Device(s)
Pixel 3 emulator, Pixel 4 emulator, Samsung S10 physical device
Additional information
No response

@256hz, I also had the issue, that the custom map style was correctly applied on iOS but not on Android. Turns out, I had a faulty styler in my JSON style. I figured out the right way by using the legacy Styling Wizard for Google Maps.
I believe your weight should be applied to the geometry of the road like this:
{
    "featureType": "road",
    "elementType": "geometry.fill",
    "stylers": [
      {
        "weight": 5.5
      }
    ]
 }

That's what I got when trying your scenario with the Styling Wizard.


Multiple paths & hosts per API.

With regex support. See #192  for more details.

Support for regex
Support for priority between multiple paths

+1. Any progress? Can't find it in the roadmap yet... I think this conflicts a bit with the ACL issue that consumers are not related to a single API but have access to all APIs. However, all APIs should have a different host, making that thought quite strange imho ;-)

+1 multiple host matching is certainly needed

:+1:

+1

+1, this is a roadblock for my use case too.

The proposed solution would be to support the following properties on the API object:

request_hosts (instead of request_host)
request_paths (instead of request_path)

Both would support a list of values, and both would support named parameters with regex support, like: api.$environment(staging|production).helloworld.com or /accounts/$user/invoices/$invoice_id(\d+)/.
We still need to find a consensus about the format of the named parameter. The above format works well when the parameter is delimited by slashes / or dots ., but it wouldn't work well if there is a need to use them in a more free form, like api.$environmentservice.com (we don't know if the parameter ends at $environment or $environmentservice, so maybe something with explicit beginning and ending like api.{environment}service.com would work better (or api.{environment(\d+)}service.com).
Thoughts?

Thanks, @thefosk, I suggest just use a simple pattern to indicate the boundary of regex, {} may work well.
e.g
{REGEX}service.com where regex can be the regular expression.
NOTE: {} may collide with {min,max} in regex, but if your parser is greedy and extract the longest pattern between {} that should not be a problem.

:+1:

:+1:

:+1:

:+1:

+1

👍

👍
eager for this. Any progress on it?

+1

+1

+1

+1

Hi, any concrete plans or updates on the subject? We really need this :)

+1

👍

👍

While I understand it is not trivial to implement, this subject has been going on for well over a year.
Does Mashape plans to implement a way to do path-based routing at all or should we turn to another solution?

We do have such plans and are currently working on it. The reason for the wait is not because of the non-triviality, but rather a long list of more pressing matters to address so far.
Initial support for multiple paths and hosts should land in an upcoming 0.10.

Is there currently any way to have kong use routes with url parameters with Kong or is that not possible? I don't necessarily want to map the parameters differently, I just want kong's request path to be able to have wildcards the same as my app.
Ie "/resource/:id" or "/resource/:id(/^\d+$/)".

👍

I'm helping setup Kong for a major enterprise and we are somewhat dependent on this feature.
If you'd like any additional resources for performing acceptance testing on v0.10.0 when it's ready please let us know.

If you'd like any additional resources for performing acceptance testing on v0.10.0 when it's ready please let us know.

@Marak I would love to hear more about what would be those requirements indeed.

@thibaultcha -
One of our Senior Developers submitted the enterprise sales form a couple of times this month with no response.
We are looking to host APIs for multiple applications in one Kong. Without the ability to enter the same request_path or request_host twice, it seems fairly difficult to setup a streamlined solution. Not 100% sure I'm responding to the correct issue here.
For example, we can't figure out how to easily do something like:
1.
request_host: marak.com
request_path: /foo

2.
request_host: larry.com
request_path: /foo

This fails in Kong Dashboard with already exosts with value /foobar, is that expected?
If so, it seems impossible to setup granular routes in Kong for multiple applications which share the same routing namespaces.

@Marak In that particular case you described, wouldn't setting those 2 different APIs work with:
1.
request_host: marak.com

2.
request_host: larry.com

Since there doesn't seem to be a need for request_path here?

Why would you assume there is no need for request_path?
I'll try to make it more clear:
1.
request_host: marak.com
request_path: /foo
upstream_url: http://google.com/foo

2.
request_host: marak.com
request_path: /foobar
upstream_url: http://bing.com/foo

3.
request_host: larry.com
request_path: /foo
upstream_url: http://yahoo.com/foo

4.
request_host: larry.com
request_path: /foobar
upstream_url: http://altavista.com/foo

There was no assumption but a clear indication that in that particular example you have, there was no need for it; surely it had to be more than that :)
Yes, that use case in the second example is covered in the upcoming new router.

Hello!
I would like to know, when it could be available??
Rémi 👍

@thibaultcha -
Sounds good.
When the 0.10 branch is ready for acceptance testing, please let us know and I can devote some resources for testing.

Any progress on this issue?

Juste encountered this issue, any update on this ?

+1

+1

Any progress on this issue please?

Available in latest 0.10.0rc1. Please set the hosts and paths parameters when adding an API. Regex support is not enabled.

@thefosk @thibaultcha
I've dedicated some resources to testing 0.10.0rc1 and this feature over the next week.
Will let you know how our testing goes. Thanks again!

:+1:

:+1:

Initial reports from our engineers are saying that it's working. Great success so far. Thank you!
Will be moving on to stress tests in the upcoming weeks.
FYI, we've got a test suite / client adapter for the kong admin api written in Node.js. I've found a few of these already on NPM, but none of them were slim / separated concerns. Do you guys have any interest in this? I can see if the company is willing to open-source the Node.js kong admin api client library.

@Marak Glad to hear. The new router should slightly improve performance compared to Kong 0.9 but not by a significant margin, as plugins remain the bottleneck of the proxied traffic.

Do you guys have any interest in this?

Any tool benefiting the community is most welcome! I am sure it would find its user base. Would you open-source it, we would add it to our list of community tools in this repo.

I have opened #1970 which includes some detailed changes and documentations (non-exhaustive) concerning the new router and its capabilities, in case anyone is interested in consulting it. Reviews are welcome too (however the branch needs some cleanup).

FYI, here is the documentation for this new router: https://github.com/Mashape/getkong.org/blob/release/0.10/app/docs/0.10.x/proxy.md
Reviews appreciated.

Closing this as Kong 0.10.0 is now released with support for this, and regex support is part of another discussion.

@thibaultcha  Thanks!
PS: the link to the doc is 404
https://github.com/Mashape/getkong.org/blob/release/0.10/app/docs/0.10.x/proxy.md

Yes, the branch was merged and deleted and the doc is now published at:
https://getkong.org/docs/0.10.x/proxy/

Are there plans to add the regex support at some point? It was mentioned a few times in this issue
I'd love to be able to do:
GET /accounts/:id/documents -> service A
GET /accounts/ -> service B

Yes, see the related issue for that.

Ah sorry it didn't come up on my initial searches, for others reference here is the discussion: https://github.com/Mashape/kong/issues/677
Thanks @thibaultcha !


apps sc: fixed warning for velero backup location

What this PR does / why we need it:
Removed warning from velero which said that The specified default backup location named \"default\" was not found.
Which issue this PR fixes:
fixes #519
Public facing documentation PR (if applicable)

Special notes for reviewer:
Should be investigated if it can be reverted once velero v1.6 is used.
Checklist:

[x] Added relevant notes to WIP-CHANGELOG.md
[x] Proper commit message prefix on all commits
[ ] Updated the public facing documentation
Is this changeset backwards compatible for existing clusters? Applying:

[ ] is completely transparent, will not impact the workload in any way.
[x] requires running a migration script.
[ ] will create noticeable cluster degradation.
E.g. logs or metrics are not being collected or Kubernetes API server
will not be responding while upgrading.
[ ] requires draining and/or replacing nodes.
[ ] will change any APIs.
E.g. removes or changes any CK8S config options or Kubernetes APIs.
[ ] will break the cluster.
I.e. full cluster migration is required.

Chart checklist (pick exactly one):

[ ] I upgraded no Chart.
[ ] I upgraded a Chart and determined that no migration steps are needed.
[x] I upgraded a Chart and added migration steps.

Pipeline config (if applicable)
If you change some config options (e.g. add/rename variable or change the default value) you may need to update the config used by the pipeline in pipeline/config.

Updated the removal script. Good that you thought about the 'none' state :+1:


Confluence: Clean cache methods

Hi!
I have wrapped clean cache methods.
Cheers,
Gonchik Tsymzhitov

I like your pull request but I have two things:

you've departed from API versioning which is not a good practice
you've changed issuekey to issue_key. This is true with Python nature but... it is not consistent with Jira nomenclature.

Of course if you have arguments I am always open to hear :)

Hi!

you've departed from API versioning which is not a good practice
I am going to update the method name.

you've changed issuekey to issue_key. This is true with Python nature but... it is not consistent with Jira nomenclature.
If we use issuekey instead of issue_key, in the future it will be so hard find the problems in rest api request. Because Jira nomeclature used also issueKey naming, also.
In fact, PEP8 -> https://www.python.org/dev/peps/pep-0008/?#method-names-and-instance-variables
suggesting use the same rules method and instance variables. Hence now it is not consistens.

Cheers,
Gonchik


Notification System

Notification system for ZAP to notify users about errors and warnings

Codecov Report

Merging #1073 (7ac0bfb) into master (11e51dc) will decrease coverage by 0.26%.
The diff coverage is 49.69%.

@@            Coverage Diff             @@
##           master    #1073      +/-   ##
==========================================
- Coverage   65.52%   65.27%   -0.26%
==========================================
  Files         170      171       +1
  Lines       17682    17861     +179
  Branches     3802     3818      +16
==========================================
+ Hits        11587    11658      +71
- Misses       6095     6203     +108

Impacted Files
Coverage Δ

src-shared/db-enum.js
75.00% <ø> (ø)

src-shared/rest-api.js
100.00% <ø> (ø)

src/components/ZCLToolbar.vue
31.18% <0.00%> (-2.16%)
:arrow_down:

src/layouts/ZclConfiguratorLayout.vue
71.42% <ø> (ø)

src/pages/EndpointManager.vue
0.00% <ø> (ø)

src/pages/NotificationsPage.vue
40.47% <ø> (-0.55%)
:arrow_down:

src/pages/ZapConfig.vue
0.00% <0.00%> (ø)

src/store/zap/mutations.js
37.45% <0.00%> (-0.30%)
:arrow_down:

src/store/zap/state.js
27.27% <ø> (ø)

src-electron/rest/file-ops.js
50.00% <20.00%> (-1.52%)
:arrow_down:

... and 17 more

... and 1 file with indirect coverage changes


cli BUGFIX segfault when get-schema returns empty data

When the target of get-schema is not found, some device is replying some thing like:
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="100">
    <data/>
</rpc-reply>

causing segment fault in netopeer2-cli. Add checking to fix this.

Codecov Report

Merging #234 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #234   +/-   ##
=======================================
  Coverage   41.13%   41.13%
=======================================
  Files          25       25
  Lines        6267     6267
  Branches     1245     1245
=======================================
  Hits         2578     2578
  Misses       3195     3195
  Partials      494      494

Continue to review full report at Codecov.

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

Hi,
no server should respond with such a message but we should be able to handle it. Thanks.
Regards,
Michal