Unable to install divi extension

Problem Description
Installing a plugin by following provided two guides is not working anymore. Could also reproduce outside a docker container.
Steps To Reproduce

https://www.elegantthemes.com/documentation/developers/divi-development-environment/ (docker)
https://www.elegantthemes.com/documentation/developers/create-divi-extension/

Screenshot and/or gif
etdev@divi-dev:/workspace$ cd wordpress/wp-content/plugins/
etdev@divi-dev:/workspace/wordpress/wp-content/plugins$ npx create-divi-extension my-extension
npx: installed 174 in 22.834s
Creating a new Divi extension in /workspace/wordpress/wp-content/plugins/my-extension.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and divi-scripts...
yarn add v1.15.2
info No lockfile found.
[1/4] Resolving packages...
warning divi-scripts ><EMAIL_ADDRESS>This loader has been deprecated. Please use eslint-webpack-plugin
warning divi-scripts ><EMAIL_ADDRESS>babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
warning divi-scripts ><EMAIL_ADDRESS>out of support
warning divi-scripts ><EMAIL_ADDRESS>Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
warning divi-scripts ><EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning divi-scripts > autoprefixer ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning divi-scripts > divi-dev-utils ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning divi-scripts > @babel/runtime ><EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
warning divi-scripts > css-loader > cssnano > autoprefixer ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning divi-scripts > node-sass ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
warning divi-scripts > node-sass > node-gyp ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
warning divi-scripts > uglifyjs-webpack-plugin ><EMAIL_ADDRESS>support for ECMAScript is superseded by uglify-js as of v3.13.0
warning divi-scripts > webpack-dev-server ><EMAIL_ADDRESS>Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning divi-scripts > webpack-dev-server > chokidar ><EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning divi-scripts > webpack ><EMAIL_ADDRESS>This is probably built in to whatever tool you're using. If you still need it... idk
warning divi-scripts > fsevents ><EMAIL_ADDRESS>Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
warning divi-scripts > fsevents > node-pre-gyp ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
warning divi-scripts > grunt-contrib-compress ><EMAIL_ADDRESS>The zlib module provides APIs for brotli compression/decompression starting with Node.js v10.16.0, please use it over iltorb
warning divi-scripts > svgr ><EMAIL_ADDRESS>This SVGO version is no longer supported. Upgrade to v2.x.x.
warning divi-scripts > css-loader > cssnano > postcss-merge-rules ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning divi-scripts > css-loader > cssnano > postcss-svgo ><EMAIL_ADDRESS>This SVGO version is no longer supported. Upgrade to v2.x.x.
warning divi-scripts > node-sass > request ><EMAIL_ADDRESS>this library is no longer supported
warning divi-scripts > fsevents > node-pre-gyp > request ><EMAIL_ADDRESS>this library is no longer supported
warning divi-scripts > node-sass > request ><EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning divi-scripts > webpack-dev-server > sockjs ><EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning divi-scripts > fsevents > node-pre-gyp > request ><EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
warning divi-scripts > node-sass > node-gyp ><EMAIL_ADDRESS>This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
warning divi-scripts > fsevents > node-pre-gyp ><EMAIL_ADDRESS>This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
warning divi-scripts > webpack > watchpack > watchpack-chokidar2 ><EMAIL_ADDRESS>Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
warning divi-scripts > fsevents > node-pre-gyp > tar-pack ><EMAIL_ADDRESS>This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
warning divi-scripts > fsevents > node-pre-gyp ><EMAIL_ADDRESS>This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
warning divi-scripts > fsevents > node-pre-gyp > request ><EMAIL_ADDRESS>This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
warning divi-scripts > svgr > svgo ><EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
warning divi-scripts > css-loader > cssnano > postcss-merge-rules > caniuse-api ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning divi-scripts > jest > @jest/core > jest-haste-map ><EMAIL_ADDRESS>some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
warning divi-scripts > eslint > file-entry-cache > flat-cache ><EMAIL_ADDRESS>CircularJSON is in maintenance only, flatted is its successor.
warning divi-scripts > webpack > node-libs-browser > url ><EMAIL_ADDRESS>The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
warning divi-scripts > fsevents > node-pre-gyp > hawk ><EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning divi-scripts > fsevents > node-pre-gyp > hawk ><EMAIL_ADDRESS>This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
warning divi-scripts > fsevents > node-pre-gyp > hawk > sntp ><EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning divi-scripts > fsevents > node-pre-gyp > hawk ><EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning divi-scripts > fsevents > node-pre-gyp > hawk > boom ><EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning divi-scripts > fsevents > node-pre-gyp > hawk ><EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning divi-scripts > fsevents > node-pre-gyp > hawk > cryptiles ><EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning divi-scripts > webpack-dev-server > chokidar > braces > snapdragon ><EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
warning divi-scripts > babel-jest > babel-plugin-istanbul > istanbul-lib-instrument > babel-template > babel-runtime ><EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
warning divi-scripts > svgr > h2x-core > h2x-parse > jsdom ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
warning divi-scripts > css-loader > cssnano > postcss-merge-rules > postcss-selector-parser ><EMAIL_ADDRESS>flatten is deprecated in favor of utility frameworks such as lodash.
warning divi-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve ><EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
warning divi-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve ><EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#deprecated
warning divi-scripts > webpack-dev-server > chokidar > braces > snapdragon > source-map-resolve ><EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
warning divi-scripts > svgr > h2x-core > h2x-parse > jsdom ><EMAIL_ADDRESS>request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
warning divi-scripts > jest > @jest/core > jest-config > jest-environment-jsdom > jsdom ><EMAIL_ADDRESS>Use your platform's native performance.now() and performance.timeOrigin.
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version ">=16". Got "14.21.3"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Aborting installation.
yarnpkg add --exact react react-dom divi-scripts --cwd /workspace/wordpress/wp-content/plugins/my-extension has failed.
Deleting generated file... package.json
Deleting my-extension/ from /workspace/wordpress/wp-content/plugins
Done.

please follow this issue https://github.com/elegantthemes/create-divi-extension/issues/621

Same!

We just fixed the incompatible Grunt and Node versions issue here Package :: Update grunt-wp-i18n dependency to fix incompatible grunt and node version. It should work now. However, it's still require Node 14 (i.e. 14.17.0) due to Divi Builder 4 still use Node 14 as well.
Here the video how the latest update works:
https://user-images.githubusercontent.com/9313128/229263392-c9b987fc-4b7d-46ad-80bc-1716fa910cfd.mp4


Issues with the running of Downsteam.py

Hello, I successfully prepared the environment, and the pre-training goes pretty well, however, when I begin to run the Downstream file, I encountered this issue (attched in the output.txt).
output.txt
There could be some issues with line 364 of the code:
train_data.iloc[:, 1] = scaler.fit_transform(train_data.iloc[:, 1].values.reshape(-1, 1))
I output the shape of the train_data and test_data, it is (2,1)

Hi @cxliangUT, sorry for late reply. there are two columns in the input file, but the shape of train data and test data turns out to be 1-column. Have you modified the code about reading csv files and train-test splitting?


[Feature proposal] align keyword within sections

I'm calling this a "feature proposal" and not an actual request because I don't have any immediate need for it; it's just an idea that came to me, so I'm putting it here to see what others think.
The key behind the implementation is as follows:

The assembler simply enforces alignment with respect to the beginning of the section. Since this only requires keeping track of the current offset within the section, it is well within the possibilities of the assembler.
The linker verifies that the alignment constraints are followed.

Syntax:
This would require a pseudo-instruction (like ds) to be used at the point where alignment is required. I'd suggest just align <expression>, to make it similar to linkerscripts. Of course, <expression> should be an assembly-time constant, and it should be checked for a reasonable range of values.
This instruction would be available for sections of any type.
Assembler behavior:
The assembler would simply insert padding bytes to fulfill the alignment instruction with respect to the beginning of the section. In other words, assuming there was some symbol defined at the beginning of the current section called SectionStart, the align instruction could be replaced by this macro:
align: MACRO
  ds (SectionStart - @) & ((1 << (\1)) - 1)
ENDM

