text:
i18n(es): Update of markdown-content.mdx, content-schema-containts-slug-error.mdx, invalid-content-entry-slug-error.mdx and publish-to-npm.mdx

What kind of changes does this PR include?

New or updated content
Translated content

Description

What does this PR change? Give us a brief description.

Multiple page updates based on these commits as follows:

markdown-content.mdx → 471f2388d6ef0d60211eea75afd683c6138d415d & f3b0625a51f54636e203f8650352cb7fc4c443b6

content-schema-containts-slug-error.mdx → 0de27116b410c0e68d3702ff6f944edc5235a12b

invalid-content-entry-slug-error.mdx → 0de27116b410c0e68d3702ff6f944edc5235a12b

publish-to-npm.mdx → e58d23c63167bcf2c96e9a8a7f171f63f3286b21, 9d4bd688365a562ccf013310d8840f3271c232d9 & c5f02333db29b2810d986025d9f418d22f7693a0

Note
cloudflare.mdx doesn't need update to spanish cause they fixed small typos which were translated properly based on these commits  471f2388d6ef0d60211eea75afd683c6138d415d & f3b0625a51f54636e203f8650352cb7fc4c443b6

Muchas gracias por el review @agustinmulet 🚀


text:
i18n(es): Updated docsearch & nav & ui

What kind of changes does this PR include?

New or updated content
Translated content

Description

The i18n of the docsearch, nav and ui sections have been updated for the Spanish language.

Hi thanks for the PR 🚀!. I recommend that as this PR is an update you reference the comits by putting the links. I give you an example
[`<id of the commit>`](<url>)

. This way we can better review the changes made

Te dejo unas sugerencias 🤠

Listo, estuve viendo y lo actualicé
Aquí te dejo los 2 commits que realice
7b8f036
4964193

source: gharchive/pull-request

repo: withastro/docs

license: MIT

license_type: permissive

license_source: github-api


text:
i18n(es): Update core-concepts/routing.md

What kind of changes does this PR include?

[ ] Minor content fixes (broken links, typos, etc.)
[x] New or updated content
[ ] Translated content
[ ] Changes to the docs site code
[ ] Something else!

Description

Updates core-concepts/routing.md to match #608 and #611

LGTM!

authors: kevinzunigacuellar readonlychild


text:
feat: Adds print styles for Starlight docs pages

What kind of changes does this PR include?

Changes to Starlight code
Something else!

Description

Adds print-specific styles for pages built with Starlight
Hides navigation elements like the sidebars, search, and mobile menu
Forces the light theme color palette when printing

size-limit report 📦

Path
Size

/index.html
14.14 KB (+8.31% 🔺)

/_astro/*.js
16.51 KB (0%)

/_astro/*.css
9.06 KB (+0.52% 🔺)

I think my preference is likely for pulling this out to a separate global file to avoid extra downloads. (We’d need a ?url import I’d guess to pass that to the appropriately configured style tag.)
I am a bit torn because as you highlighted, that does come with extra maintenance complexity. Especially as this is exactly the kind of thing we’re likely to forget to check as we add stuff 😅 That said, most stuff is done pretty safely via print:hidden, so we should be OK with that approach?
(There’s a chance even doing that will fail the CI check here — it’s a bit of a rough tool at the moment, just globbing dist/*.css and measuring that gzipped, so even CSS that doesn’t actually get loaded is liable to get taken into account. Tried another approach and found it unreliable, but this is definitely on a list of tooling to improve.)

@delucis Yep that's no problem, I'll refactor that this morning and pull the styles out into a global sheet 👍

@delucis done!  Everything is moved out to the separate print.css file
Looks like the HTML size-limit is failing by ~1kb, that should just be from the extra print: class names + the stylesheet <link>

Best laid plans!  It turns out there isn't currently a great way to get around the CSS being inlined there, I'm going to close this out for now as blocked.
@delucis, @bluwy, and I were catching up on Discord and it sounds like this may be worthy of a feature in Vite to be able to ?url import and make sure it's never inlined.  My vote is still on ?no-really-i-want-a-url, but I'll leave that up to the Vite team to decide 😄

Will need to wait on https://github.com/withastro/astro/pull/12758 to use the ?url&no-inline import query without type errors.

authors: astrobot-houston delucis tony-sull

repo: withastro/starlight


text:
i18n(tr): update authoring-content.md file

What kind of changes does this PR include?
Updates of Starlight docs site content
Description
This pull request updates translated in Turkish authoring-content.md file in project.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

tr
guides/authoring-content.md
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Closing this PR due to files changed.

authors: astrobot-houston erkanaltinors


text:
feat: associate suite-level hooks with specific tests

In jest-circus, beforeAll and afterAll hooks are generally tied to the "describe block" and not to individual tests. However, for jest-metadata users, associating these hooks with specific tests can be vital.
For example, in Allure reports, where the test case is the central entity and there is no concept of an independent test suite, we can logically assign the beforeAll and afterAll hooks to the closest matching test. This allows the reporter to display them as inner steps of a test.
Note 1: this approach might not be perfect with jest.retryTimes(n), where navigation between hooks and tests can become complex. For example, if the first test fails and gets retried, only its first invocation will have beforeAll hook invocation metadata.
Note 2: Some edge cases may also arise with test.todo, where hooks get executed even for a test that never ran. Thus, ignored tests might still obtain some hook invocation metadata if there were no actually running tests in the suite.
Despite these complexities, this PR provides a valuable virtual mapping of beforeAll and afterAll hooks to individual test invocations, enhancing the reporting capabilities for certain use cases.

test.todo issue illustration
const { metadata } = require('jest-metadata');

describe('suite', () => {
  beforeAll(() => {
    metadata.set('note', 'beforeAll');
  });

  describe('inner suite', () => {
    beforeAll(() => {
      metadata.set('note', 'beforeAll inner');
    });

    test.todo('should todo');

    afterAll(() => {
      metadata.set('note', 'afterAll inner');
    });
  });

  afterAll(() => {
    metadata.set('note', 'afterAll');
  });
});

The metadata state might be not very straightforward, like mentioned above:

jest.retryTimes(n) quirk
jest.retryTimes(1);

let counter = 1;
beforeAll(() => {});
test('should pass on the second time', () => {
  expect(counter++).toBe(2);
});
afterAll(() => {});

The metadata state might not be very straightforward, as mentioned above:

repo: wix-incubator/jest-metadata


text:
DETOX_CONFIGURATION' is not recognized as an internal or external command

What happened?
I am using Detox v20+ and cucumber as my test runner. I am able to build the necessary Apks but unable to run the e2e command. The same setup works in Mac and WSL 2 running Ubuntu. I have followed everything as per the documentation provided in this repo.
I use the following commands:

npm install
npm install --legacy-peer-deps
yarn add global detox-cli && yarn add global npx
yarn add -D detox && yarn add -D @cucumber/cucumber && yarn add -D @babel/register

I am familiar with a lot of errors, but I have never seen this error before. When I run the yarn detox:e2e:android-debug, I get the below error:
The error:
PS C:\Users\A\Dev> yarn detox:e2e:android-debug
yarn run v1.22.19
$ DETOX_CONFIGURATION=android.att.debug npx cucumber-js
'DETOX_CONFIGURATION' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.

My setup:

Windows OS 10
Java JDK 15
Node v16.20
Yarn as my package manager

build command: yarn detox:build:android-debug
Run command: yarn detox:e2e:android-debug
.detoxrc.js:
/** @type {Detox.DetoxConfig} */
module.exports = {
  testRunner: {
    args: {
      '$0': 'jest',
      config: 'e2e/jest.config.js'
    },
    jest: {
      setupTimeout: 120000
    }
  },
    "devices": {
    "android.attached": {
      "type": "android.attached",
      "device": {
        "adbName": "21169B056B"
      }
    }
  },
  "apps": {
    "React.android": {
      "type": "android.apk",
      "build": "cd android && gradlew clean && gradlew app:assembleUat && gradlew app:assembleAndroidTest -DtestBuildType=debug && cd ..",
      "binaryPath": "android/app/build/outputs/apk/uat/app-uat.apk",
      "testBinaryPath": "android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk"
    },
  },
  "configurations": {
    "android.att.debug": {
      "device": "android.attached",
      "app": "React.android"
    }
  },
};

build.gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = "29.0.3"
        minSdkVersion = 21
        compileSdkVersion = 32
        targetSdkVersion = 32
        ndkVersion = "20.1.5948944"
        kotlinVersion = '1.8.0'
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath('com.android.tools.build:gradle:4.1.0')
        classpath 'com.google.gms:google-services:4.3.3'
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url("$rootDir/../node_modules/react-native/android")
        }
        maven {
            // Android JSC is installed from npm
            url("$rootDir/../node_modules/jsc-android/dist")
        }

        maven {
              url "$rootDir/../node_modules/detox/Detox-android"
        }

        google()
        jcenter()
        maven { url 'https://www.jitpack.io' }

        // Scanbot SDK Maven repositories:
         maven { url 'https://nexus.scanbot.io/nexus/content/repositories/releases/' }
         maven { url 'https://nexus.scanbot.io/nexus/content/repositories/snapshots/' }
    }
}

Cucumber.js
// eslint-disable-next-line no-shadow-restricted-names
const arguments = [
    '--require-module @babel/register',
    'e2e/features/*/*.feature',
    '--publish-quiet',
].join(' ');

module.exports = {
    default: arguments
}

Hooks.js
import {BeforeAll, Before, AfterAll, After} from '@cucumber/cucumber';
import {init, onTestStart, onTestDone, cleanup} from 'detox/internals';
// import testData from '../../testData/TestData';
import moment from 'moment';
const date = moment().format('DD-MM-YYY_HH-mm-ss_a');

BeforeAll({timeout: 60 * 1000}, async () => {
  await init();
});

Before(async testCase => {
  await device.launchApp({delete: false, newInstance: true});

  const testSummary = {
    fullName: testCase.pickle.name,
    status: 'running',
  };

  await onTestStart(testSummary);
});

After(async scenario => {
  const testSummary = {
    fullName: scenario.pickle.name,
    status: scenario.result.status.toLowerCase(),
  };

  if (scenario.result.status.toLowerCase() === 'failed') {
    const scenarioName = scenario.pickle.name.replace(/\s+/g, '-');
    await device.takeScreenshot(
      `${device.getPlatform()}_${scenarioName}_${date}`,
    );
  }

  await onTestDone(testSummary);
});

AfterAll(async () => {
  await cleanup();
});

