Customizing the GraphiQL web interface

I see from the graphql/graphiql README that I can customize various UI elements like this:
<GraphiQL.Logo>
    My Custom Logo
</GraphiQL.Logo>

How do I go about that with graphql-java-kickstart/graphql-spring-boot? I can set certain values via application.properties/yml such as pageTitle, defaultQuery and editorTheme. But this approach does not extend to children such as Logo, Footer and Toolbar. (The later being an interesting way to add a custom button to the toolbar.)
Can you advise whether I can "set the children" in any way? Or how I should approach this in general?
Thank you

GraphiQL is rendered into the HTML page here: https://github.com/graphql-java-kickstart/graphql-spring-boot/blob/8ca09fb231236c9f8127e51df77ceef87e685aea/graphiql-spring-boot-autoconfigure/src/main/resources/graphiql.html#L151.
It passes the props, but as you can see it just renders the plain wrapper component and currently doesn't allow customization.
To be fully flexible you would probably want to be able to add a custom HTML file in your project representing your own GraphiQL component like this example: https://github.com/graphql/graphiql/tree/master/packages/graphiql#usage-examples. And you would need a way to hook that into the starter, although at this point you might as well serve it directly yourself.
If it's just a logo you want to be able to add that might be simpler.
Don't know if anybody else has the time to take a look at this to create a PR? Otherwise it will probably take me a while before I can find the time for this one, seeing it's more of a nice to have feature right now.