The assembler would also record, as part of the section attributes, the maximum alignment requirement it encounters for each section. (I don't know much about how the object file format works, but I assume there are fields for attributes such as the bank number and base address. The maximum alignment requirement would be another such attribute.)
Note that this means that the assembler wouldn't be required to actually align the section, just record the requested alignment. This value is separate from whatever is indicated as an ALIGN requirement in the section header.
Linker behavior:
There are multiple possible ways the linker can handle these alignment requirements. Since all of the following options essentially build on top of each other, the best idea would be to select one of these options at link time via a linker flag, such as -a fail or -a warn. The options I can think of are as follows:

none: ignore the value recorded by the assembler. This would be useful in limited cases (I can think of one or two situations in which it would help, though), but backwards compatible, and most likely trivial to implement.
warn: place sections as usual, ignoring the maximum alignment requirement recorded by the assembler. However, if this results on any section not meeting this requirement, emit a warning. This might be best for (future) disassemblies, for instance.
fail: same as warn, but causing a hard failure.
default: I can't really think of a better name for this one. For sections that are truly floating, the linker would assume the maximum alignment recorded as the alignment for that section, as if it had been specified via ALIGN in the section header; the same applies to sections in the linkerscript that don't come after an org or align directive. For other sections, it behaves like fail.
override: the most invasive option. Forces all sections to meet the maximum alignment recorded — if the section has a lower alignment requirement specified by ALIGN, the one recorded by the assembler takes precedence, and if the section has an explicit base address that doesn't meet the maximum alignment recorded, this address is rounded upwards to meet it.

I think this properly deals with the issue of having the linker resize sections (this proposal doesn't require the linker to do that), while enabling the use of intra-section alignment.

This could be implemented as part of a larger feature set, which would be specifying an offset in addition to alignment. Intra-section alignment would simply cause the parent section's alignment and offset to be computed such that alignment is respected at the keyword's point.
The linker would simply add the offset to each candidate location for the section. Instead of trying $C000, $C010, $C020 for ALIGN[4], it would try $C003, $C013, $C023 for ALIGN[4,+3]. The syntax should look like an offset (so plus or minus sign required before the expression) added to the ALIGN[] specification. I prefer ALIGN[algn,+ofs] to ALIGN[algn][+ofs] because I think the purpose of both is clearer in the former.
I had some use for alignment with offset at some point (I wanted an ALIGN[8] block with 1 byte before it), so I think it should be useful.

Make sure ALIGN[4,-3+4] gets parsed properly.

Hm, since that'd be really complicated, maybe any expression could be allowed (ALIGN[4,1]) but the plus/minus sign recommended in documentation?

In my experience, some people prefer writing offsets with explicit signs, others without. Why would the manual give opinions on code style, anyway?


Allow to skip docker_py installation

Add a skip_dockerpy flag
Install python-pip only if it's really needed

Fixed in 38739a046861e1a83458a8f9150b209a1f119a35


Template10 1.1.11 - PageHeader back button

I have registered event on NavigationService.FrameFacade.BackRequested event. It is working fine with SystemNavigation back button and hardware button but when the application is in fullscreen mode and the software back button appear, when clicking on the soft button the event is not triggered (it just goes back, but i don't want it goes back). I tried to register even on SystemNavigationManager.GetForCurrentView().BackRequested but nothing.

Thank you for reporting this. If you would like to submit a Pull Request to address it, that would be welcome. Otherwise it might take a bit for me to resolve the issue.


Publish as NuGet package

Currently users have to compile locally and copy the binaries to their project.

Fixed, released in v0.1.0


:sparkles: Bitbucket Phase 2

Added the project service interfaces.

@ctreminiom would you be fine with me doing some :art: in this RP?


fix container image field

@bparees PTAL

I think @jwforres showed me that these values show up in the webconsole when you're instantiating the template, so i think we want a cleaner value.  for jenkins i just went with this:
https://github.com/openshift/origin/blob/master/examples/jenkins/jenkins-ephemeral-template.json#L105
though i do like that your value conveys that it's a meaningless value and how it's actually getting set.
maybe APP_IMAGE_FROM_TRIGGER/MYSQL_IMAGE_FROM_TRIGGER ?  still feels wordy when it's going to show up on the console though.

How about TRIGGER_WILL_SET ?
On Friday, May 13, 2016, Ben Parees<EMAIL_ADDRESS>wrote:

I think @jwforres https://github.com/jwforres showed me that these
values show up in the webconsole when you're instantiating the template, so
i think we want a cleaner value. for jenkins i just went with this:
https://github.com/openshift/origin/blob/master/examples/jenkins/jenkins-ephemeral-template.json#L105
though i do like that your value conveys that it's a meaningless value and
how it's actually getting set.
maybe APP_IMAGE_FROM_TRIGGER/MYSQL_IMAGE_FROM_TRIGGER ? still feels wordy
when it's going to show up on the console though.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/openshift/cakephp-ex/pull/36#issuecomment-219081254

SET_BY_TRIGGER?
help us @jwforres, you're our only hope.

I'm good with SET_BY_TRIGGER, but let's head to Tatooine and see what @jwforres says

let's go with SET_BY_TRIGGER, it sounds like @jwforres is going to make some changes to the console so this value won't be shown if an ICT is defined.

so i merged this prematurely, apparently we want to use an empty string as the value.
@gabemontero can you confirm that:

the DC doesn't blow up with an emptystring image field value?
the web console doesn't blow up when you try to instantiate that template?  (it's going to show something like "image: " i guess, for now)

It does blow up, failing k8s validation:
https://github.com/openshift/origin/blob/master/Godeps/_workspace/src/k8s.io/kubernetes/pkg/api/validation/validation.go#L1311-L1313
On Fri, May 13, 2016 at 2:00 PM, Ben Parees<EMAIL_ADDRESS>wrote:

so i merged this prematurely, apparently we want to use an empty string as
the value.
@gabemontero https://github.com/gabemontero can you confirm that:

the DC doesn't blow up with an emptystring image field value?
the web console doesn't blow up when you try to instantiate that
template? (it's going to show something like "image: " i guess, for now)

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/openshift/cakephp-ex/pull/36#issuecomment-219115787


Travis CI Activation

Can a LinkedIn Github admin please go to https://travis-ci.org/linkedin/dr-elephant/ and click activate? It doesn't cost anything and would be great to see build statuses in PRs. All the supporting infrastructure is in place as of https://github.com/linkedin/dr-elephant/pull/86. Thank you!

I'll follow-up on this and get it activated.

Activated!

Yay!! Thanks @akshayrai. Builds should start showing up soon.


Implement CSS parser

We want to also provide autoindentation and diagnostics for CSS content.
To do so correctly, we need to implement a CSS parser which would need to follow the same principles of the main HTML parser:

Spec compliant whenever possible, but break away whenever it makes sense (eg HTML parser marks implicitly closed tags as errors)
Should be structured in away that makes it as easy as possible to validate its behavior against the CSS spec (eg the HTML tokenizer references the spec in every state)
Keeps in mind performance and avoids unnecessary parts of the spec

If anybody is interested in taking this on, let's first discuss the idea a little.

I've written a CSS tokenizer and parser before. The one I wrote is not really suitable for SuperHTML, as it was intended for a web browser engine. However, I am willing to address this if you let me, making a new one. A few things I wanted to say:

The CSS spec is not as weird and backwards-compatible as the HTML one, so having to break the spec shouldn't be a recurrent problem. In fact, the CSS grammar is designed to be compatible across all levels (versions), without the need to explicitly support it.
As I mentioned, there is a core CSS grammar that is respected by all levels, but then each level can define its own (strictly subset) grammar. So, every valid CSS 2.1 stylesheet is valid according to the CSS core grammar, but not necessarily the other way around. Following the CSS 2.1 grammar can basically lead to more detailed parse errors that, with the core grammar, could be less descriptive or not even considered an error. Personally, I would go with CSS 2.1, as it's also a subset of CSS 1 (and thus backwards-compatible by design). As an example, the core CSS grammar knows about at-rules and can parse them all right, but it doesn't report errors for things like @meida instead of @media (@meida might exist in the future). The only real advantage of going with the core CSS grammar as opposed to CSS 2.1 is performance, but I doubt it makes a significant difference.

Thank you for your interest. Yes I would concur that it's a good idea to support CSS2.1 and more in general I would be interested, over time, to have support for all the fancy stuff that can be done with CSS.
Here's how I would proceed:

make a branch dedicated to the CSS parser
implement a small part of the spec to support a small initial test case (eg h1 { color: red; })
send a PR so I can review and make adjustments to the main structure


AAP-30426: Lightspeed API playbook generation and explanation to accept a new custom_prompt field

Jira Issue: https://issues.redhat.com/browse/AAP-30426
Description
Support customPrompt JSON field for both Playbook Generation and Explanation.
Playbook Generation

The backend expects {goal} or both {goal} and {outline} keywords to be present in the custom_prompt
Depending on if Goal or both Goal and Outline are provided

Playbook Explanation

The backend expects {playbook} keyword to be present in the custom_prompt

Testing
Steps to test

Pull down the PR
make start-backends
make create-application
Run server
Create User API token:

Login into Lightspeed as somebody
Login to http://localhost:8000/admin as Django admin
Create an Access Token for the User you logged into Lightspeed as

Run generation tests:

Valid "custom prompt"

curl -X 'POST' \
'http://localhost:8000/api/v0/ai/generations/' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <access_token_created_above>' \
-d '{
"text": "Install apache",
"customPrompt": "You are an Ansible Expert.  Install apache",
"customPrompt": "You are an Ansible Expert. Generate a playbook to do {goal} along the lines of {outline}"
}'

Response should be OK.

  Install apache",
"customPrompt": "You are an Ansible Expert. Generate a playbook to do {goal} along the lines of something"
}'

Response should represent:
{"customPrompt":["'{outline}' placeholder expected when 'outline' provided."]}

 Explain playbook {playbook}"
}'

Response should be OK.

 Explain playbook something"
}'

Response should represent:
{"customPrompt":["'{playbook}' placeholder expected."]}

Scenarios tested
As above.
Production deployment

[x] This code change is ready for production on its own
[ ] This code change requires the following considerations before going to production:

I believe @TamiTakamiya may be changing the MODEL_ID/SPACE_ID used for Playbook Generation/Explanation.
That however does not affect the changes made here.

I believe @TamiTakamiya may be https://github.com/ansible/ansible-ai-connect-service/pull/1324 the MODEL_ID/SPACE_ID used for Playbook Generation/Explanation.

My change is specifically for fixing AAP-30690, i.e. not to send the granite-3b model_id to WCA Playbook Explanation/Generation APIs. It should not break this.


Remove mode switching behaviour.

