PlexSource crashing (Cannot read properties of undefined (reading 'includes'))

Please check the FAQ before submitting a bug report.
Describe the bug
The Plex source causes multi-scrobbler to crash.
To Reproduce
Steps to reproduce the behavior:

Set up the Plex source (using the webhook)
When Plex calls the webhook, multi-scrobbler crashes.

Expected behavior
multi-scrobbler correctly scrobbles from Plex.
Logs
If possible reproduce the issue with debug logging ON
[2024-09-13 13:33:01.350 +0000] VERBOSE: [Init] Config Dir ENV: /nix/store/h181nga2lmr3rba4s8ldr24bdia15665-config.json -> Resolved: /nix/store/h181nga2lmr3rba4s8ldr24bdia15665-config.json
[2024-09-13 13:33:01.379 +0000] INFO   : [Init] Version: 0.8.3
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
1:33:01 PM [vite-express] Running in production mode
1:33:01 PM [vite-express] Inline config detected, ignoring Vite config file
1:33:01 PM [vite-express] Serving static files from /nix/store/h2v2qhcs5z3czn95qzm0cmwz7px43zyl-multi-scrobbler-2024-09-11/lib/node_modules/multi-scrobbler/dist
[2024-09-13 13:33:01.407 +0000] INFO   : [App] [API] Server started:
---> Local          http://localhost:9078
[2024-09-13 13:33:01.505 +0000] DEBUG  : [App] [Scrobblers] Constructing maloja (Maloja) client...
[2024-09-13 13:33:01.507 +0000] INFO   : [App] [Scrobblers] [Maloja - Maloja] Client Added
[2024-09-13 13:33:01.508 +0000] INFO   : [App] Starting scrobble clients...
[2024-09-13 13:33:01.509 +0000] DEBUG  : [App] [Scrobblers] [Maloja - Maloja] Attempting to initialize...
[2024-09-13 13:33:01.511 +0000] VERBOSE: [App] [Scrobblers] [Maloja - Maloja] Building required data init succeeded
[2024-09-13 13:33:01.527 +0000] INFO   : [App] [Scrobblers] [Maloja - Maloja] Communication test succeeded.
[2024-09-13 13:33:01.528 +0000] INFO   : [App] [Scrobblers] [Maloja - Maloja] Maloja Server Version: 3.2.2
[2024-09-13 13:33:01.533 +0000] VERBOSE: [App] [Scrobblers] [Maloja - Maloja] Connection check succeeded
[2024-09-13 13:33:01.537 +0000] INFO   : [App] [Scrobblers] [Maloja - Maloja] Auth test passed!
[2024-09-13 13:33:01.538 +0000] INFO   : [App] [Scrobblers] [Maloja - Maloja] Fully Initialized!
[2024-09-13 13:33:01.539 +0000] VERBOSE: [App] [Scrobblers] [Maloja - Maloja] Fetching up to 100 initial scrobbles...
[2024-09-13 13:33:01.539 +0000] DEBUG  : [App] [Scrobblers] [Maloja - Maloja] Refreshing recent scrobbles
[2024-09-13 13:33:01.551 +0000] DEBUG  : [App] [Scrobblers] [Maloja - Maloja] Found 100 recent scrobbles
[2024-09-13 13:33:01.554 +0000] INFO   : [App] [Scrobblers] [Maloja - Maloja] Scrobble processing started
[2024-09-13 13:33:01.675 +0000] DEBUG  : [App] [Sources] (Plex) Constructing plex source
[2024-09-13 13:33:01.676 +0000] INFO   : [App] [Sources] [Plex - Plex] Initializing with the following filters => Users: N/A | Libraries: music | Servers: nidhogg
[2024-09-13 13:33:01.677 +0000] DEBUG  : [App] [Sources] [Plex - Plex] Attempting to initialize...
[2024-09-13 13:33:01.677 +0000] DEBUG  : [App] [Sources] [Plex - Plex] No required data to build.
[2024-09-13 13:33:01.677 +0000] DEBUG  : [App] [Sources] [Plex - Plex] Connection check was not required.
[2024-09-13 13:33:01.678 +0000] INFO   : [App] [Sources] [Plex - Plex] Fully Initialized!
[2024-09-13 13:33:01.679 +0000] INFO   : [App] Scheduler started.
[2024-09-13 13:33:10.774 +0000] INFO   : [App] [API] [Ingress] [Plex] Received request from a new remote address: <IP_ADDRESS> (UA: PlexMediaServer/<IP_ADDRESS>21-836b34c27)
[2024-09-13 13:33:10.776 +0000] DEBUG  : [App] [API] [Plex Request] Receiving request from Plex...
[2024-09-13 13:33:10.778 +0000] DEBUG  : [App] [API] [Plex Request] Received 0 bytes of expected 8921
[2024-09-13 13:33:10.782 +0000] DEBUG  : [App] [API] [Plex Request] Received 8921 bytes of expected 8921
[2024-09-13 13:33:10.788 +0000] DEBUG  : [App] [API] [Plex Request] File Begin: payload
[2024-09-13 13:33:10.795 +0000] DEBUG  : [App] [API] [Plex Request] File Received: payload
[2024-09-13 13:33:10.796 +0000] DEBUG  : [App] [API] [Plex Request] File Begin: thumb
[2024-09-13 13:33:10.798 +0000] DEBUG  : [App] [API] [Plex Request] File Received: thumb
[2024-09-13 13:33:10.798 +0000] DEBUG  : [App] [API] [Plex Request] Received end of form data from Plex
[2024-09-13 13:33:10.800 +0000] ERROR  : [App] Uncaught exception is crashing the app! :( Type: uncaughtException
Error: Uncaught exception is crashing the app! :( Type: uncaughtException
    at process.<anonymous> (CWD/src/backend/index.ts:42:22)
    at process.emit (node:events:519:28)
    at process.emit (CWD/node_modules/tsx/dist/suppress-warnings.cjs:1:472)
    at process._fatalException (node:internal/process/execution:185:13)
caused by: TypeError: Cannot read properties of undefined (reading 'includes')
    at <anonymous> (CWD/src/backend/sources/PlexSource.ts:280:44)
    at zalgoSafe (CWD/node_modules/dezalgo/dezalgo.js:20:10)
    at f (CWD/node_modules/once/once.js:25:25)
    at IncomingForm.<anonymous> (file://CWD/node_modules/formidable/src/Formidable.js:228:7)
    at IncomingForm.emit (node:events:531:35)
    at IncomingForm._maybeEnd (file://CWD/node_modules/formidable/src/Formidable.js:679:10)
    at file://CWD/node_modules/formidable/src/Formidable.js:438:14
    at ConcatStream.<anonymous> (file://CWD/node_modules/formidable/src/VolatileFile.js:75:7)
    at Object.onceWrapper (node:events:633:28)
    at ConcatStream.emit (node:events:531:35)
/nix/store/h2v2qhcs5z3czn95qzm0cmwz7px43zyl-multi-scrobbler-2024-09-11/lib/node_modules/multi-scrobbler/src/backend/sources/PlexSource.ts:280
                    if (namedFile.mimetype.includes('json')) {
                                           ^
TypeError: Cannot read properties of undefined (reading 'includes')
    at <anonymous> (/nix/store/h2v2qhcs5z3czn95qzm0cmwz7px43zyl-multi-scrobbler-2024-09-11/lib/node_modules/multi-scrobbler/src/backend/sources/PlexSource.ts:280:44)
    at zalgoSafe (/nix/store/h2v2qhcs5z3czn95qzm0cmwz7px43zyl-multi-scrobbler-2024-09-11/lib/node_modules/multi-scrobbler/node_modules/dezalgo/dezalgo.js:20:10)
    at f (/nix/store/h2v2qhcs5z3czn95qzm0cmwz7px43zyl-multi-scrobbler-2024-09-11/lib/node_modules/multi-scrobbler/node_modules/once/once.js:25:25)
    at IncomingForm.<anonymous> (file:///nix/store/h2v2qhcs5z3czn95qzm0cmwz7px43zyl-multi-scrobbler-2024-09-11/lib/node_modules/multi-scrobbler/node_modules/formidable/src/Formidable.js:228:7)
    at IncomingForm.emit (node:events:531:35)
    at IncomingForm._maybeEnd (file:///nix/store/h2v2qhcs5z3czn95qzm0cmwz7px43zyl-multi-scrobbler-2024-09-11/lib/node_modules/multi-scrobbler/node_modules/formidable/src/Formidable.js:679:10)
    at file:///nix/store/h2v2qhcs5z3czn95qzm0cmwz7px43zyl-multi-scrobbler-2024-09-11/lib/node_modules/multi-scrobbler/node_modules/formidable/src/Formidable.js:438:14
    at ConcatStream.<anonymous> (file:///nix/store/h2v2qhcs5z3czn95qzm0cmwz7px43zyl-multi-scrobbler-2024-09-11/lib/node_modules/multi-scrobbler/node_modules/formidable/src/VolatileFile.js:75:7)
    at Object.onceWrapper (node:events:633:28)
    at ConcatStream.emit (node:events:531:35)
Node.js v20.17.0

Versions (please complete the following information):
Provide version information for any related sources/clients.

multi-scrobbler: 983b1c67ac834a804f2102fe156cd4ea81d8b551
maloja: c6cf288
Plex: <IP_ADDRESS>21

Additional context
Here's the structure of the webhook request triggering the issue:
--------------------------G7Eg6j8dMUI03PAbXJmOc2
Content-Disposition: form-data; name="payload"
Content-Type: application/json

- bunch of json here -
--------------------------G7Eg6j8dMUI03PAbXJmOc2
Content-Disposition: form-data; name="thumb"; filename="thumb.jpg"
Content-Type: image/jpeg

- bunch of binary data here -
--------------------------G7Eg6j8dMUI03PAbXJmOc2--

I'm not sure how mimetype is ending up undefined here: https://github.com/FoxxMD/multi-scrobbler/blob/a1443594f7a508a8b580c8234a11e35719f6e8c3/src/backend/sources/PlexSource.ts#L280
The docs for formidable seem to suggest it can be null: https://www.npmjs.com/package/formidable#file
I'm also seeing this under Node.js v18.20.4. Weirdly I didn't have this issue when I first set up multi-scrobbler a few days ago, so I'm not sure what has changed (I may have updated Plex?).

I do think it's due to a Plex upgrade. I'm able to reproduce as well but haven't had issues in the past. Though it could also be something internal about how Plex decides to send the payload because this was accounted for in the past but I changed it. Plex seems to be waffling between sending the json as a single file or as a nested file within an array. In the past it was an array, then it was a regular file, now it's back to an array :shrug:
I've added code to defensively check for both types of structures it can send which should fix this issue.
You should be able to pull foxxmd/multi-scrobbler:pr-192 soon or use the https://github.com/FoxxMD/multi-scrobbler/tree/GH-191/plex-formdata-fix branch now

Yep that has fixed it, thanks!


corefonts: fix build

Description of changes

Closes #317159
Move to pkgs/by-name

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@wegank would love to get some attention here on well :) https://github.com/NixOS/nixpkgs/pull/316907


chinese characters not support

in you demo i insert chinese characters in string.xml then build throw this exception"com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 2 字节的 UTF-8 序列的字节 2 无效"  already add in xml  head  encoding="utf-8"
thanks !

this error still occur in my project
Execution failed for task ':module_sdk:copyReleaseDependencies'.

com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 1 字节的 UTF-8 序列的字节 1 无效。

And I have used the lastest.
classpath "com.mobbeel.plugin:fat-aar:2.0.3"
Could you help me to resolve this?


Corp data not being completely updated.

The last few days Ive been trying to figure out why I cannot get any what seems to be "newer" corps to populate in the "owner" section of the tool. I have ran the following commands and they all run without error.
"/usr/bin/php ./bin/skylizer_console.php update:allycorp --ally"
"/usr/bin/php ./bin/skylizer_console.php update:allycorp --corp"
"/usr/bin/php ./bin/skylizer_console.php update:allycorp --corp --all"
I let the --all command run all night, and I did notice that it had listed hundreds of corp names, but at the end it said...
"0 Alliances and 2 corporations were updated"
When I woke up I cleared the cache, reboot the server and tried to search a corp that Ive been trying to add and still it is not populating the corporation.
I also went and tested this corporation on your public site and it also doesnt work.
The corporation in questions: "https://zkillboard.com/corporation/98583272/"
It is also not limited to just this corp. Ive tried to add numerous corporations and have yet to have the tool find a corporation I need to add.
Thanks for taking time out of your busy schedule. I really enjoy your tool.

solved. Try to assign a corporation to a structure. If the corporation is not found locally just add a plus sign (+) to your search term to invoke a ESI search.
Attention, for some 3 letter terms this may take a certain ammount of time because of the huge number of results and the time neccessary to fetch each resulting corporation and to persist her to the database.


[R24.12] DCM KIT: General Updates

Description
Add additional explanation of DCM Standard content to the DCM KIT,
To be able to provide additional content around the DCM standard to enable a better understanding of the standard content for new adopters of the DCM Use Case and providing guidelines to apply the DCM standards.
Focus will also be to illustrate various topics to make the standard more touchable and attracting for new adopters.
Based on Lessons Learned and Feedback received the intention is to update/extend various sections within the DCM KIT (e.g. examples how to use and put capacity data etc.)-
Impact
No impact or dependencies to other components or teams.
Additional information

[ ] Check additional DCM KIT needs
[ ] Prepare additional DCM KIT needs
[ ] Finalize additional DCM KIT needs
[ ] Initial PR
[ ] Final PR

Risk: Rare deep Technical Git-Hub Knowledge in the group to run the PR properly

We need two committers for the feature

Hallo Lukas you can add me as assignees, but I have no idea how to set all the things required for GitHub here I really need some experts supporting,

I comment to be identified as contributor

I like to contribute

I would like to contribute to that feature

Happy to support !

Happy to support and connect the content to feature #769 https://github.com/eclipse-tractusx/sig-release/issues/769


Update docs for Java Functions develop

Signed-off-by: xiaolong.ran<EMAIL_ADDRESS>Motivation
Currently, in Java Functions, the documentation of the context interface is missing as follows:
    <O> TypedMessageBuilder<O> newOutputMessage(String topicName, Schema<O> schema) throws PulsarClientException;
    <O> ConsumerBuilder<O> newConsumerBuilder(Schema<O> schema) throws PulsarClientException;

Modifications

Add the newOutputMessage() interface from 2.4.0
Add the newConsumerBuilder() interface from 2.6.0

Checked with @freeznet - This PR already contains the required doc changes. The doc label needs a refresh.
//cc @Anonymitaet


Grapher: 1D zooming can flip data upside down

When zooming into a 1D plot by drawing the zoom rectangle from the top going to the bottom, the resulting plot will be flipped upside down relative to the original plot. Hence, a dip will turn into a peak. Using version 1.0.0-M3.

@jwenner, I'm unable to reproduce locally. Can you give any more details?

Ok, I think I see the problem; we're using Array.sort to order the x and y limits, but this actually converts numbers to strings before sorting, so sometimes the x or y axis can get flipped. Javascript, you crazy! (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort)


Why we need time.sleep() after FileVideoStream()?

Hi

What is the reason to have time.sleep() after calling FileVideoStream()?
What is the shortest sleep time that is safe to be used? (in my application I need to have the shortest sleep time)

Thanks

The time.sleep allows the initial buffer to fill up. You don't technically have to do this but I recommend a small sleep before starting. As to how fast a buffer fills up is really dependent on your hardware, drivers, video file I can't really provide a "shortest time" -- you will need to experiment with that on your own.
I hope that helps!


Fixes scene system profile inspector to better reflect state of build settings

Changes

Fixes: #5124

Verification

As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
git fetch origin pull/{PR_ID}/head:name_of_local_branch
git checkout name_of_local_branch

/azp run mrtk_pr


Subscribing to the AbstractFFTs interface

https://github.com/JuliaMath/AbstractFFTs.jl is an interface package for FFTs, used by FFTW.jl and FastTransforms.jl.  At a first glance the RustFFT interface seems similar to that.
It would be pretty cool if this had bindings to AbstractFFTs as well, to make it easier to use and test out!

That sounds like a great idea to me.

AbstractFFTs interface has been implemented :)


Switch to window takes a handle

https://www.w3.org/TR/webdriver/#switch-to-window

Let handle be the result of getting the property "handle" from the parameters argument.

Apologies but I'm not quite sure how best to unit test this.

CLA now signed.

As I've now come across a second function in the RemoteTargeLocator which needs to maintain b/c, I've passed the isW3cCompliant argument as an optional 3rd argument to the constructor.
This change is on a separate commit shared between this issue and #684


Files OAuth

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Storage.Blobs

TODO fix failing live tests

TODO check internal constructors and make sure FileRequestIntent is present and being passed into constructors taking OAuth and taking the auth pipeline policy.


commonsCompress: 1.16.1 -> 1.17

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/commons-compress/versions.
meta.description for commonsCompress is: '"Allows manipulation of ar, cpio, Unix dump, tar, zip, gzip, XZ, Pack200, bzip2, 7z, arj, lzma, snappy, DEFLATE and Z files"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

directory tree listing: https://gist.github.com/f9d0f5b17a2604e1b5003cc6946b4911

du listing: https://gist.github.com/f11b71f6b7b8b0692cf83b1419357482

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout d398020512f454f241fa77b8b74a6958209c1291 && nix-shell --pure -I nixpkgs=. -p commonsCompress

cc @copumpkin for testing.

Success on x86_64-darwin (full log)
Attempted: commonsCompress
Partial log (click to expand)
patching sources
configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
strip is /nix/store/8axizw5mf6dx7wip65nbkyrmlkhmjhc5-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/q1a4mfsa907cmciz2k0fgcny8mdab88a-commons-compress-1.17
/nix/store/q1a4mfsa907cmciz2k0fgcny8mdab88a-commons-compress-1.17

Success on aarch64-linux (full log)
Attempted: commonsCompress
Partial log (click to expand)
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/j5bp7b69gmphvghg37r6x1lxfr6756g0-commons-compress-1.17
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/j5bp7b69gmphvghg37r6x1lxfr6756g0-commons-compress-1.17
checking for references to /build in /nix/store/j5bp7b69gmphvghg37r6x1lxfr6756g0-commons-compress-1.17...
/nix/store/j5bp7b69gmphvghg37r6x1lxfr6756g0-commons-compress-1.17


Documentation Typing

We need to update documentation typing

Removing Union in favor of annotation vertical line |
Removing Optional in favor of | None
Hyper links and references rendering without markdown

Although the last bullet, (# 3) can be solved universally between all versions of python, the first two are only applicable for python 3.10 and up.

Applying the first two bullets to the entire repository would require multiple packaged version of python as this is not available until python 3.10.


Add deb822 format lexer for *.sources files

deb822 is a newer format to specify system-wide Debian package repositories on Ubuntu in specific fragments (under /etc/apt/sources.list.d/*.sources) and an alternative to sources.list, for which a lexer does already exist. It is supported by APT itself since version 1.1, but lacked support in most of Ubuntu's graphical package management utilities – until Ubuntu decided to remove the sources.list in favour of the new format in the recently released version 24.04. Most tools have since been catching up with the decision, thus it should be quite useful to create a new lexer for the format (technical specification here) and possibly deprecate the sources.list lexer.

sources.list is currently used in Debian so deprecating seems to be a premature action. I don't know if the replacement of sources.list by *.sources files is an Ubuntu-project only.

After discussing with Debian Developers, deb822 is currently supported by Debian (Bullseye and perhaps older versions too) but is not enabled by default. deb822 will replace sources.list format in the future for repository.

Even if the format itself is deprecated by Debian, that's no reason to deprecate its lexer in Pygments. It's going to be in use for a long time still. (Also, we currently have no mechanism to deprecate lexers in the first place...)
Regarding the new format, would it make sense to add *.sources to the control file lexer for now?

Even if the format itself is deprecated by Debian, that's no reason to deprecate its lexer in Pygments. It's going to be in use for a long time still.

Agreed.

Regarding the new format, would it make sense to add *.sources to the control file lexer for now?

Not really, as a Debian control file uses deb822 syntax, but has completely different fields than *.sources files; these are listed in the sources.list manpage. But the current control file lexer may well be used as a template, probably I'll have some time to work on that soon.

Even if the format itself is deprecated by Debian, that's no reason to deprecate its lexer in Pygments. It's going to be in use for a long time still.

Yes, sources.list will be usable for years. If some lexers should be removed from Pygments, I think other ones are better candidates (for example, HybrisLexer). It's a different topic so I don't think more discussion are necessary.

Regarding the new format, would it make sense to add *.sources to the control file lexer for now?

Not really, as a Debian control file uses deb822 syntax, but has completely different fields than *.sources files; these are listed in the sources.list manpage.

The manpage sources.list shows several examples of the content of a *.sources file. There is an interesting one:
Types: deb
URIs: https://deb.debian.org
Suites: stable
Components: main contrib non-free non-free-firmware
Signed-By:
 -----BEGIN PGP PUBLIC KEY BLOCK-----
 .
 mDMEYCQjIxYJKwYBBAHaRw8BAQdAD/P5Nvvnvk66SxBBHDbhRml9ORg1WV5CvzKY
 CuMfoIS0BmFiY2RlZoiQBBMWCgA4FiEErCIG1VhKWMWo2yfAREZd5NfO31cFAmAk
 IyMCGyMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AACgkQREZd5NfO31fbOwD6ArzS
 dM0Dkd5h2Ujy1b6KcAaVW9FOa5UNfJ9FFBtjLQEBAJ7UyWD3dZzhvlaAwunsk7DG
 3bHcln8DMpIJVXht78sL
 =IE0r
 -----END PGP PUBLIC KEY BLOCK-----

The DebianControlLexer lexer works mainly well, thanks to the default field which catches whatever field.
However:

it's more complicated than it needs to be: maintainer, package_list, ... cases are not needed for example
the Signed-By is not properly managed because several lines match the same field.

So writing a specific lexer seems to be a better idea.

I'll have some time to work on that soon.

Great! If you lost interest or don't have time in the future, don't hesitate to say it, I will do it in such case.

@chrysle do you work on the lexer (or do it soon)? If not, I will do it.

I've written it in #2788


[FLINK-31406] Do not delete jobgraph on scale only last-state upgrades

What is the purpose of the change
Currently the Flink service always deletes the jobgraph from HA metadata so that it's regenerated for last-state upgrades. This is unnecessary for scale only operations. Keeping the jobgraph could greately speed up startup time for some jobs. AbstractFlinkService supports to delete jobgraph on non-scale operations.
Brief change log

AbstractFlinkService deletes jobgraph on non-scale operations.

Verifying this change

Adds ApplicationReconcilerTest#testScaleWithJobGraphKeptInHAMetadata to verify whether to delete jobgraph on scale only last-state upgrades.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changes to the CustomResourceDescriptors: (yes / no)
Core observer or reconciler logic that is regularly executed: (yes / no)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@gyfora, PTAL.

@gyfora, I have addressed above comments. PTAL.

@gyfora, sorry for naming a confusing parameter name. I have addressed rename comments and renamed to DiffType diffType. PTAL.


Backport to ARMv7

@lemire this is your ARMv7 branch that adds CI to @easyaspi314 's PR #330. I'm just opening up a PR so we can see what CI says about it and maybe merge.

Dumping this PR in favor of the original, since it didn't work.


Add some juice reagents and includes them on their drink prototypes

decided to collapse this back into 1 pr. ignore this


disable text selection

The current behavior of text selection is annoying. Make field names unselectable or provide an option to toggle this.

@ShahriarKh are you still maintaining this?

Hi @SalahAdDin
Yes. I've been busy with some other projects recently, but yes, the project is alive!

@ShahriarKh Why is it not planned?

@SalahAdDin I think the cards are big enough to allow dragging them without text being annoyingly selected. Also, there might be use cases for selecting text, like the ability to copy the content type name.


Default behavior for mouseUp event

v1.28.1 issue:
const onMouseUp = event => {
        this.isMouseDown = false
        if (
          (event.target === this._rootNode ||
            !this._rootNode.contains(event.target)) &&
          this.getState().isOpen
        ) {
          this.reset({type: Downshift.stateChangeTypes.mouseUp}, () =>
            this.props.onOuterClick(this.getStateAndHelpers()),
          )
        }
      }

v1.28.3 solution:
const onMouseUp = event => {
        const {document} = this.props.environment
        this.isMouseDown = false
        if (
          (event.target === this._rootNode ||
            !this._rootNode.contains(event.target)) &&
          this.getState().isOpen &&
          (!this.inputId || document.activeElement.id !== this.inputId)
        ) {
          this.reset({type: Downshift.stateChangeTypes.mouseUp}, () =>
            this.props.onOuterClick(this.getStateAndHelpers()),
          )
        }
      }

What you did and what happened:
v1.28.1 Issue

Problem description:
Previously, downshift would reset if your mouseUp event.target was outside of downshift even though mouseDown happened on the input element. Thanks to @jduthon, in v1.28.3, it only resets if event.target is outside of downshift AND the active element is not the input element. This solution, however, does not support multiple inputs.
Suggested solution:
An alternative solution could be to only reset if event.target is NOT within the downshift root node AND the active element is in the root downshift node. This option would support multiple input elements. However, it would also mean that clicking on the label of a downshift input would NOT cause a reset.
I opened this issue hoping to get additional opinions on this as a result of https://github.com/paypal/downshift/pull/354#issuecomment-370231341. Thoughts??

I believe we could also check if the document.activeElement is an input? That would cover the case with multiple inputs. It would though leave the button case aside.

Thanks for opening this @austintackaberry!

That would cover the case with multiple inputs.

As I mentioned, that was just an example use case. I'm sure there are more situations. What we need to decide is generally: "If the user clicks on something within the downshift component that isn't an item, should we reset the component?" If it's an item, then a whole different code path will follow so we don't need to worry about those, but who knows what else someone could render within the downshift component. If we did this and someone decided they do want a reset on the label, then they simply add: onClick: reset to their getLabelProps call and forget about the workaround because it was so straightforward.
The reason we're considering the label is because it's a pretty common use case to render a label within downshift. As I was thinking about it, I considered the browser's default behavior with a label and its associated form input:

Notice how clicking on the label actually interacts with the checkbox and radio button? I didn't show it, but when you click on a label for an <input /> the input is focused. (demo on bootstrap's site)
So it makes sense to me to not reset when clicking on the label. Perhaps it makes sense to not reset when clicking anywhere within the downshift component as well...
Except.... Now that I think about it, using document.activeElement wont be enough for this because the label is not (by itself) focusable anyway, so it can never be the active element 🤔 Maybe I'm overthinking this... Actually, perhaps document.activeElement is the right approach because it will only prevent a reset when the element is something that's focusable and within downshift which should probably cover our bases pretty well...
I'm thinking this wont be nearly as impactful as I initially assumed.


TruTV download fails with 403

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2<IP_ADDRESS>. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2<IP_ADDRESS>

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: [u'--netrc']
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--ap-mso', u'Comcast_SSO', u'--ap-username', u'PRIVATE', u'--ap-password', u'PRIVATE', u'http://www.trutv.com/full-episodes/adam-ruins-everything/2124090/index.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.14 - Windows-10-10.0.16299
[debug] exe versions: ffmpeg N-55702-g920046a, ffprobe N-55702-g920046a
[debug] Proxy map: {}
[TruTV] 2124090: Downloading webpage
[TruTV] Downloading XML
[TruTV] 2124090: Retrieving Media Token
[TruTV] 2124090: Downloading XML
[TruTV] 2124090: Downloading m3u8 information
[TruTV] 2124090: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'http://androidhls-secure.cdn.turner.com/trutv/big/secure/tve/2017-10/TRUE1010051700009661_HLS/TRUE1010051700009661_Layer6_vod.m3u8'
[download] Destination: Adam Ruins Conspiracy Theories-2124090.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -seekable 0 -headers "Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Cookie: hdnea2=expires=1508467354~access=/trutv/big/secure/tve/2017-10/TRUE1010051700009661_HLS/*~md5=c296c0148edc0aef603618ad6cc435d2
" -i "http://androidhls-secure.cdn.turner.com/trutv/big/secure/tve/2017-10/TRUE1010051700009661_HLS/TRUE1010051700009661_Layer6_vod.m3u8" -c copy -f mp4 "-bsf:a" aac_adtstoasc "file:Adam Ruins Conspiracy Theories-2124090.mp4.part"
ffmpeg version N-55702-g920046a Copyright (c) 2000-2013 the FFmpeg developers
  built on Aug 21 2013 18:04:23 with gcc 4.7.3 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 42.100 / 52. 42.100
  libavcodec     55. 29.100 / 55. 29.100
  libavformat    55. 14.101 / 55. 14.101
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.100 /  3. 82.100
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
[http @ 046e8700] HTTP error 403 Forbidden
Unable to open key file http://androidhls-secure.cdn.turner.com/trutv/big/secure/tve/2017-10/TRUE1010051700009661_HLS/key32d16bdd3f0b412cad1f8fdcc1886ce5-0.key
[hls,applehttp @ 02783680] Error when loading first segment 'http://androidhls-secure.cdn.turner.com/trutv/big/secure/tve/2017-10/TRUE1010051700009661_HLS/TRUE1010051700009661_Layer6/8472_Period1/segment0.ts'
http://androidhls-secure.cdn.turner.com/trutv/big/secure/tve/2017-10/TRUE1010051700009661_HLS/TRUE1010051700009661_Layer6_vod.m3u8: Invalid data found when processing input

ERROR: ffmpeg exited with code 1
  File "c:\py2\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\py2\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Py2\Scripts\youtube-dl.exe\__main__.py", line 9, in <module>
    sys.exit(main())
  File "c:\py2\lib\site-packages\youtube_dl\__init__.py", line 465, in main
    _real_main(argv)
  File "c:\py2\lib\site-packages\youtube_dl\__init__.py", line 455, in _real_main
    retcode = ydl.download(all_urls)
  File "c:\py2\lib\site-packages\youtube_dl\YoutubeDL.py", line 1985, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "c:\py2\lib\site-packages\youtube_dl\YoutubeDL.py", line 795, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "c:\py2\lib\site-packages\youtube_dl\YoutubeDL.py", line 849, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "c:\py2\lib\site-packages\youtube_dl\YoutubeDL.py", line 1619, in process_video_result
    self.process_info(new_info)
  File "c:\py2\lib\site-packages\youtube_dl\YoutubeDL.py", line 1892, in process_info
    success = dl(filename, info_dict)
  File "c:\py2\lib\site-packages\youtube_dl\YoutubeDL.py", line 1831, in dl
    return fd.download(name, info)
  File "c:\py2\lib\site-packages\youtube_dl\downloader\common.py", line 361, in download
    return self.real_download(filename, info_dict)
  File "c:\py2\lib\site-packages\youtube_dl\downloader\external.py", line 57, in real_download
    self.get_basename(), retval))
  File "c:\py2\lib\site-packages\youtube_dl\downloader\common.py", line 163, in report_error
    self.ydl.report_error(*args, **kargs)
  File "c:\py2\lib\site-packages\youtube_dl\YoutubeDL.py", line 612, in report_error
    self.trouble(error_message, tb)
  File "c:\py2\lib\site-packages\youtube_dl\YoutubeDL.py", line 574, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Downloading TruTV episodes has started to fail with HTTP error 403 forbidden.  I have confirmed that the The comcast_sso login and password are valid by logging in manually on the trutv site.
Installed with python 2.7 on Windows with pip.

Just a heads up, your ffmpeg version is from 2013.

Looks like that was the issue, updating path to use the latest FFmpeg fixed it. Perhaps there should be a version check when requesting HLS content.


Resize/Fit to Screen Issue in Phaser 3.13.0

Version 3.13.0
First things first, thank you for the Facebook Instant Games Plugin!
I got right into using it over the weekend, but ran into some stubborn fit to to screen issues.  Perhaps this is not a bug but just something I need to handle differently in the new version.
I upgraded to Phaser 3.13.0 over the weekend and all worked fine except that now my game is not resizing properly (I am simply stretching to fit).  I have attached screenshots.  I have narrowed it down to the phaser.min.js file in the new version that is causing the change (NOT phaser-facebook-instant-games.min.js).  The version from Phaser 3.11 fits appropriately to screen.  I'd really like to try out the new Facebook Instant Games features (working great so far!  Thank you!) but unfortunately this fill screen thing is probably going to keep me from moving forward.
This is the only code used to resize, and it works flawlessly in 3.11
`

Thank you for taking the time to open this issue. However, it's a duplicate of #4066, so to keep things tidy I'm going to close this issue. Please track bug progress on the original issue.


Sidecar translations are not working anymore with ruby-i18n/i18n 1.9.0+

Steps to reproduce

I think that i18n_backend#translations should be symbolized as we do in Rails's i18n backend.
It might be related to https://github.com/ruby-i18n/i18n/commit/0fda789ea745cd462658a8948ee085201aba5c6f which has landed in v1.9.0.
#<ViewComponent::Translatable::I18nBackend:0x000000010ae93990 @i18n_scope=["my_engine", "search_bar", "component"],
@load_paths=["/my/path/my_engine/search_bar/component.en.yml", "/my/path/my_engine/search_bar/component.fr.yml"], @initialized=true,
@translations={:en=>{"my_engine"=>{"search_bar"=>{"component"=>{:placeholder=>"Search..."}}}},
:fr=>{"my_engine"=>{"search_bar"=>{"component"=>{:placeholder=>"Rechercher..."}}}}}>

Expected behavior

t('.placeholder') to return Search...
Actual behavior

Translation missing
System configuration
Rails version: <IP_ADDRESS>
Ruby version: 3.1.0
Gem version: 2.48.0

Same problem here, we had to rollback on i18n v1.8.11.

Hey, folks - sorry to hear this is causing you trouble. @elia's marked as the codeowner for that area - tagging them in to see if they can provide some support here.

That's helpful to note. Glad there's an interim solution, but I can understand that it's not ideal.

@MaksJS This might've been associated with #1264 and may no longer be a problem on main. I'm not sure when the team plans on cutting another release, but that could be another option for you for now.

Marking this as solved by #1264 ✅


Implement zooming in PheWAS plot

In many cases, there is one association for a variant that is vastly stronger than the others. As a result, this one dominates the scale of the plot, and it is difficult to see whether other associations are above or below the significance threshold. Indeed, their labels often overlap because of this, so it is unreadable.
Here are two examples:
1_154453788_C_T (the example on our homepage)
1_55055436_G_A

Any suggestion? A log-scale does not look appropriate to me

I remember seeing a library that breaks the chart to get that point closer to the rest of the points

I think it was Highcharts
example for bar chart

How about zooming? I implemented zooming in the manhattan plot in the study page. Would not recommend using Highcharts for this plot since this plot has some custom logic to place the labels for the data points above the significance threshold that tries to avoid collisions between labels for crowded areas of the chart.

An alternative would be to have an option to switch to a log-log Y axis.


The jail until text is misleading in Oversight Community proposals view

The text showing the "Jail until: dd/mm/yyyy" is misleading and is showing an incorrect date.

The text needs fixing to show the timeframe for the jailing "Jailed for (since proposal's execution): 2 weeks".

The text already says when it will end, by convention it seems, so wouldn't be better to exclude the text "Jailing Frens validator until 17th October and slashing 5% for being offline" entirely if it's already been executed?

Thanks for the feedback, the text you highlighted was entered when the proposal was created as a guide to the voters on what the proposal is for. It is probably unnecessary to duplicate the information, but in this case it was helpful in highlighting that the date shown on the proposal is incorrect.


Events Not Appearing in Segment Dashboard Debugger Tab

Environment
SDK/Library Version:   segment_analytics: ^1.0.1
Platform: Flutter
Configuration
I am using the pub.dev version of the SDK, with our host located in EU west (events.eu1.segmentapis.com). Here is how the client is configured:
_segment = createClient(
  Configuration(
    writeKey,
    trackApplicationLifecycleEvents: true,
    debug: true,
    apiHost: 'events.eu1.segmentapis.com',
  ),
);

Expected Behavior:
I expect to see logs on our Segment dashboard debug tab for this source when events are tracked.
Actual Behavior:
No logs appear on our Segment dashboard debug tab for this source. However, local console logs indicate that events are being tracked and saved successfully. Here are examples of the logs:

🐛 Segment: Received settings from Segment successfully.

🐛 Segment: TRACK event (Application Installed) saved:
│ 🐛 {"anonymousId":"5ab9dd3f-0bb4-4940-abb1-1deb5996dc61","messageId":"65c44a71-ca53-4f5d-a5d6-1dc67dbd975c","userId":null,"timestamp":"2024-04-05T09:37:56.059464", ...}

🐛 Segment: TRACK event (Application Opened) saved:
│ 🐛 {"anonymousId":"5ab9dd3f-0bb4-4940-abb1-1deb5996dc61","messageId":"c42b400c-306b-470e-87ed-e8dc1d350d8d","userId":null,"timestamp":"2024-04-05T09:37:56.114901", ...}

Steps to Reproduce:
Configure the Segment client as shown above.
Run the application on an Android/IOS device.
Observe the local console logs indicating that tracking events are saved.
Check the Segment dashboard debug tab for the source and find no logs corresponding to these events.
Additional Context:
The write key has been double-checked for accuracy.
The API host has been set correctly to our EU west host (events.eu1.segmentapis.com).
I have followed the documentation closely and ensured that my configuration matches the recommended setup.
Could there be an issue with the events reaching the Segment backend, or is this a potential bug with the SDK?

Hi @Samin-roadsurfer could you help us check if logs sent another message?
Did you try it run the web if it happens the same?
Sometimes the devices don't have permissions to make API request. You can check our example here.

Hey @edsonjab ,
Thanks for checking,
i found out the default api-host of the package is for US and our source is EU. that is why i did not received any events .
then i changed the api-host to EU one and i got this error:

i have no idea why, but i already contacted the support team for help.
i'll update here when i have more info.

I confirm that issue fixed with version 1.0.2
also you do not need to define the  api-host if you are in EU-host.

I confirm that issue fixed with version 1.0.2
also you do not need to define the api-host if you are in EU-host.


Start9 integration

I reached out to the Start9 team to see if they are interested in adding the joinmarket-webui to their marketplace. It sounds like they are interested and will be adding it sometime this year!
Link to issue: https://github.com/Start9Labs/embassy-os/issues/1237

Awesome, thanks for tracking this here! Let's keep this issue open in case we need to discuss anything related to the integration on our end.


Store DICOM attrs in JSON on filesystem

Need to store DICOM header information on the filesystem (for each series).
Linkage to specific images should be clear.
Better to store everything for now.
Information about hashing of keys can be included (same file, different file?)

pydicom toJson function, might be worth while


feat: add automatic git remote configuration

Added functionality to automatically configure git remote repositories to the scaf creation process.
This is done in the post_gen_project.py hook file using a new function called configure_git_remote().  This function takes the repository URL built during the cookiecutter build out and initializes a new git repository in the new project directory.  It then sets the entered URL as the 'origin' remote.
Subsequently, removed the git init . statement from the scaf script since it now occurs in the configure_git_remote() function of the post_gen_project hook.
Also provided a detailed guide in README.md on how to test the cookiecutter portion of scaf.

Made a ticket for turning the testing docs into code and makefile targets


New Good quality code Commands. Working with current index.js/command handler

New commands submitted again. Good quality code, working with current index.js.
Added a reload command to minimize stopping the whole bot and instead reload a specific command.

This entire commit seems to be really unnecessary... Solaris provides some basic examples to go off... you're providing an entire bot here...

Some people struggle with the current provided example, this solution would give users another view of how to do stuff

This entire commit seems to be really unnecessary... Solaris provides some basic examples to go off... you're providing an entire bot here...

Some people struggle with the current provided example, this solution would give users another view of how to do stuff

This seems like the biggest load of cr*p. The current examples are completely fine. You're adding additional code which isn't necessary. Simply add in line comments to the code to explain it instead of adding more code which isn't explained.

This entire commit seems to be really unnecessary... Solaris provides some basic examples to go off... you're providing an entire bot here...

Some people struggle with the current provided example, this solution would give users another view of how to do stuff

This seems like the biggest load of cr*p. The current examples are completely fine. You're adding additional code which isn't necessary. Simply add in line comments to the code to explain it instead of adding more code which isn't explained.

Just because you dont want the code to be open sourced does not mean you have to stop others. I know you dont like the code to be open sourced and that you should not be on github. Why create a ruckus over this small thing?   Have a good day kid.

Imma take my time, revamp the code and explain it properly, with comments. Also I will start using consts from now own. @Anish-Shobith


after make en, the picture and all the color is black

use the command 'make en', i compile the project success. but when i start the games form the menu all the background of the blocks and pictures is black, the index page has color, what's the cause?

Duplicate of #168


Added 3bot book

In this PR, we add the 3Bot book in the TF Manual.
This is a first version of the 3Bot book. Other contents will need to be added. This will be explained in an upcoming issue once this PR is accepted.
Most of the content in the 3Bot has been taken from the TF Litepaper and other TF documentation.
This is thus not "new" content, but re-organized content.
EDIT: I first worked on this 3bot book on development-split branch, https://www3.manual.grid.tf/3bot/3bot.html, but then created a new branch to avoid merge conflict

@AhmedHanafy725
@ashraffouda
@mohamedamer453
@xmonader
If you guys want to take a look and tell me if it's OK from your perspective, that would be appreciated.
I wouldn't want to just merge my own PR!
@despiegk @scottyeager
Feel free to check this PR too.

I'll check it on Sunday, curious to validate! Thanks

I closed this PR. See #165 for more information


SG15RT support

It would be great if this supported the SG15RT inverter.
https://www.rpc.com.au/pdf/sungrow_SG5.0-20RT_datasheet.pdf

Unless someone else has this inverter and willing to give it a shot, you're going to have to 'have a go yourself' as only then can the registers be confirmed and a mapping file be produced :)
You can always copy a mapping file from another (similar) inverter and start from there! That's what I did!

I have a SG20RT with a WiNet-S dongle. From a first test, solariot works without issues when using 'sungrow-sg10rt' as model in the config. I assume that the modbus registers of SG5.0RT, SG7.0RT, SG10RT, SG15RT, SG20RT are the same.
Sample output from my test:
 'total_power_yield': 2.04,
 'total_ongrid_running_time': 82,
 'internal_temp': 42.5,
 'apparent_power': 1675000.0,
 'pv1_voltage': 592.1,
 'pv1_current': 1.5,
 'pv2_voltage': 577.3,
 'pv2_current': 1.4,
 'total_pv_power': 1696,
 'grid_voltage_a': 232.8,
 'grid_voltage_b': 232.8,
 'grid_voltage_c': 230.4,
 'inverter_current_a': 2.4,
 'inverter_current_b': 2.4,
 'inverter_current_c': 2.4,
 'total_active_power': 1675,
 'grid_frequency': 499.8,
 'array_insulation_resistance': 318.0,
 'daily_operation_time': 237,
 'monthly_power_yield': 200500.0,
 'export_power': 0,
 'export_power_indicator': 65535,
 'power_meter': 65535,
 'year': 2022,
 'month': 4,
 'day': 7,
 'hour': 12,
 'minute': 17,
 'second': 10}```


Patch 2

Cleanup of README by moving known forks and known problems to their own files.

Must I manually rewrite the table in the first section of README.md which has version and date when I write a new commit?
Is it a reasonable?

I agree with you to remove the maintenance badge :+1:

Must I manually rewrite the table in the first section of README.md which has version and date when I write a new commit?

Unfortunately yes, as long as you don't use the releases github function.
But if you just make minor non-command depending changes, I suppose it doesn't matter and need to be updated.

I suggest you just go to my patch repo and copy/edit the README yourself. I think it is just faster and easier.

Hmm,,,
Almost badges, which are written into README.md, need hardcoding the repository place to URL.
I became to think that it was not appropriate.
Because every of them must be rewritten when the repository will be forked.
Maybe it is appropriate to write outside of cloning target such as wiki instead of README.md.

Anyway, that's what I do (and most other people do as well.)
Who cares what happens when people fork it? It would just show the badge for your repo, until changed which is actually a good thing to help keep all these forks from getting even more fragmented.

Really?
Are these badges reasonable?
Looks is so good, but at least as of now I can not find other benefits about writing them into README.md.
Of course I think badges like a build state of Travis CI is very useful.
But it is better that they are related to each fork not the origin, maybe.


Copy editing

This addresses some of the points I raised in #147. The first commit only contains replacements from foo to Markdown's ``` style of blocks. The former doesn't preserve newlines.
The second commit also includes such replacements but also fixes wrong or old links and improves the grammar of certain posts.

@brianleroux i looked over this PR and it looks good to me. Want to rebase & merge it?
I wasn't able to view the changes locally b/c of this error w/ npm run start, I think:
/Users/dtrejo/Dropbox/dev/forks/wtfjs/node_modules/aws-sdk/lib/request.js:31
            throw err;
            ^

CredentialsError: Missing credentials in config
    at ClientRequest.<anonymous> (/Users/dtrejo/Dropbox/dev/forks/wtfjs/node_modules/aws-sdk/lib/http/node.js:83:34)
    at Object.onceWrapper (events.js:314:30)
    at emitNone (events.js:105:13)
    at ClientRequest.emit (events.js:207:7)
    at Socket.emitTimeout (_http_client.js:721:34)
    at Object.onceWrapper (events.js:314:30)
    at emitNone (events.js:105:13)
    at Socket.emit (events.js:207:7)
    at Socket._onTimeout (net.js:401:8)
    at ontimeout (timers.js:488:11)

Would love to hear something about this :) If there's some action here I can work on some of the other stuff I mentioned in my issue.

Just let him know: https://twitter.com/ddtrejo/status/902892724109549568
On Aug 30, 2017 1:17 AM, "ljacqu"<EMAIL_ADDRESS>wrote:

@ljacqu commented on this pull request.
In src/md/2014-02-25-array-indexof.md
https://github.com/brianleroux/wtfjs/pull/148#discussion_r135999731:

Since elided elements were not defined the array does not have a property for the corresponding index.

-Ok. But why we get undefined when get first array element?
+Ok. But why do we get undefined when get the first array element?
when getting*
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/brianleroux/wtfjs/pull/148#pullrequestreview-59477178,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADbN7PwdCjUu3hhbRRHrZhldVMvWnlCks5sdRqdgaJpZM4O1gQY
.

Sorry about that! @DTrejo you need to setup AWS per https://arc.codes/quickstart
(I can get you a user account on my personal AWS if you want to do deploys?)


Daisy UI: Component drawer does not hide

Maintainer says:

It's a problem from Windi CSS which generates wrong style. Use Tailwind CSS instead and it will be okay.

https://github.com/saadeghi/daisyui/issues/509#issuecomment-1048468004
Is this something that could be fixed by windicss or should I better use Tailwind for that usecase?

This happens because most of --tw-* transform variables are unavailable


perf(TransitionGroup): remove all event listeners in onUnmounted

In the TransitionGroup component, multiple child nodes are bound to the transitionend event. We need to remove these events in the onUnmounted hook.

Is it possible to get a bit more detail on what problem this is fixing? Why do we need to remove these listeners?
If the TransitionGroup is being unmounted then so are its children. Everything should be eligible for garbage collection, so removing the listeners shouldn't be necessary.
Perhaps the objective isn't to avoid a leak directly, but to reduce the size of a leak if it were to happen for some other reason? If that's the objective, I think there are other links between the parent and child that would need to be severed to make it effective, such as clearing prevChildren and children. The el[moveCbKey] also seems like it would need clearing.
Or have I misunderstood what this is trying to achieve? Perhaps this isn't related to preventing leaks and there's some other problem this is addressing?

Hence, it is crucial to ensure that we remove our own event listeners on this element when the component is unmounted.

I'm still unclear why this is important. Is this just to avoid a memory leak, or is there some other reason to remove the listener?
If the objective is to allow the callback itself to be GCed then just removing it from the transitionend event won't be sufficient. It'll also need removing from the el[moveCbKey] property.
I experimented with taking some memory snapshots and it didn't seem that the callback really made much difference. The only thing caught in the closure was the el. Everything else inside the TransitionGroup was free to be GCed. The only thing that 'leaks' is the function itself, it doesn't pull in anything else if we don't remove the listener.

If I use Sortablejs for drag-and-drop cloning, when I drag the current element to another list, this element disappears in the TransitionGroup. At this point, if the TransitionGroup component is destroyed, the element will not be destroyed because it has already been moved to another component. However, the bound event still exists. As for el[moveCbKey], it is not destroyed because if the target element being dragged to is also a TransitionGroup component, removing el[moveCbKey] would result in us removing the moveCb bound to the target element.

If I use Sortablejs for drag-and-drop cloning, when I drag the current element to another list, this element disappears in the TransitionGroup. At this point, if the TransitionGroup component is destroyed, the element will not be destroyed because it has already been moved to another component. However, the bound event still exists. As for el[moveCbKey], it is not destroyed because if the target element being dragged to is also a TransitionGroup component, removing el[moveCbKey] would result in us removing the moveCb bound to the target element.

I'm afraid that this makes the dropped element no longer managed by Vue's rendering logic and it's reasonable to expect unwanted behavior from this.

If I use Sortablejs for drag-and-drop cloning, when I drag the current element to another list, this element disappears in the TransitionGroup. At this point, if the TransitionGroup component is destroyed, the element will not be destroyed because it has already been moved to another component. However, the bound event still exists. As for el[moveCbKey], it is not destroyed because if the target element being dragged to is also a TransitionGroup component, removing el[moveCbKey] would result in us removing the moveCb bound to the target element.

I'm afraid that this makes the dropped element no longer managed by Vue's rendering logic and it's reasonable to expect unwanted behavior from this.

However, we should ensure to remove our own bound events that do not affect the external ones. We cannot control users using this element to manipulate other behaviors.

We cannot control users using this element to manipulate other behaviors.

Actually we are consistently telling users if they manipulate DOM elements manually, the Vue's rendering is likely to break. So should we try to fix holes that are not expected to be there in the first place? What if users move the element and didn't unmount the transition component?

@Justineo Thank you for your response, I re-understood this component, this event is only bound in the onUpdate hook, and the event will be removed during execution, which means that it will only trigger once, and only the elements that currently trigger the animation are bound, so it does not have the problem of unbinding when uninstalling. I will close this pr
https://github.com/vuejs/core/blob/2c0414fdca5339857098b1eeaf2c74541f1451e3/packages/runtime-dom/src/components/TransitionGroup.ts#L90


Update text of Terms of Deposit modal

Replace existing text in the Terms of Deposit modal with the updated version of the Terms of Deposit at https://docs.google.com/document/d/1fcr2DYo7OrX-qTdeUOTWKSS1rlq_47sehESmbvgUsrk/edit#.

https://docs.google.com/document/d/1fcr2DYo7OrX-qTdeUOTWKSS1rlq_47sehESmbvgUsrk/edit#heading=h.ab2g8b5m7wat is a link to the text


we need sync SQL Credentials between SQL HA servers post deployment.

Post app serivce 1.8 deployment with SQL HA, beside adding AppService databases (appservice_hosting and appservice_metering) to an Availability group. I also have to sync app service SQL credentials from primary instact to secondary instance.

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

ID: 10752bf4-4bf7-7b94-c16f-d456e32aeb51
Version Independent ID: a23c6033-3d5c-7c4e-e0e0-e30b4629901e
Content: App Service on Azure Stack Hub update 8 release notes - Azure Stack Hub
Content Source: azure-stack/operator/azure-stack-app-service-release-notes-update-eight.md
Service: azure-stack
GitHub Login: @apwestgarth
Microsoft Alias: anwestg

@fengatms  Thank you for your query , our team will further look into it and get back to you at the earliest.

Hi @fengatms thanks for commenting.  However that is incorrect.  The App Service databases are configured as contained databases meaning the security logins are stored in the database itself.  In 1.8 we have a regression for newly deployed databases and you need to enable contained database, and then convert the databases to partially contained.  This is covered in the release notes in known issues (post-installation).
App Service creates new users for each worker that is added by a scale out of the underlying worker tiers, therefore if you would continually have to sync the logins which is one of the reasons we switched to contained databases.  It was a design change for other reasons too, such as supporting SQL Always On.

@fengatms We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Problem with visualization

Hello, I am trying to reproduce the result with yours weights, but i have a problem with the output. This is the result, that change a bit from yours result. Why could it be? Thanks.

Could you provide the frame idx and the shell command of your visualization?
By the way, we updated our code yesterday, so make sure that you use the visualization code up to date.


Pin integration test image for alpine

The latest tag is no longer available for alpine, pin to the latest version rather than using latest.

@alakesh we are looking at alternatives where we host all our test images in github packages and have a periodic job which updates those images. The current approach of pulling from different registries of images we don't own has caused a lot of disruption in our CI over the last 6 months.

@alakesh we are looking at alternatives where we host all our test images in github packages and have a periodic job which updates those images. The current approach of pulling from different registries of images we don't own has caused a lot of disruption in our CI over the last 6 months.

Sounds good. Thanks!


[DevTools Network Issues Guide Suggestion]

In chrome developer tools when we capture the network traffic and save the har file. We are seeing first request is not starting at 0th ms. This issue is seen with latest chrome as we had not seen this behavior before.
Can you please let us know why there will be a difference or lag at start of first request? Should the finish time not include the lag as current finish time reported doesnt include the lag.

We have observed that the HAR files, saved from the chrome developer tools profile, show incorrect start time of the first html request. We expect this time to be same or very close to the page load start time (also shown in the HAR) but they are not. This ultimately causes alignment issues for the first request in the HAR file and also shows incorrect total time.

All the best wishes the almighty allah, pls., send the systems of service of your lebel best.

@njajay and @pratul397 if you're still seeing this issue please file a bug at https://crbug.com


Exception is thrown when result_flags list contains 'nil' object

The error bellow arrise on results who have Workflow or Workflow flag updated :

Started GET "/results/1138" for 5.xx.xx.xx at 2016-04-02 01:04:40 +0200
Processing by ResultsController#show as HTML
  Parameters: {"id"=>"1138"}
  Rendered results/_status_bar.html.erb (24.9ms)
  Rendered results/_show_details.html.erb (5.0ms)
  Rendered shared/_paginated_table.html.erb (33.7ms)
  Rendered shared/_abstract_table.html.erb (35.1ms)
  Rendered results/_assignee.html.erb (8.2ms)
  Rendered results/_subscriber_list.html.erb (6.2ms)
  Rendered results/_subscription.html.erb (25.0ms)
  Rendered results/_result_workflow.html.erb (13.6ms)
  Rendered results/show.html.erb within layouts/application (214.5ms)
Completed 500 Internal Server Error in 337ms

NoMethodError (undefined method `each' for nil:NilClass):
  app/views/results/_result_workflow.html.erb:10:in `block in _app_views_results__result_workflow_html_erb___55529443539286669_47284360'
  app/views/results/_result_workflow.html.erb:5:in `_app_views_results__result_workflow_html_erb___55529443539286669_47284360'
  app/views/results/show.html.erb:128:in `block in _app_views_results_show_html_erb___1165098138450291899_49502320'
  app/views/results/show.html.erb:64:in `_app_views_results_show_html_erb___1165098138450291899_49502320'
  app/controllers/results_controller.rb:111:in `show'

The pull request #76 solve this issue.


Add ol-popup and ol-geocoder libs

Needed ressources for showing search bar in map window

It belongs to #659 which adds a search functionality to the Traccar map.

Why is it a separate pull request? If it belongs to other PR it should be there.


 not rendered in FormikEditor

Please have a look at this video: https://app.usebubbles.com/pJHmq3o1FtBKjRvDpLN2cG
This is the case for some of the questions in neetoQuiz where images are being rendered in EditorContent component but not in FormikEditor

Closing by virtue of https://github.com/bigbinary/neeto-quiz-web/issues/2146


Too much logging

It would be nice if get/status API calls do not log or if logging can be disabled for those. Our general system log is now clogged up with API calls (gateway_status).
API calls which change the config should always be logged.

This is an excellent point - I'll make this happen with a new point release over the weekend

Addressed in release v1.3_4


Update links to doc_files with correct URL

Updated several links that were returning 404 with the correct URL.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Add content for CS433

recent.md is updated as well

For newly-added content, you don't need to update recent.md.
Instead, you need to update README.md

fixed that

Good job, thanks!


how could one use an api_key_cmd that requires sudo.

Hi everybody,
Does anyone know if there is a way to use an api_key_cmd that requires sudo to retrieve the api key?
Or in other words, is there a way to make neovim promp for the password when it is running the job for retrieving the api key?

@molleweide have you solved this? i'm trying to use bitwarden-cli but it is not prompted for vault password :-(

@molleweide have you solved this? i'm trying to use bitwarden-cli but it is not prompted for vault password :-(

No, but now it seems 1password triggers their auth automatically so the issue resolved even though the original issue still bugs me a bit that i cant solve it


CQUI messing up trade routes dialog.

Describe the bug
As said in title. On sorting i can see different city states but never a complete list. I am using CIVITAS city states, so it may be related... including lua traceback from tuner
General informations

OS: Win10
R&F
YnAMP, CIVITAS city states

Save game and logs
https://www.reddit.com/r/civ/comments/9gwndy/cqui_is_messing_up_trade_route_options_civ_6/
https://pastebin.com/BSrSu1Jj

Just confirmed, CIVITAS is unrelated. This is CQUI only problem

I have the same issue using CIVITAS AND CQUI on macOS 10.14.2.

CIVITAS has a fix for this
https://forums.civfanatics.com/threads/city-states-expanded.630256/#post-15078348


[auto] Add warnings about new releases

On every latest update (dependabot PRs), this will provide info
in logs about new releases that aren't accounted for in existing
release cycles. Recent = new release in last 30 days.
Mostly, these are new release cycles that will needed to be added
Ocassionally, these will be "not-yet-stable" release cycles so we
might decide against including them (such as is the case for 2 current
warnings - Amazon Linux 2022, and perl 5.37)

This is how the output looks like:
python _auto/latest.py
Updating _data/release-data/releases/postfix.json
[WARN] mongodb:6.1.0 (2022-10-04) not included
Updating _data/release-data/releases/ros.json
Updating _data/release-data/releases/pan-os.json
Updating _data/release-data/releases/pan-xdr.json
Updating _data/release-data/releases/ffmpeg.json
[WARN] amazon-linux:2022.0.20220928.0 (2022-10-04) not included

Probably the best place to publish this is as a comment on the dependabot PRs, instead of just the logs - so it gets noticed more often.

This PR slightly downgrades the PAN-OS information we present today, but hopefully that's temporary. Beyond that, there's a lot more upsides (Lots more checks on https://github.com/endoflife-date/endoflife.date/discussions/1653)


Let exceptions thrown by providers bubble up and fail the build

Fixes #23141

@bot-gradle test ACC

OK, I've already triggered the following builds for you:

AllConfigCacheTestsPullRequestFeedback build

@bot-gradle test and merge

OK, I've already triggered a build for you.

Your PR is queued. See the queue page for details.

@bot-gradle test ACC

OK, I've already triggered the following builds for you:

AllConfigCacheTestsPullRequestFeedback build

Pre-tested commit build failed.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

OK, I've already triggered a build for you.

Your PR is queued. See the queue page for details.

Pre-tested commit build failed.

OK, I've already triggered a build for you.

Pre-tested commit build cancelled.

@bot-gradle test RFN

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

Pre-tested commit build failed.

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Merge v:a with mp4

Is there an option to merge concurrently downloaded audio video streams into mp4 instead of the -M format=mkv?

You can use -M format=mp4


There are no resources discovered

If your issue relates to the Discovery Process, please first follow the steps described in the implementation guide Debugging the Discovery Component

Describe the bug
I have deployed the solution a few times already and even there are no errors in the logs, the CF stacks are successfully created, there are no resources shown, discovered.
To Reproduce
Steps to reproduce the behavior:
1 Deploy the solution following the steps in the AWS guide
2 Import a new region account, download the Global template
3 Deploy the global template
Expected behavior
The resources are discovered and show in the web ui
Screenshots
Attached a few logs and screenshots below.
Browser (please complete the following information):

Name:  chrome
Version 95.0.4638.69 (Official Build) (x86_64)

Additional context
I tried a few times, importing first the region and account where the Perspective solution is running, as suggested in the guide, and I tried importing other accounts. It's not discovering any resources. I have around 2000 resources. Both, the main CF stack and the global one are successfully deployed, no issues found so far. I followed the steps to verify the discovery service however all seems to be OK. I have recorded my screen but it's too big and I cannot upload it. If you provide me an s3 link I can upload it there. I think the issue is with the ECS task, that's not running every 15 mins as expected. I checked ECS and the cluster has been created, but there is no running, stopped or scheduled tasks.

log-events-viewer-result (2).csv
log-events-viewer-result (4).csv

1 Deploy the solution following the steps in the AWS guide
2 Import a new region account, download the Global template
3 Deploy the global template

Did you deploy the regional template as well?

Closing due to inactivity.


Update documentation

Fixes #26  , #27
Updates documentation to better clarify process:

Restructure to separate adding new content and updating existing content
Update to incorporate the use of the docs-template, including which files need to be edited and which can be left as-as.
Change add/edit steps to better reflect when intervention/support is needed from the Docs Team
Removes some unnecessary technical details and redundant references to the Docs Policy.
Removes the statement that someone with admin permissions need to create a repo. Anyone in our org can create a repo.
Adds details about config requirements instead of linking to the docs-build repo.
Changes language requiring approvers to review the pull request. Approvers can review the content in any format that works for them (could be just looking at the Docs Dev site).

Questions:

Do we need a step for adding env variables to the repo (issue #25 ) for GitHub actions to do its thing? I know we had to do this for the Archival-Education-Strategy-Document, but I don't know if that happened for the more recent ccny-internship-overview docs, so I want to clarify.
The guide refers to the "Docs Team". I'm counting on connections outside of this documentation to make that clear on who is included in that group. Does that work?
The section on editing docs suggests making changes in the development branch instead of creating a feature branch. I was thinking this is fine because it gives folks the ability to review changes on the development site, keeps the pull request process simple, and doesn't seem like it will cause problems in the way it might for an application v. documentation. Thoughts?

Responding to your first question: yes, I think we need to add a step for this, which I think logically would fit in/around step 8 of creating new documentation.


The CUDA Runtime initialization failed

I am receiving an error when calling Control.UseNativeCUDA(); with the latest revision of the library.  I am attempting to use CUDA 7.0 on Windows 7 x64
The SafeNativeMethods.createBLASHandle call is returning CUBLAS_STATUS_NOT_INITIALIZED

Please close this issue, the problem was that I was connecting to the machine using Remote Desktop Connection.  If I bother to stand up and actually walk over to the machine, everything runs fine!

Thanks for the update!


Create create-react-app.js

#68
What: copied create-react-app from glamorous repo to glamorous website
Why: Adding existing glamorous docs to glamorous site.
How: copied content from glamorous repo README to /content/create-react-app.js

Thank you!

By the way, would you like to add yourself to the contributors table? If you want to do it, then open a new pull request :) Thanks again!


CSV parser support

It would be nice to use a library like this to support parsing and exporting of CSV  file within the Engine Script.

Hi @dixonsiu
How about using Papa Parse ?
After approving #148, we can use Papa Parse like below.
function csvtest(request) {
 const Papa = require("./papaparse.min");
 const dat= Papa.parse("aaa,bbb,ccc\nhoge,foo,bar\n111,222,333", {header: true});
 return {
   status: 200,
   headers: { "Content-Type": "application/json" },
   body: [
     JSON.stringify(dat),
   ],
 };
}

Yes, I was already using papaparse by modifying the first line.
exports.Papa = (function(root, factory)

Oh sorry. I don't know that you solved it already.
Could you close this issue?
By the way, the modifying lines is not good in perspective of maintainability 😭

Yup, hopefully, with your pull request, I don't have to write the silly one line anymore.


[Git Action] Build with Jekyll Failed

On my repo - brand new no changes https://github.com/Mieekaserra/Mieekaserra.github.io
Am getting the following error

Which gives me the following error.
/usr/bin/docker run --name ghcrioactionsjekyllbuildpagesv106_b31546 --label 290506 --workdir /github/workspace --rm -e "INPUT_SOURCE" -e "INPUT_DESTINATION" -e "INPUT_FUTURE" -e "INPUT_BUILD_REVISION" -e "INPUT_VERBOSE" -e "INPUT_TOKEN" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/Mieekaserra.github.io/Mieekaserra.github.io":"/github/workspace" ghcr.io/actions/jekyll-build-pages:v1.0.6
/usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/theme.rb:84:in rescue in gemspec': The just-the-docs theme could not be found. (Jekyll::Errors::MissingDependencyException) 	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/theme.rb:81:in gemspec'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/theme.rb:19:in root' 	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/theme.rb:12:in initialize'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:439:in new' 	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:439:in configure_theme'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:55:in config=' 	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:23:in initialize'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:30:in new' 	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:30:in process'
from /usr/local/bundle/gems/github-pages-227/bin/github-pages:70:in block (3 levels) in <top (required)>' 	from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in block in execute'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in each' 	from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in execute'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in go' 	from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary.rb:19:in program'
from /usr/local/bundle/gems/github-pages-227/bin/github-pages:6:in <top (required)>' 	from /usr/local/bundle/bin/github-pages:23:in load'
from /usr/local/bundle/bin/github-pages:23:in <main>' /usr/local/lib/ruby/2.7.0/rubygems/dependency.rb:3[11](https://github.com/Mieekaserra/Mieekaserra.github.io/actions/runs/3542179945/jobs/5947366955#step:4:12):in to_specs': Could not find 'just-the-docs' (>= 0) among 148 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/github/home/.gem/ruby/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/local/bundle', execute gem env for more information
from /usr/local/lib/ruby/2.7.0/rubygems/dependency.rb:323:in to_spec' 	from /usr/local/lib/ruby/2.7.0/rubygems/specification.rb:986:in find_by_name'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/theme.rb:82:in gemspec' 	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/theme.rb:19:in root'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/theme.rb:12:in initialize' 	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:439:in new'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:439:in configure_theme' 	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:55:in config='
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/site.rb:23:in initialize' 	from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:30:in new'
from /usr/local/bundle/gems/jekyll-3.9.2/lib/jekyll/commands/build.rb:30:in process' 	from /usr/local/bundle/gems/github-pages-227/bin/github-pages:70:in block (3 levels) in <top (required)>'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in block in execute' 	from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in each'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in execute' 	from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in go'
from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary.rb:19:in program' 	from /usr/local/bundle/gems/github-pages-[22](https://github.com/Mieekaserra/Mieekaserra.github.io/actions/runs/3542179945/jobs/5947366955#step:4:23)7/bin/github-pages:6:in <top (required)>'
from /usr/local/bundle/bin/github-pages:23:in load' 	from /usr/local/bundle/bin/github-pages:23:in '
Logging at level: debug
Configuration file: /github/workspace/./_config.yml
Theme: just-the-docs
github-pages 227 | Error:  The just-the-docs theme could not be found.

Hi @Mieekaserra, thanks for submitting this issue. I think I need a bit more context; two questions:

Did you enable deploying from Actions? I'm not sure why the github-pages gem is being loaded into your space.  In particular, you should not use the default github pages build: you should be "building /deploying from actions".

perhaps we can document this better!

It seems like something exists at Mieekaserra.github.io, so at least one of the builds succeeded. What was the diff you made that introduced the error?

Nothing - Its been failing since i setup the template.

No worries, just makes it a bit harder to troubleshoot. Looks like you resolved it in https://github.com/Mieekaserra/Mieekaserra.github.io/commit/6145faa5c9d4f97dd74ae35d7ef88a5be1b9a38b by using a remote theme.
I'm going to close this issue for now, since your direct problem was resolved, but it sounds like we can do a better job documenting the template / testing it. I'll take this up over the next few days; if you have any suggestions or are willing to submit a PR, that would be appreciated.

Hey @Mieekaserra, just following up - tried to repro with this repository and couldn't repro: https://github.com/mattxwang/test-jtd-bug
What were the exact steps you did? For reference, I did:

use template to create repo
settings -> select "github actions" for pages deploy
build works
make arbitrary commit touching index.md
build still works


firebase.json example

Hi, please can you give an example of the firebase.json that you mentioned?
or where can I find an example?
Thanks

It’s the credentials that you would use for setting up we as normal. Looks sort of like this but as JSON and not js


Changelog / release notes

Is the feature request related to a problem
There doesn't appear to be a changelog or release notes for recent versions.
Describe the solution
Add a changelog, or add release notes to the releases page.
Describe alternatives considered
n/a
Additional context
n/a

i used close milestones as release notes https://github.com/VerifyTests/Verify/milestones?state=closed

Currently, updates from Dependabot look like this:

While I sympathize with items loke "yolo" and "yolo2", the aforementioned "milestone" section also doesn't contain any explanations about the current release :)
Is everything alright here?

yes i neglected to create a miletsone for the last release. here it is https://github.com/VerifyTests/Verify/issues?q=is%3Aclosed+milestone%3A25.3.0
as for dependabot listing commit messages on a PR. not much i can do about that. for most of my projects commit message dont mean much. for projects where i am the only contributor on, i dont feel the need to do clean commit message. ie i could push everything through a PR+squash commit process. But that would be significantly more work. I currently maintain 200+ nugets in my spare time, so i need to move quickly to keep up. I prefer to focus effort on quality unit tests and clean code, and not on a perfectly curated history of commit messages

I do not care about the commit messages that much, mind you. But at least some way to know what's been changed in a new release would be nice to have.
I can see that you've created a milestone for the latest release, though, so perhaps it's enough information.
Also, now I see it's mentioned in the README, so for my taste it's alright. Thank you!

I propose having a curated changelog, if nothing else then at least to document breaking changes for new major versions. For package consumers, trying to look through issues and pull requests to try to ascertain which changes are breaking is generally a futile endeavor.


cmd/go: modules: use of internal package not allowed

I just tried using modules at Go tip (b9761b18e1) with Perkeep (github.com/perkeep/perkeep).
Are these errors expected, @rsc, @bcmills?
$ cd $HOME
$ git clone https://perkeep.googlesource.com/perkeep
$ cd perkeep
$ go mod -init
...
$ go install ./server/perkeepd
...
../../src/mod/github.com/cznic/kv@v0.0.0-20170515202733-892ccf731fb7/kv.go:16:2: use of internal package github.com/cznic/internal/buffer not allowed
../../src/mod/github.com/cznic/lldb@v1.1.0/memfiler.go:13:2: use of internal package github.com/cznic/internal/file not allowed
../../src/mod/github.com/cznic/internal@v0.0.0-20170905175358-4747030f7cf2/buffer/buffer.go:36:2: use of internal package github.com/cznic/internal/slice not allowed

/cc @mpl

Dup of #23970. (github.com/cznic/internal is its own repo, and therefore its own module.)
I'm planning to fix this before the final 1.11 release, but it might not make beta2.

Yep.

I'm trying to use the Redigo library (for Redis), I'm able to run go mod tidy but when launching some tests with go test I get this error:
\go\src\mod\github.com\garyburd\redigo@v2.0.0+incompatible\redis\pool.go:28:2: use of internal package github.com/gomodule/redigo/internal not allowed

Maybe it's related to something else than this issue?

github.com/garyburd/redigo is not allowed to access github.com/gomodule/redigo/internal because github.com/gomodule/redigo is not a prefix of github.com/garyburd/redigo: this is working as designed.
If you intend for github.com/garyburd/redigo to replace github.com/gomodule/redigo, you'll need to use a replace directive and import via the latter path.


allow to manually flush the mount cache (fixes #803)

some comments on this PR:

I will rebase/squash when this is ready. I expect your review will yield some more changes :)
fixes #803, and allows fine grained eviction if needed
I did not need to modify bazil/fuse after all: It already offers a callback through NodeForgetter when it discards something on its side. Together with the already implemented rename/remove, this should cover all cases.
the extra code in func (d *Dir) rename(…) is to fix #1375. I experience it when I test manually with GDrive mounted, but I didn't manage to write a failing test case. I'll have to see in #1375 if this is just a bug in GDrive, just not present in the local backend used in test cases or maybe a timing related issue…
I wonder if SIGHUP is a good signal choice. I would prefer something like SIGUSR1, but if I read correctly this is not available on Windows. What about SIGALRM? If not, rclone should probably ignore SIGHUP in other modes, because users might otherwise accidentally kill a running sync if they pass the wrong PID.

Re SIGHUP:
From the signal docs I think only Interrupt is supported under Windows.  Anyway the whole of fuse is compiled out for windows at the moment.
SIGHUP usually means reload the config file so I wonder whether SIGUSR1 might be a better choice.  SIGUSR2 means kick the bandwidth limiter at the moment too.

Ah, I will take a look at the dir tree you mentioned. That sounds like exactly like what I need, except it comes without the double maintenance.
Regarding reviewing non-squashed patches: I am curious, how do you review usually? Github has the "Files Changed" tab, which essentially works like a squashed view. Locally, something like git diff master... should do the trick (the three dots compare it to when it was branched off, not the current state of the master branch). Regardless, I will squash in the future.

Your approach works much better! The updated patch still needs a lot of cleanup though.
However, do you remember why d.items = nil was needed when renaming a directory? It is there since this feature was supported, but the test I wrote for this corner case passes either way. I also tried with a shell, which keeps the reference to the current directory without a traversal. They also behave the same, as far as I can tell.

Regarding reviewing non-squashed patches: I am curious, how do you review usually? Github has the "Files Changed" tab, which essentially works like a squashed view. Locally, something like git diff master... should do the trick (the three dots compare it to when it was branched off, not the current state of the master branch). Regardless, I will squash in the future.

I don't think I ever clicked on that tab before - thanks for teaching me a new trick :-)  From previous revision control systems all the way back to patches to a mailing list I've always reviewed individual diffs and I guess I just carried that forward to github!

However, do you remember why d.items = nil was needed when renaming a directory? It is there since this feature was supported, but the test I wrote for this corner case passes either way. I also tried with a shell, which keeps the reference to the current directory without a traversal. They also behave the same, as far as I can tell.

It was there to get rid of any items in a directory.  Each rclone Object contains within it the full path in the remote.  This is great for syncing etc, but for a file system when you rename the directory you need to invalidate all those objects because they now have the wrong paths in them.  Directory listings etc will work without d.items = nil but if you try to read any of the data it will likely say object not found (on bucket based remotes it will certainly (eg swift/s3/b2), on drive, acd I guess it may not!).
I'll just note that I've been refactoring the underlying directory tree / nodes into mountlib (currently in the cmount branch) so I can re-use it with a different fuse library (cgofuse) which can be made to work under windows.  I'd also like to use the mountlib to serve webdav also.
Anyway at some point this means I'll need to merge what you've done into the mountlib (that isn't a problem - I've done that sort of thing lots of times before!).
I'd appreciate your feedback on mountlib if you have a moment!  At some point I'd like to make some tests for mountlib itself rather than going through FUSE but I haven't done that yet!

BTW there is a golint message to fix!
/home/travis/gopath/src/github.com/ncw/rclone/cmd/mount/dir.go:75:1: comment on exported method Dir.ForgetAll should be of the form "ForgetAll ..."

I've added "checkout mountlib" to my todo
thanks for the hint about items = nil. I will see if I can make it fail locally, and maybe even write a test for it.
regarding changes: I wanted to check how gdrive/ACD changes APIs actually work. Right now the more specific ForgetPath is only used in tests, so I might at least make it suitable for implementing the "listen to changes" for these remotes.
I still need to at least roughly understand how the mount and the additional "changes listener" interface for remotes would work together. The mount polling via mount.FS.f.somehowGetChanges would probably work, but maybe there is a more elegant solution.
Last but not least, I wanted to look into getting rid of the myFirstFs hack.

I guess this is as good as it gets, if you wanna take another look.
Both Google and Amazon's changes API allow one to update the cache – so ideally those APIs shouldn't need to call "Forget", but rather implement some custom update function that updates the file in the existing caches. The generic walk function, like you originally suggested should help with that.

That looks great thank you :-)

I forward ported this to the cmount branch - can you give it a quick once over and see if it looks sane? add408c9edb7954d2d749981fb516de31bdcbe53
Thanks

I gave the branch a test spin and SIGHUP'ing rclone still works nicely. I missed dirCacheTime being hardcoded when cross reading the changeset though, and I was quite stumped for a while why --dir-cache-time 10s didn't work. On the upside, I am now quite sure the cache time invalidation also still works.
I took a look at the diff and I must say you have been quite busy. It is not yet quite clear to me what's the idea for the code organization. Is mountlib supposed to be a generic base that mount (bazil/fuse) and cmount (cgofuse) can share? And both bazil and cgofuse will remain in rclone for the forseeable future?
These are the things popping into my mind. All rather minor though:

Some of the pieces of code in cmount and mount seem very similar. I wonder if there's a possibility to extract more shared code into mountlib or similar. I would have to have a much deeper look though to see if this would actually be better. For instance, consider the waitloop:. Sharing that would work, as long as one doesn't call signal.Notify(sigInt, syscall.SIGINT, syscall.SIGTERM) in the cgofuse path. Hard to tell for me if the if/else would be better than the code duplication. Options that are supported by both would be another example.
I'll have to actually try to contribute a patch into the cmount branch to see if I can get comfortable with the file naming and package naming: now there's fs.Fs, mount.FS, cmount.FS, mountlib.FS and mounttest.FS and they even call into each other. It was already a source of confusion for me when there were only two.
if a more stable inode allocation is needed, bazil/fuse has actually a pretty nice implementation: https://github.com/bazil/fuse/blob/master/fs/serve.go#L1551 Implementing bazile/fuse's FSInodeGenerator using rclone's NewInode would probably also solve your fixmes in cmd/mount/dir.go ReadDirAll.

That's it for now. If something else comes to mind, I'll add it here.


Add tus & JWT support as stop-gap before isomorphic skynet-js

We're starting to see more server-side use-cases for Skynet. I'd like to propose we add tusUpload along with a simple way to add your account JWT.
I think all other actions are easy to do by just using both libraries, but until we have a plan on our isomorphic library, this will fill the gaps. I'd also suggest moving it to @skynetlabs org on npm, breaking the nebulous branding.
The tus-js-client is already isomorphic, so I think this is low-hanging fruit compared to developers trying to figure out tus implementations on their own.

Links for developers looking for this functionality or implementing it on their own.
Portal endpoint:
[portalUrl]/skynet/tus
Current skynet-js code making requests to the tus endpoint:
https://github.com/SkynetLabs/skynet-js/blob/b10c0ec2512103eb21d3dac140b9ffec577fc07f/src/upload.ts#L204
Current library skynet-js uses to implement tus protocol:
https://github.com/tus/tus-js-client


c20r missing auto eject function

c20r used to auto eject its magazine with a distinct beeping noise
this was cool and an interesting balance for the weapon since it let everyone know when it needed to be reloaded which can lead to some good gameplay from either the user/victims

It looks to be commented out (in Prototypes\Entities\Objects\Weapons\Guns\SMGs\smg.yml:)

No clue on if the issue mentioned here is actually fixed or not yet.


Cannot make batch dataset run in Newer Version of LUIS (V3)

When I run the dataset file, I get the error "Bad Argument: LastTestDateTime cannot be null or empty".
I have followed the syntax provided in the Batch syntax template:
https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-concept-batch-test#common-errors-importing-a-batch
but it doesn't work.
It worked fine in LUIS v2.

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

ID: 7d22783a-49f9-4411-f040-363de167d455
Version Independent ID: 33b20991-dd95-fb0e-e64c-062b617a2d1a
Content: How to perform a batch test - LUIS - Azure Cognitive Services
Content Source: articles/cognitive-services/LUIS/luis-how-to-batch-test.md
Service: cognitive-services
Sub-service: language-understanding
GitHub Login: @diberry
Microsoft Alias: diberry

@Meryg-19 Can you please reproduce the same steps and issue in a web browser with F12/dev tools open, then save to a .HAR file and send the file to LUIS (luservice @ microsoft.com)?

Thank you for your quick reply. It's working now. It may have been a temporary issue.

@Meryg-19 Glad to hear it. #please-close


let g:indentLine_char has no effect

I tried setting a custom character using let g:indentLine_char='c' and it has no effect. I've tried various letters and it just stays as the same character. Any ideas why I cannot change the character?

I don't know, I think it is not indentLine's fault.

Yeah you're right. For some reason its working now and I have no idea why. I started with disabling all of my plugins and then it worked. So then I started re-enabling them one by one to see which was the culprit. But in the end I re-enabled ALL of my existing plugins and it was still working...so thus no conclusion was made why it didn't work originally.


Dependency not working..Lib works

dependency in a project isn't working as I am using 3.3 (preview) version with kotlin support of 1.2.50 as well as min SDK version 16+..But when I manually put lib ..it;s working!

Hi @YudizKhushbu have you set this line in your build.gradle project level:
maven { url 'https://jitpack.io' } if do not, please add it, and let me know.

I'm currently using it in a project, and it works fine.