My Scripts:
{
    "name": "react_pro",
    "version": "0.0.1",
    "private": true,
    "scripts": {
        "start": "react-native start",
        "lint": "eslint .",
        "jetify": "npm run jetify",
        "run-android": "react-native run-android",
        "run-android-develop": "react-native run-android --variant develop",
        "run-android-qa": "react-native run-android --variant qa",
        "build-develop": "cd android && ./gradlew app:assembleDevelop",
        "build-qa": "cd android && ./gradlew app:assembleQa",
        "build-uat": "cd android && ./gradlew app:assembleUat",
        "clean": "cd android && ./gradlew clean",
        "print-native-logs": "adb logcat *:S AuditPro:V ReactNative:V",
        "clear-native-logs": "adb logcat -c",
        "start-emulator": "emulator -avd NNSC_API_29",
        "pause-postinstall": "npm run jetify",
        "audit": "npm audit --json | npm-audit-html",
        "detox:build:android-debug": "detox build --configuration android.att.debug",
        "detox:e2e:android-debug": "DETOX_CONFIGURATION=android.att.debug npx cucumber-js"
    },
    "dependencies": {
        "@bugfender/rn-bugfender": "^2.0.0",
        "@react-native-community/async-storage": "^1.12.1",
        "@react-native-firebase/app": "^8.4.7",
        "@react-native-firebase/messaging": "^7.9.2",
        "@types/bytebuffer": "^5.0.40",
        "@types/lodash.debounce": "^4.0.6",
        "appcenter": "^4.4.3",
        "appcenter-analytics": "^4.4.3",
        "appcenter-crashes": "^4.4.3",
        "bytebuffer": "^5.0.1",
        "deepmerge": "^4.2.2",
        "fast-sort": "^2.1.1",
        "google-protobuf": "^3.9.1",
        "hex2dec": "^1.1.2",
        "i18n-js": "^3.3.0",
        "jetifier": "^1.6.5",
        "lodash.debounce": "^4.0.8",
        "moment": "^2.24.0",
        "protobufjs": "^6.8.8",
        "react": "17.0.1",
        "react-native": "0.64.2",
        "react-native-auto-size-text": "^1.1.1",
        "react-native-custom-picker": "^0.4.0",
        "react-native-date-picker": "^3.3.2",
        "react-native-device-info": "^2.3.2",
        "react-native-exit-app": "^1.0.0",
        "react-native-localize": "^1.1.4",
        "react-native-nfc-manager": "^2.0.0-beta.1",
        "react-native-ping": "^1.2.6",
        "react-native-scanbot-sdk": "^4.13.1",
        "react-native-side-menu": "^1.1.3",
        "react-native-sound": "^0.11.0",
        "react-native-typescript-transformer": "^1.2.13",
        "react-native-webp-format": "^1.1.2",
        "react-navigation": "^3.11.1",
        "react-navigation-extension": "^3.0.0",
        "react-navigation-hooks": "^1.1.0",
        "react-redux": "^7.1.0",
        "redux": "^4.0.4",
        "redux-persist": "^6.0.0",
        "redux-persist-filesystem-storage": "^2.2.0",
        "redux-saga": "^1.0.5",
        "reduxsauce": "^1.1.0",
        "rn-fetch-blob": "^0.12.0",
        "simple-crypto-js": "^2.5.0"
    },
    "devDependencies": {
        "@babel/core": "^7.12.9",
        "@babel/register": "^7.21.0",
        "@babel/runtime": "^7.12.5",
        "@cucumber/cucumber": "^9.1.1",
        "@react-native-community/eslint-config": "^2.0.0",
        "@types/i18n-js": "^3.0.1",
        "@types/react": "^16.8.23",
        "@types/react-native": "0.64.2",
        "@types/react-redux": "^7.1.1",
        "@typescript-eslint/eslint-plugin": "^4.25.0",
        "@typescript-eslint/parser": "^1.13.0",
        "babel-plugin-module-resolver": "^3.2.0",
        "buffer": "^5.2.1",
        "detox": "^20.7.2",
        "eslint": "7.14.0",
        "eslint-config-airbnb": "^18.0.1",
        "eslint-config-prettier": "^6.0.0",
        "eslint-plugin-import": "^2.18.2",
        "eslint-plugin-jsx-a11y": "^6.2.3",
        "eslint-plugin-prettier": "^3.1.0",
        "eslint-plugin-react": "^7.14.3",
        "metro-react-native-babel-preset": "^0.64.0",
        "prettier": "^2.0.5",
        "react-native-gesture-handler": "^1.10.3",
        "typescript": "^3.7.2"
    },
    "resolutions": {
        "minimist": "1.2.6"
    },
    "volta": {
        "node": "14.15.0"
    }
}

What was the expected behaviour?
No response
Was it tested on latest Detox?

[X] I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

[ ] I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much.

Help us reproduce this issue!
To reproduce this error, please use Windows 10 and cucumber as the test runner.
In what environment did this happen?
Detox version: 20.7.2
React Native version: 0.64
Has Fabric (React Native's new rendering system) enabled: (yes/no)  no
Node version: 16
Device model: EDA51
Android version: Android OS 8.1.0
Test-runner (select one): Cucumber
Detox logs
Detox logs
paste logs here!

Device logs
Device logs
paste your device.log here!

More data, please!
No response

Could you share your package.json ("scripts" section)?

Could you share your package.json ("scripts" section)?

@noomorph Added my package.json file to the above.

The problem is in your script in package.json. You should use cross-env to set env vars in Windows.

source: gharchive/issue

authors: Anantha-sb noomorph

repo: wix/Detox


text:
value() completions appear on a par ranking with css

Find a way to make them appear on top...

When overlapped text is empty, doesn't look like there's a way to do this.

repo: wix/stylable-intelligence


text:
Clarification on Reply message

@wiz0u: I have been trying to use your code  with amendments to send reply to a real time message received.
I am trying to send a reply if a message is received from a specific user (XYZ). While the below piece of code(line 100,101) sends out a reply, it lands under my "Saved messages" and not under the specific channel where the message is received.

Not sure what is going wrong here. Could you please help?

Got the answer from your stackoverflow reply here. Thanks a lot @wiz0u for this wonderful library!


text:
پیشنهاد اختصاص دادن کانفیگ به کاربر

سلام عرض ادب
اول از همه ممنون برای این پروژه خوب و عالیتون . که تقریبا همه امکانات رو بهش اضافه کردید و میشه گفت یکی از بهترین ها هستید
پیشنهادی که دارم اینه که بتونیم به کاربران که ربات را استارت کرده و عضو شدند بتونیم کانفیگ را به اکانتشون متصل کنیم یا اختصاص بدیم
بعضی کانفیگ ها در سرور بصورت دستی توسط مدیر اضافه میشن یا از قبل اضافه شدن . ولی نمیشه اون کانفیگ رو به اکانت تلگرامشون متصل کرد . فقط میتونن مشخصات کانفیگ رو ببینن با ارسال لینک خودشون.
اگه تو همین قسمت "مشخصات کانفیگ" که وقتی کاربری لینک اکانت رو ارسال میکنه و مشخصات اکانتشو میبینه ، بشه دکمه ای اضافه کرد که اکانت رو به "کانفیگ های من" اضافه کنه عالی میشه
سپاس

از توی قسمت Order List بزن روی ادیت اکانت ای که میخوای و یوزر آی‌دی طرف رو با مال خودت (ادمین) جایگذین کن
برای فهمیدن یوزر آی‌دی میتونی از قسمت users استفاده کنی.

متوجه منظورم نشدی عزیز
منظور من کانفیگ هایی هست که خارج از ربات و داخل پنل xui ساختم. اونا تو پنل ربات معرفی نشدن که بشه به کاربر خاصی متصلش کرد.
توسط خودم یا هیچ کاربری از ربات ساخته یا خریداری نشدن که تو order list وجود داشته باشن. از داخل پنل xui ساخته شدن

سلام عرض ادب اول از همه ممنون برای این پروژه خوب و عالیتون . که تقریبا همه امکانات رو بهش اضافه کردید و میشه گفت یکی از بهترین ها هستید پیشنهادی که دارم اینه که بتونیم به کاربران که ربات را استارت کرده و عضو شدند بتونیم کانفیگ را به اکانتشون متصل کنیم یا اختصاص بدیم
بعضی کانفیگ ها در سرور بصورت دستی توسط مدیر اضافه میشن یا از قبل اضافه شدن . ولی نمیشه اون کانفیگ رو به اکانت تلگرامشون متصل کرد . فقط میتونن مشخصات کانفیگ رو ببینن با ارسال لینک خودشون. اگه تو همین قسمت "مشخصات کانفیگ" که وقتی کاربری لینک اکانت رو ارسال میکنه و مشخصات اکانتشو میبینه ، بشه دکمه ای اضافه کرد که اکانت رو به "کانفیگ های من" اضافه کنه عالی میشه سپاس

سلام ممنون احتمالا اضافه بشه باید بررسی کنم

authors: PhanKOw seoman-work wizwizdev

repo: wizwizdev/wizwizxui-timebot


text:
Fix QS race condition

Create qs ini in wikibase not qs.
This should prevent the race
condtion where making the OAuth consumer isn't possible due to
the user not having been properly made yet.

This is only done in 1.33?
Should it also be in other versions?

authors: addshore tarrow

repo: wmde/wikibase-docker


text:
Change Active Item ?

Hi,
Thank for this useful plugin .Hope it is not silly question .But I tried to use the setActiveItem and it is not working ( not changing the view ) I tried with numbers ( like 0 1 2 ... ) as well as with object ! .It only return the class of the navigationSlider.
Thanx in advance

Is there an answer tp this question because i have the same issue. I want to change the activeitem by code, but i'm puzzled by this.

You can use standard Sencha select function on underlying menu list:
Ext.getCmp('your-list').select(1)

It selects the second item in menu list.
As alternative to Ext.getCmp you can use refs in controllers.

Facing same issue. how can i get sidebar item listing that you have referred  to as 'your-list'?

authors: MuneebSarfraz94 iosipeld rammere seriousmedia

repo: wnielson/sencha-SlideNavigation

license: mit

license_source: bigquery


text:
PHP Xdebug IP address

The IP address for PHP Xdebug on Linux as defined in https://github.com/wodby/docker4drupal/blob/99bd2d7999f09d2dfe03363c796240cd09cff6df/docker-compose.yml#L32 must not be correct. On a fresh Ubuntu 17.10 x64 installation I have 172.18.0.1 instead of 172.17.0.1.
So it seems to depend somehow on the Linux distribution and this should be documented somehow, best as comment near that line.
Update: This was caused by using a named network instead of the default network.

I guess you figured that out. Also see https://github.com/wodby/docker4drupal/pull/283

authors: csandanov mfrieling


text:
Running docker4drupal on a production server

Hi,
We are not so experienced with Docker yet, and we wanted to know your opinions on the following:
Are there any security or other practical concerns or settings to be aware of when using docker4drupal in a production environment? We have our own little server and we want to eventually make our Drupal website available to the public via docker4drupal. At least for development we started using it, and we wonder whether we can also just use it for production or whether this is not the best idea.
The Docker Docs, for example, list the following issues for Compose in production:

Removing any volume bindings for application code, so that code stays inside the container and can’t be changed from outside
Binding to different ports on the host
Setting environment variables differently, such as when you need to decrease the verbosity of logging, or to enable email sending)
Specifying a restart policy like restart: always to avoid downtime
Adding extra services such as a log aggregator

Any suggestions and opinions to the points I've posted are very much appreciated, thanks!