This remove the behaviour which would automatically empty the database and create a new one when the pool mode was changed in config. The new behaviour is to log an error and prevent the pool from starting up.
The reason for this is the empty/backup behaviour does not map well onto other database implementations such as postgres, and after discussing with dnldd we agreed that its better for an admin to explicitly make the decision to backup and create a new DB, rather than the code doing it.
#257

Pushed an extra commit which adds some tests for the new DB accessors. This is now ready to review.


Issues with the dev-rule-apis branch

This aims to be a place holder for issues in the dev-rule-apis branch which was contributed by @AngelaMarchi (thanks). In short this contribution adds get\set apis for the rule based controls. The code compiles with no errors.
A few issues:

The [RULES] section should be written in the INP file right after the [CONTROLS] section.
EN_API_FLOAT_TYPE should be used in function calls.
The SYSTEM keyword is being written as SYST. This is due to the w_SYSTEM definition. I think that w_SYSTEM is only used by the rules so the keyword might be changed or some local fix could be made. The same might be for w_RESERV.
Basic descriptions could be added to the writeRuleinInp in rules.c.
Premises and actions are written in a reverse order to the INP.  The outcome is the same but not very user friendly.

To start I'm taking care of 2.

Closing as @AngelaMarchi submitted  #87 to fix these issue, thanks.


Added section Contributing to README

Use virtual environments for isolated development
Install prerequisites
Guide to run tests

Thanks for your interest. I've updated the README to refer to the contributing section  of the documentation and added directories to ignore.

Thanks for your interest. I've updated the README to refer to the contributing section  of the documentation and added directories to ignore.


himportscan upgrade for GHC 9.6

this is on top of #59.

@mergifyio rebase

Thank you! Could you also add an entry to the CircleCI job matrix for GHC 9.6 please?

@wavewave  Oh, you also need to add a stack config for 9.6.2. And a lock file for it. Do you know how or should I add this?

Ah. thanks. Just saw your message here. actually, I don't know how to add that snapshot-*.json file. Could you inform me the command? thanks!

now i read rules_haskell documentation and seems like
bazel run @stackage-unpinned//:pin

was the command to generate. :-)