The README of GraphiQL states that this has been dropped since 1.0.0-rc2 (see https://github.com/graphql/graphiql/tree/main/packages/graphiql#children-dropped-as-of-100-rc2). The full example below that in the README still shows its usage however, so the current and future state of this is really unclear.

See also issue https://github.com/graphql/graphiql/issues/1165 stating they're working on a replacement for these kind of customizations.


npm run build : 'document is not defined'

I tried to had few UI modules (Halogen, react-spark-scroll).
When your localhost is served by the command "npm run dev", you can import your module, integrate them into your page, save your file, and that everything works fine in the browser, until you run a 'npm run build'
'document is not defined'
I think it's because of the server rendenring wich doesn't offer the window.document object.
So, in my component calling an Halogen loader for example, i have to require it like this:
let Loader;

var canUseDOM = !!(
    typeof window !== 'undefined' &&
    window.document &&
    window.document.createElement
);

if (canUseDOM) {
  Loader = require('halogen/RingLoader');
}
else{
  Loader = class {
    render() {
      let { children, ...other } = this.props
      return <div {...other}>{children}</div>
    }
  }
}

Is it an issue depending on each module leading to this error?, or can we make something on this repo to avoid this kind of dirty fixes?

@MadeInMoon Good question.
I've recently been trying to create an node module for a react menu as well, and had encounter similar errors.

I think it's because of the server rendering which doesn't offer the window.document object.

That's right. I think it's because the libraries normally assume the window object is available (not a wrong assumption if you do not consider server-side rendering).
Might have to think about this. I feeeel like there s a webpack-y way to solve this. Like ignoring the module on server side compilation.
@psimyn Might be able to provide some insight because he's the webpack wiz!!

@MadeInMoon does the wrapper you had above cause a "code rendered differently on client and server" warning in the console?
@choonkending still unsure of even a 'good' way to deal with this automatically for anything, moving the window !== undefined check into webpack define plugin is about the only change in that regard.
I had considered some kind of global try/catch thing (or try automatically wrapping stuff that references window) but I don't think it would end well. It's usually up to the component to handle server/client rendering. If there is any window references before componentDidMount it is going to render differently on server side. e.g. what would window.innerWidth return on the server?
I'll update if i think of anything better

@psimyn  yes :

So it's squeezing all the ismorphic benefits for all the app?

not all - you still get a fast initial render. It just means it nukes/repaints it after that because it (correctly) detects changes.
If you don't want to fix the component, you can make it just render client side with something like:
componentDidMount() {
  setState({onClient: true});
}

render() {
  if (this.state.onClient) {
    <Loader />
  } else {
    <somePlaceholder />
}

Which may do what you want, while still being the same code client/server side

Worth keeping an eye on https://github.com/webpack/style-loader/issues/109 to see if this can be solved in webpack land

@psimyn :+1:
You could optionally try making a High order component for this to be removed if it gets fixed in webpack land?
import {Component} from 'react';
export const onClient = ComposedComponent => class extends Component {
    componentDidMount() {
       this.setState({onClient: true});
   }

   render() {
      <ComposedComponent onClient={this.state.onClient} />
   }
}

And use this HOC like this.
import {Component} from 'react';
import {onClient} from 'onClient';

class MainContainer extends Component {
   render() {
      if (this.props.onClient) {
          return <Loader />
       }
      return <Placeholder />;
   }
}

export default onClient(MainContainer);

That way you get to still get the onClient as a prop :)
The above code hasn't been tested, but it should point you in the right direction.


How to disable swagger when Junit runs?

I have two profiles, default and test, and I use test profile when I run Junit using annotation like @ActiveProfiles("test").
so, I was wondering how I disable swagger building when test runs?
because swagger takes some of time so that total testing time increased.
Thanks

Thanks dude.. u saved my day........ thank u so much..
Adding @Profile("local","dev","qa")
worked for me


[Feature] Delete obsolete screenshots on update

Hi!
There is a known limitation in both this addon and jest-image-snapshots: running jest -u won't delete obsolete screenshots.
This is due to fact, that there is no source of information for runner about which screenshots must be used.
One possible solution would be to create such source in form of json file which would be placed in snapshotsDir (default or specified by user). The scturcure of this file would be:
{
  "TEST_NAME_1 COUNTER": {
    "filePath": "PATH_TO_FILE_1",
    "meta": {}
  },
  "TEST_NAME_2 COUNTER": {
    "filePath": "PATH_TO_FILE_2",
    "meta": {}
  }
}

The rest of the logic could be taken from original toMatchSnapshot().
I propose to use testName => {filePath, meta} instead of testName => filePath, so one could store and read additional info in custom matchers by calling:
  import {getMetaFor} from 'jest-screenshots';
  ...
  const myMeta = getMetaFor(this);
  ...
  exprect(target).toMatchImageSnapshot({
    meta?: {...} // any serializable data
  })

Our particular use case is to store enzyme's .html() in meta and compare it with target.html() before taking actual screenshot for comparison. For now we keep all that logic in our custom matcher and it saves plenty of time for non-changed assertions (no need to wait for puppeteer). Another use case could be storing settings (antialiasing/threshholds) or environment (os/browser) used to take screenshot.
It may seem over-complicated at first glance, but actual implementation details would be hidden for most users while other could benefit from it.
If this feature is anticipated I can make a PR.

I solved reporting/deleting unused screenshot files with patch-package and the following patch against version 0.3.5.
diff --git a/node_modules/jest-screenshot/dist/jest-screenshot.js b/node_modules/jest-screenshot/dist/jest-screenshot.js
index 4c43c6c..c611f42 100644
--- a/node_modules/jest-screenshot/dist/jest-screenshot.js
+++ b/node_modules/jest-screenshot/dist/jest-screenshot.js
@@ -2,6 +2,8 @@
 Object.defineProperty(exports, "__esModule", { value: true });
 exports.setupJestScreenshot = void 0;
 const to_match_image_snapshot_1 = require("./to-match-image-snapshot");
+const fs_1 = require("fs");
+const path_1 = require("path");
 const config_1 = require("./config");
 /**
  * This function is used to setup and initialize **jest-screenshot**.
@@ -12,11 +14,23 @@ function setupJestScreenshot(customConfig) {
     if (typeof expect === "undefined") {
         throw new Error("Jest: Could not find `expect`. Can't setup jest-screenshot.");
     }
+    writeFile("./tmp/used-jest-screenshots.txt", "");
     expect.extend({
         toMatchImageSnapshot(received, parameters) {
             return to_match_image_snapshot_1.toMatchImageSnapshot.call(this, received, config_1.config(customConfig), parameters);
         },
     });
 }
+function writeFile(filePath, contents) {
+    ensureDirectoryExists(filePath);
+    fs_1.writeFileSync(filePath, contents);
+}
+function ensureDirectoryExists(filePath) {
+    const dirname = path_1.dirname(filePath);
+    if (!fs_1.existsSync(dirname) || !fs_1.statSync(dirname).isDirectory()) {
+        ensureDirectoryExists(dirname);
+        fs_1.mkdirSync(dirname);
+    }
+}
 exports.setupJestScreenshot = setupJestScreenshot;
 //# sourceMappingURL=jest-screenshot.js.map
\ No newline at end of file
diff --git a/node_modules/jest-screenshot/dist/reporter.js b/node_modules/jest-screenshot/dist/reporter.js
index 8df69b0..baed0f8 100644
--- a/node_modules/jest-screenshot/dist/reporter.js
+++ b/node_modules/jest-screenshot/dist/reporter.js
@@ -18,11 +18,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
     __setModuleDefault(result, mod);
     return result;
 };
+var __importDefault = (this && this.__importDefault) || function (mod) {
+  return (mod && mod.__esModule) ? mod : { "default": mod };
+};
 const config_1 = require("./config");
 const fs_1 = require("fs");
+const path_1 = require("path");
+const glob_1 = require("glob");
 const path = __importStar(require("path"));
 const rimraf_1 = require("rimraf");
 const filenames_1 = require("./filenames");
+const chalk_1 = __importDefault(require("chalk"));
 const template = (testResults) => `<html>
     <head>
         <meta charset="utf-8" />
@@ -47,6 +53,7 @@ module.exports = class JestScreenshotReporter {
         }
     }
     onRunComplete(contexts, { testResults, numFailedTests }) {
+        checkForUnusedScreenshotFiles();
         const { reportDir: reportDirName, noReport } = this.config;
         const reportDir = filenames_1.getReportDir(reportDirName);
         const reportsDir = path.join(reportDir, "reports");
@@ -107,4 +114,24 @@ module.exports = class JestScreenshotReporter {
         ].forEach(fileName => fs_1.writeFileSync(path.join(reportDir, "dist", fileName), fs_1.readFileSync(path.join(__dirname, fileName))));
     }
 };
+function checkForUnusedScreenshotFiles() {
+    const jestArgs = process.argv.slice(2);
+    const screenshotFilePaths = glob_1.sync('./src/**/__snapshots__/*.snap.png').map(screenshotFilePath => path_1.resolve(screenshotFilePath));
+    const usedScreenshotFilePaths = fs_1.readFileSync("./tmp/used-jest-screenshots.txt").toString().split("\n");
+    const unusedScreenshtFilePaths = screenshotFilePaths.filter(screenshotFilePath => usedScreenshotFilePaths.includes(screenshotFilePath) == false);
+    if (unusedScreenshtFilePaths.length) {
+        const updateSnapshots = jestArgs.includes('-u') || jestArgs.includes('--update-snapshot');
+        if (updateSnapshots) {
+            for (const unusedScreenshtFilePath of unusedScreenshtFilePaths) {
+                fs_1.unlinkSync(unusedScreenshtFilePath);
+            }
+            console.log(chalk_1.default.yellow(`Deleted ${unusedScreenshtFilePaths.length} unused screenshot files.`));
+        } else {
+            console.log(`
+${chalk_1.default.red("Unused screenshot files:")}
+- ${unusedScreenshtFilePaths.map(unusedScreenshtFilePath => `.${path_1.sep}${path_1.relative(".", unusedScreenshtFilePath)}`).join("\n- ")}`);
+            process.exit(1);
+        }
+    }
+}
 //# sourceMappingURL=reporter.js.map
\ No newline at end of file
diff --git a/node_modules/jest-screenshot/dist/to-match-image-snapshot.js b/node_modules/jest-screenshot/dist/to-match-image-snapshot.js
index 943c7f2..d4357e4 100644
--- a/node_modules/jest-screenshot/dist/to-match-image-snapshot.js
+++ b/node_modules/jest-screenshot/dist/to-match-image-snapshot.js
@@ -111,6 +111,7 @@ function toMatchImageSnapshot(received, configuration, parameters = {}) {
     const snapshotPath = typeof parameters.path === "string" ?
         parameters.path :
         filenames_1.getSnapshotPath(testPath, currentTestName, snapshotState, snapshotsDir);
+    fs_1.appendFileSync("./tmp/used-jest-screenshots.txt", `${snapshotPath}\n`);
     const reportPath = filenames_1.getReportPath(testPath, currentTestName, snapshotState, reportDir);
     // Create the path to store the snapshots in.
     mkdirp_1.sync(path.dirname(snapshotPath));

I solved reporting/deleting unused screenshot files with patch-package and this patch against version<EMAIL_ADDRESS>


CVXPY on xilinx Arm based SoC

Hi
I am trying to install cvxpy on xilinx arm A5 based SoC running linux image built via xilinx petalinux tool. When I run "python3 -m pip install cvxpy", I get error (copied at the end). Its an embedded platform so I dont want to install all the C-compilers etc? Is there a way around it? FYI, I was able to successfully install scipy using pip
**Downloading cvxpy-1.4.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch                                                                                64.whl (1.1 MB)
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 1.1/1.1 MB 693.5 kB/s eta 0:00:00
Collecting pybind11
Downloading pybind11-2.11.1-py3-none-any.whl (227 kB)
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 227.7/227.7 kB 765.2 kB/s eta 0:00:00
Collecting osqp>=0.6.2
Downloading osqp-0.6.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch6                                                                                4.whl (294 kB)
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 294.4/294.4 kB 751.8 kB/s eta 0:00:00
Collecting scs>=3.0
Downloading scs-3.2.4.post1.tar.gz (1.5 MB)
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 1.5/1.5 MB 463.5 kB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
x exit code: 1
mq> [20 lines of output]
+ meson setup /tmp/pip-install-ojj2_cp8/scs_5116970da4824d758b070aa4fb1223                                                                                77 /tmp/pip-install-ojj2_cp8/scs_5116970da4824d758b070aa4fb122377/.mesonpy-nm4er                                                                                tkw -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pi                                                                                p-install-ojj2_cp8/scs_5116970da4824d758b070aa4fb122377/.mesonpy-nm4ertkw/meson-                                                                                python-native-file.ini
The Meson build system
Version: 1.3.1
Source dir: /tmp/pip-install-ojj2_cp8/scs_5116970da4824d758b070aa4fb122377
Build dir: /tmp/pip-install-ojj2_cp8/scs_5116970da4824d758b070aa4fb122377/                                                                                .mesonpy-nm4ertkw
Build type: native build
Project name: scs
Project version: undefined
  ../meson.build:1:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'], ['clang'                                                                                ], ['nvc'], ['pgcc'], ['icc'], ['icx']]
  The following exception(s) were encountered:
  Running `cc --version` gave "[Errno 2] No such file or directory: 'cc'"
  Running `gcc --version` gave "[Errno 2] No such file or directory: 'gcc'"
  Running `clang --version` gave "[Errno 2] No such file or directory: 'clan                                                                                g'"
  Running `nvc --version` gave "[Errno 2] No such file or directory: 'nvc'"
  Running `pgcc --version` gave "[Errno 2] No such file or directory: 'pgcc'                                                                                "
  Running `icc --version` gave "[Errno 2] No such file or directory: 'icc'"
  Running `icx --version` gave "[Errno 2] No such file or directory: 'icx'"

  A full log can be found at /tmp/pip-install-ojj2_cp8/scs_5116970da4824d758                                                                                b070aa4fb122377/.mesonpy-nm4ertkw/meson-logs/meson-log.txt
  [end of output]

note: This error originates from a subprocess, and is likely not a problem wit                                                                                h pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
mq> See above for output.
note: This is an issue with the package mentioned above, not pip.**

The error you're seeing looks like it's coming from trying to build SCS.
You can try installing cvxpy-base instead of cvxpy. If you can get that to
work then you can at least isolate the question of how to install solvers.
(Different solvers have different build requirements.)
On Sun, Jan 28, 2024 at 10:23 PM fahadak69 @.***> wrote:

Hi
I am trying to install cvxpy on xilinx arm A5 based SoC running linux
image built via xilinx petalinux tool. When I run "python3 -m pip install
cvxpy", I get error (copied at the end). Its an embedded platform so I dont
want to install all the C-compilers etc? Is there a way around it? FYI, I
was able to successfully install scipy using pip
**Downloading
cvxpy-1.4.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch 64.whl
(1.1 MB)
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 1.1/1.1 MB 693.5 kB/s eta 0:00:00
Collecting pybind11
Downloading pybind11-2.11.1-py3-none-any.whl (227 kB)
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 227.7/227.7 kB 765.2 kB/s eta 0:00:00
Collecting osqp>=0.6.2
Downloading
osqp-0.6.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch6 4.whl
(294 kB)
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 294.4/294.4 kB 751.8 kB/s eta 0:00:00
Collecting scs>=3.0
Downloading scs-3.2.4.post1.tar.gz (1.5 MB)
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq 1.5/1.5 MB 463.5 kB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
x exit code: 1
mq> [20 lines of output]

meson setup /tmp/pip-install-ojj2_cp8/scs_5116970da4824d758b070aa4fb1223
77
/tmp/pip-install-ojj2_cp8/scs_5116970da4824d758b070aa4fb122377/.mesonpy-nm4er
tkw -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md
--native-file=/tmp/pi
p-install-ojj2_cp8/scs_5116970da4824d758b070aa4fb122377/.mesonpy-nm4ertkw/meson-
python-native-file.ini
The Meson build system
Version: 1.3.1
Source dir: /tmp/pip-install-ojj2_cp8/scs_5116970da4824d758b070aa4fb122377
Build dir: /tmp/pip-install-ojj2_cp8/scs_5116970da4824d758b070aa4fb122377/
.mesonpy-nm4ertkw
Build type: native build
Project name: scs
Project version: undefined
../meson.build:1:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'], ['clang'                                                                                ], ['nvc'], ['pgcc'], ['icc'], ['icx']]
The following exception(s) were encountered:
Running cc --version gave "[Errno 2] No such file or directory: 'cc'"
Running gcc --version gave "[Errno 2] No such file or directory: 'gcc'"
Running clang --version gave "[Errno 2] No such file or directory: 'clan                                                                                g'"
Running nvc --version gave "[Errno 2] No such file or directory: 'nvc'"
Running pgcc --version gave "[Errno 2] No such file or directory: 'pgcc'                                                                                "
Running icc --version gave "[Errno 2] No such file or directory: 'icc'"
Running icx --version gave "[Errno 2] No such file or directory: 'icx'"
A full log can be found at /tmp/pip-install-ojj2_cp8/scs_5116970da4824d758                                                                                b070aa4fb122377/.mesonpy-nm4ertkw/meson-logs/meson-log.txt
[end of output]

note: This error originates from a subprocess, and is likely not a problem
wit h pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
mq> See above for output.
note: This is an issue with the package mentioned above, not pip.**
—
Reply to this email directly, view it on GitHub
https://github.com/cvxpy/cvxpy/issues/2337, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRLIFG2BWSFJB6TKXTO4BTYQ4I3NAVCNFSM6AAAAABCOW3Y2WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDINJWGAYTOMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

SCS is the most advanced solver among the CVXPY default solvers' suite, and it requires some more libraries to compile. There are pre-built binaries for most architectures but arm linux is not one of those.
What you need is a BLAS/LAPACK development library. I'm not sure about that Linux distribution, but in Debian-based that is usually done by sudo apt install libopenblas-dev.
@rileyjmurray maybe this should be mentioned in the installation instructions?
PS this is the same issue as https://github.com/cvxgrp/scs/issues/258

i was able to install cvxpy-base. But I need SCS solver. What is the instruction to just install solver on top of cvxpy-base using pip?
I will try to get lappack/blas install. It is quite a procees since apt install is not recognized as valid command on embedded linux imag. I will need to embed thesr libraries before linux image compilation (which has its own issues
Thanks alot

@enzbus what do you mean when you say that SCS is the most advanced solver
among the CVXPY defaults?
On Tue, Jan 30, 2024 at 2:33 AM enzbus @.***> wrote:

SCS is the most advanced solver among the CVXPY default solvers' suite,
and it requires some more libraries to compile. There are pre-built
binaries for most architectures but arm linux is not one of those.
What you need is a BLAS/LAPACK development library. I'm not sure about
that Linux distribution, but in Debian-based that is usually done by sudo
apt install libopenblas-dev.
@rileyjmurray https://github.com/rileyjmurray maybe this should be
mentioned in the installation instructions?
PS this is the same issue as cvxgrp/scs#258
https://github.com/cvxgrp/scs/issues/258
—
Reply to this email directly, view it on GitHub
https://github.com/cvxpy/cvxpy/issues/2337#issuecomment-1916234111, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRLIFEOQ6XML7MXXZIFFX3YRCO4JAVCNFSM6AAAAABCOW3Y2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJWGIZTIMJRGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Nothing @rileyjmurray, only that it's complicated to ship binaries for it because of its dependence on BLAS, which it needs to solve SDPs. Edited my comment.

i was able to install cvxpy-base. But I need SCS solver. What is the instruction to just install solver on top of cvxpy-base using pip?
I will try to get lappack/blas install. It is quite a procees since apt install is not recognized as valid command on embedded linux imag. I will need to embed thesr libraries before linux image compilation (which has its own issues
Thanks alot

Could you say more about why you need SCS? The Clarabel solver also solves SDPs.

i was able to install cvxpy-base. But I need SCS solver. What is the instruction to just install solver on top of cvxpy-base using pip?
I will try to get lappack/blas install. It is quite a procees since apt install is not recognized as valid command on embedded linux imag. I will need to embed thesr libraries before linux image compilation (which has its own issues
Thanks alot

Could you say more about why you need SCS? The Clarabel solver also solves SDPs.

i can try that. is it part of cvxpy-base package? if not, how can i install it?

i was able to install cvxpy-base. But I need SCS solver. What is the instruction to just install solver on top of cvxpy-base using pip?
I will try to get lappack/blas install. It is quite a procees since apt install is not recognized as valid command on embedded linux imag. I will need to embed thesr libraries before linux image compilation (which has its own issues
Thanks alot

Could you say more about why you need SCS? The Clarabel solver also solves SDPs.

i can try that. is it part of cvxpy-base package? if not, how can i install it?

You can simply run:
python3 -m pip install cvxpy-base clarabel

cvxpy-base simply excludes all solvers that usually come by default, so you can install one that suits your needs explicitly (in my example: clarabel).

i was able to run clarabel on my board, thank you everyone

It seems you need to install a C compiler, and for SCS specifically, also BLAS/LAPACK development libraries. In Debian-based Linux distros that should be sudo apt install gcc libopenblas-dev.
EDIT: Comment was confusing, removed most of it.

I had a similar problem installing cvxpy inside of a container on a rpi4/8GB running balenalib/*:ubuntu-python:3.10-jammy-run. I'm not an expert, do we need documentation on the possible need to install gcc, libopenblas-dev on aarch64 devices?


API requests get an :api header in marbl logs

odd - seems like marbl_test.go didn't have tabs correctly.


Python example for CreateAsync(Guid) method usage in GattServiceProvider Namespace

We are using the python/winrt module to interact with windows runtime apis. We want to create the gatt service using the Windows.Devices.Bluetooth.GenericAttributeProfile Namespace, we have method called createAsync which will create the gatt service below is the example usage that we are using.
import winrt.windows.devices.bluetooth.genericattributeprofile as wdbgatt
result = await gatt_service.create_async(uuid.uuid1())
The create_async method will be taking guid as argument.
when we are running the code we are receiving error as "NotImplemented".
Could someone help me to resolve the issue?

This appears to be a question about the feature itself, not a question about the sample. You can follow the instructions on Windows developer support for support options. (Click "Forums and community".)


Please give me an option to limit the constellations in the "Character" screen

Hey, it would be nice if i could limit the display of constellations to the standard maximum of C6.
How about a character counter table under "Wish Counter" instead?

No, you want to see duplicate constellations. This is harmless anyways

No, you want to see duplicate constellations. This is harmless anyways

What's wrong with having the choice?

Maybe a compromise? A button. If you press it, all your C7+ characters become C6 characters.
This way, no need for any hard-to-make automations, but also a freedom of choice.

This is what i proposed. An OPTION to just display C6 as maximum. I don't want to see how many of the same characters i got in that screen. I also suggested an addition to the wish counter screen, a table that shows the total number of characters pulled.
Reading comprehension seems hard sometimes jfc.

Yeah, but I meant a button instead of checkbox. So it doesn't check every time if Const>6 then Const:=6 whenever character constellation gets added but instead, whenever you press that button, it runs for (i:=0; i<=Characters.length; i++) do { if Characters[i].Const>6 then Characters[i].Const:=6 }

a) it doesn't matter what or when or how it checks as everything runs on the client side and it's not like it takes 10 minutes to loop through
b) i don't want to press a button every single time. there is a settings tab already, so put it to good use.

a) it matters for those who code it
b) I guess the fact that settings tab don't have many settings shows that those who code it don't want to have many settings
I don't say for them to do either a button or nothing, I say "if you don't want to make a setting, make a button at least"

we're talking about this line optionally being Math.max()'ed to 6, nothing more https://github.com/MadeBaruna/paimon-moe/blob/77c85c383a9fc32c4c033aae5285d6039987c6cb/src/routes/characters/_characterGridItem.svelte#L56


$opacity is not in the documentation and not in the comment for do-shake()

in _tool.scss opacity is missing from the comments
it is also missing in the readme
/// Do The Shake
/// @param {String}  $name ['shake']              - Name for the keyframes animation
/// @param {Number}  $h [5px]                     - Max number for random to assign in x axis
/// @param {Number}  $v [5px]                     - Max number for random to assign in y axis
/// @param {Number}  $r [3deg]                    - Max number for random rotation
/// @param {Number}  $dur [100ms]                 - animation-duration; valid time value
/// @param {Number}  $precision [.1]              - Precision of the keyframes animation (i.e 2 > 2%, 4%, 6%...)
/// @param {String}  $q [infinite]                - animation-iteration-count; valid value
/// @param {String}  $t [infinite]                - animation-timing-function; valid value
/// @param {Number}  $delay [null]                - animation-delay; valid time value
/// @param {Number}  $chunk [100%]                - Part of 100% where apply the animation
@mixin do-shake(
$name: 'shake',
$h: 5px,
$v: 5px,
$r: 3deg,
$dur: 100ms,
$precision: .02,
$opacity: false,
$q: infinite,
$t: ease-in-out,
$delay: null,
$chunk: 100%
) {

ok. it was in the docs, just not in the _tools.scss comments

Thanks @williamli. There is the comment [here] (https://github.com/elrumordelaluz/csshake/blob/master/scss/_tools.scss#L25) in the _tools.scss file. Maybe you downloaded/forked before a commit with this specific change.
Anyway I found that the $opacity explanation is missed in README.md file, after the code example. Thanks again!

I think I got it from the latest release branch instead of master.

On 11 Oct 2015, at 03:11, Lionel<EMAIL_ADDRESS>wrote:
Thanks @williamli https://github.com/williamli. There is the comment here https://github.com/elrumordelaluz/csshake/blob/master/scss/_tools.scss#L25 in the _tools.scss file. Maybe you downloaded/forked before a commit with this specific change.
Anyway I found that the $opacity explanation is missed in README.md file, after the code example. Thanks again!
—
Reply to this email directly or view it on GitHub https://github.com/elrumordelaluz/csshake/issues/27#issuecomment-147117989.


Error CS 1601

I have downloaded the starter project from GitHub as directed.  When I add to ConfigureServices I get various errors, mostly CS 1601.             services.Configure<CookiePolicyOptions>(options =>
{
options.CheckConsentNeeded = context => true;
options.MinimumSameSitePolicy = SameSiteMode.None;
});
        services.AddDbContext<ApplicationDbContext>(options =>
            options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));

        services.AddDefaultIdentity<IdentityUser>().AddRoles<IdentityRole>()
           .AddEntityFrameworkStores<ApplicationDbContext>()
            .AddDefaultTokenProviders();

        services.AddMvc(config =>
        {
            // using Microsoft.AspNetCore.Mvc.Authorization;
            // using Microsoft.AspNetCore.Authorization;
            var policy = new AuthorizationPolicyBuilder()
                             .RequireAuthenticatedUser()
                             .Build();
            config.Filters.Add(new AuthorizeFilter(policy));
        })
    .SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
        // Register no-op EmailSender used by account confirmation and password reset during development
        // For more information on how to enable account confirmation and password reset please visit https://go.microsoft.com/fwlink/?LinkID=532713
        services.AddSingleton<IEmailSender, EmailSender>();
    }

I am not having any success in figuring how to resolve all these errors.  Do you have any suggestions?

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

ID: b66f8ffa-699c-8b11-0cab-805f5953805f
Version Independent ID: 7c151ed5-fd78-84fd-a08a-88912990c4ca
Content: Create an ASP.NET Core app with user data protected by authorization
Content Source: aspnetcore/security/authorization/secure-data.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Let us know when you figure it out.

Not helpful, Rick.  I downloaded YOUR starter project and faithfully and carefully followed YOUR directions.  I started encountering problems immediately.  Have been able to fix some, but now I am getting more confused instead of advancing my understanding.  I am abandoning this tutorial.  I am sure there is a simpler way to do what I need to do.

Can you post incorrect code?

This is not a beginning tutorial. We have about 16K/month view, many reporting success.

Sorry, have been out sick for a week.  Incorrect code is posted above.  Here are the errors I am getting:
Error	CS1061	'CookiePolicyOptions' does not contain a definition for 'CheckConsentNeeded' and no accessible extension method 'CheckConsentNeeded' accepting a first argument of type 'CookiePolicyOptions' could be found (are you missing a using directive or an assembly reference?)
Error	CS0103	The name 'SameSiteMode' does not exist in the current context	ContactManager
Error	CS1061	'IServiceCollection' does not contain a definition for 'AddDefaultIdentity' and no accessible extension method 'AddDefaultIdentity' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)	ContactManager
I have the correct namespaces.  Here is the csproj file.  (I deleted two items from the bottom itemgroup in response to error messages that they were obsolete.  I tried updating the packages but then I got a bazillion error messages about duplicate references:)

netcoreapp2.0
aspnet-ContactManager-0DAD76F8-C053-4971-A8DF-4C55A4FF198B

I think this requires 2.1 or higher.

I thought so too, but then how did I end up with a project file that uses older versions?  I don’t have a good enough understanding of how to identify and attach the right package, if that is the correct term, to my project.  I have 2.2 on my machine.  When I tried to use Package Manager to upgrade one package a little bit, instead it upgraded all of them to the latest version and I got  lots more! errors.  If you could point me in the direction of a tutorial that would help me with these basic skills, I would really appreciate it.
From: Rick Anderson<EMAIL_ADDRESS>Sent: Friday, June 28, 2019 12:03 PM
To: aspnet/AspNetCore.Docs<EMAIL_ADDRESS>Cc: LouBH<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [aspnet/AspNetCore.Docs] Error CS 1601 (#12948)
I think this requires 2.1 or higher.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/aspnet/AspNetCore.Docs/issues/12948?email_source=notifications&email_token=AKLYC3SY2XBLVFZLQJAGYD3P4Y75RA5CNFSM4HZLNEI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY2UE5I#issuecomment-506806901 , or mute the thread https://github.com/notifications/unsubscribe-auth/AKLYC3Q3EEKLGOCBMBGTNG3P4Y75RANCNFSM4HZLNEIQ .  https://github.com/notifications/beacon/AKLYC3REZ3PHA4TXY6QCT6DP4Y75RA5CNFSM4HZLNEI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY2UE5I.gif

Install the 2.2 SDK. All packages come from the SDK now, not NuGet.  Upgrade your project to 2.2


add null guard around ammoUpdate

This null guard allows the hook to proceed even when calling the deprecated old hook, however, doing so reveals what appears to be a similar issue downstream in mixin.js, as on some subseuqent casts, in
_createDeprecatedConfigs(usageConfig, dialogConfig, messageConfig)
Uncaught (in promise) TypeError: usageConfig.consume?.resources.includes is not a function

Closes https://github.com/foundryvtt/dnd5e/issues/4229


Improvements for the "Installed Items" tab for StockItem display

Ref: https://github.com/inventree/InvenTree/issues/977

@wolffam here's how the "rough mockup" from #977 ended up:


uri site: link to license

There is link to the license on the site which reference to the league/csv repo

you can always submit a quick PR for that I will review and validate it ASAP.

@nyamsprod
no problem
i didn't find source of site, but now I can fix it


Upgrade to v 0.13.3 of React

:+1:

Yay, glad to hear about 0.13 support!
I've been preemptively playing around with 0.13 along with react-dart a bit, mostly due to 0.13's addition of cloneElement.
Are there any plans to include some of the top-level API methods like cloneElement in the Dart wrapper? Would that be a react-dart separate issue?

Here's a diff of some of the changes I made to get cloneElement working (and the cloneElement implementation) in the diff) for reference. Feel free to incorporate any part of that work!

right now we did findDOMNode(https://github.com/cleandart/react-dart/pull/50) implementation. But i agree that having cloneElement would be nice to add.

Closing this issue now. Let's move the discussion about cloneElement support to #52 .


Icon Update

Resently Microsoft has realsed new icons for the Power Platfrom including the following that are missing from this icon download pack.

Data Connectors
Managed Enviornments

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

ID: 2e1e3e9c-4177-7991-9e9a-861baf21cbd2
Version Independent ID: 51970c35-5399-e9b2-ac1b-250032f2840d
Content: Microsoft Power Platform icons - Power Platform
Content Source: power-platform/guidance/icons.md
Service: power-platform
Sub-service: guidance
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

Thanks for your comment, @nz365guy. This issue has been assigned to the doc author for review.

The "newly" release Power Platform Data Connectors is also missing, although said to be available based on twitter: https://twitter.com/Jackrowbo/status/1619957194107277313


Add a "claim all" button to the auctions list to claim all unclaimed reserves of ended auctions

Currently, there's no way to end or withdraw all auctions when using Minifront. This causes problems as a user can create one transaction that requires nearly 100 manual steps to clean up. Instead, Minifront should provide close-all / end-all functionality.
At the top of this tablular layout, there should be a row with 0 or 1 buttons:

[ ] If any auctions in the list are open, the button should be labeled "End All". Clicking the button should plan and sign a transaction that ends every open auction.
[ ] Otherwise, if no auctions are open but some auctions are ended, the button should be labeled "Withdraw all". Clicking the button should plan and sign a transaction that withdraws every ended auction.
[ ] Otherwise, all auctions are withdrawn, and there should be no button.

user feedback: https://x.com/Rarma_/status/1818847396983718366
will edit the issue description with what i think the behavior should be

I'm not sure we only need one button to make the user experience better
If we do as in pcli, we should have two buttons

end all auctions (including those that have not started yet and those that are currently active)
withdraw all auctions

If you do it all with one button, that means you can't withdraw auctions if you have at least one auction you don't want to end
Also, it is worth noting that the user will not be able to end only auctions that have already passed
Ideally, it would be cool to have three options

close only past auctions
сlose all auctions (past, active, and future)
withdraw all auctions

@hdevalence What's your vision for this?

I experimented a bit with pcli and found some interesting things to consider in this PR

If you try to create a transaction with more than 300 actions, you will get a planner error

failed to plan transaction after 100 iterations

If you have between 200 and 300 actions, the planner will most likely be able to build the transaction, then you won't be able to broadcast it to the network because of its size

 status: Unavailable, message: "error broadcasting tx: Status
  {   code: Unavailable,
   message: error broadcasting tx sync: response error
  Caused by: Internal error: Tx too large. Max size is 98304, but got 110583 (code: -32603)

Given that each auction end requires 2 actions, and each auction withdrawal requires either 2 or 3 actions (depending on the auction result)
Then we can guarantee to close a maximum of 100 auctions in a single transaction and withdraw a maximum of 66 auctions
Another point is that pcli closes auctions and outputs them for each account separately, while in minifront we have one list for all accounts (and that's bad).

Okay, I'm wrong somewhere, because in practice it requires 146 actions to complete 48 auctions (while 48 auctions can be created with just 1 transaction)

If you do it all with one button, that means you can't withdraw auctions if you have at least one auction you don't want to end

I don't think this is important to prioritize, what we should focus on is the common case. I think the behavior in the original description is good

@Valentine1898

Given that each auction end requires 2 actions, and each auction withdrawal requires either 2 or 3 actions (depending on the auction result)

Not sure I understand this. Ending an auction is a single action (ActionDutchAuctionEnd), and withdrawing is a single action (ActionDutchAuctionWithdraw). Where are you getting these numbers?

@jessepinho
In order to end the auction you need to take the following actions

Spend a note for fee
Spend auction_nft_0
Get auction_nft_1
Get balance of fee note
ActionDutchAuctionEnd

Theoretically, fee may require more than one note (but this is rare)
Also theoretically, you may not have a remainder after spending a fee note (almost impossible case).
Basic case - you need 5 actions to close the auction

How about doing at most 48 at a time, and if there are more, display an alert to the user that only the first 48 auctions were ended. 48 is the max number that we create at once. This also minimizes the proving time per tx in the web context.

Another point is that pcli closes auctions and outputs them for each account separately, while in minifront we have one list for all accounts (and that's bad).

This creates more problems than I originally thought because we can't create sourceless transactions
This means that we need to change the auctions interface so that the auctions are separated by account
fiy @grod220 @jessepinho

How about doing at most 48 at a time, and if there are more, display an alert to the user that only the first 48 auctions were ended. 48 is the max number that we create at once. This also minimizes the proving time per tx in the web context.

It's definitely a good idea


no lower case for tags

Currently words in tags are converted into lower case. Is it possible to set as optional to leave tags as the original inputs in the md files?
It is strange to read acronym tags in the lower case.

I designed the tags to appear as simple and minimal as possible - but you have a good point, acronyms look wrong in all lowercase. Hence, I'll remove the lowercase filter and display the case input by the user.

Thanks for the suggestion.
I've set the default config to support uppercase in tag names. Just add preserveTaxonomyNames = true to the top section of your config, for example 8d1fe7b.


[BUG] Error: rpc error: code = Unknown desc = rpc error: code = Unknown desc = account sequence mismatch

Tracking ticket for https://github.com/palomachain/paloma/issues/1311

@taariq Since we have a simple sleep between transactions, this may sometimes happen between delegation calls. However, we will try again on the next automate cycle.
We can increase the sleep duration for a bit, but it will still happen from time to time. The right fix would be to check and wait until the tx is confirmed, but that is tricky with the current setup. I'll try to come up with a better solution.

Really the better solution is to choose a validator with Operator Keys installed. We have tech to bypass this issue. Okay. Closing for now as it will self-heal.


Updates the default value for the service id

Proposed changes
This updates the default value for the service id in order to trick the termination abci, which logs errors because the service is not deployed.
Fixes
n/a
Types of changes
What types of changes does your code introduce? (A breaking change is a fix or feature that would cause existing functionality and APIs to not work as expected.)
Put an x in the box that applies

[ ] Non-breaking fix (non-breaking change which fixes an issue)
[ ] Breaking fix (breaking change which fixes an issue)
[ ] Non-breaking feature (non-breaking change which adds functionality)
[ ] Breaking feature (breaking change which adds functionality)
[x] Refactor (non-breaking change which changes implementation)
[ ] Messy (mixture of the above - requires explanation!)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I am making a pull request against the main branch (left side). Also you should start your branch off our main.
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have locally run services that could be impacted and they do not present failures derived from my changes

Further comments
n/a

thank you kind ser

Yeah.,
That didnt do it.

What do i actually need to set this to please.

Yeah., That didnt do it.
What do i actually need to set this to please.

@8ball030 Please let me know if it works now.

Closed because of inactivity.
Moreover, this was addressed properly on https://github.com/valory-xyz/open-autonomy/pull/1891 and will be available after bumping to 0.10.0.


[SUP1-21] hubspot token refresh

supaglue-wip-sync-worker-1  |     error: {
supaglue-wip-sync-worker-1  |       "code": 401,
supaglue-wip-sync-worker-1  |       "body": {
supaglue-wip-sync-worker-1  |         "status": "error",
supaglue-wip-sync-worker-1  |         "message": "The OAuth token used to make this call expired 9 minute(s) ago.",
supaglue-wip-sync-worker-1  |         "correlationId": "c4736101-d43e-49bc-a348-d3c754a8a13e",
supaglue-wip-sync-worker-1  |         "category": "EXPIRED_AUTHENTICATION",
supaglue-wip-sync-worker-1  |         "context": {
supaglue-wip-sync-worker-1  |           "expire time": [
supaglue-wip-sync-worker-1  |             "2023-02-27T22:10:17.518Z"
supaglue-wip-sync-worker-1  |           ]
supaglue-wip-sync-worker-1  |         }
supaglue-wip-sync-worker-1  |       },
supaglue-wip-sync-worker-1  |       "headers": {
supaglue-wip-sync-worker-1  |         "access-control-allow-credentials": "false",
supaglue-wip-sync-worker-1  |         "alt-svc": "h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400",
supaglue-wip-sync-worker-1  |         "cf-cache-status": "DYNAMIC",
supaglue-wip-sync-worker-1  |         "cf-ray": "7a044e875c87981e-SJC",
supaglue-wip-sync-worker-1  |         "connection": "close",
supaglue-wip-sync-worker-1  |         "content-length": "240",
supaglue-wip-sync-worker-1  |         "content-type": "application/json;charset=utf-8",
supaglue-wip-sync-worker-1  |         "date": "Mon, 27 Feb 2023 22:20:15 GMT",
supaglue-wip-sync-worker-1  |         "nel": "{\"success_fraction\":0.01,\"report_to\":\"cf-nel\",\"max_age\":604800}",
supaglue-wip-sync-worker-1  |         "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=W44aRrhvNCbCBECSh5em2fUsTKSslOLmitk6Kg9eHxOU8Af5%2FGkNfQMu3fGzdAJksf%2BS9TdWzUxHJFEDpgxh%2FsY9JFLOK%2FqUKPjQcwJZ%2FXwI%2F8UnOSst5XHHVDoMvIaG\"}],\"group\":\"cf-nel\",\"max_age\":604800}",
supaglue-wip-sync-worker-1  |         "server": "cloudflare",
supaglue-wip-sync-worker-1  |         "strict-transport-security": "max-age=31536000; includeSubDomains; preload",
supaglue-wip-sync-worker-1  |         "vary": "origin, Accept-Encoding",
supaglue-wip-sync-worker-1  |         "x-hubspot-auth-failure": "401 Unauthorized",
supaglue-wip-sync-worker-1  |         "x-hubspot-correlation-id": "c4736101-d43e-49bc-a348-d3c754a8a13e",
supaglue-wip-sync-worker-1  |         "x-trace": "2B26033CDE1B3B33A4CD144E2361FE2C9FA6D4A263000000000000000000"
supaglue-wip-sync-worker-1  |       }
supaglue-wip-sync-worker-1  |     }

From SyncLinear.com | SUP1-21

Thx, we'll need this for next week

Punting on this:

it’s extremely hard to debug because every time I try something it takes 30+ minutes (sometimes more), and restarting the workers immediately fixes this issue so you can’t add logs while it’s happening
it’s seemingly non-deterministic
we might not have this problem once we rewrite our clients to use the API directly

We need to fix this. This is blocking my hubspot load testing.

Yes this is not fixed

Is this actually resolved? Afaik @ryan 's change was to support refreshing tokens on the write path as well as the read/sync path, not address this bug.


Add web developer friendly links to MDN

Help wanted: help me complete the mapping between web-features and MDN URLs
The features listed in the web-features repository don't come with MDN URLs.
However, linking web-features to MDN URLs is useful for several things:

If the mapping is available somewhere, then consumers of web-features can use the mapping to link the web-features they display to MDN.

One example is the State Of surveys, which use web-features, and which also show MDN URLs. This mapping with help there.
Another example is this very site: https://web-platform-dx.github.io/web-features-explorer/, which shows MDN links on individual feature pages. This mapping helps show the right links.

The other way around is true too. For MDN, which shows baseline badges, having a one-to-one mapping from MDN pages to web-features can help find the right web-features.

The mapping is, for now, maintained in this file: https://github.com/web-platform-dx/web-features-explorer/blob/main/additional-data/mdn-docs.json
There are still a couple hundred features left to be mapped. Here's how the mapping works:
{
  "<web-feature-id>": [
    "<MDN-page-slug>"
  ]
}

Each feature points to one or more MDN URL. Each MDN URL is partial, only the slug is needed, not the root URL. Here's an example:
{
  "aborting": [
    "Web/API/AbortController",
    "Web/API/AbortSignal"
  ]
}

The root URL is https://developer.mozilla.org/en-US/docs/, so the two slugs above end up pointing to: https://developer.mozilla.org/en-US/docs/Web/API/AbortController and https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal.
On the web-features-explorer website, currently, the mapping is used to display links as follows:

See this page live here: https://web-platform-dx.github.io/web-features-explorer/features/aborting/

If this is really as straightforward as it seems I'll give this some time. Searching for and then copy/pasting links into the .json is all you are really looking for here?

Pretty much, yes. It takes a little bit of reading of the feature description first, to make sure you know what the feature is about. And it takes a little bit of figuring out whether we want just one link to MDN (which is the most common case), or several (e.g. when a feature is about, say, two different methods that are related, but that are not described by just one MDN page).
Thank you for helping !

The object keys in that file correspond to IDs of features defined in the web-features repository. They should not be changed.
To find out more about a feature, given its ID, do either of these things:

Go to https://github.com/web-platform-dx/web-features and look for the file in the features folder that has the same name as the feature ID. For example, borders.yml.
Or open the feature on the explorer website: https://web-platform-dx.github.io/web-features-explorer/features/borders (replace the last part with your feature ID).

For this project, you should consider the feature IDs as fixed and should not change them in the mdnDocsOverrides.json file. The idea is, for each feature listed in there to find the MDN page that best describes the feature.
Does that help ?

Yes, thank you that helps. Had a go at A-C this afternoon. Have a look and let me know if I'm on the right track before I send a pull:
https://github.com/web-platform-dx/web-features-explorer/compare/main...jsnkuhn:web-features-explorer:main
Do you want them all at once or is it fine in sections like this one?

@jsnkuhn looks like a great start. Please do send a pull request. And, yes, in sections like this one is best. It'll make it easier to review.

Dropping this in here as a reminder to jump ahead to the things listed on "CSS Wrapped 2024" that need MDN links before going back to working alphabetically. Will watch out for anything similar from the other vendors:
https://chrome.dev/css-wrapped-2024/

It's coming apparently : https://github.com/mdn/content/pull/37118

Headsup that the docs file has moved to https://github.com/web-platform-dx/web-features-explorer/blob/main/additional-data/mdn-docs.json.

Ran into another CSS property that seems to be oddly missing an MDN article: object-view-box. Been in Chromium since Aug 2022 but can't find an article?

Ran into another CSS property that seems to be oddly missing an MDN article: object-view-box. Been in Chromium since Aug 2022 but can't find an article?

I filed https://github.com/mdn/mdn/issues/612 for this.

Alright, made it through the list once. Skipped things either without MDN articles or things I wasn't familiar enough with to know if I was linking to the right article.

Thank you @jsnkuhn, great work on this, much appreciated.
I will review your latest PR as soon as I can (likely on one or two days from now).


Decoration Blocks will not rotate

Issue Description:
Decoration blocks will not rotate
What happens:
The decorations only face south, as shown by the debug screen.
What you expected to happen:
The blocks to face the player (like the power monitor's screen facing where the player places it)
Steps to reproduce:

Get a decoration block (with the quotation marks around it)
Place it down and note where it's placing
Turn in another direction, place it down again, and note what direction it is facing.
...

Affected Versions (Do not use "latest"):

EnderIO: 3.1.168
EnderCore: 0.4
Minecraft: 1.10.2
Forge: <IP_ADDRESS>1

Your most recent log file where the issue was present:
http://pastebin.com/Chn8R6Sz

works as designed.
The decoration blocks are not TileEntities, so they have no way to store any kind of rotation. (They work like vanilla wool.)

PS: As a workaround you can paint a cheap machine with your deco block to get rotation. The underlying machine will have a TileEntity that stores rotation and we have special code that makes the deco blocks use that.


Dropup breaks with Bootstrap 4.1.0

Thanks a lot for all of your effort with Reactstrap! I 🧡 your library, and it's been a massive help in several projects. I recently encountered an issue after updating Bootstrap, and I thought I'd let you know -- I'm not sure if you support 4.1.0 at present; please feel free to close/defer this issue. Bootstrap hasn't changed the CSS classes, so I'm guessing this is a popper issue.
I haven't spotted any other problems with the Bootstrap update, at least in my apps (i.e. Dropdowns continue to work perfectly).

Issue description

components: Dropdown / UncontrolledDropdown
reactstrap version #5.0.0
import method es
react version #16
bootstrap version #4.1.0

What is happening?
<Dropdown direction="up"> components are not displayed correctly (only) after switching to Bootstrap 4.1.0:

What should be happening?

Steps to reproduce issue

Enjoy building react applications with reactstrap, loving life, just going about your business
Upgrade to Bootstrap #4.1.0

Error message in console
- None -

Code
Codepen with Bootstrap 4.1.0

Fixed in #966, waiting on upstream fix to be released before releasing.

Oh, fantastic, I didn't see that. Thanks soooo much, I really appreciate the effort you put into this, and sorry for the trouble!


Feat(frontend): user dashboard UI

should contain:

[ ] my ballot details
[ ] edit my ballot
[ ] submit my ballot (which is message type 1 for vote --> related issue #7 )
[ ] change my key (which is message type 2 for vote --> related issue #7 )
[ ] check my ballot submit

might be problem
should we design it?

This should largely be solved by the existing EasyRetroPGF app... will have to see what we need to update/change

change my key (which is message type 2 for vote --> related issue https://github.com/privacy-scaling-explorations/maci-rpgf/issues/7 )

I'd argue we don't even need to solve for key switching as part of this demo

Closing out for now, I think EasyRetroPGF app already has these UI flows 🎉


[material-ui][docs] Add details on appropriate usage to component demo pages

Duplicates

[X] I have searched the existing issues

Related page
https://mui.com/material-ui/react-avatar/
Kind of issue
Missing information
Issue description
Hello
I was looking through the documentation for some components and noticed that some of the components are hard to tell when they would be useful. I'm looking to make a few changes to add additional information for such components.
For example the "Chip" component has a short description of what it is then is followed by why it is useful. I think including that why it's useful can benefit other components like "Avatar" which are missing it. This can help newer developers get an understanding of when to use the component.
Context 🔦
No response

This can help newer developers get an understanding of when to use the component.

For many Material UI components, this guidance is provided by the Material Design spec, e.g. for the Chip: https://m2.material.io/components/chips#types
Perhaps we could link to the relevant spec on the component pages where applicable 🤔 like here:

Closing because this issue is not particularly actionable at this time. However, we are taking this feedback into account as we evaluate how best to overhaul the Material UI docs in the future.


New paradigm for theme customization

Maybe major elements like color and fonts can be CSS custom properties that allows users to override elements very easily by defining their own properties. I should start with a basic set of properties:

text color
link color
'brand' color
font family
code font family
line height

Later I can think about how to do the header/code header colors.

Brand color and link color are already custom CSS properties. I need to document how to use them.


Consider if we should include a .env file in the template

As it stands, the user of the template must pip install . or pip install .[dev] in order for changes to the source code to be discoverable by tests. Thus if a user add a src method, and then immediately adds a test for it, the test will fail because the new method has not been packaged.
In some sense this is a good thing because it means that what's being tested is what would be deployed. But at the same time, it means that every small change requires a pip install in order to be tested.
One was around this is to include a .env file in the template with the contents:
PYTHONPATH=src.
This .env file will be picked up by VSCode (at least) and presumably other editors as well. And it means that tests run by executing the code in the src directory instead of the site-packages directory when using the editor for testing.
Using the terminal still requires that the code be pip installed for the tests to work.

Generally speaking the .env file is included in .gitignore. So perhaps this isn't such a great idea, and should be left to the user to implement.


Issue with gateway.networking.k8s.io CRDs in combination with GKE

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What version of the Traefik's Helm Chart are you using?
31.0.0
What version of Traefik are you using?
3.1.2
What did you do?
Hi,
When I deploy the latest Helm-Chart with the new gateway-standard-install-v1.1.0.yaml CRDs I have a conflict with already deployed gateway.networking.k8s.io CRDs on our GKE Cluster. The Problem is, that you prefer the v1 APIs and the GKE Cluster prefers the v1beta1 APIs.
Here is an excerpt of the CRD from the gatewayclasses CRD comes with a fresh installed GKE Cluster:
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    api-approved.kubernetes.io: https://github.com/kubernetes-sigs/gateway-api/pull/2997
    components.gke.io/component-name: gateway-api-crds
    components.gke.io/component-version: 1.1.0-gke.0
    components.gke.io/layer: addon
    gateway.networking.k8s.io/bundle-version: v1.1.0
    gateway.networking.k8s.io/channel: standard
  creationTimestamp: "2024-09-13T09:19:46Z"
  generation: 1
  labels:
    addonmanager.kubernetes.io/mode: Reconcile
  name: gatewayclasses.gateway.networking.k8s.io
  resourceVersion: "703"
  uid: 40b9ef55-269c-4e60-a846-5a00d5586e8c
spec:
  conversion:
    strategy: None
  group: gateway.networking.k8s.io
  names:
    categories:
    - gateway-api
    kind: GatewayClass
    listKind: GatewayClassList
    plural: gatewayclasses
    shortNames:
    - gc
    singular: gatewayclass
  scope: Cluster
  versions:
  - additionalPrinterColumns:
    - jsonPath: .spec.controllerName
      name: Controller
      type: string
    - jsonPath: .status.conditions[?(@.type=="Accepted")].status
      name: Accepted
      type: string
    - jsonPath: .metadata.creationTimestamp
      name: Age
      type: date
    - jsonPath: .spec.description
      name: Description
      priority: 1
      type: string
    name: v1
    schema:
      ...
    served: true
    **storage: false**
    subresources:
      status: {}
  - additionalPrinterColumns:
    - jsonPath: .spec.controllerName
      name: Controller
      type: string
    - jsonPath: .status.conditions[?(@.type=="Accepted")].status
      name: Accepted
      type: string
    - jsonPath: .metadata.creationTimestamp
      name: Age
      type: date
    - jsonPath: .spec.description
      name: Description
      priority: 1
      type: string
    name: v1beta1
    schema:
      ...
    served: true
    **storage: true**
    subresources:
      status: {}
...

This configuration difference in the property "storage" leads to out-of-sync problems in ArgoCD. This issue matches all CRDs within the group gateway.networking.k8s.io. I think you well-considered why you chose v1 of the API. I just wanted to draw your attention to the fact that there is an issue with GKE Clusters and the latest Chart.
If anyone has a hint to avoid the ArgoCD sync-error without an ignoreDifferences config, please let me know.
What did you see instead?
There is a configuration mismatch between the GKEs default CRDs and the Helm-Charts CRDs.
What is your environment & configuration?
See problem description
Additional Information
No response

The issue is with GKE not EKS. GKE also uses the gateway API to talk to the Google Load balancers, I think.

The Load Balancer is connected with an other mechanism.
According to their documentation, it can be disabled:

Their documentation says they are using v1beta1 and Traefik Proxy v3.1 is compatible with v1.1

If I understand correctly your setup, you have two different Gateway controllers installed:

GKE one, using v1beta1 standard CRDs
Traefik Proxy, using v1.1 standard CRDs

You may encounter other issues in this kind of setup. One way to fix it is to choose only one Gateway controller, and so with only one version of CRDs.

\o, according to gateway api website, GKE controller claim they support nearly everything of v1.1

Without any answer, I close this issue. I do not see anything to do on the Chart.
Feel free to-reopen it (or open a new one) if needed.

I also ran into this and posted here:
https://github.com/traefik/traefik-helm-chart/issues/1209#issuecomment-2447795030
There may be use cases where you have a combination of Traefik installed handling ingress and using gateway-api resources in GKE so you have it enabled there. In my case, I use a combination of ingress (traefik) and multi-cluster ingress (mci is tied to GKE gateway-api).
I am of the opinion that unless you want to enable traefik's gateway-api provider, then the CRD's should be optional. Maybe consider tying this to kubernetesGateway.enabled in values or something similar. Otherwise, at least in GKE, CRD conflicts are inevitable post v28.3.0 of the helm chart.


takes 0.16.9

Let's upgrade to takes 0.16.9 with faster RqMultipart (see https://github.com/yegor256/takes/issues/248)

@rultor release, tag is 0.3.26

@rultor release, tag is 0.3.26

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.3.26

@yegor256 Done! FYI, the full log is here (took me 9min)

@k0r the problem with big file upload should be solved. try it.


I am getting the following error

I followed the steps as mentioned in the readme file but I am getting the following error please help.
Traceback (most recent call last):
File "webcam_detection.py", line 5, in
import cv2
ModuleNotFoundError: No module named 'cv2'

Hi,
maybe you didn't install opencv.
You can check it by "conda list" if my memory was correct. :)
Thanks,
Hui-Po
2017年5月29日 下午5:33，"Akshay Goel"<EMAIL_ADDRESS>
I followed the steps as mentioned in the readme file but I am getting the
following error please help.
Traceback (most recent call last):
File "webcam_detection.py", line 5, in
import cv2
ModuleNotFoundError: No module named 'cv2'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/a514514772/Real-Time-Facial-Expression-Recognition-with-DeepLearning/issues/1,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJwS_mqJx-j4iV6MweLkXgWJB0AGyxogks5r-pECgaJpZM4NpGNl
.

I have installed opencv.I used the first command as mentioned in the readme file and I didn't got any error.

Could you please share me more information ?
It will help if you provide me more information such as the screen shot
when error occurred, the installation flow you used or which packages you
have installed.
thanks,
Hui-Po
2017-05-29 18:11 GMT+08:00 Akshay Goel<EMAIL_ADDRESS>
I have installed opencv.I used the first command as mentioned in the
readme file and I didn't got any error.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/a514514772/Real-Time-Facial-Expression-Recognition-with-DeepLearning/issues/1#issuecomment-304625796,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJwS_iJWPOUPtVbAFIaO1-IYnkoyJsceks5r-pnagaJpZM4NpGNl
.

The previous error got resolved when I used the second command given in the read me file.
Now I am getting different errors and I have attached the screenshot of it.Please find it.

Please refer to this part:

Keras uses tensorflow as the backend by default, but I used theano as the backend when I implemented this project.
To figure out this problem, you can modify the configuration file as the document mentioned, if there is no configuration file, just create one by yourself.

Done
Thank you.

Now I am getting the following error.
attached the screenshot.
Can you also please explain the input and output produced by the program or it will use the system's webcam.

The program will launch your camera first, and then crop the detected face from the frame captured by your camera.
It also resizes the cropped face to (48, 48), and take it as the input of the pre-trained model.
In the end, the model outputs a list which contains the probability of six type of emotions and the main program transform it into corresponding emoticons.

I think program is not able to open webcam please see the screenshot in the previous post and tell me what to do.

I am getting the same problem as akshay. Please check whether the architecture is configured properly?

In my environment, it works well.
I guess that's the problem about opencv or your own webcam, not the architecture of model.
I'll check if this project can work well in different environment, but not these days.
Before that, please check the opencv documents by yourself.

Hey guys, I figured out it.
The main problem is the version of Keras.
I used Keras 1 when I implemented this project, but it changed some setting when it updates to Keras2.
Precisely, you should set the  image_data_format instead of image_dim_ordering in the ~/.keras/keras.json configuration file.
Anyway, I have updated both codes and README file to deal with that.
You can check it now.

still there is some problem ,I am getting the same error.

@akshay-goel  which version of Keras are you using ?
did you re-clone the project and set the configuration file properly ?

I didn't re-clone it.Thank you for your support,hopes it works out.

Good, maybe you can try that again and tell me if it works well.

did you do a source activate env-name to activate the conda environment? I got mine working. did all the conda install via the conda-forge channel
conda create -n py34-emotion python=3.4
source activate py34-emotion
conda install scikit-learn opencv pandas h5py keras
subl ~/.keras/keras.json    (to copy and paste the keras 2 template)

then go to the webcam directory. do a
python webcam_detection.py

Then you will see a stream of emotion probabilities (highest one)

Successed to capture video streaming
OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvStartWindowThread, file /root/mc-x64-2.7/conda-bld/opencv-3_1482255590695/work/opencv-3.1.0/modules/highgui/src/window.cpp, line 630
Traceback (most recent call last):
File "webcam_detection.py", line 89, in
main()
File "webcam_detection.py", line 82, in main
cv2.startWindowThread()
cv2.error: /root/mc-x64-2.7/conda-bld/opencv-3_1482255590695/work/opencv-3.1.0/modules/highgui/src/window.cpp:630: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvStartWindowThread
What's wrong with my opencv3.1？


The configuration used now is，OpenCore Mac mini 8,1，Extra battery option cards

System preferences  》Can the extra battery management in the energy saving panel make it disappear?
OpenCore config.plist Is Mac mini 8, 1 bios configuration relevant?

#107


Yosemite Scenes (both pre- and post-fire) tiles cut off at the bottom

Both @alkamin and I have noticed this behavior; if you hover over the scene you get the correct footprint but the tiles are cut off near the bottom.

This was determined to be a problem with the ingest process for these scenes specifically, IIRC. Closing as such.


Error: Address SID is invalid

I'm tried running the server locally and it works fine. The problem is with the Address SID, the docs doesn't clarify where I should look for Address SID. I followed this article in twilio docs which shows where I can look for Address SID. When I use that SID in the env variables, the server throws an error that Address SID is invalid.

Followed this topic in the docs and created a new address. https://www.twilio.com/docs/flex/admin-guide/setup/conversations/manage-conversations-chat-addresses


Add Next.js support

Adds rudimentary support for Next.js.
Not all components are supported. You should import the components from the new @not-govuk/simple-components NPM package.
This support should be considered experimental for now.
Partially addresses: #858

This implementation currently requires next to be installed as a dependency.
We might need to use require.context (or find a way to get dynamic imports to work) so that we only import the module when it is available...

There's still some work to do on this.
Regressions:

Clicking links no longer resets the scroll to the top of the page
(Not sure why this is happening; it should be the default behaviour.)
Hash-links don't work as expected
(We probably need to manually add this functionality into our Anchor component.)

Nice to have:

Suspense in Anchor
(We currently require Next.js users to wrap everything in suspense due to how our links work. It would be nicer to avoid this and instead put Suspense inside the Anchor component.)

General clean-up:

Now might be the time to clean up the 'components' meta-package (so that it is more like 'simple-components'. i.e. Do we actually need 'simple-components'?
We've copied&pasted some code from react-router to effectively poly-fill under Next.js This code is quite complicated and gets flagged by CodeQL. I suspect that we could replace it with something much simpler.

Moved to data routers in order to make use of their 'scroll restoration'. (This fixes the first regression.)
Second regression, might be acceptable.

There's still some work to do on this.
Regressions:
* Clicking links no longer resets the scroll to the top of the page
  (Not sure why this is happening; it should be the default behaviour.)

Done. Required update to react-router's scroll reset.

* Hash-links don't work as expected
  (We probably need to manually add this functionality into our Anchor component.)

Not tested. One would hope that ScrollReset handles this. Would rather fix forward if it is an issue.

Nice to have:
* Suspense in Anchor
  (We currently require Next.js users to wrap everything in suspense due to how our links work. It would be nicer to avoid this and instead put Suspense inside the Anchor component.)

Done.

General clean-up:
* Now might be the time to clean up the 'components' meta-package (so that it is more like 'simple-components'. i.e. Do we actually need 'simple-components'?

WONTFIX. - We do still need 'simple-components' for Next.js, as it doesn't play nicely with the 'forms' package. (We rely on react-router and so introduce that as a peer dependency. Also, Next.js complains about 'react-dom/server' which we use to register the form nodes.

* We've copied&pasted some code from react-router to effectively poly-fill under Next.js This code is quite complicated and gets flagged by CodeQL. I suspect that we could replace it with something much simpler.

Done.


Enforce tracker as a singleton object

Failure to implement the tracker as a singleton object leads to a race condition.
The Android tracker enforces this, the iOS should follow suit - it's a much better user experience to use the tracker without needing to handle this.

Hi @colmsnowplow, why is it specifically required for all trackers? I don't see any problem with non-singleton objects in Python or Scala trackers because they don't share any state and therefore users can have as many trackers and emitters as they want. If iOS tracker shares some mutable state, maybe its better to create a ticket in its own bugtracker?

Ah - actually I meant to create this ticket in the iOS repo, not snowplow/snowplow. Apologies, closing this and will open one in the appropriate place!


WSS4J dependencies

Hello,
In order to use wss4j, should we have only add a dependency like cxf-rt-ws-security? Is there any other way to use it, or is this the easiest way? If this is only way, documentation also should be updated.
Thanks

Hi @EmreKp One would only need to add the cxf-rt-ws-security dependency for CXF WS-Security support.  The wss4j dependencies should get pulled in automatically, given they are compile time dependencies.
There are examples of how to leverage the CXF WS-Security framework here:
https://github.com/apache/cxf/tree/3.5.x-fixes/distribution/src/main/release/samples/ws_security
Please feel free to submit a PR with the documentation improvement - spelling out the cxf-rt-ws-security dependency may possibly be helpful for others.

Something to note is that only the programmatic WSS4JInterceptors are currently supported.  Actions like Timestamp, UsernameToken, Signature, Encryption, etc., can be applied to the interceptors by passing the appropriate configuration properties.

Thanks for reply, then I will submit PR with updated documentation.


Adds functionality to accept policies from remote URL

This PR also adds functionality to accept policies passed to Genval from remote URLs. Now, users can store their policies in SCM  and pass the URL's to genval's --policy/--inputpolicy/--outputpolicy args.
Genval can now accept policies passed from raw.githubusercontent.com and full github.com URL's.
This PR closes #14
Code scan results:
SNYK

Sonarqube

@santoshkal , is this PR ready to merge?


Running dotnet pack with Paket.Restore.Targets referenced in a new csproj file with msbuild 16 fails.

Description
Running dotnet pack with Paket.Restore.Targets referenced in a new csproj file with msbuild 16 fails.
C:\code\xyz\src\.paket\Paket.Restore.targets(298,15): error MSB4064: The "BuildOutputFolder" parameter is not supported by the "PackTask" task. Verify the parameter exists on the task, and it is a settable public instance property. [C:\code\.....csproj]
C:\code\xyz\src\.paket\Paket.Restore.targets(261,5): error MSB4063: The "PackTask" task could not be initialized with its input parameters.  [C:\code\.....csproj]

Known workarounds
Dont install msbuild 16 on the system (luckily I had not gotten around to installing it on the build servers yet) :D
I have no idea if it is possible to tell dotnet to use a specific version of msbuild, but I havent figured it out so far...but if that is possible that is probably an option as well.

Oh no, not again. Why is nuget team breaking us again with exactly the same thing. They know about this. Sigh

Other workaround that works for me (with VS 2019 and 2.2.202 SDK installed): add a global.json file (dotnet new globaljson) and force an older SDK version.

If someone wants to give it a try:

look at https://github.com/fsprojects/Paket/blob/master/src/Paket.Core/embedded/Paket.Restore.targets#L260

We already have 3 different ways to call the pack task. This is needed since they did not make it backwards compatible. Above those lines we try to figure out on which MSBuild version we are. So the plan is to find a environment variable that tells us that we are on MSBuild 16 and then create a 4th pack task.

It seems the breaking change was BuildOutputFolder being renamed to BuildOutputFolders, as seen in NuGet.Build.Tasks.Pack.targets sometime between .Net Core SDK 2.1.505 and 2.1.602:


Client movement

I can't move the clients at all, I am sending a PacketPlayerPositionPacket adding 0.15 every time to the X position, but the client is not moving

There have been various questions submitted in the past about player movement. I would recommend taking a look through the related closed issues first.

I've seen them but they don't seem to work for me, this is my code, I've read the protocol wiki but it isn't working either:
`public void move() {
new Thread(() -> {
for (int i = 0; i < 10; i++) {
            playerX += 0.2;
            session.send(new ClientPlayerPositionPacket(false, playerX, playerY, playerZ));

            try {
                Thread.sleep(50);
            } catch (InterruptedException ex) {

            }
        }
    }).start();
}`

I'm not sure if the explanation in https://github.com/Steveice10/MCProtocolLib/issues/219#issuecomment-281014110 is fully accurate, but I have exactly seen this in the wild and can confirm this sounds reasonable and that you need to listen to ServerPlayerPositionRotationPacket(s) when you want to implement movements.
E.g. something along the lines of
        if ( event.getPacket() instanceof ServerPlayerPositionRotationPacket ) {
            ServerPlayerPositionRotationPacket packet = event.getPacket();
            getSession().send(new ClientTeleportConfirmPacket(packet.getTeleportId()));
            getSession().send( new ClientPlayerPositionRotationPacket( true, packet.getX(), packet.getY(), packet.getZ(), packet.getYaw(), packet.getPitch() ) );
        }

Got it to work yesterday, thank you though @TheSnoozer

No worries, could you perhaps elaborate what fixed your issue? Was it in fact the ServerPlayerPositionRotationPacket or did you need to change something else?
I'm pretty sure whoever actually uses github search and finds this issue would be interested in a solution ;-)

No worries, could you perhaps elaborate what fixed your issue? Was it in fact the ServerPlayerPositionRotationPacket or did you need to change something else?
I'm pretty sure whoever actually uses github search and finds this issue would be interested in a solution ;-)

location.x += 0.15;

            session.send(new ClientPlayerPositionPacket(false, location.x, location.y, location.z));

            try {
                Thread.sleep(50);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

It was just like that, my problem was that I was sending the ClientPlayerPositionPacket in another thread


Error Message - Can’t read hashtexts online svcs 4%/ emergency update

Stuck on emergency update screen and can’t do anything.

tried the XOR Calculator too and got nothing.
this sucks

Can you give more Informations about you unit please?

Train
Hardware version
Previously performed changes

Closing this now. Fixed my red screen of death issue about 3 am (this morning)...thank goodness...Had to replace the hashes with another set I happened to have cause radio couldn’t read the online services for some reason.

Which Toolbox download did you use and what hashes do you change... if we have a wrong hashes file here on our builds then we should fix this tho.

Olli0991...trying to set up carplayenable I see lol. It’s freakin awesome
Josh Irby	[13fg3x]Josh Irby
On June 28, 2021 at 20:52 GMT, olli991 @.***> wrote:
Which Toolbox download did you use and what hashes do you change... if we have a wrong hashes file here on our builds then we should fix this tho.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

How is this an answer to my question

The only one for MIB2 STD2 pq on this GitHub page. And for the hashes “I swapped them out” ...the whole damn thing
Josh Irby	[13flns]Josh Irby
On June 29, 2021 at 5:49 GMT, olli991 @.***> wrote:
How is this an answer to my question
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

You asked which hashes...all
You asked which toolbox...the one on the GitHub page
Not sure what you’re missing
Josh Irby	[13flr4]Josh Irby
On June 29, 2021 at 6:42 GMT, Josh Irby @.***> wrote:
The only one for MIB2 STD2 pq on this GitHub page. And for the hashes “I swapped them out” ...the whole damn thing
Josh Irby	[13flns]Josh Irby
On June 29, 2021 at 5:49 GMT, olli991 @.***> wrote:
How is this an answer to my question
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

I relied back with attachments of the hashes thats were in the toolbox to begin with and the hashes I used which I swapped out one for the other. Took out the document that said hashes in the toolbox download from GitHub and dragged the other hashes document in its place...
Josh Irby	[13flv2]Josh Irby
On June 29, 2021 at 6:42 GMT, Josh Irby @.***> wrote:
The only one for MIB2 STD2 pq on this GitHub page. And for the hashes “I swapped them out” ...the whole damn thing
Josh Irby	[13flns]Josh Irby
On June 29, 2021 at 5:49 GMT, olli991 @.***> wrote:
How is this an answer to my question
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

And you calculated new hashes or why did you need to cha ge them? Are the currently pr9vided hashes file is wrong? Or did you changed some files in the build on your own and therefor had to change the hashes?
Do we need to fix the hashes file because it is faulty or did you made personal changes to the build and osed our hashes file which will not fit anymore then?
I want to understand if we have an error on our side or if it's related to some stuff you did yourself which differs from our release.

And also like I said I’m fairly sure you have a better understanding of how all of this works cause this VW vehicle I have now is the 1st one I’ve ever had and if it weren’t for that damn MDI cord always breaking with the factory RNS315 that came with the car I wouldn’t have ever cared about this radio lol.
 Fact
Josh Irby	[13g03v]Josh Irby
On June 29, 2021 at 10:31 GMT, olli991 @.***> wrote:
And you calculated new hashes or why did you need to cha ge them? Are the currently pr9vided hashes file is wrong? Or did you changed some files in the build on your own and therefor had to change the hashes?
Do we need to fix the hashes file because it is faulty or did you made personal changes to the build and osed our hashes file which will not fit anymore then?
I want to understand if we have an error on our side or if it's related to some stuff you did yourself which differs from our release.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

Closed because answering questions don't seem possible.

Jesus, can you not understand the answer or what. Here we go line by line...
You: “And you calculated new hashes or why did you need to change them”
Me: When I went to update my radio with your toolbox the update stopped because of the hashes in your toolbox. I know this because , AGAIN, I got an error message that stated couldn’t read hashes therefore it makes sense that I can’t put your toolbox on my radio with the hashes you have in your toolbox file.
I deleted your hashes file and put a hashes file I already have that is in a software patch that I already have and put that hashes file in place of the one I deleted.
It’s simple copy and paste. Where am I losing you
Josh Irby	[13g4iz]Josh Irby
On June 29, 2021 at 11:58 GMT, olli991 @.***> wrote:
Closed #20.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

And I gave you a copy of the hashes I used. Open it up and look
Josh Irby	[13g4mn]Josh Irby
On June 29, 2021 at 13:29 GMT, Josh Irby @.***> wrote:
Jesus, can you not understand the answer or what. Here we go line by line...
You: “And you calculated new hashes or why did you need to change them”
Me: When I went to update my radio with your toolbox the update stopped because of the hashes in your toolbox. I know this because , AGAIN, I got an error message that stated couldn’t read hashes therefore it makes sense that I can’t put your toolbox on my radio with the hashes you have in your toolbox file.
I deleted your hashes file and put a hashes file I already have that is in a software patch that I already have and put that hashes file in place of the one I deleted.
It’s simple copy and paste. Where am I losing you
Josh Irby	[13g4iz]Josh Irby
On June 29, 2021 at 11:58 GMT, olli991 @.***> wrote:
Closed #20.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.


remove spurious 'rrr'

I plan to develop a PDF version for using with the suite of Raku PDF modules by David Warring (PDF::Content, et alii).

Now I see what was intended: using another name for the repo.
Given that, I will change some more..

@tbrowder
I am really pleased that you have undertaken to create a pdf version!
Would you like to include it in this distribution? It would then live under the RakuDoc/To/ directory?
Please note that README.md in the root is generated from docs/README.rakudoc and is rendered using bin/RenderDocs
Since I have been working on this distribution on my own, there are still places where the docs are lagging. In particular, I have removed the submodule from this repo - it was too complicated for a single file (rakudociem-ipsum.rakudoc)

On Wed, Sep 18, 2024 at 16:45 Richard Hainsworth @.***>
wrote:
…snip
Richard, thank you. I have been working with PostScript for years using
Perl, then with Raku.
Then I discovered David Warring’s Raku PDF modules and found a gold mine!
Since then I have been learning to use them from my friend and PDF and Raku
mentor, David Warring.
He and I have just been discussing the subject of a RakuDoc PDF version,
and that is probably what he wants to do, at least name-wise. I’ll wait for
his response before committing, but I’m looking forward to the work
regardless of where it is.
Best regards,
-Tom

@tbrowder https://github.com/tbrowder
I am really pleased that you have undertaken to create a pdf version!
Would you like to include it in this distribution? It would then live
under the RakuDoc/To/ directory?
Please note that README.md in the root is generated from
docs/README.rakudoc and is rendered using bin/RenderDocs
Since I have been working on this distribution on my own, there are still
places where the docs are lagging. In particular, I have removed the
submodule from this repo - it was too complicated for a single file
(rakudociem-ipsum.rakudoc)
—
Reply to this email directly, view it on GitHub
https://github.com/finanalyst/rakuast-rakudoc-render/pull/8#issuecomment-2359459223,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH5VVGGVXVEAPQBWMZQI5LZXHX6VAVCNFSM6AAAAABOJEMBQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZGQ2TSMRSGM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Segmentation fault occurring after n random timesteps

The environment exits with a segmentation fault that occurs after n timesteps. This is an indeterministic number failing within even 2000 timesteps and as late as never as seen.
The following has been observed.

It is seen to fail faster in python 3.8.16 (environment.yml) as compared to 3.7
It was thought that this might be due to the collision sensor. However, the collision sensor was completely removed from the script and it stil continued to fail.
This seg fault might be occurring due to failure of destroying the actor. It seems that the seg fault is occurring due to the carla library. However since the carla python library is a wrapper for C code, it is hard to debug exactly what is going wrong.
After the traffic manager instantiation was moved to after setting it to synchronous mode, it seems these seg faults occur less. However, this could be unrelated.

Thread 40 "python" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f17aa7fc700 (LWP 7911)]
0x00000000004e5450 in _PyObject_GC_UNTRACK_impl (op=,
lineno=,
filename=) at /usr/local/src/conda/python-3.8.16/Modules/gcmodule.c:1951
1951    /usr/local/src/conda/python-3.8.16/Modules/gcmodule.c: No such file or directory.

Output from faulthandler:
Current thread 0x00007f29b99d4280 (most recent call first):
File "/home/docker/src/src/carla_env_custom.py", line 638 in _try_spawn_random_walker_at
File "/home/docker/src/src/carla_env_custom.py", line 568 in _spawn_surrounding_pedestrians
File "/home/docker/src/src/carla_env_custom.py", line 492 in reset
File "/home/docker/src/src/carla_env_custom.py", line 750 in
Segmentation fault (core dumped)

In another machine, output from faulthandler:
Thread 0x00007f20c8141280 (most recent call first):
  File "/home/docker/src/src/carla_env_custom.py", line 635 in _try_spawn_random_walker_at
  File "/home/docker/src/src/carla_env_custom.py", line 567 in _spawn_surrounding_pedestrians
  File "/home/docker/src/src/carla_env_custom.py", line 491 in reset
  File "/home/docker/src/src/carla_env_custom.py", line 749 in <module>
Segmentation fault (core dumped)

Shows issue with following line:
walker_controller_actor.start()

After testing 26 times on delta-ubuntu1, 40 times on shevs-laptop, it seems that the seg fault occurs everytime with respect to the following line:
walker_controller_actor.go_to_location()
This is also confirmed in the issue at https://github.com/carla-simulator/carla/issues/4350 and https://github.com/carla-simulator/carla/issues/6043


Add a disable subPath flag for prometheus-db volume

Hi !
We're facing an annoying issue because a subPath for prometheus-db is hardcoded for a long (long) time in this operator. While I completely understand the reasons and history for this to be, in some cases (like rancher + local-path-provisionner, or any other local path implementations ..) we want to be able to disable the use of such subPath.
Some workarounds have already been submitted, but they are now deprecated & I'd rather see some native options to disable subPath instead of applying a kubectl patch which is not really compliant with our gitops policy.
more infos :

https://vividcode.io/prometheus-operator-persistence-with-rancher-local-path-provisioner/

This should help fixing :

https://github.com/rancher/local-path-provisioner/issues/4
https://github.com/rancher/rancher/issues/14836
https://github.com/rancher/rancher/issues/17256

some other related issues on prometheus & openstack bug tracker

Don't hesitate to ask me some modifications & user documentation updates too (if it's relevant for you) !
thanks a lot

This issue annoy me for a long time.
In my test case, this prometheus operator can not work with any local provisioner provider~

I dug around, and the original issue why we introduced this in the first place was: https://github.com/coreos/prometheus-operator/issues/29. Since the root cause was actually fixed in Prometheus, I wonder if we could even make this the new default, and only retain the subpath for those that have it set (for backward compatibility).

I didn't wanted to change the default behavior at this point, but I definitively agree on the idea to disable subPath by default at some point. We should poke some maintainers about that !
GlusterFS & NFS (and some) other compatibility historically required subPath, but I think it should remains an edge case option rather than the default option.

We should poke some maintainers about that !

I'm a maintainer of both projects :)
I think I'm ok with the change as is. Could you just mark the field as deprecated immediately? That way when we come around to do a major cleanup of things (maybe a new API version), that we know to take care of the behavior. Thanks!

:+1: I'm doing that

Added a deprecation notice as comment
types.go
// Deprecated: subPath usage will be disabled by default in a future release, this option will become unnecessary.
// DisableMountSubPath allows to remove any subPath usage in volume mounts.
DisableMountSubPath bool `json:"disableMountSubPath,omitempty"`

Perfect :+1: thank you! :tada:


Docker-for-mac installation guide is outdated

Previous versions of k8s for mac use context docker-for-desktop, but the latest (<IP_ADDRESS>) docker for mac use docker-desktop context. This is minor change, while much more significant is, that now it does not contains the  information about the daemon.
Starting Tilt (v0.10.7, built 2019-09-11)…
Error: NewDockerServerVersion: Cannot connect to the Docker daemon at tcp://<IP_ADDRESS>:2376. Is the docker daemon running?

Hi @kvokka - good point about the mac install instructions, will fix that.
As for the other error -- you updated to Docker <IP_ADDRESS> and now Tilt can't find the Docker daemon? can you provide the following:

tilt doctor
docker --version
echo $DOCKER_HOST
echo $DOCKER_API_VERSION

cc @nicks who was maybe looking into something similar?

Thank you for a cush a quick response!
Here is all requested information:
$ tilt doctor
Tilt: v0.10.7, built 2019-09-11
System: darwin-amd64
---
Docker
- Host: tcp://<IP_ADDRESS>:2376
- Version: 1.39
- Builder: 1
---
Kubernetes
- Env: minikube
- Context: minikube
- Cluster Name: minikube
- Namespace: default
- Container Runtime: docker
- Version: v1.15.2
---
Thanks for seeing the Tilt Doctor!
Please send this info along when filing bug reports. 💗

$ docker --version
Docker version 19.03.2, build 6a30dfc

$ echo $DOCKER_HOST
tcp://<IP_ADDRESS>:2376

$ echo $DOCKER_API_VERSION  # it does not set!

Feel free to ask any details and thank you for a great tool!

Hmm, Tilt isn't picking up that you've set your k8s context to docker for mac -- it still thinks you're using minikube, and presumably it'll try to use the minikube docker daemon. if you correctly set your kubecontext to docker for mac and try tilt doctor/tilt up again, does stuff work?

After the previous message i switched back to minikube for a while, and now trying again Tilt works as it should.
The only special action which i did was restart of the mac (for another thing), but maybe it helps.
Not it fixed and I can not reproduce the issue.
@maiamcc Thank you for your help!

Hmm... sounds like you were able to figure out the problem! Yay!
For reference: if you have the DOCKER_HOST env variable set, Tilt will respect that:
https://docs.tilt.dev/faq.html#q-how-do-i-tell-tilt-to-build-my-images-with-a-remote-docker-server
In this case, it sounds like you had Tilt configured to talk to the Docker server in minikube.