Well, you're right, there's a bunch of things you should take care of when running containers in production, and additionally – yes, you have to configure images as well, such as setting up lower error reporting level for PHP and other things. If deploying a Drupal stack via Wodby does not work for you (disclosure: I'm one of the co-founders and very much biased), I recommend to take a look at Kubernetes or Swarmkit that'll help you understand all the things you should consider when running containers in production, as for images configuration you can take a look at the official configs, for example PHP has the default development and production versions of php.ini.

Also see https://drupal.stackexchange.com/a/231630

authors: chrarnold csandanov


text:
Multisite subsites giving ERR_TOO_MANY_REDIRECTS

Codebase
Mounted vanilla multisite codebase
Host OS
macOS Sierra
Docker info output
Containers: 5
 Running: 5
 Paused: 0
 Stopped: 0
Images: 21
Server Version: 17.09.0-ce-rc1
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.46-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.952GiB
Name: moby
ID: PJNX:RV35:2FY7:MOO4:STFK:UB27:2JWX:IVTR:JLHF:JAKN:UKT7:X3PA
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 66
 Goroutines: 72
 System Time: 2017-09-18T19:36:33.885137581Z
 EventsListeners: 2
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

Docker compose file
version: "2"

services:
  mariadb:
    image: wodby/mariadb:10.1-2.3.3
    environment:
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: <project-name>
      MYSQL_USER: wordpress
      MYSQL_PASSWORD: wordpress
    volumes:
      - /path/to/project/init/db:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
      - /path/to/project/data/db:/var/lib/mysql # I want to manage volumes manually.

  php:
#    image: wodby/wordpress:4-7.1-2.2.0
    image: wodby/wordpress-php:7.1-2.2.0
    environment:
      SHORT_OPEN_TAG: "On"
      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
      PHP_XDEBUG: 1
      PHP_XDEBUG_DEFAULT_ENABLE: 1
      PHP_XDEBUG_REMOTE_CONNECT_BACK: 0         # This is needed to respect remote.host setting bellow
      PHP_XDEBUG_REMOTE_HOST: "10.254.254.254"  # You will also need to 'sudo ifconfig lo0 alias 10.254.254.254'
    volumes:
#      - /Users/ninja/Sites/codegeek/viasat-dealer/www:/var/www/html
      - docker-sync-<project-name>:/var/www/html # Docker-sync

  nginx:
    image: wodby/wordpress-nginx:4-1.13-2.2.0
    environment:
      NGINX_STATIC_CONTENT_OPEN_FILE_CACHE: "off"
      NGINX_ERROR_LOG_LEVEL: debug
      NGINX_BACKEND_HOST: php
      NGINX_SERVER_ROOT: /var/www/html
    volumes:
#      - /path/to/project/www:/var/www/html
      - docker-sync-<project-name>:/var/www/html # Docker-sync
    depends_on:
      - php
    labels:
      - 'traefik.backend=<project-name>_nginx'
      - 'traefik.port=80'
      - 'traefik.frontend.rule=Host:<project-name>.docker.localhost'

volumes:
  docker-sync-<project-name>:
    external: true

Logs output
nginx_1    | 2017/09/18 19:36:02 [notice] 24#24: *123 "/wp-admin$" does not match "/test/wp-admin/", client: 172.27.0.5, server: wordpress, request: "GET /test/wp-admin/ HTTP/1.1", host: "<project-name>.docker.localhost"
nginx_1    | 2017/09/18 19:36:02 [notice] 24#24: *123 "/wp-admin$" does not match "/index.php", client: 172.27.0.5, server: wordpress, request: "GET /test/wp-admin/ HTTP/1.1", host: "<project-name>.docker.localhost"
nginx_1    | 172.27.0.5 - - [18/Sep/2017:19:36:02 +0000] "GET /test/wp-admin/ HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"
nginx_1    | 2017/09/18 19:36:02 [notice] 24#24: *123 "/wp-admin$" does not match "/test/wp-admin/", client: 172.27.0.5, server: wordpress, request: "GET /test/wp-admin/ HTTP/1.1", host: "<project-name>.docker.localhost"
nginx_1    | 2017/09/18 19:36:02 [notice] 24#24: *123 "/wp-admin$" does not match "/index.php", client: 172.27.0.5, server: wordpress, request: "GET /test/wp-admin/ HTTP/1.1", host: "<project-name>.docker.localhost"
nginx_1    | 172.27.0.5 - - [18/Sep/2017:19:36:03 +0000] "GET /test/wp-admin/ HTTP/1.1" 302 5 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36"

I realized the trick was to enable subdomains instead of subfolders and listing out all of the subdomains in the frontend rule of the nginx container.
Does anyone know how to accomplish the same thing with subfolders and perhaps a regular expression instead of listing each specific item.

I use subdomains only.
And i use next rule for nginx container
- 'traefik.frontend.rule=HostRegexp:{subdomain:.+}.yoursite.dev,yoursite.dev'

What is your nginx image tag?

@TrilipuT Thank you. That's exactly what I was looking for!

@csandanov I'm using wodby/wordpress-nginx:4-1.13-2.2.0

For apache installation and multisite with subfolders, I found a workaround modifyng .htaccess only.
Simply add "DirectoryIndex index.php" to the top. It seems that apache installation have no default conf.
example of this .htaccess:
DirectoryIndex index.php

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

@TrilipuT With your subdomain wildcard rule, it seems like none of the other container rules work. For example, I can't reach pma.wp.docker.localhost. Any ideas how to get around this?

authors: TrilipuT allurewebsolutions cesco69 csandanov


text:
{"error":"invalid_client"} thrown from $provider->getAccessToken

notsomuch an "issue" because I doubt the oauth code is buggy, but I'm getting this error so -- what am I doing wrong?
I've plugged in the credentials, I'm using the code in the README, and the $_GET['code'] is there and looks plausible.
The error is happening on this command:
$token = $provider->getAccessToken('authorization_code', [
        'code' => $_GET['code']
]);

it throws a Wohali\OAuth2\Client\Provider\Exception\DiscordIdentityProviderException
the message is {"error":"invalid_client"}
I googled this. There are lots of pages describing this error message but none seemed relevant to this instance.
Any ideas?

Usually invalid_client means the secret is invalid. Double-check your code, and that you have the latest release of this library (v1.2.1)? The base authorization URL has recently changed, in addition with changes relating to the deprecation of the old v6 Discord API.

well I'll be $#@. That's what it was -- I went to discord, reset the secret, pasted it into my app, and now it works.
Thanks for the prompt response! And the working code! And btw your profile says you're from Toronto --  I'm just down the 401 in Waterloo. Cheers!

authors: ianring wohali


text:
Light theme

I really love this theme. However, I like using light themes during day time. Would you please make a light version?

I'm glad you're enjoying it :) Sure, I'll try to come up with some initial colors today and publish a branch perhaps

You can check out a very initial draft with:
Plug 'wojciechkepka/bogster', { 'branch': 'light' }
colorscheme bogster
set background = 'light'

Thanks! It looks great!
Personally, I find the yellow color for Statement is a little bit hard to see. Also, the TODO group looks like not highlighted.

Should look better now, I also updated some groups to make more sense. Forgot to check :help group-name after making the theme so cheers :)

It does look better. Thanks for the quick update!

authors: wojciechkepka zealotrush

repo: wojciechkepka/bogster


text:
Adding optional Date return to -Next functions

Ok, one more PR to add a function that I think would make this project very useful: an option to allow the getNextClosedAt and getNextOpenAt functions (and their ~Now companions) to return Date objects. I've updated the corresponding tests and documentation as well.

I really need this! @wojtekmaj are you ok with this? Can you merge/ release this?

authors: farfromrefug whubsch

repo: wojtekmaj/opening-hours-utils


text:
can not cancle pending pipeline ...

... when queue do miss related task for it

probably

repo: woodpecker-ci/woodpecker


text:
Pipeline with service doesn't work (K8s)

Component
server, agent
Describe the bug
When running pipeline with service, it going to start, but there is no pods and even attempts to create them.
There are no errors and WP pods (Server, Agent) restarts.
Pipeline:
skip_clone: true
services:
  server:
    image: digitalocean/doks-debug
    commands:
      - echo 'This is test server' | nc -l -6 1234
    ports:
      - 1234
steps:
  client:
    image: digitalocean/doks-debug
    commands:
      - nc -v -6 -w 10 server 1234

Result:

System Info
`next-a5fa810bcc`

Additional context
woodpecker-server.log
woodpecker-agent.log
https://woodpecker.test.smthd.com/repos/1/pipeline/85
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
[X] Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.

Hi, I am not able to use rwx volumes in my clusters, when I try with NFS services, the pipelines go to very slow to finish.
In my situation, the services start-up with a volume and lock it. It is blocking the other pod steps to continue. My suggestion is to create the pod service with an empty dir, without the volume used in the other pods steps. It's make the pods services isolated from the pv mount lock

I don't think, that volume is the cause of this issue.
On next-a5fa810bcc it worked without service. I've just tested on pull_3216 - the same.
Volume is used not only in services, but also in pipelines without them - workspace with cloned repository.
I use local storage in K3s.
Perhaps, #3141 is related.

I don't think, that volume is the cause of this issue.
On next-a5fa810bcc it worked without service. I've just tested on pull_3216 - the same. Volume is used not only in services, but also in pipelines without them - workspace with cloned repository. I use local storage in K3s.
Perhaps, #3141 is related.

Thanks, I'm running 2.1.1. I will try replicate my issue with next version. In my issue the service works when all the steps pods run in the same kubernetes node. If some steps run in another node I receive error to attach the pvc.
Warning  FailedAttachVolume  2m21s  attachdetach-controller  Multi-Attach error for volume "pvc-e7756cc7-a0ce-4c3f-909a-f92fb9051147" Volume is already used by pod(s) wp-01hmhhfewr9cwqsj2q4v440rwa-0-step-0
  Warning  FailedMount         19s    kubelet                  Unable to attach or mount volumes: unmounted volumes=[wp-01hmhhfewr9cwqsj2q4v440rwa-0-default], unattached volumes=[aws-iam-token wp-01hmhhfewr9cwqsj2q4v440rwa-0-default kube-api-access-lwm48]: timed out waiting for the condition

It was broken twice: in #3141 and #3135.
1-woodpecker-agent-549d095f.log works.
Fix of #3141.
2-woodpecker-agent-31614d0e-patched.log works.
3-woodpecker-agent-c64340cf-patched.log works.
4-woodpecker-agent-cd59a852-patched.log works.
5-woodpecker-agent-aab2f0e6-patched.log works.
6-woodpecker-agent-d1fe86b7-patched.log broken again. The same on b82790d5.

Step (client) never runs. There is no logs from service (server).