Ok. the missing snapshot file problem got solved but now I have this.. 🤔
ERROR: /home/runner/.cache/bazel/_bazel_runner/2f1e0776f91a8e59682a44ab965a403c/external/stackage/BUILD.bazel:623:26: in haskell_toolchain_library rule @stackage//:template-haskell:
Traceback (most recent call last):
	File "/home/runner/.cache/bazel/_bazel_runner/2f1e0776f91a8e59682a44ab965a403c/external/rules_haskell/haskell/private/haskell_impl.bzl", line 805, column 13, in haskell_toolchain_library_impl
		fail(
Error in fail:
template-haskell is not a toolchain library.
Check that it ships with your version of GHC.
The following toolchain libraries are available:
{}

Ok. the missing snapshot file problem got solved but now I have this.. 🤔
ERROR: /home/runner/.cache/bazel/_bazel_runner/2f1e0776f91a8e59682a44ab965a403c/external/stackage/BUILD.bazel:623:26: in haskell_toolchain_library rule @stackage//:template-haskell:
Traceback (most recent call last):
	File "/home/runner/.cache/bazel/_bazel_runner/2f1e0776f91a8e59682a44ab965a403c/external/rules_haskell/haskell/private/haskell_impl.bzl", line 805, column 13, in haskell_toolchain_library_impl
		fail(
Error in fail:
template-haskell is not a toolchain library.
Check that it ships with your version of GHC.
The following toolchain libraries are available:
{}

This is https://github.com/tweag/rules_haskell/issues/1920 which has been fixed in rules_haskell 0.18.

Thanks! updated rules_haskell to 0.18.

Certainly Cabal specified in the snapshot (tweag/cabal 4f8c4ab) is not compatible with GHC 9.6. I am not familiar with the modification needed (first of all, why should we use a custom version of Cabal?). Would you check whether there is a working version (or whether needed for a special Cabal)? BTW, on my project, it was working with stock Cabal on GHC 9.6.

Certainly Cabal specified in the snapshot (tweag/cabal 4f8c4ab) is not compatible with GHC 9.6. I am not familiar with the modification needed (first of all, why should we use a custom version of Cabal?). Would you check whether there is a working version (or whether needed for a special Cabal)? BTW, on my project, it was working with stock Cabal on GHC 9.6.

This is related to a problem in Cabal (see https://github.com/tweag/rules_haskell/issues/1832) which has been fixed in Cabal 3.10.1. GHC >= 9.6 includes a recent enough version of Cabal so we don't need the workaround anymore.


vBump azdata extension

Pull Request Test Coverage Report for Build 261302185

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 38.347%

Totals

Change from base Build 261300571:
0.0%

Covered Lines:
19128

Relevant Lines:
45718

💛  - Coveralls


[Snyk] Upgrade com.microsoft.azure:applicationinsights-core from 3.4.14 to 3.4.15

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade com.microsoft.azure:applicationinsights-core from 3.4.14 to 3.4.15.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 22 days ago, on 2023-07-20.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

The PR for Sign In Canada Release 1.4.93 has a newer version of Application Insights which is 3.4.16


Suggestion: Cross-platform UI (Windows, MacOS, Linux)

Is your feature request related to a problem? Please describe.
The application is cool, but so far it only supports Windows OS.
Describe the solution you'd like
AvaloniaUI is a cross-platform, open source, XAML-based framework that is close to WPF.
It would be nice if a GUI based on AvaloniaUI became optional or even core to make it easier to support a cross-platform user interface.
Describe alternatives you've considered
As a cross-platform alternative to AvaloniaUI, I see only Uno Platform.

As a Mac user, would love to contribute in bringing the product to MacOS platform. Regarding desktop development, I'm familiar with ElectronJS, but did some C# (WPF & Windows Forms) and Java (Swing) back in the days.

.NET MAUI might be a good option as well when it goes GA
https://docs.microsoft.com/en-us/dotnet/maui/

.NET MAUI might be a good option as well when it goes GA https://docs.microsoft.com/en-us/dotnet/maui/

MAUI's biggest problem is the lack of Linux support. Some developers may need this.

Have you seen this? Maintained by a MSFT employee
https://github.com/jsuarezruiz/maui-linux

Have you seen this? Maintained by a MSFT employee https://github.com/jsuarezruiz/maui-linux

Thanks for the link, I have not heard that anyone is porting MAUI to Linux.
Based on the status of the project, maui-linux is still in very early development and the rest of the offerings look much better and are already being used by both open-source projects and companies.

Hi, it would be great have this app in macOS, I can help testing it 🚀

The audience of this product is developers, but most developers are using MacOS or Linux as their development environment, only support Windows is the biggest bug...

Hi,
Thanks everyone for proposing this change. I read on Twitter, Hacker News, Reddit and here that a lot of people were wondering whether the app could be cross-platform or not.
Lookback on why DevToys is only on Windows today
Here is my very personal (and probably biased) feeling about it:
In August, @btiteux and I discovered DevBox and DevUtils apps for macOS. We've been amazed by how they fit well the macOS environment (look & feel + integration of OS-specific features). We looked at what existed on Windows and found nothing as good. That was one of the big motivations for making DevToys: having an app for which the look & feel fit very well the OS (in particular Win11) and integrates OS-specific features (navigation, tiles...)
Other factors are that @btiteux and I are very comfortable with Windows, we don't own a Mac and never need a Linux for work (it's been years I didn't start a Linux machine). Adding to this the fact that we wanted a sleek native UI, at the end of the day we didn't have much interest in doing an app with a cross-platform UI like Electron or a platform-specific UI (Xamarin/Uno) or a native app on each platform, mostly because we are were only 2 people working on this app.
Quickly looking at the macOS and Linux "developer toolbox" market, we can see there are already plenty of famous and super cool apps like DevBox, DevUtils, Boop, Text Pieces, meanwhile, not much on Windows. We didn't really want to spend energy at "competing" with other apps on a specific OS, even if they're paid app and that we're free. Not that we can't, but it wasn't our goal at that time.
Perspective
I'm personally not against the idea of having a cross-platform app, but that would be under some conditions:

Not regressing the DevToys UI on Windows (at all).
Keep supporting Windows-specific feature. In parallel, we can also of course support macOS and Linux-specific features.
Making sure the UI/UX on macOS and Linux is coherent with the Windows approach, while also being coherent with macOS and Linux ecosystem. What I mean here is that the look & feel would fit the system, while the navigation in the app would be the same (or as close as possible) than the original one on Windows.
I'd need to invest into a Mac (not a big deal).

Please tell me if I'm mistaken here, but with these first 3 conditions above, I feel like Electron should be eliminated from the equation. MUI isn't ready yet. Uno may not allow to keep the exact same UI on Windows due to limitations (please tell me if I'm wrong).
Going forward / TL;DR
With that all said, perhaps the best thing to do from user perspective is to make the app native to each platform. But that requires a ton of resource and energy from us (@btiteux and I). I'm sure we can count on the help of the community, but since every contribution depends on free time and motivation of everyone, I'm hesitant at taking this direction if it has low chances to be completed with the same level of quality that we tried to set for the current Windows app.

The audience of this product is developers, but most developers are using MacOS or Linux as their development environment, only support Windows is the biggest bug...

Have stats to back that up?

The audience of this product is developers, but most developers are using MacOS or Linux as their development environment, only support Windows is the biggest bug...

Have stats to back that up?

Perhaps @readthecodes refers to this: https://insights.stackoverflow.com/survey/2019#technology-_-developers-primary-operating-systems
We can see that about 52.5% developers are using either macOS or Linux.

With a rising trend towards MacOS,
https://insights.stackoverflow.com/survey/2021#most-popular-technologies-op-sys-prof
I especially believe it's gonna continue in this direction with the recent introduction of Apple ARM.

Anyone tried to execute DevTools it in Mac or Linux using Wine?

Anyone tried to execute DevTools it in Mac or Linux using Wine?

I don't expect it would work in Wine. DevToys is a UWP app, not a "classic" Win32 app. It requires a sandbox that I doubt Wine supports.

As a Mac user, I really need DevToys ~

Hi 🖐,
I think electron can be a way to have DevToy cross-platform. @veler , I know you fell like electron it is not the good alternative but let me try to convince you.
I have memorize that You want (at least) two thinks for DevToys :

To be used on Windows
To fit the Os eco system design. (here win 11)

Windows design system is : Fluent Ui. During the rework for win 11 and Microsoft have work also to make their design system compatible in other platform. Microsoft propose more and more applications using electron like Teams, the new Office 365, and I think soon microsoft Loop. With one drive, outlook, office 365 the web app from microsoft should fit for the better to the Fluent UI design system.
Now, if DevToys can be cross-platform you can have a project in TypeScript or Javascript call maybe DevToys common block and then have three other project that implement electron and the "design" of the differents OS with a :

DevToys Windows project
DevToys MacOs project
DevToys Linux Project

I can talk for windows, if we want to make it fit the FluentUI design (Win11) here some link to a React Component librairy made by microsoft for fluent UI design :
https://www.microsoft.com/design/fluent/#/
https://docs.microsoft.com/en-us/fluent-ui/web-components/
https://github.com/microsoft/fluentui
I don't really search for other Os but i am sure the community know some web component librairies to make DevToys fit MacOs and Linux.
I think Devtoys is a must have for developer and we need to spread the world.
Hope it can help ! 😊

Wouldn't Blazor over webview2(or electron) with Fluent UI work great for this? You could even release a web-based version for people who have no permission to install this on their work computer

It looks like someone in Japan is working on a native mac version of DevToys. https://github.com/ObuchiYuki/DevToysMac It seems to be missing a few features, but seems to be able to reproduce most of them.

It looks like someone in Japan is working on a native mac version of DevToys. https://github.com/ObuchiYuki/DevToysMac It seems to be missing a few features, but seems to be able to reproduce most of them.

Thanks for sharing this @Willam2348 ! We weren't aware of it and believe it may cause some confusion considering the approach this person took in this portage is different than ours on some core values. We reached out to the developer here: https://github.com/ObuchiYuki/DevToysMac/issues/12

Hi, I'm currently working on iOS and macOS version of DevToys. I can contribute to DevToys if it is needed.
https://github.com/0x0c/AppleDevToys

https://github.com/ObuchiYuki/DevToysMac

Maybe you can join forces with https://github.com/ObuchiYuki/DevToysMac?

Hi, I'm currently developing iOS and macOS version of DevToys. I can contribute to DevToys if it is needed. https://github.com/0x0c/AppleDevToys

Maybe you can join forces with https://github.com/ObuchiYuki/DevToysMac?

@AmiK2001 Yes, both projects are using Swift so we can use same logic with same code. However, codes for composing user interface are not compatible because of different framework we use (AppKit and UIKit).

@veler I have experience in C#, maybe I could help with this, I agree on sharing the most codebase we can, but also having native feeling UIs

Why do so many of you even want devtoys on MacOS? There's already DevUtils with most of the same features.

@Yopler Photino is a better alternative to electron I believe. And even better would be if someone would use Uno/AvaloniaUI to port it.

It looks like someone is working on a Vscode extension version of DevToys.
https://github.com/KeJunMao/vscode-devtoys

I'm sad no one is working in a version for Linux :'(

Linux user here, i can contribute for cross-platform development (Windows, MacOS and Linux)

https://smalldev.tools/

Anybody is willing to create and contribute to a DevToysLinux using GTK + Python? I really want a DevToys Linux app and would like to contribute. I have UI knowledge only in .NET and Flutter, but I'm willing to learn.
In my opnion and following the tool creator's thoughts, if we use a cross platform framework, we will not respect the idea of the application being as native as possible, and as we already have DevToysMac and Windows, writing a cross platform application would make these 2 projects redundant.

@admodev, @kphanipavan and everyone interested in DevToys for Linux, this is a POC of a SQL Formatter in Flutter using code_editor and yaru packages. I coded this in my spare time, I really want to contribute as no one is developing an alternative to Linux.
I also coded using the author's recommendations in this edition of DevToys for Mac, as the list of tools that are not hard-coded.
The yaru package is the official "Ubuntu way" to code an application in Flutter. The interface is not in the final state and on the same level as the Windows and Mac versions, it's just a POC, but if the community agrees, I want to invest my time in the project to make it equal to the other versions.
If anyone wants to contribute, the repository is https://github.com/gumbarros/DevToysLinux.

@admodev, @kphanipavan, and everyone interested in DevToys for Linux, this is a POC of a SQL Formatter in Flutter using code_editor and yaru packages. I coded this in my spare time, I really want to contribute as no one is developing an alternative to Linux.
I also coded using the author's recommendations in this edition of DevToys for Mac, as the list of tools that are not hard-coded.
The yaru package is the official "Ubuntu way" to code an application in Flutter. The interface is not in the final state and on the same level as the Windows and Mac versions, it's just a POC, but if the community agrees, I want to invest my time in the project to make it equal to the other versions.
If anyone wants to contribute, the repository is https://github.com/gumbarros/DevToysLinux.

Amazing bro,
Thank you

This is the current state of DevToys Linux if anyone wants to contribute. I will be contributing in my free time as possible.
https://github.com/gumbarros/DevToysLinux/issues/3

Hi everyone,
It's been a while we didn't give news on this thread.
As an update, @btiteux  and I are starting to work on DevToys 2.0 and we actively look at cross-platform support. So far, the idea we have is to keep a native app on Windows, but migrate from UWP to WASDK, which would be .Net 6 (hooray!).
In parallel, we would port the whole app to a PWA, using .Net 6 too (thanks to Uno Platform), which would make the app available on MacOS and Linux from a web browser. We would keep the app working totally offline, apart from downloading it through the web browser of course. In addition, we're thinking about making the app working fully in CLI (so no GUI at all).
Finally, once all this is done, we will look into porting the app to a more native UI on Mac and Linux. What blocks us from doing it immediately is some issues with WebView component on .Net GUI solution on Mac and Linux (Avalonia, Uno, MAUI) that makes the Monaco Editor being difficult to integrate at the moment. We looked at how we could replace Monaco Editor by something else, but there's no great answer at the moment and people seem to love having the same editor than Visual Studio Code integrated directly into our app.
This whole work will take a few months. No ETA for now.
Thanks everyone for your support!

This project exists and is available through flatpak https://github.com/aleiepure/devtoolbox, perhaps  both projects can work together
I'm not associated with the project, I recently discovered DevToys and was looking for a similar app on linux and discovered this project on flathub.

This project exists and is available through flatpak https://github.com/aleiepure/devtoolbox, perhaps both projects can work together
I'm not associated with the project, I recently discovered DevToys and was looking for a similar app on linux and discovered this project on flathub.

Is it possible to get it from AUR?

While reading through the comments: please, do not consider Electron (or alternatives).
We all have a web browser already, don't force us to download another one just to run one single app that consumes twice CPU and memory as needed. Electron is a toolkit designed for companies that can't afford the development of several apps that does the same thing (and don't want to maintain a codebase made of several programming languages).
As open source developers, we are not tied to these constraints.

don't force us to download another one just to run one single app that consumes twice CPU and memory as needed
https://github.com/veler/DevToys/issues/156#issuecomment-1581529544

I was already surprised that the download size of DevToys is 159mb (https://github.com/veler/DevToys/releases/tag/v<IP_ADDRESS>).
Compare this to 3 popular Electron apps:

Postman is 167mb
1Password is 138mb
Discord is 91mb

Of course, this is not the unpacked size of those apps, and I'm sure at least Discord will install a bunch of updates after installing, but I think Electron would be okay for this project. Everyone uses Visual Studio Code, anyway:

https://survey.stackoverflow.co/2023/#integrated-development-environment

You're talking about disk space which does neither impact your computer's reactivity nor the program's performance and startup time.
I find the percentage of products using Electron pretty irrelevant in the process of choosing the right technology.

You're talking about disk space which does neither affect your computer's reactivity nor the program's performance and startup time. I find the percentage of products using Electron pretty irrelevant in the process of choosing the right technology.

What about the RAM memory consumption?

The audience of this product is developers, but most developers are using MacOS or Linux as their development environment, only support Windows is the biggest bug...

I agree 100%. Linux is THE developer platform. It makes no sense to have a windows only version.

In August, @btiteux and I discovered DevBox and DevUtils apps for macOS. We've been amazed by how they fit well the macOS environment

I don't see it this way. The DevToys application (with a few tweaks) could fit very well with macOS. It's crucial that we make native apps, instead of using shortcuts like Electron, though I do think WASDK or Uno Platform would work well for our purposes. Moreover, most programmers use macOS or Linux, so I think a more unified application couldn't hurt.

I would sure like this for Linux as well :)

There is a nice alternative to Electron called Tauri which reuses the system web engine meaning small app size (hello world is less than 1MB) and lower memory usage.

Hi, Any update? :) 2024 is right around the corner,
Its will be a big hit in MacOS

Hi, Any update? :) 2024 is right around the corner,
Its will be a big hit in MacOS

Hello, we are working on the v2 supporting Windows and MacOs you can check the progress on the v2 branch.
Linux support is experimental for the moment.

Hi, Any update? :) 2024 is right around the corner,
Its will be a big hit in MacOS

Hello, we are working on the v2 supporting Windows and MacOs you can check the progress on the v2 branch.
Linux support is experimental for the moment.

Hello,
I'd add that we ported more than 50% of the tools to the new version. We're making progress! 😁

Update: It remains us 4 tools to migrate from DevToys 1.0 to 2.0, along with finishing some touch up (which are in progress) and prepare release material (installers, website...etc), which we didn't start yet.
We're hoping for a preview release in April/May for Windows Mac and Linux.

@veler Saw you migrate 1 tool this weekend
keep the great work! looking forward to use it on my Mac :)

Hello everyone, I have a question :
Is AvaloniaUI compatible with standard Win32 controls?
It would be great to have a version of DevToys with native Windows controls (as this will allow much greater customization).

We are looking forward to the release of the cross-platform version.
Arch Linux is ready for testing :heart:

If you use the "new" main branch (cross platform DevToys v2). You should be able to build the Linux version. still experimental for the moment but we are working on it.

@btiteux
Do you mean that I can now test DevToys by cloning all the files from the v2 branch?

Yes there's no v2 branch anymore we merge the new DevToys version for MacOs, Linux  and windows in the main branch.

Update: It remains us 4 tools to migrate from DevToys 1.0 to 2.0, along with finishing some touch up (which are in progress) and prepare release material (installers, website...etc), which we didn't start yet. We're hoping for a preview release in April/May for Windows Mac and Linux.

Another update:
We're pretty much feature complete!
We wrote a documentation. It remains just a few pages to finish. In parallel, we're doing a refresh of our website, along with automating the creation of installers / packages ready to be published.
Not going to lie: we won't release it in April. Maybe not in May either. But for sure, it's coming soon 😁

Another update:
If everything goes according to our plan, beta release on June 11th 2024 👀

I gave a try to https://github.com/DevToys-app/DevToys/releases/tag/v<IP_ADDRESS> on my M1 MacBook, x64 is working fine via Rosetta so far but arm64 gave this error:

I gave a try to v<IP_ADDRESS> (release) on my M1 MacBook, x64 is working fine via Rosetta so far but arm64 gave this error:

using xattr -r -d com.apple.quarantine DevToys.app/

using xattr -r -d com.apple.quarantine /Applications/DevToys.app/

Oh thanks, I knew about using Ctrl-click for circumventing the "[App name] cannot be opened because the developer cannot be verified" message but didn't know about this

Hi everyone,
I see some of your are excited by the release on Github. I'm hoping this message your encountered will vanish when installing it through Homebrew.
https://github.com/Homebrew/homebrew-cask/pull/175585
Please note that we're not done releasing the app. Publishing the release on Github was the first step. Next is to get Homebrew, Winget and other done. Then update our website. I'm hoping to get it done by the end of the day.
Cheers

I just wanted to confirm that installation through Homebrew is working flawlessly:
$ brew info devtoys
==> devtoys: <IP_ADDRESS>
https://github.com/DevToys-app/DevToys
Not installed
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/d/devtoys.rb
==> Name
DevToys
==> Description
Utilities designed to make common development tasks easier
==> Artifacts
DevToys.app (App)
==> Analytics
install: 976 (30 days), 4,484 (90 days), 16,249 (365 days)

$ brew install --cask devtoys
==> Downloading https://github.com/DevToys-app/DevToys/releases/download/v<IP_ADDRESS>/devtoys_osx_arm64.zip
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/411493648/0dd4fbb6-96a7-48f1-963b-7ec36a39edc9?X-Amz-Algorithm=AWS4-HMAC-SHA256&
########################################################################################################################################################################### 100.0%
==> Installing Cask devtoys
==> Moving App 'DevToys.app' to '/Applications/DevToys.app'
Password:
🍺  devtoys was successfully installed!

Thanks for your work @veler!

Just tried to install it from Homebrew but it gave me same "DevToys.app is damaged and can't be opened" as was mentioned above.
xattr -r -d com.apple.quarantine /Applications/DevToys.app/

Fixed the problem

Same here, brew install devtoys works but then it says it's damaged.

@ABAG603 @matteocontrini that because the Apple development verified signature needs 99 USD per year

Hi everyone,
Thanks for your feedback. We got an issue tracking this problem here, and we will try to address it as soon as possible: https://github.com/microsoft/winget-pkgs/pull/156567
Meanwhile, I'm thrilled to announce that DevToys 2.0 is now officially available on Windows, Mac and Linux! 🚀
We updated our website and published an announcement and documentation: https://devtoys.app/blog/announcing-devtoys-2.0-preview
Thanks everyone for your patience and support! If you enjoy using DevToys, I would be grateful if you could spread the word among your friends and colleagues. 😅 Your support means the world to us!
Thank you once again for being a part of our community.


Couldn't Reproduce the results.

Hi.
I found your work interesting. Therefore, I decided to work on this topic which is new to me. I'm planning to start some work on medical image segmentation and found your article very interesting.
I tried to reproduce the results for both datasets. For example, train on Kvasir-SEG and test on Kvasir-SEG provided the train/test split by you.  However, I failed to reproduce the results mentioned in the paper. I tried to run with and without pre-train weights. I also tried to re-train the code 2 times, but still failed to reproduce the results. I can reproduce results 2-3% less compared to what was mentioned in the paper. I was using torch 1.10.0 and cuda 11.3.
Could you please let me know any special tricks or library versions or what strategy should I follow to reproduce the results?
Thank you.

Hi mustansarfiaz, thanks for checking out our work!
The reported results were from our first full run with this method, however we have since noticed random variation in the results on repeated runs since we did not seed the initialisation. We did use torch 1.9.0 and cuda 11.1, so you may notice a benefit from using the same versions, but it is more likely to be the random variation in initialisation which causes the difference in results you have observed.


Start script doesn't use kvm when not supported

The start script checks if the computer supports kvm before spawning qemu. If kvm is not supported the script doesn't use it.
In some cases it will try to use kvm when it is not available. Look at the notes for this FAQ question.
I have only tested this on my Ubuntu virtual box which does not support kvm.

Nice idea! :-D Could you be able to change it to use Javascript instead of egrep? We are trying to remove dependencies on external tools when possible... :-P

Could you be able to change it to use Javascript instead of egrep?

It uses js now.

Great :+1: 1:


migration_area_baidu excludes area from param area

Describe the bug
migration_area_baidu show all areas except the area in param area,
To Reproduce
import akshare as ak

df = ak.migration_area_baidu(area="杭州市", indicator="move_out", date="20240401")
df1 = df[df["city_name"] == "杭州市"]
df2 = df[df["city_name"] == "嘉兴市"]
print("--df1--")
print(df1)
print("--df2--")
print(df2)

df1 is empty, but it should not be empty
df2 is not empty, but it should be empty
Expected behavior
migration_area_baidu return the data for param area only
Desktop (please complete the following information):

OS: Linux
Browser chromium
Version 1.13.69 (akshare)

Describe the bug migration_area_baidu show all areas except the area in param area,
To Reproduce
import akshare as ak

df = ak.migration_area_baidu(area="杭州市", indicator="move_out", date="20240401")
df1 = df[df["city_name"] == "杭州市"]
df2 = df[df["city_name"] == "嘉兴市"]
print("--df1--")
print(df1)
print("--df2--")
print(df2)

df1 is empty, but it should not be empty df2 is not empty, but it should be empty
Expected behavior migration_area_baidu return the data for param area only
Desktop (please complete the following information):

OS: Linux
Browser chromium
Version 1.13.69 (akshare)

接口正常

接口正常

ak.migration_area_baidu(area="杭州市", indicator="move_out", date="20240401")

应该返回杭州的数据，实际返回除了杭州以外所有其他城市的数据

接口正常

ak.migration_area_baidu(area="杭州市", indicator="move_out", date="20240401")

应该返回杭州的数据，实际返回除了杭州以外所有其他城市的数据

参照目标网站

目标网站：https://qianxi.baidu.com/?from=shoubai#city=0
选杭州，就只显示杭州的数据


Cloudflare seem to change their technology

Describe the bug

Hooman version: 1.2.5
Node.js version: 12.17.0
OS & version:win10

Be able to require web page (http://www.javlibrary.com/)

write here

get an error

write here

const Humanoid = require("@subns/humanoid-js");
let humanoid = new Humanoid();
humanoid.get("http://www.javlibrary.com/")
.then(res => {
console.log(res.body) // ...
})
.catch(err => {
console.error(err)
})
Checklist

[ X ] I have tried my code with the latest version of Node.js and hooman.

Why are you using hooman with new operator? Hooman is not a constructor. BTW the mentioned site worked fine for me.


HADOOP-19216. Upgrade Guice from 4.0 to 5.1.0 to support Java 17

Description of PR
Guice supports Java 17 since 5.1.0, see https://github.com/google/guice/issues/1536
How was this patch tested?
Exsiting CI.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
17m 25s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+0 :ok:
shelldocs
0m  0s

Shelldocs was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
14m 33s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
36m 42s

trunk passed

+1 :green_heart:
compile
19m 21s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
compile
17m 47s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
mvnsite
25m 54s

trunk passed

+1 :green_heart:
javadoc
9m  3s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
7m 58s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
shadedclient
55m 29s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 35s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
35m 43s

the patch passed

+1 :green_heart:
compile
18m 58s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javac
18m 58s

the patch passed

+1 :green_heart:
compile
17m 43s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
javac
17m 43s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
18m 17s

the patch passed

+1 :green_heart:
shellcheck
0m  0s

No new issues.

+1 :green_heart:
javadoc
8m 58s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
7m 57s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
shadedclient
56m 29s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
813m 14s
/patch-unit-root.txt
root in the patch passed.

+1 :green_heart:
asflicense
1m 36s

The patch does not generate ASF License warnings.

1153m 13s

Reason
Tests

Failed junit tests
hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy

hadoop.hdfs.server.blockmanagement.TestDatanodeManager

hadoop.hdfs.server.federation.router.TestRouterRpc

hadoop.hdfs.server.federation.router.TestRouterClientRejectOverload

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6913/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6913

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint shellcheck shelldocs

uname
Linux 07e01a75c8e7 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 77bdc12039e838c735d0ed9e29b8db8a0786eddd

Default Java
Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6913/1/testReport/

Max. process+thread count
3874 (vs. ulimit of 5500)

modules
C: hadoop-project . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6913/1/console

versions
git=2.25.1 maven=3.6.3 shellcheck=0.7.0

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@ayushtkn thanks for checking! BTW, are you familiar with Hadoop CI infra? I'm stuck on setting up Java 17 tests, any help is appreciated https://github.com/apache/hadoop/pull/6914

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 46s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+0 :ok:
shelldocs
0m  0s

Shelldocs was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
14m 14s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
36m 39s

trunk passed

+1 :green_heart:
compile
19m 25s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
compile
17m 52s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
mvnsite
24m 18s

trunk passed

+1 :green_heart:
javadoc
9m  1s

trunk passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
7m 54s

trunk passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
shadedclient
55m 15s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 35s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
35m 15s

the patch passed

+1 :green_heart:
compile
18m 41s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javac
18m 41s

the patch passed

+1 :green_heart:
compile
17m 37s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
javac
17m 37s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
17m 58s

the patch passed

+1 :green_heart:
shellcheck
0m  0s

No new issues.

+1 :green_heart:
javadoc
9m  0s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
7m 53s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
shadedclient
56m 18s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
809m 29s
/patch-unit-root.txt
root in the patch passed.

+1 :green_heart:
asflicense
1m 38s

The patch does not generate ASF License warnings.

1129m 17s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.blockmanagement.TestDatanodeManager

hadoop.hdfs.server.datanode.TestDataNodeMetrics

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6913/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6913

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint shellcheck shelldocs

uname
Linux 4a1e9eee8673 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 77bdc12039e838c735d0ed9e29b8db8a0786eddd

Default Java
Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6913/2/testReport/

Max. process+thread count
3875 (vs. ulimit of 5500)

modules
C: hadoop-project . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6913/2/console

versions
git=2.25.1 maven=3.6.3 shellcheck=0.7.0

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@pan3793 can you do a PR for branch-3.4; if yetus is happy you can merge without needing any upvotes

@steveloughran https://github.com/apache/hadoop/pull/6930 is opened for 3.4 backporting


Require spellbook in inventory for player character to use spells

User Story
As a game designer, I'd like to restrict the use of spells to characters who possess a spellbook.
Acceptance Criteria

Spells, and associated spellbook menus, are only accessible if a character has a spellbook in their inventory

Notes
There is already an asset available for the spellbook as per #181.

Why is this feature needed? Please describe the problem your requested feature wants to solve
There is not currently any requirements for a player character to be able to access spells.
Describe the solution you'd like
Using already existing assets, a spellbook item should be created that allows the use of spells. Without this item in their inventory, a player should not be able to cast spells.
The reason for this change is to strengthen thematic elements; in a fantasy world, the arcane arts are not innately accessible by everyone. So, requiring a magical item as a prerequisite, like a spellbook, makes narrative sense.

After receiving user feedback, it has been decided that this issue will not be completed.


Two-finger scrolling on Macbook causes crash

Scrolling down in the main panel log view past the bottom with the two-finger method on Macbooks causes the app to crash when it's done too quickly.  If you swipe slowly its fine, but a quick swipe when its already at the bottom of the log will cause the app to crash with no error message.

Can you provide more info, like which terminal emulator are you using and which version of lazydocker have you installed?

also @jshahbazi could you post the stacktrace of the error?

It doesn't produce any sort of error or stacktrace.  It just exits immediately, sometimes with characters like this:  65;157;25M65;157;25M65;157;25M65;157;25M65;157;25M65;157;25

I'm using v0.7.4 and my terminal emulator is xterm-256color

Should be fixed on latest master


Cannot find operations in jaeger-ui, if there is '/' char in serviceName

good catch.
cc @tiffon

Re-booked as a UI issue https://github.com/jaegertracing/jaeger-ui/issues/138

@yurishkuro after merging jaegertracing/jaeger-ui#140, I think this surfaced an issue in jaeger-query.
When running the hotrod demo with the service names to have jaeger/ prepended now results in the following GET HTTP call to the query service for service jaeger/customer:
http://localhost:16686/api/services/jaeger%2Fcustomer/operations
The query service responds with the index.html.

arrrg... Should we just switch to the ?service= API?

@tiffon we may have to switch the UI to /api/operations?service=, because I just ran a test (#736) and it doesn't look like Gorilla router we're using is able to deal with / in the middle of the parameter, even if it's url-encoded.

@yurishkuro I think Gorilla might have a facility for handling this (if I followed correctly):
API: http://www.gorillatoolkit.org/pkg/mux#Router.UseEncodedPath
Related ticket: https://github.com/gorilla/mux/issues/77
Changes that are referenced:

https://github.com/gorilla/mux/commit/0a192a193177452756c362c20087ddafcf6829c4
https://github.com/gorilla/mux/commit/c9183aaddd2672bdebcc2d2192ed9c788b4af1e8

true, I was able to fix the test, but I still think that we should do what we planned long time ago - only support /api/operations?service= API and remove all this duplicated / special-cased code from query service.


Store as document fix and documentation on how to configure session expiry.

This patch fixes #6 and also exposes a datetime property named created at the root level of the session document as using the expiry property inside the session store object gives this error.
db.collection.createIndex( { "session" : { "expiry": 1 } }, { expireAfterSeconds: 3600 } )
{
	"ok" : 0,
	"errmsg" : "Values in v:2 index key pattern cannot be of type object. Only numbers > 0, numbers < 0, and strings are allowed.",
	"code" : 67,
	"codeName" : "CannotCreateIndex"
}

It also provides instructions on how to configure mongo to expire the session.

Thanks @jbr I've removed the external chrono link as you suggested.
If I tried to apply the ? approach it raised a result mismatch as doc.get("session") is an option.
So I have handled the option explicitly and return an new session if the bson conversion fails

@No9 I don't think building a new session is ever in the responsibilities of a session store. If it can't parse a session from the stores record, that should either be a None or a Some(Err(…)) with some sort of synthetic error that describes the problem

Hey @jbr
I think return Ok(None) is the right semantics as the actual session sub document doesn't exist.
The error from parsing of the session is handled in the bson::from_bson line
https://github.com/yoshuawuyts/async-mongodb-session/pull/9/files#diff-b4aea3e418ccdb71239b96952d9cddb6R103
And that will return an error.

Closing as this was integrated into #11


Master

you need to turn this in on your fork. right now you're trying to turn it in on my master branch. please watch the instructional video and try again. also, please make sure your file is a .jl extension and not .txt


Web ui has import issues

Hi,
Great extension actually. Kind of mind blowing you can use it on a large stack and it follows your design pattern around your project helping you in many ways.
I've got an issue as I'm trying to add a few more LLM api's since the ones listed I've trialled even with paid subscriptions break down with rate limiting.
I've added Llama three but it won't take my api key from the provider. I've never worked with vscode extensions before and I had to create a visc file and manually add my fork to test. Is the web ui for debugging? It's got some import errors due to two src folders and I don't know much about vs code plugins.
Can you update the documentation of how to debug the vscode ui?
Thanks,

You'll need to run npm run install:all to install all the dependencies including in the webview-ui. There's instructions you can look at under the Contribute secton on the readme for more specifics.
What API are you trying to add? If you're running into rate limits I suggest open router, they should have prompt caching soon which will significantly reduce costs.

I had the same issues running it locally on Windows 11.  I just resorted to copying the shared folder over and redoing the imports.  Not ideal but it's an easy fix.

Ah I see my webpack script wasn't working for you guys on windows. I just updated it, pls pull the latest and let me know if you still run into issues
https://github.com/saoudrizwan/claude-dev/commit/81fa5a67a45e289dc66cdc93aaf7982a78d89a97

That didn't really fix it hahaha

I think the webpack is working now.  Still having some trouble on Windows though.
Activating extension 'saoudrizwan.claude-dev' failed: Cannot find module 'c:\Users\Phara\Desktop\Projects [Current][Completed]\YouTube Projects\claude-dev-legal\1.5.6\claude-dev\dist\extension.js' Require stack: - c:\Users\Phara\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js.

Seems like it should work, I'm not sure why I'm still running into issues.  That said, instead of moving things around with the shared folder, I am able to fix it just by running "npm run build:webview" manually once, which your code clearly does.  Maybe it's out of order.  Weird, but if anyone is running into the same issue, try building it independently.


A  PR for Issues 3353, support custom json as response

Proposed changes:
Fix https://github.com/RasaHQ/rasa/issues/3353 .
Add custom json as response .
To fix https://github.com/RasaHQ/rasa/issues/3353  ,I need do changes in both rasa_core and rasa_core_sdk.
The PR in rasa_core_sdk is here:
https://github.com/RasaHQ/rasa_core_sdk/pull/73
Status (please check what you already did):

[ ] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.brain.duan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

see comment here: https://github.com/RasaHQ/rasa_core_sdk/pull/73


Problem using LDAP with StartSSL

Hi!
Trying to configure Rocket.Chat to authenticate with LDAP using StartTLS. But unfortunately I get error.
Exception while invoking method 'login' TypeError: Object [object global] has no method '_send'
    at starttls (/usr/share/Rocket.Chat/programs/server/npm/rocketchat_ldap/node_modules/ldapjs/lib/client/client.js:955:15)
    at packages/meteor/helpers.js:118:1
    at startTLS (packages/rocketchat_ldap/ldap_server.js:58:1)
    at [object Object].LDAP.ldapCheck (packages/rocketchat_ldap/ldap_server.js:94:1)
    at [object Object].__coffeescriptShare (packages/rocketchat_ldap/ldap_server.js:256:1)
    at accounts_server.js:462:32
    at tryLoginMethod (accounts_server.js:239:14)
    at AccountsServer.Ap._runLoginHandlers (accounts_server.js:459:18)
    at [object Object].methods.login (accounts_server.js:522:27)
    at maybeAuditArgumentChecks (livedata_server.js:1698:12)

Do you have any ideas, what problem  is referenced  on error Exception while invoking method 'login' TypeError: Object [object global] has no method '_send' at starttls?
From slapd log i can see that it's trying to connect but:
Jan 20 10:55:26 ldap slapd[13534]: conn=2157 fd=13 ACCEPT from IP=<IP_ADDRESS>:38059 (IP=<IP_ADDRESS>:110)
Jan 20 10:55:26 ldap slapd[13534]: conn=2157 fd=13 closed (connection lost)

I used custom port 110 (redirected to 365), I tried with LDAP:// and LDAPS://. Also tried with "Reject Unauthorized cert" true and false, issue remains. CA cert that I used, was the one that was used to generate cert for openldap.

It would appear that some of the Meteor stuff you're using is rebinding that function.  I don't believe that any of the public client methods support being bound to anything but the client object itself.

Thank you!

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


Cannot convert a BigInt

After switching from "@suiet/wallet-kit": "^0.1.26" to "@suiet/wallet-kit": "^0.2.4" I didn't have any problems locally. But after deploying the react js application to the server, the application broke with such an error.

Even if I remove all imports of methods and WalletProvider. And just leave the installed package @suiet/wallet-kit. I get this error after deploying my dapp.

@gavrushoves I confirm that it's because of the mysten ts sdk which requires bigint compatible bundling. Just search for the appropriate bundling configs for your dapp

@gavrushoves I confirm that it's because of the mysten ts sdk which requires bigint compatible bundling. Just search for the appropriate bundling configs for your dapp

Sorry, but I didn't understand what I need to look for.

I added this code to my package.json and it helped. Thanks for the help.
"browserslist": {     "production": [       "chrome >= 67",       "edge >= 79",       "firefox >= 68",       "opera >= 54",       "safari >= 14"     ],     "development": [       "last 1 chrome version",       "last 1 firefox version",       "last 1 safari version"     ]   }


Chart update

If invalid value is entered, it will reflect on graph until next poll. Maybe add checks for max/min.

If invalid value is entered, it will reflect on graph until next poll. Maybe add checks for max/min.

Will add an array to pass through to the Live Charts
Needs to add conversions for binary and hex to stop crashes


Rooms collector fixes

branch by Monty

Optimizes room collecting performance
Fixes disappearing rooms in certain cases

PLEASE ALSO TEST IF YOU CAN MOVE AND SCALE STATICS VIA LUA ON THIS PR!!!

I recommend to thoroughly test how lighting works now, and if light model is consistent. It seems light collector was also modified along with room collector, so this must be tested.

Tested, everything works correctly.

https://youtu.be/84NI4d0Ycbk from geckokid,

I could play my 3 levels with not crashes.
In the enemy level there was a room caused the others dissapeared a lot, with branch I'm not experiencing that. (It was a small diagonal room in a diagonal corridor, a bit unusual anyway).


feat(logging): update logging v3.5.0 rc

This PR introduces a way to migrate existing clusters towards loki tsdb store and schema v13. Since version 2.8 Loki introduced a new single store option that has become the default store for all new Loki deployments, the TSDB store. Along with TSDB a new schema version has been introduced (v13) which enables support to structured metadata. So it introduces a breaking schema change. Below there is a detailed explanation and some examples:
Checklist for Testing 🧪

[x] Tested schema on furyctl.yaml file with date format
[x] Tested new Loki installation
[x] Tested reading old logs with old format from S3 compatible storage
[x] Verified that changing the TSDB schema on the current date on an existing storage will make the current day work only with the new tsdb storage
[x] Tested migration to opensearch
[x] Tested opensearch index patterns
[x] Tested migration from opensearch to loki and verified the fix to the template if tsdbStartDate is null

Details ⚙

New option for Logging:
The Loki configuration has been extended to accommodate the new tsdbStartDate option to allow a migration towards TSDB and schema v13 (note: this is a breaking change):
...
  loki:
    tsdbStartDate: "2024-11-18"
...

tsdbStartDate  (required): configures details for the schema config for the purpose of the migration

tsdbStartDate should be a string in ISO 8601 date format and it represents the day starting from which Loki will record logs with the new store and schema.
ℹ Note:  Loki will assume the start of the day on the UTC midnight of the specified day.

Breaking Changes 💔

Loki store and schema change:
A new store and schema has been introduced in order to improve efficiency, speed and scalability of Loki clusters.

Hi! I left some suggestions on the code.

Thank you for the suggestions! I have added them and it should be all in order now.

I also have a question: can we add a configurable parameter to set the logs retention now that we are using the TSDB? We could do that on another PR if you consider it out of scope of this one.

Since @nutellinoit said it is out of scope maybe we can open an issue to track this request in order to add this feature in the next update? What do you think?

Since @nutellinoit said it is out of scope maybe we can open an issue to track this request in order to add this feature in the next update? What do you think?

you can open an issue on the logging module to track this problem


Updated README for the change in default config, Updated .gitignore

Updated README for change in default configurations

Thanks Brett for your plugin, very helpful indeed..


Intersection of exact types

Is it a bug or "by design", that I can't intersect two exact types as follow:
type A = {| foo: string |};
type B = {| bar: number |};
type AB = A & B;

const ab: AB = { foo: 'test', bar: 123 };

5: const ab: AB = { foo: 'test', bar: 123 };
                  ^ property `bar`. Property not found in
3: type AB = A & B;
             ^ object type
5: const ab: AB = { foo: 'test', bar: 123 };
                  ^ property `foo`. Property not found in
3: type AB = A & B;
                 ^ object type

https://flow.org/try/#0PTAEAEDMBsHsHcBQiAuBPADgU1AQVALygDeAPqJLLAFygDOKATgJYB2A5qKQL4DcqmHACFCJcgCMAho1qsArgFtxWRlz4DseEUXwAyUEP6IAxrFYNQk8bVzaSFKrQDkKLAycAaUFJmgAjABMAMygfEA
The Documentation shows similar (in my mind) example (string & number), but my case is quite different - it makes exact types almost useless...

indeed, but then I'm experiencing #2405... but thanks anyway for help!

Not quite an exact type, but you could potentially use:
type A = {| foo: string |}
type B = {| bar: number |}
type AB = { ...A, ...B, [any]: empty }

const ab: AB = { foo: 'test', bar: 123 } // passes
const ba: AB = { ...ab } // passes

const ea: AB = { foo: 'test', bar: 123, baz: 1 } // fails
const eb: AB = { ...ab, qux: 1 } // fails

looks nice, but seems to be hack again :( Wondering if this is a bug, or have I to write such way.
Weird thing is:
import React from 'react';

type A = {| foo: string |};
type B = {| bar: number |};
type AB = A & B;

class Foo extends React.Component<AB> {

    render() {
        const { foo, bar } = this.props;
        return (
            <div {...{ foo, bar }} />
        );
    }
}

No errors!
https://flow.org/try/#0PTAEAEDMBsHsHcBQiCWBbADrATgF1AEoCmAhgMb6TaxqgDk2pFdA3MrgJ4ZGgCCoAXlABvAD6hIsWAC5QAZ1zYUAOwDmoUQF9EnbqABCgkeIBGJbLOUBXNCaLYN23T16Gh-AGQG2iMtBJycqAAYlKgRAAeuETKACZBxOS4AHQAwjRYyjG4ADyuAHwiyKAloIxx9gAUAJRFpfWgZLDKCiISUgA0oGYOmka4ABYocskY1BhybA2ljLhW2MqglYjT0zmxKABuIsm7wu2wXT2gmn3A+Sur1VOl2tpAA

You can't intersect exact types. Semantically, this would yield an empty type.

Sounds reasonable. But then, why props can be intersected even with exact types?

@vkurchatkin and what about exact utility type of intersection? Something like $Exact<OwnProps & StateProps & DispatcProps>.

If what you want is "an object type that has keys from two other object types", you want to use an object spread type rather than intersection. Intersection has a very specific and non-intuitive meaning about being able to treat an object as either one type or another at the receiver's choice (as opposed to union, which is at the provider's choice).
I think what you want is:
{| ...OwnProps, ...StatePrope, ...DispatchProps |}

@asolove-stripe wow! Thanks. May you explain a little bit that part of intersections?

@rkurbatov just found this thread following another issue. To explain the part about intersections:
type A = {| foo: number |};
type B = { bar: string }'
type AB = A & B;

This means that an object of type AB should both be a valid A AND a valid B. But A is an exact type meaning that it cannot have any other properties than foo, meaning that an object satisfying the A type requirement can never satisfy the B type requirement, since it is not allowed to have the bar property.
This is the reason why intersection types doesn't work with exact types (unless the types are identical). The object spread syntax is what you want for creating a new type, with all the properties of both type A and B.

@ahem thank you. Much clearer now.


reference for sast tool

https://docs.gitlab.com/ee/user/application_security/sast/

So creating a reference manual for RAF? Is this what you want @adeyosemanputra ?

Yes

Will that be doc or .md or an embedded web page(S)

Just send pr here


Force using HTTPS every time

The nuget.org web site uses HSTS, which presumes that only HTTPS should be used for visiting it, but it does not force HTTPS on the first visit. So if some browser was never used to access nuget.org, then first visit to http://nuget.org will not redirect to https://nuget.org. User would be able to download packages over plain HTTP which is not safe. Only authentication page currently forces HTTPS (and once you get there, you'd be unable to use HTTP again due to HSTS header, so no reason not to redirect to HTTPS for any HTTP request)

@agr, please split this into an issue for gallery and an issue for search.

Make sure this is configurable (external users shouldn't be forced to use https)

Copied from the ServerCommon#45
Some statistics:
We are getting 2-2.5 million requests over HTTP per day (not HTTPS). Almost all of them are GET requests and will be properly redirected. Also, there are ~5K HEAD requests that also would be properly redirected.
We are getting about 10K POST requests per day, most of the are $batch OData requests from a single IP address that result in HTTP 301, because they are made to nuget.org (and get redirected to www.nuget.org), seems to be not properly processed by whoever sends them. We also get about 20-25 legit POST requests (that result in 2xx response). These would start to produce errors, so clients would have to switch to HTTPS.
We also get the DELETE, OPTIONS, PROPFIND, PUT and TRACE requests, usually less than 10 per day. Most of them either result in 404, or produce the same response as GET, so we can ignore them.


plugins-ci-redis@4 doesn't work

Prerequisites

[X] I have written a descriptive issue title
[X] I have searched existing issues to ensure the bug has not already been reported

Fastify version
4
Plugin version
No response
Node.js version
20
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
Latest
Description
https://github.com/fastify/fastify-rate-limit/tree/next
When workflow gets updated to use version 4, it starts failing
uses: fastify/workflows/.github/workflows/plugins-ci-redis.yml@v4 fails while
uses: fastify/workflows/.github/workflows/plugins-ci-redis.yml@v3 works
Steps to Reproduce
See: https://github.com/fastify/fastify-rate-limit/blob/next/.github/workflows/ci.yml and https://github.com/fastify/fastify-rate-limit/blob/master/.github/workflows/ci.yml
Expected Behavior
No response

Should've used v4.0.0.


XmlException on Code Generator

Hi,
I'm having a problem to use Serenity Code Generator, after I try to generate the Entity code, this message of xmlexception appears:

I noticed that some of the necessary files are created, for if I try to run it again in the same project, the Kdiff will start and show some of the files are already there.
Thanks.

Your project file looks corrupt

It worked after transferring the original code to another project and running the code generator again.
Thanks


Real-Time 3D Pose Classifier

Describe the project you want to add with tech stack
Real-Time Pose Classifier using Mediapipe and OpenCV.
Expected behavior
Detection of poses shown using web cam.

@pranjay-poddar I would like to work on this project. Kindly assign me to this.

@pranjay-poddar I have successfully completed the project and done the needful.


Error in importing custom package: no name in module

The engineering structure is as follows:
Folder
FolderA
fileA
from FolderB.fileB import XXX
# Error here
# no-name-in-module
FolderB
fileB
class XXX():
xxxx
Please help me,I'm a novice.How can I deal with this exception.
My<EMAIL_ADDRESS>Thank you very much.Wish you good luck.

The engineering structure is as follows:
Folder
FolderA
fileA
from FolderB.fileB import XXX
# Error here
# no-name-in-module
FolderB
fileB
class XXX():
xxxx
Please help me,I'm a novice.How can I deal with this exception.
My<EMAIL_ADDRESS>Thank you very much.Wish you good luck.

windows 10
The engineering structure is as follows:
Folder
FolderA
fileA
from FolderB.fileB import XXX
Error here
no-name-in-module
FolderB
fileB
class XXX():
xxxx
Please help me,I'm a novice.How can I deal with this exception.
My<EMAIL_ADDRESS>Thank you very much.Wish you good luck.

Please ask your question on StackOverflow. We have a great community over there. They have already answered thousands of questions and are happy to answer yours as well. See also our issue reporting guidelines.
Happy Coding!


Fix regression in catalog_items

Fix the search_catalog_items and get_catalog_item API calls where instead of letting the request flow to Amazon when no includedData param is provided, it raises a KeyError.
I think this change also addressese this discussion.

Thanks for the PR. I can't merge it, since Included data is not a required key, requests without includedData are completely valid.

@saleweaver This is exactly what this PR is trying to fix - to not have includedData as a required key.
#995 has made it so that includedData is a required kwarg, otherwise the API call fails with a KeyError: 'includedData'. It can be reproduced on master by running:
AWS_ENV=SANDBOX pytest tests/api/catalog_items/test_catalog_items.py


VLC via Telnet...Possible as a media player for MA?

What version of Music Assistant has the issue?
2023.06.1
The problem
Wondering if its possible to get VLC via Telnet as a media play for MA? I have a PI audio hat with this rpi so I was hoping I can just feed the music through it. If not is there something else I can use?
How to reproduce
Not really an issue.
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2023.06.1
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

You can use picoreplayer

The music assistant integration is still in beta. Current version exposes MA players to HA. The production release will als support to use HA media players in MA, given these players met the requirements for MA. That will include the VlC player

Also this is not an issue. Moving to discussions


[checkbox] Visual bug on dark theme 🖤

Here the option with "I'm option-checkbox" is not selected, but it looks active(

To Reproduce
Steps to reproduce the behavior:

Go to docs
Click on Option with checkbox

Expected behavior
Checkbox should not have a chevron

Thnak you Romaaaa for bringing this! We actually have no dark theme for the components yet, that's why there are can be some inconsistencies for components' styles in dark theme.


Port the fix for multiple retry tasks scheduled in replicator (CB-131)

Ported the fix from the Iridium branch.
Canceled the pending scheduled retry before scheduling a new one.
Added some more verbose logs.

Reference: https://github.com/couchbase/couchbase-lite-android/commit/b352b609ad292a327a8ab72913c7f270e457a57f

CC: @bmeike


Prototype of REST API page streaming.

This implements the interfaces in a new package, and applies the pattern to Storage. I haven't tackled Bigquery yet, which is a bigger surface area.
Notes:

The new package should probably end up in the google-api-dotnet-client repo; it was developed here for simplicity.
(We could merge here then move, potentially.)
There are no tests for the page streaming; they should be basically the same as in GAX, adapted for the REST requests.
We're only ever showing Flatten(), which makes this look more long-winded than before in all our snippets. Need to look at
this carefully before pushing forward.
Docs required!

Eventually, this will address #115.
@csells to comment on usability of snippet changes. (Bear in mind the non-trivial use cases this enables.)

Might this be better in the googleapis/gax-dotnet repo?
At the moment all directories under src in this repo directly corresponds to an RPC service of some sort (ok, apart from Google.Logging.Type). I think it may be good to keep it this way.

There's a lot of duplicated code from GAX here - could we put this in GAX? (I haven't thought this through much, so there may well be obvious reasons why not)

It definitely doesn't belong in this repository - I only developed it here for simplicity. I'd normally choose to put it in google-api-dotnet-client.
Putting it in GAX has two problems:

We don't want to pull Google.Apis / Google.Apis.Core in as dependencies in GAX, as gRPC APIs don't need it
We don't want to pull in the existing GAX dependencies (gRPC, Protobuf) in REST API client libraries

So yes, it's deliberately duplicate code so that it "feels" the same when users move from REST to gRPC, but I don't believe there's any simple way of avoiding that.

This is looking good. The API is nicely identical to GAX/gRPC, and it removes the ListAllAsync/List confusion :)

(This is now committed in non-prototype form in GAX and #212.)


Regex flag for case insensitivity

I'd like to know which flag the dispatchers use for Regex case insensitivity. I tried this:
hyprctl dispatch -- movetoworkspacesilent 2,librewolf
ok

This works (test case).
hyprctl dispatch -- movetoworkspacesilent 2,librewolf/i
ok

It says ok but nothing happens (the window is not moved).
hyprctl dispatch -- movetoworkspacesilent 2,(librewolf)/i

This launches librewolf instead of moving it. Is that intended behaviour?
hyprctl dispatch -- movetoworkspacesilent 2,"(?i)librewolf"
Err: Invalid '(?...)' zero-width assertion in regular expression

This throws an error, so (?i) is not supported?

the regex uses no flags, and is described by the C++ std: https://en.cppreference.com/w/cpp/regex

Ok, so there is no way to match without case sensitivity?