to not break it again - can we mock the kubernetis api somehow and create a integration test for the backend (with a smal pipeline as run example (1x clone 1x service 3xstep (2xparalel and one waiting))?

authors: 6543 eliasscosta zc-devs


text:
Fix codecov plugin version

After the recent update of the plugin (which now follows semver)

Hmm seems like there's something wrong with the arch in the image :/

No wait, the test actually failed but it was not reflected in the CI run...
$ /bin/codecov -Q woodpecker --rootDir /woodpecker/src/github.com/woodpecker-ci/woodpecker --nonZero --file agent-coverage.out --file cli-coverage.out --file coverage.out --file server-coverage.out --file datastore-coverage.out
[2](https://ci.woodpecker-ci.org/repos/3780/pipeline/9004/26#L2)023/10/24 12:46:39 fork/exec /bin/codecov: exec format error

https://ci.woodpecker-ci.org/repos/3780/pipeline/9004/26

because of  failure: ignore

https://github.com/woodpecker-ci/plugin-codecov/pull/13


text:
[update] Removed useless code

RNG interface for C code is not used anymore
Directives KERNEL_ENABLE_DMA are removed where not usefull
Added KERNEL_ENABLE_DMA directives in src/ewok-syscalls-handler.adb
to return DENIED when doing a related DMA syscall when it's not available

@arnauldm Seems okay for me :) Are run tests okay too ? If they are, we can rebase and merge

authors: PThierry arnauldm

repo: wookey-project/ewok-kernel


text:
TypeScript types

Would you be open to having TS types in this repo if I could create them?

Thanks for offering! The Microsoft team currently suggest adding types for non-typescript projects to the DefinitelyTyped project, and I side with that decision.

@wooorm What is the advantage of that approach? Isn't it easier to maintain types in-repo rather than jump through all the hoops of DefinitelyTyped process? Isn't DefinitelyTyped mostly used as a fallback solution these days?

Well, the gist of it is: I am not a fan of typescript, and I get to decide how I run my own open source projects, in my free time! My experience with coffeescript/typescript is that less folks can write in them, making it harder for others to contribute. It also introduced something that I don’t use or know about into a project I maintain. Which will become a problem next year, when you aren’t interested in this project anymore.
Here is what typescript says about it: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

Here is what typescript says about it: https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
Yeah, fair enough.
and I get to decide how I run my own open source projects, in my free time!
Also undeniably true.
Which will become a problem next year, when you aren’t interested in this project anymore.
I am not aware of an opensource project that I've abandoned in the past. You can check my GitHub history, I can assure you that I would definitely find time to update typings immediately should you ping me next year or the year after that, or as long as I'm still in this industry. However, first two reasons that you listed are still definitely valid. Thank you for clarifying your position!

Glad to hear! Thanks that you’d offer that!
I was under the impression that the DefinitelyTyped project is mostly automated: it pings people who previously helped and such, so I thought “jump through all the hoops” wasn’t that many hoops!

@wooorm It is automated to an extent, but people still need to react after being pinged, and that often takes quite a bit of time. Also, considering that DefinitelyTyped is a huuuuuuuge monorepo, working with it is less than pleasant :D. So yeah.

authors: kibertoad wooorm

repo: wooorm/markdown-table


text:
[Bug] 전체보기 버튼 클릭 시 404에러 발생

데모 링크에서 전체보기를 누르면 /#경로로 이동해 404에러가 보입니다. root 경로를 가리키는 /를 빼야 할 듯 합니다!
index.html 25번 라인
// index.html 25번 라인

// AS-IS
전체보기

// TO-BE
전체보기

제보하러 왔는데 이미 첫번째 이슈로 생성되어있군요~! 😄

authors: HJ-Rich Joyykim


text:
Added version.txt file to META-INF folder according to internal documentation.

The WD RHBK docs say to include a version.txt file to custom Keycloak themes:

(see theme guide: https://github.com/world-direct/rhbk/blob/main/docs/guides/themes.md)
Therefore, I think it makes sense to add this version.txt file to the sample World-Direct theme as well.
Perhaps refreshing the version number in this file could be automated using GitHub workflows in the future.

Eagle eyes ;-) -- I was struggling myself on whether to include it or not, but I settled for your last proposal: https://github.com/world-direct/keycloak-theme-world-direct/blob/89ba30ade83b3d052c9ab29bb51e4cd513617095/.github/workflows/ci.yaml#L24 -> I'm closing this one (since it's already implemented), but feel free to re-open if I'm mistaken.
Thanks!

authors: dave-meyer hwo-wd


text:
fix: Add lockfile check to presubmit workflow

fix: Add lockfile check to presubmit workflow

This change is


text:
Add missing NetworkPolicy resources for EDP simulators.

When adding any NetworkPolicy to the cluster, all traffic not covered by the policy appears to be blocked by default. This can be triggered by enabling monitoring.
This also simplifies the metrics deployment guide for GKE.

This change is

authors: SanjayVas wfa-reviewable


text:
Upgrade dependencies

This change is

Abandoning in favor of https://github.com/world-federation-of-advertisers/panel-exchange-client/pull/356


text:
Introduction TUR

Hi @gronert-m ,
I think I incorrectly called you to review in the update of my latest version of the TUR introduction. So I think it will be better to record the feedback here if any.
The link to the introduction is here. https://github.com/worldbank/gld/blob/TUR/Support/Country Survey Details/TUR/HLFS/introduction to HLFS.md
Thanks again for taking the time for this.

Hi @gronert-m ,
I updated the introduction if it is ok with you please close this issue.
Best,
Alexandra

Hi @gronert-m ,
Revisiting this issue please can you see if you agree with the introduction in this link  and the education section in this other link .
Best,
Alexandra

repo: worldbank/gld


text:
Add a way to edit the queue

It would be nice if the queue could be edited. For example by creating a popup menu for the queue to (re)move tracks

I think was fixed some time ago, but it's double-fixed now.

authors: kingosticks woutervanwijk

repo: woutervanwijk/Mopidy-MusicBox-Webclient


text:
Error: 'i18n' is not a registered wp command.

After installing wp-cli using latest (1.5.0) .deb build from builds repo, I'm stuck with this error :
Error: 'i18n' is not a registered wp command. See 'wp help' for available commands.
I tried an older package (1.3.0) but the problem is also present.
sebastien@computer:~$ wp --info
OS:	Linux 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018 x86_64
Shell:	/bin/bash
PHP binary:	/usr/bin/php7.0
PHP version:	7.0.22-0ubuntu0.16.04.1
php.ini used:	/etc/php/7.0/cli/php.ini
WP-CLI root dir:	phar://wp-cli.phar
WP-CLI vendor dir:	phar://wp-cli.phar/vendor
WP_CLI phar path:	/home/sebastien
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version:	1.5.0

sebastien@computer:~$ wp i18n
Warning: No WordPress install found. If the command 'i18n' is in a plugin or theme, pass --path=`path/to/wordpress`.
Error: 'i18n' is not a registered wp command. See 'wp help' for available commands.

sebastien@computer:~/www/wordpress$ wp i18n
Error: 'i18n' is not a registered wp command. See 'wp help' for available commands.

sebastien@computer:~$ uname -a
Linux computer 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

sebastien@computer:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.3 LTS
Release:	16.04
Codename:	xenial

Note: the command wp package install git@github.com:wp-cli/i18n-command.git won't works too (it generates other error message) and Travis seems to be angry with latest commits.
So I suppose a problem from here...

This command is not part of WP-CLI 1.50, so the error message is correct. The command doesn't exist.
The error you get with wp package install git@github.com:wp-cli/i18n-command.git is more interesting tough. That shouldn't happen. Can you copy the message for us?
The travis errors are false positives, you can ignore them.

This command is not part of WP-CLI 1.50, so the error message is correct. The command doesn't exist.

It would be good to update the Install instruction, especially the following phrase :

This package is included with WP-CLI itself, no additional installation necessary.

We could re-run the scaffolding here to mark the package as non-bundled.
Last time the goal was to bundle the command with the next release of WP-CLI, so I'm not sure it's necessary to do change the readme until then.
The command isn't really advertised anywhere so it's unlikely to be found by many people. And if they do, there's an installation hint in the readme.

Yes, I agree, not worth bothering with an update now. I'd prefer working on getting this into nightly instead.

The command isn't really advertised anywhere so it's unlikely to be found by many people. And if they do, there's an installation hint in the readme.

Yeah maybe not many people, but those who need it may find it (like I just did following a message of you @swissspidy : https://github.com/wp-cli/ideas/issues/68). 😃 The hint in the readme is also confusing because it looks like a way to upgrade the command, not install it from scratch.
Maybe that a readme with correct install instructions (until the command is effectively merged into WP CLI) could help those for whom this command is made not losing their time trying a wrong use ?
thanks

authors: Seebz schlessera swissspidy tfritsch-km


text:
Lock into landscape

Only for survey

➤ Ben Hylak commented:
Alex Tacescu is it possible to only lock in landscape for indicators and review? I think background questions are more usable in portrait..

➤ Ben Hylak commented:
Not lock for background questions

repo: wpi-poverty-stoplight/ps-advisor-app


text:
Pet-store user information form not getting prompted

Description:
Previously when signing to pet-store user was prompted to submit his information, i.e first name, last name and address during the initial signing in. Now the users get signed in without submitting those information during the initial signing in.
Suggested Labels:
Broken
Suggested Assignees:
Nadun
Affected Product Version:
Latest build
OS, DB, other environment details and versions:
Tested in local complete setup
Steps to reproduce:

Run pet-sote back end and front end cells
Go to pet-store web page
Sign in and check if the user information is requested.

The swagger used in the test-cases was old and it was missing an API. This caused the error.
Fixed in #463 by upgrading the swagger


text:
Readme QSG list a hardcoded IP

Description:

Under https://github.com/wso2-cellery/sdk#hello-world-with-cellery
3. Add the following line to the /etc/hosts file.

  192.168.56.10 hello-world.com

Hardcoded IP is a typo right?
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Hi Nirmal,
QSG focuses on the steps that are required to be followed for local setup of Cellery (ie, local VM download), and hence the instruction is right. However, I understand that this may confuse the users who have installed cellery in different k8s cluster other than local. I'll add a explaination about this, and provide the links to respective sections on adding the correct /etc/host values.
Thanks for reporting the issue.

Fixed this issue.


text:
[CLOSED] Improve 'Test Run on current file' command

 Issue by prabushi
Monday Oct 19, 2020 at 09:02 GMT
Originally opened as https://github.com/ballerina-platform/plugin-vscode/issues/18

Description:
Improve the 'Test Run on current file' command to run a specific testCase in the project.
Can use the following CLI command to run the test:
ballerina test --tests testCaseName [ —all | module-name]

Need to list available module/package names
Need to list available test cases

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

 Comment by prabushi
Friday Mar 26, 2021 at 05:00 GMT

Individual test cases should be able to run via code lenses
All tests inside a project should be able to run via the palette command

Fixed in swan-lake-beta.1-rc1.


text:
Data service creation doesn't provide an intuitive developer experience

Current flow of creating a data service using EI tooling is not an intuitive experience. For a first time developer, to create a data service successfully, you need to read the documentation and understand the semantic of creating a data service. Then once you know the structure in detail and is familiar with how a data service is implemented it's possible to use EI tooling to create a new data service.
Data service creation should be an intuitive experience that should be possible and assisted using EI tooling. It should present a flow that's obvious for a developer to fill in data source, query and tie that to operations.
https://wso2.org/jira/browse/DEVTOOLEI-1134

Fixed with the new DSS editor.

authors: dakshika prabushi


text:
[Windows]When a Data Service imported, it does not display the data source details in the Design View.

Description:
When a data service is imported, even though it is displayed the data source details in the source view, once it is switched to Design view and edit data source configurations, it does display the data.
Steps to reproduce:

Create a Data Service Project and right click on the project and click on new -> dataservice
Import the following data service
Go to the imported data service, click on Data Sources and edit the data source.

Expected: It should display the details of the Datasource.
Actual: It does not display the values.

The same behavior with Resources -> edit resource
It does not display the Resource Method.

Fixed in - https://github.com/wso2/devstudio-tooling-dss/pull/143


text:
Update Migration Docs

API-M Migration documents need to be updated.

The migration docs should have a link to deployment synchronization mechanism guide when the doc in https://github.com/wso2/docs-apim/issues/457 is available.

The migration docs should have a link to the secure vault doc when it is available via https://github.com/wso2/docs-apim/issues/458


text:
Issue of returning the revoked refresh token in encrypted format when the access token is revoked

Describe the issue:
This issue was observed when the EncryptionDecryptionPersistenceProcessor is configured as the TokenPersistenceProcessor.
When a token revocation request is sent to the /oauth2/revoke endpoint, the token details are retrieved from the database once a cache miss is found. In this case, when the access token is sent as the token-to-revoke (the token identifier is the access token), the response contains the revoked refresh token header in encrypted format.
How to reproduce:

Generate an access token
Wait untill the token cache expires
Call /oauth2/revoke by passing the access token as the token identifier.

Expected behavior:
The revokedRefreshToken response header should be be in the plain-text format.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [IS 5.7]
OS: [Linux]
Database: [ MySQL]

Optional Fields
Related issues:

Suggested labels:

Fixed with https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/1485

authors: Dinushi janakamarasena


text:
[Improvement] Add capability to configure remote log publishing settings for each log type separately

Upcoming remote log publishing UI [1] would have a single form to configure log publishing for all log types. The UI needs to be improved so that users are be able to configure log publishing settings for each log type separately, and restore default configuration for each log type separately.
[1] https://github.com/wso2/product-is/issues/16464

This has been implemented and now available in the latest Jenkins build, hence closing.


text:
[performance testing] Ensure scaling behaviour is observed with horizontal scaling

Describe the issue:

Currently the scaling behaviour (reduction in response time) is not observed in high concurrencies due to bottlenecks outside Identity Server (Ex Database configuration)
These bottlenecks need to be identified and removed to observe proper horizontal scaling before publishing the performance results

Fix for IOPS bottleneck:
https://github.com/wso2/performance-is/pull/181

Use new instances:
https://github.com/wso2/performance-is/pull/186

authors: hwupathum shanggeeth


text:
All the curl commands provided in Consent Management RESTfulAPI are missing the authorization header

All the curl commands provided in Consent Management RESTfulAPI are missing the authorization header
https://docs.wso2.com/display/IS550/apidocs/Consent-management-apis/index.html
ex:
Given
curl -k -X POST "https://localhost:9443/api/identity/consent-mgt/v1.0/consents/purpose-categories" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"purposeCategory\": \"Marketing\", \"description\": \"For marketing related activities\"}"
Expected
curl -v -k -X POST "https://localhost:9443/api/identity/consent-mgt/v1.0/consents/purpose-categories" -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"purposeCategory\": \"Marketing\", \"description\": \"For marketing related activities\"}"

Fixed the docs. The doc changes will be reflected when digital operations re-hosts it.
@rumeshbandara please re-host the doc.


text:
[Doc] Upgrading+from+a+Previous+Release

Issues
1.please explain this in a bit details, at first glance its a bit confusing
Copy the following configuration files from the <NEW_IS_HOME> and paste it in the copy of the <OLD_IS_HOME> in the relevant path.
2.Under "Configuration changes: Click here to view the table.."
"carbon.xml file stored in the <IS_HOME>/repository/conf/identity folder." but the carbon.xml is not inside the identity folder but the repository/conf folder
3.The document [1] does not discuss about moving any required webapps which could be a required step.
[1]https://docs.wso2.com/display/IS550/Upgrading+from+a+Previous+Release
4.We need to mention changed on api-manager.xml
5.From IS-KM5.3.0 to IS-KM5.5.0 just moving the user-mgt.xml wont work as the below property needs to be added.
 <Property name="UsernameWithEmailJavaScriptRegEx">^[\S]{3,30}$</Property>

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

authors: isharak shavantha


text:
SAML SLO sends back-channel call even front-channel is enabled

When we have selected a front-channel SAML logout method, the SAML logout request is going in the front-channel as expected for both POST and Redirect bindings. But it tries to send the back-channel request always despite the Logout method.
Steps to reproduce

Enable debug logs for org.wso2.carbon.identity.sso.saml
Configure a SAML sp with followings

SLO Request URL = "http://pqr.local"
Logout Method = "Front-Channel Logout POST/Redirect"
Enable IdP Initiated SLO = true

Try to do IdP initiated SAML SLO.

https://localhost:9443/samlsso?slo=true&spEntityID=saml2-web-app-pickup-manager.com

Following log is written

DEBUG {org.wso2.carbon.identity.sso.saml.logout.LogoutRequestSender} -  Error while executing http request.
java.net.UnknownHostException: pqr.local: Name or service not known
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)

Affected versions
5.3.0 and 5.7.0

Fix
[IS5.3] https://github.com/wso2-support/identity-inbound-auth-saml/pull/58
[IS5.7] https://github.com/wso2-support/identity-inbound-auth-saml/pull/59

This was not observed in SP-initiated SLO flow

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

authors: isharak malithie rksk thushaaanthan


text:
Removing carbon-metrics from the product

Resolves https://github.com/wso2/product-is/issues/12936
Need to bump the carbon-registry version after this PR got merged https://github.com/wso2/carbon-registry/pull/394

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2527941645

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2527941645
Status: success

authors: jenkins-is-staging piraveena


text:
Remove outdated annotations @import and @export

Description:
$subject need to be removed in autocompletion

Fixed in PR wso2/carbon-analytics#565

authors: Anoukh suhothayan


text:
Design execution of scenario tests via an external shell script

Description:
ATM, TestGrid goes to a deeper level and execute the jmeter scripts. If we are only going to have jmeter scripts, and since the implementation is already there, IMO it is quite straight-forward for TestGrid to execute jmeter on a per-scenario basis, and parse the results.
But, to generalize the scenario execution, we should instead call a shell script, that may be named as run-scenarios.sh. The reasons are:

We have to pack jmeter plugins inside the TestGrid distribution. That means, whenever scenarios testing require new JMeter plugins, we will have to release testgrid. This is not scalable.
If we delegate the managing of JMETER_HOME and its plugins to a generic shell script (run-scenarios.sh), then this problem won't be there.

Even though QA Labs team is developing tests on jmeter today, they may change it at a latter date. Further, other test frameworks may also come into use like testng, selenium etc. along with jmeter in the future. I understand we have embedded Selenium tests into JMeter itself today. But, a technical/strategic issue may change that fact.

Because of these reasons, externalizing of jmeter script execution is required. This run-scenarios.sh may be generic enough for all scenario testing, and therefore could be maintained by the TestGrid team itself. The requirement here is to externalize the scenario execution from the TestGrid core.
Affected Product Version:
0.9.0-m9
Related Issues:
N/A

Closing since this is been fixed now.

authors: kasunbg pasindujw


text:
Hosts file editing

prepare an example script that may help with appending to hosts file host names needed to be set up to access dispatcher/httpd vhosts
project/script/hosts.sh
assumptions

should work on Mac, Linux and Windows
could request admin privileges on Mac and Windows automatically; on Linux should be run with sudo

implement it as tasks per os ; use - https://taskfile.dev/usage/#platform-specific-tasks-and-commands

define hosts to be appended in local.env as these domains could be use in other scripts as well

repo: wttech/aemc


text:
微信社交按钮是否需要？

有网友向我反馈，希望在右下角的社交按钮处添加一个微信按钮，点开会弹出微信二维码。
有多少人需要这个功能呢？

希望上方的banner(不知道这么叫对不对)可以放一张图片什么的，代替大块的颜色

这个不错.微信是我唯一常用的社交方式,希望可以增加.

我也希望最上方的banner可以放一张图片来代替大块的颜色。

@ccchan  @shnode   多谢建议。

你好，请问个问题。我使用内置的分享，微信分享二维码一直加载不出来，网络也没问题。这可能是什么原因？又该如何解决呢？

authors: ccchan fxjzzyo shnode wuchong yinshudi

repo: wuchong/jacman


text:
安装 BBRplus新版内核 后死机

在azure 创建免费的centos 7.9 VM
选 5. 安装 BBRplus新版内核 然后重启就死掉了
以前用别的一键脚本从来没死在BBR安装上。希望改进一下。
检测到 6 个其余内核，开始卸载...
开始卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核...
卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核卸载完成，继续...
开始卸载 kernel-tools-libs-3.10.0-1160.6.1.el7.x86_64
kernel-3.10.0-1160.6.1.el7.x86_64 内核...
grubby fatal error: unable to find a suitable template
grubby fatal error: unable to find a suitable template
卸载 kernel-tools-libs-3.10.0-1160.6.1.el7.x86_64
kernel-3.10.0-1160.6.1.el7.x86_64 内核卸载完成，继续...
开始卸载 kernel-bbrplus-headers-5.10.26-1.bbrplus.el7.x86_64
abrt-addon-kerneloops-2.1.11-60.el7.centos.x86_64
kernel-tools-3.10.0-1160.6.1.el7.x86_64 内核...
卸载 kernel-bbrplus-headers-5.10.26-1.bbrplus.el7.x86_64
abrt-addon-kerneloops-2.1.11-60.el7.centos.x86_64
kernel-tools-3.10.0-1160.6.1.el7.x86_64 内核卸载完成，继续...
开始卸载  内核...
rpm: no packages given for erase
卸载  内核卸载完成，继续...
开始卸载  内核...
rpm: no packages given for erase
卸载  内核卸载完成，继续...
开始卸载  内核...
rpm: no packages given for erase
卸载  内核卸载完成，继续...
--nodeps -e 内核卸载完毕，继续...
Generating grub configuration file ...
done
[注意] 请检查上面是否有内核信息，无内核千万别重启
[注意] rescue不是正常内核，要排除这个
[注意] 重启VPS后，请重新运行脚本开启BBRplus
需要重启VPS后，才能开启BBRplus，是否现在重启 ? [Y/n] :Y

@flywhc 依我看，你这是把bbrplus内核卸了，最后系统没内核了。

我选择的是 “5. 安装 BBRplus新版内核 ” 然后这个脚本卸载了我的内核？
我没有贴完全，之前的几行log是成功安装了的：
……
Running transaction
  Installing : kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64                                                                                1/1
  Verifying  : kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64                                                                                1/1

Installed:
  kernel-bbrplus.x86_64 0:5.10.26-1.bbrplus.el7

Complete!
检测到 6 个其余内核，开始卸载...

检测到 6 个其余内核，开始卸载...  开始卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核...  卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核卸载完成，继续...
确实卸了

检测到 6 个其余内核，开始卸载...
开始卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核...
卸载 kernel-bbrplus-5.10.26-1.bbrplus.el7.x86_64 内核卸载完成，继续...

确实卸了

那怎么做才能让它不卸载呢？我啥都做，选5安装，它就把我内核卸载了？

https://github.com/jinwyp/one_click_script/issues/62
目前安装 linuxe 内核的脚本 除了我这个 都有问题， 可以试试我的安装内核的脚本， 完全重新写的脚本

authors: flywhc jinwyp jiuqi9997


text:
feat: add create-wundergraph-app command

Checklist

[x] run make test
[x] PR title must follow conventional-commit-standard
[ ] tests and/or benchmarks are included
[ ] documentation is changed or added
[x] commit message and code follows the Code of conduct

@JivusAyrus I think you should add a README.md with info on usage, etc...

Are you able to add at least some tests?

Nope. Will take a look at it

authors: JivusAyrus jensneuse

repo: wundergraph/wundergraph


text:
Deprecation warnings: bare variables and become_method

Using: Vagrant 1.8.1 , ansible 2.0.1.0 gets deprecation warnings:
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default). This feature will be removed in a future release. [DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax ('{{databases}}'). This feature will be removed in a future release.

Yes, we are aware of these and these will be changed soonish.

Sudo has now been replaced with become in default conf/vagrant.yml.

Closing this, as all sudo / become and bare variables should be updated.

authors: ArtisKrumins iler tharna

repo: wunderkraut/WunderMachina


text:
求回复：图片无法加载

显示成功图片无法加载，同时用户头像也无法加载，copilot的可能错误排查完毕

这里可能有点bug，1个是太大的图片上传不了，如果正常上传了，你将图片链接剪切下来再黏贴，或者给图片链接换一行应该就显示了，我想想优化一下

好像是png后面多了个斜杠，可能这里代码有bug

 显示成功图片无法加载，同时用户头像也无法加载，copilot的可能错误排查完毕

我晚上下班回来修吧，修好通知你，我昨天看到你提的issue了，但是太晚了，感谢你给我star

好像是png后面多了个斜杠，可能这里代码有bug

谢谢您的回答，不过我今晚在查了网上的错误解决办法，发现了目前可行的解决办法

作者大大，好像.jpg与.png等图片后缀无法使用

你把链接贴出来我试试，有一些外部网站的图片肯能会有防止盗链处理的，一般个人博客图片可以自己搭图床，或者用免费图床，免费的可能不稳定，上传图片到图床可以用picgo

 作者大大，好像.jpg与.png等图片后缀无法使用

你把链接贴出来我试试，有一些外部网站的图片肯能会有防止盗链处理的，一般个人博客图片可以自己搭图床，或者用免费图床，免费的可能不稳定，上传图片到图床可以用picgo

 作者大大，好像.jpg与.png等图片后缀无法使用

你把链接贴出来我试试，有一些外部网站的图片肯能会有防止盗链处理的，一般个人博客图片可以自己搭图床，或者用免费图床，免费的可能不稳定，上传图片到图床可以用picgo

https://img2024.cnblogs.com/blog/1334952/202403/1334952-20240308211650351-803736940.png
https://cn.bing.com//th?id=OHR.AnzaBorregoBloom_ZH-CN8284458835_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp
https://c-ssl.duitang.com/uploads/blog/202211/26/20221126191650_c5637.jpg

作者大大我又试了一下情况如下：

图片地址在html语法中可以，而bing壁纸则都可以

作者大大我又试了一下情况如下：  图片地址在html语法中可以，而bing壁纸则都可以

头像就只有bing壁纸的url可以显示

项目作者您好，上了床图都可以显示了，麻烦您了


text:
[UPDATE] error friendly messages for null and undefined values

You may run your i18n files through ai and ai may not be perfect it may introduce undefined or null values this changes gives more human friendly output for the developer to more easily fix the problem

Will merge next time I'm on github once the checks pass!

Released in https://github.com/wxt-dev/wxt/releases/tag/i18n-v0.1.1

repo: wxt-dev/wxt


text:
最新版edge无法访问官方文档!

可复现的链接：
https://vxetable.cn/#/table/api
问题描述与截图：

期望的结果：
No response
操作系统：
windows11
浏览器版本：
Microsoft Edge  116.0.1938.69 (正式版本) (64 位)
vue 版本：

vxe-table 版本：

#2174

手机上edge，chrome都一样的bug。

手机上edge，chrome都一样的bug。

用了广告插件导致的，排除网址就可以显示了，我的也是

我用的firefox也是这样的。

#2188

repo: x-extends/vxe-table


text:
Add GF into workflow

GFSCAN="$RESULTDIR/gfscan"
: 'Use gf to find secrets in meg file'
startGfScan(){
startFunction "Gf scan in meg files"
cd "$SUBS"/meg
for i in gf -list;
do
gf ${i} > "$GFSCAN"/"${i}".txt
[[ -s "$GFSCAN"/"${i}".txt ]] || rm "$GFSCAN"/"${i}".txt
done
cd -
}
startGfScan # add function after startMeg to run

Can you send a Pull request with change, we would love to have contribution.

Merged your change.

authors: Anu-bhav maverickNerd


text:
Add ScanMatchMode for Android

Merge request to add ScanMatchMode settings for Android BLE scan. There is no IOS equivalent.
This allows the BLE Scan to return results as soon as they are seen to speed up scans and allows for faster detection of slow frequency advertising beacons.
By default the device uses Sticky unless the user specifies Aggressive before setting the scan. There are still known issue with Samsung devices which seem to use a different.

This allows the BLE Scan to return results as soon as they are seen to speed up scans and allows for faster detection of slow frequency advertising beacons.

So the aggressive mode should return results faster, and possibly even detect more advertisements?

By default the device uses Sticky unless the user specifies Aggressive before setting the scan. There are still known issue with Samsung devices which seem to use a different.

What kind of "known issue" do you refer to here? Only a different default value, or something else?

This allows the BLE Scan to return results as soon as they are seen to speed up scans and allows for faster detection of slow frequency advertising beacons.

So the aggressive mode should return results faster, and possibly even detect more advertisements?

Yes this is correct so the Android documentation for both sticky and Aggressive is the following
MATCH_MODE_STICKY: For sticky mode, higher threshold of signal strength and sightings is required before reporting by hw
MATCH_MODE_AGGRESSIVE: In Aggressive mode, hw will determine a match sooner even with feeble signal strength and few number of sightings/match in a duration.
When set to aggressive I have also set the 'SetNumOfMatches' property on the ScanSettings to 'MATCH_NUM_ONE_ADVERTISEMENT' (Match one advertisement per filter). This means we only need to see a single advert before reporting raising the 'OnScanResult' event for the found device.

By default the device uses Sticky unless the user specifies Aggressive before setting the scan. There are still known issue with Samsung devices which seem to use a different.

What kind of "known issue" do you refer to here? Only a different default value, or something else?

Apologies, I didn't seem to finish the comment. On Samsung devices it doesn't appear to take these setting verbatim. It appears to improve the scan frequency of adverts but it doesn't seem to take the 'MATCH_NUM_ONE_ADVERTISEMENT' setting correctly. When testing on a Pixel 4 and on one of our own custom android devices we see adverts coming in one for one from the advertising peripheral. On a Samsung device (XCover) we don't seem to get an OnScanResult for each advert transmitted by the peripheral, we get a reduced number which may indicate that the SetNumOfMatches command was ignored.

Just wanted to reference https://github.com/xabre/xamarin-bluetooth-le/issues/136#issuecomment-271848590 which also requests this functionality

Thanks for the comments, @Bodwad. This is certainly a useful addition to the API, even if it is Android-only.
However, your two newly-added commits are doing not quite what I was requesting. (Rebasing is sort of an advanced git feature that not everyone is comfortable with, I suppose.) I can take care of this myself, but I'll probably need to open a new PR that replaces this one.

Yeah sorry I have never done this before. I thought I had done it correctly but it seems to have just added more commits :(

Yeah sorry I have never done this before. I thought I had done it correctly but it seems to have just added more commits :(

Don't worry. I opened #607 now, so this one should be closed.

authors: Bodwad JayMansel janusw

repo: xabre/xamarin-bluetooth-le


text:
Unrecognized selector class error after updating to Xamarin.Google.iOS.Core 5.2.0

After updating Firebase.iOS.Core to 5.2.0 and Xamarin.Firebase.iOS.InstanceID to 3.4.0 our app began to fail to launch after building, giving this error:
+[FIRApp registerAsConfigurable:]: unrecognized selector sent to class 0x102f4a128
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[FIRApp registerAsConfigurable:]: unrecognized selector sent to class 0x102f4a128'
*** First throw call stack:
(0x1de5e5ea4 0x1dd7b5a50 0x1de503bbc 0x1de5eb7bc 0x1de5ed46c 0x1dd7b80c0 0x1dd7b9620 0x106252388 0x106264750 0x106263798 0x106263854 0x1062526a4 0x106257468 0x106251044)
libc++abi.dylib: terminating with uncaught exception of type NSException
Application terminated.

I couldn't find any instances of this error happening to anyone else and couldn't find a solution, so I reverted back to Xamarin.Firebase.iOS.Core to 5.1.8 and Xamarin.Firebase.iOS.InstanceID to 3.3.0, which  seems to have fixed the problem.

The same issue with Xamarin.Google.iOS.Core 5.2.0 this is a blocker

That internal method exists in v5.1.8 but not in v5.2.0, so maybe can be a cache problem. Can you remove the bin and obj folders and remove the XBD cache folder located at:

Mac: ~/Library/Caches/XamarinBuildDownload
Windows: %LocalAppData%\XamarinBuildDownloadCache

and try again, please?
If it doesn't work, can you provide the Firebase NuGets involved in your project? Thanks in advance!

Deleted bin, obj, ~/Library/Caches/XamarinBuildDownload and result is the same: '+[FIRApp registerAsConfigurable:]: unrecognized selector sent to class 0x10751fc00'
Firebase packages used in project is:
Xamarin.Firebase.iOS.Auth.5.0.4.1
Xamarin.Firebase.iOS.Core.5.2.0
Xamarin.Firebase.iOS.InstanceID.3.4.0
Xamarin.Firebase.iOS.CloudMessaging.3.1.2
Xamarin.Firebase.iOS.Database.5.0.3
Xamarin.Firebase.iOS.Analytics.5.5.0
Xamarin.Firebase.iOS.ABTesting.2.0.0.2
Xamarin.Firebase.iOS.RemoteConfig.3.0.1

Also deleted the bin, obj and ~/Library/Caches/XamarinBuildDownload folder, still receiving the same error.
Firebase packages:
Xamarin.Firebase.iOS.Auth.5.0.4.1
Xamarin.Firebase.iOS.Core.5.2.0
Xamarin.Firebase.iOS.InstanceID.3.4.0
Xamarin.Firebase.iOS.Analytics.5.5.0
Xamarin.Google.iOS.Core 3.1.0.1
Xamarin.Google.iOS.SignIn 4.4.0
Firebase packages after reverting packages to avoid the crash:
Xamarin.Firebase.iOS.Auth 5.0.4.1
Xamarin.Firebase.iOS.Core 5.1.8
Xamarin.Firebase.iOS.InstanceID 3.3.0
Xamarin.Firebase.iOS.Analytics 5.1.4.1
Xamarin.Google.iOS.Core 3.1.0.1
Xamarin.Google.iOS.SignIn 4.4.0
If you need any more info I'd be happy to provide it.

I can confirm that Auth, CloudMessaging and DynamicLinks use the missing selector internally. These components need to be updated. For now, please, downgrade to 5.1.8
Sent with GitHawk

Same with Firebase ...

This is still an issue today. Has there been any movement on this?

I was also facing the same issue.
I have traced the solution.
Add below lines in Info.plist file, close the solution, reopen and run again.
NSAppTransportSecurity

NSAllowsArbitraryLoads

I was also facing the same issue.
I have traced the solution.
Add below lines in Info.plist file, close the solution, reopen and run again.
<key>NSAppTransportSecurity</key>
 <dict>
      <key>NSAllowsArbitraryLoads</key><true/>
 </dict>

Unfortunately, this did not work for me. Sticking with 5.1.8 for now.

@Shaggy13pe
If you have added plugin xamarin.firebase.ios.analytics, remove it and try again

No I don’t have that. I have the Auth module, but that’s it.
Sent from my iPhone

On Sep 28, 2019, at 3:21 PM, apy534 notifications@github.com wrote:

@Shaggy13pe
If you have added plugin xamarin.firebase.ios.analytics, remove it and try again
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Firebase v6.5.0 has been pushed, this update resolves missing symbols.

repo: xamarin/GoogleApisForiOSComponents


text:
🛑 Hacker News is down

In 3201d24, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hacker News is back up in b59b931 after 9 minutes.

repo: xarcanix/upptime


text:
xata init fails - "invalid column type [datetime]"

I've set up a few tables in my database. When I run the xata init command (just installed the CLI), I get the following output:
❯ xata init
You only have a workspace, using it by default: xxx
? Do you want to pull from an existing database? public
Pulling database schema...
invalid column type [datetime]

I did indeed have a date field in one of my tables. Removing that column fixed the issue. But I would love to have date fields 😅

Hi @selbekk, thanks for your bug report. Could you please tell us the version of the CLI you have installed?
I just tried with 0.3.0 and it has initialized the project with a date column.

❯ xata -v
Xata CLI version 0.0.30

I installed the CLI with the instructions here: https://docs.xata.io/cli/getting-started#
Is this not the correct way?

Right, you have installed the old CLI. We're in the middle of rewriting the docs for that part, apologies.
You can install the new CLI with: npm install -g @xata.io/cli

Oh. Thanks, that worked much better 😅

Since you're using the date columns, I will publish now the next release we had scheduled for the SDK that fixes one bug in the client for date columns!

authors: SferaDev selbekk

repo: xataio/client-ts


text:
fix docs tests

If cargo test is called with the --all-target flag, the doc tests will not be executed. (related https://github.com/rust-lang/cargo/issues/6669)
Fixes two docs tests. I've already spent some time fixing them in #636 but I didn't get it to work so I just annotated them with ignore.

that's indeed a very weird behavior that the --doc target is not included in --all-targets.

that's indeed a very weird behavior that the --doc target is not included in --all-targets.

authors: Robert-Steiner janpetschexain

repo: xaynetwork/xaynet


text:
Authorize submissions via S3 prefix write IAM policies

Submission authorization scheme:

An IAM identity will be assigned to each submitter (user)
Each submission will be assigned a submission-id minted by the HPP
Each identity will be given S3 write access to the prefixes corresponding to their submission ids

Possibly create utility methods to:

Create a submission user
Mint submission-id and authorize users

repo: xbrianh/ssds


text:
🛑 cc is down

In 4143701, cc (https://codeforces.cc) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cc is back up in 4d46386 after 19 minutes.


text:
Refactoring

Hi there
I was (once again) reading some code here and there then noticed clippy issues + some duplication.
So I decided to do something
Take care.

So are you happy if I merge this and then do the fail threshold in another PR? :eyes: Just wanted to make sure you're not working on it before I hit merge

Initially I did not planned to do it.
And I was typing a corresponding response here.
But then I tried.....
And didn't managed that :disappointed:
So you can take over :)

A note:
Could you check this test https://github.com/zhiburt/tarpaulin/blob/1722d63a99a0017bc07babab75b338f471c4c9bb/tests/failures.rs#L88-L104?
I run 2 configs guessing that 2 of them must be run.
But I see only output of 1 config.
I am not very versed in the code base and did not investigate things deeply.

So I see the output of both configs, and if I remove the failing config the test fails, if I remove the good config it passes. I'll merge this though, issue has been raised in https://github.com/xd009642/tarpaulin/issues/995

test do_nothing is in success, and test it_works are in failing. Both project tests are in there. And the type is an error type instead of reporting it and ending with success - that looks as expected

ah see you spotted that in an edit :sweat_smile:


text:
date/time validation is not reliable

Due to used DateFormatter.parseDate() from https://github.com/kartik-v/php-date-formatter around line 1180 in jquery.datetimepicker.js
a validation is not reliable for the following cases:

date is invalid, but time is partially valid, e.g:
'2016/04/33 10:13' -> '1899/12/31 10:13'
'2016/04/33 1' -> '1899/12/31 1:00'
'2016/04/33 99' -> '1899/12/31 00:00'
this is because parseDate() ignores invalid date part if time part is present.
date is valid, but time is invalid, e.g:
'2016/04/05 99:88' -> '2016/04/05 00:00'
this is because parseDate() doesn't validate time part at all.

Tested with php-date-formatter 1.3.3.

If using alternative date formatter as recommended in docs: http://xdsoft.net/jqplugins/datetimepicker/#use_other_date_parser
the datetimepicker doesn't detect invalid date because moment() returns non-false object in case of invalid date.
Correct code is:
$.datetimepicker.setDateFormatter({
    parseDate: function (date, format) {
        var d = moment(date, format);
        return d.isValid() ? d : false;
    },

    formatDate: function (date, format) {
        return moment(date).format(format);
    }
});

And don't forget to add 'format' into datetimepicker constructor.

repo: xdan/datetimepicker


text:
App wont launch

Describe the bug
When I downloaded xenia manager, I can't get it to launch after double clicking the app. Xenia works fine but manager isn't working for me.
https://github.com/user-attachments/assets/c4846bbf-9d6c-477c-9690-e780fd84e664
Log File
In the video I didn't see the app in event logger, or I was in the wrong location, I'm not sure.

Do you have .NET Desktop Runtime?

I just downloaded it. I'll see if I can figure out how to debug it later tonight.

I got it to work. Thanks for the help

repo: xenia-manager/xenia-manager


text:
IPv6-only support

Pending Let's Encrypts's IPv6 support (IPv6-only hosts), I guess bootstrapping off a magic IPv4 DNS forwarder is going to be a problem...
/*  .../lego/acme/dns_challenge.go */
func checkDNS(domain, fqdn string) bool {
	// check if the expected DNS entry was created. If not wait for some time and try again.
	m := new(dns.Msg)
	m.SetQuestion(domain+".", dns.TypeSOA)
	c := new(dns.Client)
	in, _, err := c.Exchange(m, "8.8.8.8:53")  // <= ouch
	if err != nil {
		return false
	}
	// ...

There are systems out there that let only certain DNS forwarders through their firewalls (to mitigate cache poison attacks etc), so maybe it would be an idea to provide a configurable forwarder?

Yes, I agree that this may be a problem. My initial thought was to get the standard DNS resolver for the system and use that, but it didn't work out.
Making it configurable may be the best option.

Well, it can be that easy! I did not test it with an actual staging / live challenge, though.

I will leave this open to track the "fascist firewall" issue :P

There is not really something we can do in a broad sense. We will handle the issues if any in relation to this on a case-by-case basis.

authors: denquixote xenolf

repo: xenolf/lego


text:
how can I view all the results in text-classification

I am using text-classifications for labels and I wanted to see all scores not the final prediction like in python
is there a way in transformers.js ?

Hi there 👋 As stated here in the documentation, you can set topk to null to return all classes:
const classifier = await pipeline('text-classification', 'Xenova/toxic-bert');
const output = await classifier('I hate you!', { topk: null });
// [
//   { label: 'toxic', score: 0.9593140482902527 },
//   { label: 'insult', score: 0.16187334060668945 },
//   { label: 'obscene', score: 0.03452680632472038 },
//   { label: 'identity_hate', score: 0.0223250575363636 },
//   { label: 'threat', score: 0.019197041168808937 },
//   { label: 'severe_toxic', score: 0.005651099607348442 }
// ]

I was adding it as a third argument to pipeline
it works, thank you

authors: sammwafy xenova


text:
I have two linux aarch64 system,one success and another is failed.

use maven version is 3.36.0.3

org.xerial
sqlite-jdbc
3.36.0.3

Caused by: java.lang.Exception: No native library is found for os.name=Linux and os.arch=aarch64. paths=/org/sqlite/native/Linux/aarch64:/opt/test/:/lib/aarch64-linux-gnu:/usr/lib
who please tell me why?

Could it be that one system is using libc and the other musl?

@xiaoliying0912 Did you solve this issue?

Closing this as no feedback was received.

repo: xerial/sqlite-jdbc


text:
🛑 My Web is down

In cc1cf37, My Web (https://gergomez.tk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My Web is back up in 3b5e723.

repo: xeronweb/status


text:
[SKiDL BUG] Packages don't play nicely with Circuits

Describe the bug
The new @package decorator seems very exciting, but it appears to assume the use of the global default_circuit object. I aim to write code that modifies as little global state as possible, so I've been using Circuit objects that I create. But they don't seem to be interoperable with packages, or at least, I apparently don't know how to do so.
To Reproduce
I've attempted several methods of using packages with circuits. I'll enumerate through the ones I've tried.

Pass a circuit as a keyword argument to the package, without any corresponding keyword argument in the function definition.

#-------------#
# METHOD 1 #
#-------------#
import skidl as sk

@sk.package
def analog_average(in1, in2, avg):
    r1, r2 = 2 * sk.Part('Device', 'R', value='1K', dest=sk.TEMPLATE)
    r1[1,2] += in1, avg
    r2[1,2] += in2, avg

if __name__ == "__main__":
    cct = sk.Circuit(name = "My circuit")

    avg1 = analog_average(circuit = cct)
    avg2 = analog_average(circuit = cct)

    print("Circuit parts:")
    print(cct.parts)

    in1, in2, in3, in4, out1, out2 = sk.Net(circuit = cct)*6
    avg1['in1'] += in1
    avg1.in2    += in2
    avg1['avg'] += out1

    avg2['in1'] += in3
    avg2['in2'] += in4
    avg2.avg    += out2

    cct.generate_netlist()

Output:
Circuit parts:
[]
ValueError: Can't attach nets in different circuits (My circuit, )!

Add a "circuit" keyword argument to the function definition:

#-------------#
# METHOD 2 #
#-------------#
# (Only this function definition is changed; otherwise the rest of this code is the same as above
@sk.package
def analog_average(in1, in2, avg, circuit = None):
    r1, r2 = 2 * sk.Part('Device', 'R', value='1K', dest=sk.TEMPLATE, circuit = circuit)
    r1[1,2] += in1, avg
    r2[1,2] += in2, avg

Output:
Circuit parts:
[]
ValueError: Can't attach nets in different circuits (My circuit, )!

Add a differently-named keyword argument to the function definition and pass that to the package components as the circuit:

#-------------#
# METHOD 3 #
#-------------#
import skidl as sk

@sk.package
def analog_average(in1, in2, avg, cct = None):
    r1, r2 = 2 * sk.Part('Device', 'R', value='1K', dest=sk.TEMPLATE, circuit = cct)
    r1[1,2] += in1, avg
    r2[1,2] += in2, avg

if __name__ == "__main__":
    cct = sk.Circuit(name = "My circuit")

    avg1 = analog_average(circuit = cct)
    avg2 = analog_average(circuit = cct)
    print("Circuit parts:")
    print(cct.parts)

    in1, in2, in3, in4, out1, out2 = sk.Net(circuit = cct)*6

    # Make connections. You can use either [] or . to reference the I/O.
    avg1['in1'] += in1
    avg1.in2    += in2
    avg1['avg'] += out1

    avg2['in1'] += in3
    avg2['in2'] += in4
    avg2.avg    += out2
    cct.generate_netlist()

Output:
Circuit parts:
[]
ValueError: Can't attach nets in different circuits (My circuit, )!

Use the += operators to add packages to a circuit, the way you can for parts. But since those parts don't actually seem to be in the circuit, I can't reference them, so I don't try to make connections here...

#-------------#
# METHOD 4 #
#-------------#
import skidl as sk

@sk.package
def analog_average(in1, in2, avg):
    r1, r2 = 2 * sk.Part('Device', 'R', value='1K', dest=sk.TEMPLATE)
    r1[1,2] += in1, avg
    r2[1,2] += in2, avg

if __name__ == "__main__":
    cct = sk.Circuit(name = "My circuit")

    cct += analog_average()
    cct += analog_average()

    in1, in2, in3, in4, out1, out2 = sk.Net(circuit = cct)*6

    cct.generate_netlist()
    print("Circuit parts:")
    print(cct.parts)

Outputs:
No errors or warnings found during netlist generation.

Circuit parts:
[]

(But the netlist it outputs has no nets and no components).

Same as method 2, but this time forget to pass the circuit argument to the Nets:

#-------------#
# METHOD 5 #
#-------------#
import skidl as sk

@sk.package
def analog_average(in1, in2, avg, circuit = None):
    r1, r2 = 2 * sk.Part('Device', 'R', value='1K', dest=sk.TEMPLATE, circuit = circuit)
    r1[1,2] += in1, avg
    r2[1,2] += in2, avg

if __name__ == "__main__":
    cct = sk.Circuit()

    avg1 = analog_average(circuit = cct)
    avg2 = analog_average(circuit = cct)
    print("Circuit parts:")
    print(cct.parts)

    in1, in2, in3, in4, out1, out2 = sk.Net()*6

    avg1['in1'] += in1
    avg1.in2    += in2
    avg1['avg'] += out1

    avg2['in1'] += in3
    avg2['in2'] += in4
    avg2.avg    += out2

    cct.generate_netlist()

Output:
Circuit parts:
[]
Traceback (most recent call last):
    cct.generate_netlist()
  File "skidl\skidl\Circuit.py", line 399, in generate_netlist
    self.instantiate_packages()
  File "skidl\skidl\Circuit.py", line 345, in instantiate_packages
    package.subcircuit(**package)
  File "skidl\skidl\Circuit.py", line 655, in sub_f
    builtins.NC = default_circuit.NC  # pylint: disable=undefined-variable
AttributeError: 'NoneType' object has no attribute 'NC'

Expected behavior
I'd expect at least one of the above methods to produce similar results as I'd get from the following code:
#-------------#
# METHOD 6  #
#-------------#
import skidl as sk

@sk.package
def analog_average(in1, in2, avg):
    r1, r2 = 2 * sk.Part('Device', 'R', value='1K', dest=sk.TEMPLATE)
    r1[1,2] += in1, avg
    r2[1,2] += in2, avg

if __name__ == "__main__":
    avg1 = analog_average()
    avg2 = analog_average()

    in1, in2, in3, in4, out1, out2 = sk.Net()*6

    avg1['in1'] += in1
    avg1.in2    += in2
    avg1['avg'] += out1

    avg2['in1'] += in3
    avg2['in2'] += in4
    avg2.avg    += out2

    sk.generate_netlist()

which produces the following netlist:
(export (version D)
  (design
    (source "scratchpad.py")
    (date "06/24/2020 09:23 PM")
    (tool "SKiDL (0.0.30)"))
  (components
    (comp (ref R1)
      (value 1K)
      (footprint "No Footprint")
      (fields
        (field (name F0) R)
        (field (name F1) R))
      (libsource (lib Device) (part R))
      (sheetpath (names /top/analog_average0/15418885917532110859) (tstamps /top/analog_average0/15418885917532110859)))
    (comp (ref R2)
      (value 1K)
      (footprint "No Footprint")
      (fields
        (field (name F0) R)
        (field (name F1) R))
      (libsource (lib Device) (part R))
      (sheetpath (names /top/analog_average0/6426300460454210508) (tstamps /top/analog_average0/6426300460454210508)))
    (comp (ref R3)
      (value 1K)
      (footprint "No Footprint")
      (fields
        (field (name F0) R)
        (field (name F1) R))
      (libsource (lib Device) (part R))
      (sheetpath (names /top/analog_average1/10466459675231932201) (tstamps /top/analog_average1/10466459675231932201)))
    (comp (ref R4)
      (value 1K)
      (footprint "No Footprint")
      (fields
        (field (name F0) R)
        (field (name F1) R))
      (libsource (lib Device) (part R))
      (sheetpath (names /top/analog_average1/17614385574181552080) (tstamps /top/analog_average1/17614385574181552080))))
  (nets
    (net (code 0) (name N$1_1)
      (node (ref R1) (pin 1)))
    (net (code 1) (name N$1_2)
      (node (ref R2) (pin 1)))
    (net (code 2) (name N$1_3)
      (node (ref R3) (pin 1)))
    (net (code 3) (name N$1_5)
      (node (ref R1) (pin 2))
      (node (ref R2) (pin 2)))
    (net (code 4) (name N$6)
      (node (ref R4) (pin 1)))
    (net (code 5) (name N$7)
      (node (ref R3) (pin 2))
      (node (ref R4) (pin 2))))
)

Desktop (please complete the following information):

Windows 10
Python version 3.8.3, using Conda 4.8.3
SKiDL version 0.3.0

Thanks for the detailed report! I'll take a look at it.

Well, you tried just about every possible variation to make this work! I made some fixes so that methods #1 and #2 now work. You can also use method #3, but you have to change the package calls to avg1 = analog_average(circuit=cct, cct=cct) which seems rather pointless.
You can install the latest changes using:
pip install git+https://github.com/xesscorp/skidl@development

I'm still working on this. I think I can make Method #4 work.

authors: jbayless xesscorp

repo: xesscorp/skidl


text:
Dft reverse axis

Handle decreasing coordinates in dft with true_phase = True.
Add a test to check

@roxyboy, merge ?

I'm personally ok to merge but I think we should wait for @rabernat 's approval as well. He should be back from vacation next week.
We should also probably update the docs page using realistic data from the xarray tutorial (e.g. #148 ).

Thanks! So is the plan to defer the documentation updates to a future PR? If so, I will merge.

Thanks! So is the plan to defer the documentation updates to a future PR? If so, I will merge.

I give a thumbs up to a separate PR for docs :)

authors: lanougue rabernat roxyboy

repo: xgcm/xrft


text:
DashContainer should support "no more views to add"

A dev might wish to specify all views as unique if the Dashboard is such that it doesn't make sense to have more than one copy of any of its widgets.
In that case, the (+) button would ideally disappear from all panes of the dashboard once an instance of each view has been added. If that's not easily achieved, we should at least show a placeholder entry such as "All available views have been added" in the menu. Currently it's weirdly empty.

Fixed by:   https://github.com/xh/hoist-react/pull/1690

authors: amcclain lbwexler

repo: xh/hoist-react


text:
Support for avoiding editing stale data in RestGrid

Some ideas Tom and I had:

Best Practice, include lastUpdated in Domain object and view
Refresh Data before showing edit dialog
Potentially look at version flag before submit of updates and warn user.

Re: 2 -- should we update entire grid or just record of interest?   If entire grid, could make working with it laggy, but could also combine with changes to do a smart refresh only if data had changed by checking timestamps

We could refresh the entire grid but in a non-blocking way - ie show the dialog, allow the user to potentially start inputting edits, but keep the save button disabled until a refresh has happened.
If the refresh updates other records, we could let the user proceed as they were.  If the refresh updates the record under edit, we'd have to do something like show a modal alert or (better) banner with an option to reload the form with the latest data.  At that point I think we should go ahead and drop any already-entered user changes - it's a shame for that user, but should be a pretty rare edge case.
I don't think we should require a lastUpdated timestamp - although agreed we could write code that leveraged it if available, but would have to fall back on some more complete comparison.


text:
version state structure

Other than https://github.com/xh3b4sd/anna/issues/31 this is about providing a version mechanism for the raw state structure. So there should maybe be a package state/v1/ holding the raw state structure and its associated implementations. Later when the state structure changes we can implement migrations more easy.

There is no state model as described anymore. Closing.


text:
Support Objective-C

Is there any plan to support Objective-C?

+1

+1

+1

+1
Please Suppourt for Objective - C as well. many are eagerly waiting for this. please do add the support.
Thanks in advance

+1

+1

+1

+1 Any clue guys ?

authors: Arpit723 BharatAgarSoftTech alvincrisuy lastar4u maheshgvelly noBugyl saintjab xiaosongshu younatics

repo: xhamr/fave-button


text:
Option to show account name in top bar instead of account alias

Description
It would be great if top bar shows account name instead of account alias because account alias sometimes wouldn't be configured. Account name everytime exists.
Use Case
When I didn't configured account alias.
Proposed Solution
My coworker's proposal.
decodeURIComponent(JSON.parse(decodeURIComponent(document.cookie.split(';').find(c => c.trim().startsWith('aws-userInfo')).split('=')[1])).issuer).match(/(?<=\().*?(?=\))/)[0]

This works only if we login through aws sso. Through IAM user login or root user login it doesn't work.
Other information
No response
Acknowledge

[X] I may be able to implement this feature request
[X] This feature might incur a breaking change

Thank you for your feature request!

It would be great if top bar shows account name instead of account alias because account alias sometimes wouldn't be configured. Account name everytime exists.

I totally agree to the motivation.

My coworker's proposal.

Thank you for the proposal, but in some condition it is not enough.
When the user switched role beyond account from AWS SSO logged in user, the parameter does not change.
As alternative proposal, scraping from AWS SSO screen will work. This chrome extension do like so.
https://github.com/yaggytter/chrome-extension-awssso

authors: bigwheel xhiroga

repo: xhiroga/aws-peacock-management-console


text:
[Crash] this line  :  self.shareMenuScrollView.delegate = self; EXC_BAD_Instruction

objc[5776]: Cannot form weak reference to instance (0x7f836349cd80) of class XHShareMenuView. It is possible that this object was over-released, or is in the process of deallocation.
(lldb)

Hi! @alexliubj
Under what circumstances appear crash?
Jack

Experiencing the same problem here.
@xhzengAIB When leaving the chat view controller, it crashes
Base SDK: 9.0
Build System: El Capitan

这个错误之前有些低级啊。。。 - (void)dealloc {

self.shareMenuScrollView.delegate = self;

authors: AustinChou alexliubj xhzengAIB

repo: xhzengAIB/MessageDisplayKit


text:
Refactor X11 Application to make use of the new structure.

#763 introduced a new instance based Application structure. This PR refactors the X11 Application code to make use of it, as well as adding better error reporting.
The windows map has reentrancy issues. Those were already there and this PR makes no attempt at solving them. I just merely refactored it to the new Application style.

I also refactored Window to fix the reentrancy issues I was seeing. This means that multiple windows now work on X11! :partying_face:  I added a button to multiwin to create windows, because X11 doesn't have menus.
Partial invalidation is also really broken on master. Completely black window all the time broken. This made testing my changes here difficult so I ended up fixing that partially as well. The window is no longer black and partial invalidation sort of works.
There's still an issue that the still-valid areas get cleared during partial repaint. I'll see if I can fix it quickly, but otherwise I think that would be fine for a new PR too.

I ended up fixing partial invalidation too. :tada:

I added more logging and cleanup of windows after destruction. I also solved the partial invalidation issues in game_of_life and others. Those were caused by background painting outside the invalidated area.
The multiwin window closing issue is real but I couldn't find an easy fix. I looked into handling the WM_DELETE_WINDOW event but from what I gathered right now the xcb library we're using doesn't support that event. I'll open a separate issue for that.

repo: xi-editor/druid


text:
加密问题

如果我只有私钥的字符串，依靠这个字符串创建一个Pem对象，这样每次是不是都会生成不同的publickey 和privatekey？
也就是说别的地方可以用这个私钥字符串解密的数据，在这里新创建的privatekey其实是无法解密的？
这个pem对象只能解密自己加密出来的数据对吗？

补充一个想请教的问题：现在我固定参数之后，Encode每次加密的结果仍然是不一样的，publicKey的encode每次都是一样的，但不清楚为什么加密的结果是每次都不一样

已经过去很久了哈，同一个私钥，构造出来的key都是相同的，得到的publicKey、privateKey都是相同的（但为不同的对象实例），不管在哪加密的，只要是这个相同私钥，就能解密。
RSA加密有填充，会在数据开头填充若干随机数数据（增加安全性），导致每次加密结果不相同，RSA默认RSA/ECB/PKCS1Padding为RSAES-PKCS1-v1_5填充，强制使用RSA/ECB/NoPadding不加填充就每次加密结果就都相同了。同样的，不管每次加密结果相同还是不相同，只要是相同的密钥和加密算法就能正确解密。

authors: mjwSilence xiangyuecn

repo: xiangyuecn/RSA-java


text:
Update AutoConfigureAnnotationProcessor.java

123123

:angry:

123123

repo: xiaoleiPENG/my-project


text:
doc.html页面请求计算错误

1.doc.html页面的调试功能描述的响应字节数据应为：KB而非kb，使用kb容易引发位/字节歧义；
2.doc.html页面的调试功能计算的耗时时间与实际时间不符，使用chrome浏览器自带开发者工具测得的一条请求/响应时间远低于doc.html所展示的耗时，使用charles代理工具监听的请求/响应时间与chrome开发者工具相同。

接口的耗时计算不准，不管是用axios的拦截器 还是response后计算，都会有误差

第1条 2.0.5 已改

repo: xiaoymin/swagger-bootstrap-ui


text:
Running Docker Image

An interesting work!
I am trying the sample scripts inside the docker container and keep getting errors like:
'... ModuleNotFoundError: No module named 'hydra' ...'
I pip installed some packages but not sure I am doing it right.  I have never succeeded in installing diffvg locally, and I was hoping the docker image comes all preinstalled.
What am I doing wrong?  I have the same issue with DiffSketcher repo.

Btw, I am on a ubuntu machine with RTX 4090.  CUDA 11.3 suport for the GPU might be an issue?

You can try the docker image we provide,
docker run --name svgdreamer --gpus all -it --ipc=host ximingxing/svgrender:v1 /bin/bash

In addition, the installation of diffvg requires the gcc version, which may be the reason why you cannot install successfully.

authors: bamsom ximinng

repo: ximinng/SVGDreamer


text:
nvr接模拟摄像机，推流时遇到的问题，onRtpSorted，onRtpDecode

nvr接模拟摄像机，gb28181 rtp推流时遇到的问题onRtpSorted，onRtpDecode，接数字摄像机是正常的，请问下应该怎么解决呢？

你更新下最新的代码吧 另外也更新下第三方库：
git pull origin master
git submodule update

我看你的截图已经跟我的代码对不上了 我无法定位日志代码

已经按大佬方法更新代码，并重新编译
运行环境是阿里服务器
目前接了那些是 接网线的数字摄像头和nvr都正常的
出现问题的设备是 ：海康NVR-接模拟摄像机 （曾尝试在配置相同下，推srs是正常播放，但我想用我们的zlmk)

应该是丢包了 导致ps解析失败了。

authors: linyihong-git xiongziliang

repo: xiongziliang/ZLMediaKit


text:
using RNNoise in browser

hi,i saw the browser implementation of RNNoise,i am curious to know how is this python model is being used in JS ? and where we are initializing it's weight in JS files ?
Thank you

Where did you see the JS implementation?

My guess is that @vishaldhull09 is referring to https://jmvalin.ca/demo/rnnoise/ which use a js implementation to do a live demo.

repo: xiph/rnnoise