Command jsonapi configure not working

Summary
I tried to run the command 'gopass jsonapi configure' on my fresh installed gopass version 1.9.2 but it seems that the command isn't present anymore. Instead of creating native messaging scripts it tries to find a password entry. So I've installed gopass 1.8.6 where that command works as expected.
Steps To Reproduce

Install newest gopass version 1.9.2 with go get github.com/gopasspw/gopass
run wizard, mount store
run gopass jsonapi configure

gopass now tries to find a password entry
Expected behavior
gopass should run the Native Messaging Setup Wizard
Environment

OS: Ubuntu 20.04 LTS
gopass Version: 1.9.2
Installation method: go get github.com/gopasspw/gopass

This command has been removed from the main gopass binary.
Workaround: Use cmd/gopass-jsonapi.

This is how I tried to run the gopass jsonapi. Unfortunatelly, I also ran into this bug. I solved it by editing the gopass_wrapper.sh.
Steps to reproduce
The new version (1.9.2-git+HEAD go1.14.3 linux amd64) comes without the jsonapi command. It is now provided by gopass-jsonapi which has to be created first
$ cd ~/gopasspw/gopass/cmd/gopass-jsonapi/
$ make

Now, configure the gopass-jsonapi in that folder:
$ ./gopass-jsonapi configure

which will also display the gopass_wrapper.sh:
Wrapper Script (/home/user/.config/gopass/gopass_wrapper.sh):
#!/bin/sh

if [ -f ~/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then
   source ~/.gpg-agent-info
   export GPG_AGENT_INFO
else
   eval $(gpg-agent --daemon)
fi

export PATH="$PATH:/usr/local/bin" # required on MacOS/brew
export GPG_TTY="$(tty)"

/home/user/go/src/github.com/gopasspw/gopass/cmd/gopass-jsonapi/gopass-jsonapi jsonapi listen

exit $?

Manifest File (/home/user/.mozilla/native-messaging-hosts/com.justwatch.gopass.json):
{
   "name": "com.justwatch.gopass",
   "description": "Gopass wrapper to search and return passwords",
   "path": "/home/user/.config/gopass/gopass_wrapper.sh",
   "type": "stdio",
   "allowed_extensions": [
       "{0815-0815-0815-0815}"
   ]
}

The line ending with gopass-jsonapi jsonapi listen contains a bug, as the jsonapi is redundant. Removing it solved the problem (resulting in: ... gopass-jsonapi listen)

Thank you for pointing out this issue.
The wrapper output will be fixed soon.

This command has been removed from the main gopass binary.
Workaround: Use cmd/gopass-jsonapi.

how can this be used?

This command has been removed from the main gopass binary.
Workaround: Use cmd/gopass-jsonapi.

I wondered how i can use this.
Then I realized that you mean this directory in the sources you get from https://github.com/gopasspw/gopass.
There going to cmd/gopass-jsonapi
But a normal make does not work there; it need root privileges

You don't need root privileges for any part of gopass.
And you shouldn't use it as root - at least not build it as root.

of course build as root is not good, but it does not work else:
$ make
go: finding github.com/urfave/cli v1.22.4
go: finding golang.org/x/net latest
go: finding github.com/blang/semver v3.5.1+incompatible
go: writing stat cache: mkdir /usr/go/pkg/mod/cache/download/github.com/urfave/cli/@v: permission denied
...

That seems like an issue with your Go installation.
Running as root is not the proper solution.
Of course you can do what you like, but I discourage building as root.

I dont know, I am not a go developer. I just installed go to install gopass and just used the normal apt package of golang on my ubuntu.
it seems like solving dependencies, but the installer tries to install it globally, not for the actual user.

I'm afraid I can't help you debug this, but I strongly suggest getting some advice to fix your go installation.
Or you could just use our binary packages.

It is hard to get an advice, if I don't know enough about go language to describe the problem. I do not even know, what i can google for.
I already tried the binary packages, but they don't contain the jsonapi command.

This command has been removed from the main gopass binary.
Workaround: Use cmd/gopass-jsonapi.

Can you please document this in the release notes, because I can't find any mentioning of the api deprecation for 1.9.2 (https://github.com/gopasspw/gopass/releases). Thanks !


Gitter badge doesn't like the repo renaming

I have to create a new room and update the README

Made a new room, updated the README


feat(request): Added node-tokens support

affects: tessellate-request
Instead of creating a new token for each OAuth 2 request, reuse existing tokens and refresh them in
intervals.
44

Changes Unknown when pulling 47870e0e8945b24f998a20802cefccaaa747c9ce on 44-node-tokens into ** on master**.

Changes Unknown when pulling ddd899d56c99b7c7e390527a4d7cc1b7a16050d6 on 44-node-tokens into ** on master**.


Add hugo-redirector to Theme components

I created the hugo-redirector component today to quickly add redirection on Hugo sites in a declarative way.
This is similar to jekyll-redirect-from for Hugo.

Thanks!


View on SCM viewlet: View descriptor pr not found

Issue Type: Bug
Testing Microsoft/vscode#69255
When clicking file link in description editor:

stack trace: Error: view descriptor pr not found
    at e.find (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4566:256)
    at e.setVisible (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4565:53)
    at d.toggleViewVisibility (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4586:384)
    at d.openView (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4584:167)
    at viewletService.openViewlet.then.i (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4570:925)
    at process._tickCallback (internal/process/next_tick.js:68:7) (at define.then.t.onMessage.process.on.t.catch.t (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:700:984))

Extension version: 1.50.0
VS Code version: Code - Insiders 1.32.0-insider (393b48d4a5de85b6fa1d2ad0a59588d6715e12ea, 2019-02-25T01:33:51.804Z)
OS version: Darwin x64 18.0.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 3, 3

Memory (System)
16.00GB (0.20GB free)

Process Argv
--extensions-dir /Users/chrmarti/Development/repos/tmp/ext --user-data-dir /Users/chrmarti/Development/repos/tmp/user pullrequest-demo

Screen Reader
no

VM
0%

I get the same error but in a different situation:

Disable "Show in SCM"
Click a file link

The SCM viewlet gets revealed and the following error comes up in dev tools:
  ERR view descriptor pr not found: Error: view descriptor pr not found
    at e.find (file:///var/lib/snapd/snap/code-insiders/71/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:4566:256)
    at e.setVisible (file:///var/lib/snapd/snap/code-insiders/71/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:4565:53)
    at se.openView (file:///var/lib/snapd/snap/code-insiders/71/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:4833:247)
    at viewletService.openViewlet.then.i (file:///var/lib/snapd/snap/code-insiders/71/usr/share/code-insiders/resources/app/out/vs/workbench/workbench.main.js:4570:925)
    at process._tickCallback (internal/process/next_tick.js:68:7)

I forgot to re-trigger the build after checking in a fix for this on Friday, could one of you reverify with the most recent version of the extension? (1.56.0) Should already be fixed.

Verified in 1.56.0.


Can't open PE 1.2 worlds after opening world and saving it.

Steps to reproduce: Create a Pocket 1.2 world, add something in MCEdit, save, then open in MCEdit again. I am using the latest MCEdit from source. The strange thing is, when I loaded a superflat built something random, it loaded just fine, but when I built on it, it gave me that error.

[   ERROR][                   root.py:689]:Failed to load file C:\Users\Admin\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\qI0BABhlAAA=\level.dat: TypeError("object of type 'NoneType' has no len()",)
[   ERROR][                  root.py:1199]:Wasn't able to open a file {file => C:\Users\Admin\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\minecraftWorlds\qI0BABhlAAA=}
Traceback (most recent call last):
File "C:\Users\Admin\Desktop\MCEdit-Unified\leveleditor.py", line 1196, in loadFile
level = pymclevel.fromFile(filename)
File "C:\Users\Admin\Desktop\MCEdit-Unified\pymclevel\mclevel.py", line 226, in fromFile
return PocketLeveldbWorld(filename)
File "C:\Users\Admin\Desktop\MCEdit-Unified\pymclevel\leveldbpocket.py", line 776, in init
self.worldFile = PocketLeveldbDatabase(filename, self, create=create, world_version=self.world_version)
File "C:\Users\Admin\Desktop\MCEdit-Unified\pymclevel\leveldbpocket.py", line 265, in init
it.SeekToFirst()
File "C:\Users\Admin\Desktop\MCEdit-Unified\pymclevel\leveldb.py", line 304, in SeekToFirst
self._impl.SeekToFirst()
File "C:\Users\Admin\Desktop\MCEdit-Unified\pymclevel\leveldb.py", line 945, in SeekToFirst
self._checkError()
File "C:\Users\Admin\Desktop\MCEdit-Unified\pymclevel\leveldb.py", line 962, in _checkError
_checkError(error)
File "C:\Users\Admin\Desktop\MCEdit-Unified\pymclevel\leveldb.py", line 909, in _checkError
raise Error(message)
Error: Corruption: corrupted compressed block contents

Edit: This also happened when I created a new world (infinite), loaded it up in MCEdit, it loaded, went back into the world, built randomly across the world, and loaded it back in MCEdit.

@bman921 The issue is closed. Is it intentional? Did you find what was wrong?

I closed it because I wasn't sure if it's the dll I used for MCEdit. If you could test to make sure, that would be greatly appreciated! :smile:

I tested on Linux and Windows using commit https://github.com/Khroki/MCEdit-Unified/commit/5f36443319f6993e546534655f112699431d2041 and could not reproduce the crash.
The DLL used on windows is the one on the repo.
The addition I made were stone blocks and standing signs.

@LaChal What I did was I created a infinite world, built in a line for maybe 100-200 blocks, loaded it, and gave me that error, but it could be the dll I used, I used a different one since I thought the dll wasn't updated yet.

Right, the DLL in the repo is not yet updated.
The fact is PE 1.2 uses a different compression algorithm, and it is not possible to implement is in pure Python, AFAIK.
I could tweak the needed code, but I would prefer Mojang to add few lines to their own code...
Can you try to use the current DLL in the repo?

Ok, I tried the dll from the repo, and it still gave the error, but an updated dll by MCCToolchestPE was able to make the problem go away. I think Mojang updated their LevelDB on their Github.

I am also getting this error on macOS (10.13.1 High Sierra).  Not sure if it is a zlib issue or a leveldb issue, but I built leveldb from the latest code off Mojang's repo.
Let me know if there is anything I can do to help resolve this.  I really need it to work for PE 1.2 files.

Mojang's repo lack of some functionalities, and latest MCEdit release (<IP_ADDRESS>) simply not implement these functionalities.
The next version will have that implemented.
Technical stuff:
Recent PE versions need several compression algorithms to be set up in the options of the DB, but Mojang did not implemented the API. Even if the code to use this API part was in MCEdit <IP_ADDRESS>, Mojang's code would not be usable 'as is'.

Thanks @LaChal, are you suggesting that I hit up Mojang for the issue fix?  I would be happy to pester anyone I need to, or even dig into the code myself.


Efficiency improvements: what API needs to be stable?

If I am to offer changes improving loader efficiency, what guidelines do I need to adhere to in ensuring API stability? Is load/loads/ArffDecoder.decode the only real public interface for loading? Would restructuring the type conversion utilities be welcome?

If I am to offer changes improving loader efficiency, what guidelines do I need to adhere to in ensuring API stability?

I think the only two somewhat complicated requirements are not adding any 3rd party dependencies and keeping support for the currently supported python versions. Other than that it should be fine if the unit tests still pass (assuming that you apply the same rigor as you do when working on scikit-learn) and the very simple dict format is returned.

Is load/loads/ArffDecoder.decode the only real public interface for loading?

Yes.

Would restructuring the type conversion utilities be welcome?

Yes. They are not facing the public so there's no need to keep them similar.
As especially the first requirement is somewhat odd (not adding any 3rd party libraries such as numpy and scipy), if you want to add 3rd party libraries, I'd be happy to discuss how to move to a new version 3 of liac-arff which is loosens this requirement.
Also, if you do larger changes, please let me know before as I will then prioritize finishing #67 to avoid merge conflicts.

I have some changes almost ready to push...

(Sorry if it's not the right issue to talk about benchmarks)
Regarding the previous comment, interestingly when loading MNIST on a computer without SSD it takes 93s with liac-arff and 27s with scipy's parser. So it's 40% slower that with an SSD (using the scipy parser as baseline in each case) -- I'm not quite sure why, but there might be some sub-optimal I/O reads..

@rth, perhaps offer the benchmark script to the repo.

@jnothman do you plan to do further optimizations or can this be closed?


[Improve][Restapi] Add ip and port to monitoring information

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

Please add a description


fixes minor typos

Couldn't help myself. Ready for merge @bqpd @whoburg.

Shouldn't it be "recurzively" tho

@galbramc, could you merge this and reset the counter?

None of the lines touched by this PR seem to be much duplicated elsewhere...

I don't have merge privileges.

Oh, huh. Merged!

That's strange...

I reset the counts for the pull requests

Thanks @pgkirsch !


Keychain items automatically deleted after 10 hours or so

Please consider submitting the following information (if relevant):

Library setup method: CocoaPods
Version of the library: latest
Xcode version: latest
OS version: latest

I've noticed a frequency of my Keychain items being deleted after a day or so. Is there a reason for this? There are only 2 places I call 'clear()' in my app and none of them are called.

Hi, thanks for reporting.

I've noticed a frequency of my Keychain items being deleted after a day or so. Is there a reason for this?

No, not that I know of. The keychain items should stay there indefinitely. This may be connected with #15.

There are only 2 places I call 'clear()' in my app and none of them are called.

Very strange, sorry I don't know why it is happening, sorry.

I'm observing this behavior as well with the latest version of KeychainSwift available in CocoaPods.


"developer cannot be verified"

macOS Big Sur v11.5.2
For some reason I can no longer use this workflow as I get the attached warnings.
Any ideas as to how I can work round this?

I resolved this issue using this useful article: https://www.fieldtriptoolbox.org/faq/mexmaci64_cannot_be_opened_because_the_developer_cannot_be_verified/

Open the worklflow location from Alfred
Then follow the instructions in the article above


Test disable templating option for addons - Test Release KubeOne 1.6

Instructions
Follow https://docs.kubermatic.com/kubeone/v1.5/architecture/operating-system-manager/usage/ with a small adjustment that we want to use disableTemplating for the custom addon that holds the OSP.
References

https://github.com/kubermatic/kubeone/pull/2630

Works as expected.


fix(KFLUXBUGS-1264): increase request timeout

The RADAS timeout when it fails to receive a response is 5 mins. We double the requestTimeout to allow RADAS to retry its request.

this causes the tests to take too long. Will not change the default

this causes the tests to take too long. Will not change the default

That's too bad. The tests definitely shouldn't have to wait for this. They can easily specify their own timeout (other than the default) when calling the task.


Workspace folder collapsing when opening file in multi-root workspace

VSCode Version: 1.50.0
OS Version: 10.15.6

Steps to Reproduce:

Choose some directory 'A' on your file system that has some files in it and also a child directory 'B' (the actual names are irrelevant, I just use 'A' and 'B' for reference),
Create a multi-root workspace and add 'A' and 'B' as separate workspace folders
Exclude folder 'B' in the workspace folder 'A' by with the following configuration in a settings.json in a .vscode folder in the workspace folder 'A':

{
    "files.exclude": {
        "**/B": true,
    },
}

In workspace folder 'B', open a file by clicking on it in the Explorer
The file opens as expected, but: witness the workspace folder 'B' collapsing
Note that workspace folder 'B' will only collapse if you click on a file that is not open already (so not when clicking on an already open file in workspace folder 'B' to switch to that particular file)

Obviously, the culprit is the specific configuration of workspace folder 'A' that excludes folder 'B' from it. But although I do agree that this probably isn't the most common configuration, I don't think it's too outlandish to consider it irrelevant to fix. If you're using a multi-root workspace configuration where one of the workspace folders is a child (e.g., 'B') of another (e.g., 'A'), I believe it's reasonable to not want to have a duplicate of this folder ('B') in your overall workspace.
So, on my file system I have:
+---A
    |
    +---B

And in VSCode I want to represent this as:
+---A
|
+---B

Without 'B' collapsing if I open a file in it ;-).
PS: When opening a file in workspace folder 'A', everything is normal and as expected, and the workspace folder doesn't collapse.
PPS: This behavior has been reproduced on Windows 10 as well, but I didn't check which version exactly (it was running VSCode 1.50.0 though).

Does this issue occur when all extensions are disabled? Yes.

This seems to be caused by a feature introduced in commit https://github.com/microsoft/vscode/commit/1876b51870e30e9ba8f35dc0dcfaf49a3799a8ef and that, as far as I understand, isVisible() (https://github.com/microsoft/vscode/commit/1876b51870e30e9ba8f35dc0dcfaf49a3799a8ef#diff-18552b0ae82758a2b0227eb483bdc8d8R565) doesn't see the difference between (as in the example) folder B as a child of A and folder B as a workspace folder/root, so when any child of B is open, files.exclude for B is ignored, and it is shown both as as a child of A (so files.exclude is actually useless in this scenario), and as as a workspace folder/root, which also, for whatever reason, collapses

As @usatiuk explained this is designed behavior. We will not change this for now, thus closing

So If I understand this correctly, it is designed behavior that a setting that is limited in scope to one workspace root, also affects behavior in another workspace root? To me, it seems like this is an unintended side-effect of the behavior that was implemented instead, and thus might warrant a fix.


I can not get a right type

The code:
let input = document.querySelector('#copy-input');
if (!input) {
  input = document.createElement('input') as HTMLInputElement;
}

I think it should get a HTMLInputElement, but I got the type is Element in WebStorm and it is 3.9.5 of the Typescript version.
How can i get the type of HTMLInputElement?

Please use the correct issue template. And notice that this repository is not really meant as a support forum, it's for feature requests and bug reports. Better try the Discord or StackOverflow.
Your variable input is typed Element from the initialization. Later assigning a value typed HTMLInputElement does not change the type of the variable. Just use a second variable instead.


Scanner: Storing the scan result via HTTP storage backend fails with WebDAV on a Caddy-based HTTP file server

The documentation states that storing a scan result using an HTTP storage backend works with "any HTTP file server"
(https://github.com/oss-review-toolkit/ort#http-storage)
I set up a web server using Caddy (https://caddyserver.com/) with the WebDAV module using the following Caddyfile:
:8080 {
  root /var/www/ort-cache
  webdav / {
    scope /var/www/ort-cache/
    modify true
  }
  log stdout
}

The scanner section in my config.yml contains the following definition:
scanner:
    # (...)
    storages:
      http:
        backend:
          httpFileStorage:
            url: 'https://url-to-my-webserver.de'
            headers:
              X-JFrog-Art-Api: "dummy" # See https://github.com/oss-review-toolkit/ort/issues/6758#issuecomment-1486477756

    storageReaders: ["http"]
    storageWriters: ["http"]
    # (...)

I am doing the scan with the following command:
./cli/build/install/ort/bin/ort --info scan --package-types PACKAGE -f JSON -i path/to/analyzer-result.json -o path/to/output/folder

However, storing the scan result fails with the following output:
[main] WARN  org.ossreviewtoolkit.scanner.storages.ProvenanceBasedFileStorage - Could not store scan result for 'RepositoryProvenance(vcsInfo=VcsInfo(type=Git, url=https://github.com/PrismLibrary/Prism.git, revision=15140a61976d0a224cd6ebb9ee1f7ca63db02b47, path=), resolvedRevision=15140a61976d0a224cd6ebb9ee1f7ca63db02b47)' at path 'repository/Git/https%3A%2F%2Fgithub.com%2FPrismLibrary%2FPrism.git/15140a61976d0a224cd6ebb9ee1f7ca63db02b47/scan-results.yml': IOException: Could not store file at 'https://url-to-my-webserver.de/repository/Git/https%3A%2F%2Fgithub.com%2FPrismLibrary%2FPrism.git/15140a61976d0a224cd6ebb9ee1f7ca63db02b47/scan-results.yml': 404 -

So the web server responses with a 404 Not Found error, stating that the looked up resource cannot be found.
This does not seem to be that much of a surprise, since the Scanner tries to store the scan result on the HTTP file server using the PUT method. However, the scan-result.yml apparently gets placed in a folder structure based on the name of the scanned library, in this case /repository/Git/https%3A%2F%2Fgithub.com%2FPrismLibrary%2FPrism.git/15140a61976d0a224cd6ebb9ee1f7ca63db02b47/.
This folder structure does not (yet) exist on the web server. As far as I know, WebDAV does not support "recursive uploading" via PUT. So this folder structure is not created automatically. With WebDAV, a resource first has to be created using the MKCOL method (https://http.dev/webdav).
Do you have a solution or a workaround for this? Is WebDAV supported in the first place?

Is WebDAV supported in the first place?

We've never tried 😀 So far the only thing I'm aware of we tried was Artifactory.
So, if you could help here via a code contribution, that'd be appreciated 😉

Would probably be nice if https://github.com/oss-review-toolkit/ort/issues/6603 was implemented first.

Looks like there's some code in https://github.com/oss-review-toolkit/ort/compare/main...brueggenthies-ams:ort:webdav that we could ask @brueggenthies-ams to contribute to fix this :wink:

Will try to do this during this week :)

Thanks, but no rush; we're on summer break until mid-August anyway.


License error

https://github.com/nodeca/pako/blob/main/LICENSE
Hello, I wanted to let you know that the URL of this license is not right, there is probably an error or it has been changed.

The license file is automatically generated by webpack, which in turn gets it from the dependencies. Nothing I can do about it from my end. That particular link is imported from JSZip, so you could open an issue in their repository (but it's really not that important tbh).


TIFF output not working as expected

Not sure if this is an issue or not, but when I select Tiff as the output, the files which come out are tagged with the IFF extension, is there any way of getting them to come out with TIF as an extension. The TIF files themselves are fine, but the extension is confusing After Effects and some other applications.
My current work around is to rename all the files, and then all is well (as far as I have tested it)

I'll take a look at this.

Ok, the issue is fixed and will be in my next merge request. It was simply an assumption in the user_path function.


USF Datatable

https://unofficialsf.com/datatable-lightning-web-component-for-flow-screens-2/
https://docs.google.com/document/d/1geE4fF7wwgIKFkZeHfqbQv3BpU3wN_OESzFLJlVtNOo/edit#heading=h.mhcetqsmvbe

Added script content in the google doc for datatable overview


Add test cases

Signed-off-by: jingkl<EMAIL_ADDRESS>

/assign @binbinlv

/lgtm
/approve

/approve

@fzliu
I added the "approve", but it seems it does not work, could you please approve it?
Thanks.


Crash with dashloader

Describe the Bug
Crash with all 1.20 versions
Reproduction Steps
1.Launch
2.crash
Expected Result
Game should load
Screenshots and Videos
No response
Crash Report or Log
https://mclo.gs/5Tykw5l
Operating System
Windows 11
Mod Version
0.5.1d
Minecraft Version
1.20.1
Other Mods
Dashloader
Additional Context
Nothing

Create is not mentioned at all and this looks like it's purely dashloader's issue


getImages added to docker

Added endpoint for /images/get
This was also requested in issue #470

👍
Will ping when published.

Published


Waste less memory on buffers in MP3Stream

~22k -> ~4.7k.
Avoid the file buffer if unneeded (buffer files) and reduce the size of the output buffer (can't remember why it was so big).
Just need to test more on device...

Okay tested buffer/SD, loop/no-loop and nothing exploded. (Even with the worst case of 44100Hz stereo on my slower card)

Less buf is best buf :muscle:
Thank you.


Adding action buttons to the dashboard

Per the request from Brady, add create buttons to the dashboard lists

What should it look like if there are more than 6 things?

i pulled the view all to the right.


Update rockspec.in

Permanent redirect

if you want to push all of the edits to your branch, then close that. I'm okay with this :)


Admin - Streams Tab Cassandra Integration

[x] Remove flux
[x] Service bus messages (this change restarts streaming when a stream is edited)
[x] edit for services and interfaces
[x] App insights logging

Query Streams:

Mutate Streams


Add TCP and IPv4 checksum calculation tests

It took me a while to figure out how to use the checksum methods in lib.protocol.ipv4 and lib.protocol.tcp to calculate the checksum of a packet. I decided to add two selftest functions to verify the checksum calculation is correct. The main purpose is to show how to use the checksum functions.

@alexandergall whaddayareckon?
aside: I reflect that one day it would be neat to have a notation for generating synthetic traffic. (Or maybe just a really massively mixed pcap file that we could filter to extract the kind of packets we care about.)

Well, tests are good :)  Note that I didn't write any of those modules and I never really looked at that code (though the ipv4 and tcp checksum and pseudo-header code looks like it has been taken over from the ipv6 and icmp modules, which I did write). Maybe the checksum methods should be documented better?
The datagram module can be used to create synthetic packets without having to use hexdumps.  The API is a bit awkward if one wants to relocate a pre-allocated header into a packet buffer (e.g. to update the checksum in a packet), but that can be done as well.

I did wrote those and I can confirm that they were based on what was already available inipv6 and icmp (why reinvent the wheel anyway).
I can also confirm the tests are OK to me.


How can I make visible make in my local network my docker?

Hello,
How I can make it visible for all other users of the network, now Im the only allow to see it beacause is in my internal network. Theres anyway to change docker ip ?
Regards,

Probably a duplicity of https://github.com/Microsoft/nav-docker/issues/252

I read the article before post mine but with the answer posted is not the solution that I need. I would like an example or something more clearly to work with

I really love Transparent network, it allows you to share all containers efficiently in your company.
You can find probably some good examples like:
https://www.ntweekly.com/2017/03/30/how-to-create-a-transparent-network-with-windows-containers/
https://4sysops.com/archives/windows-docker-networking-part-2-custom-network-types/
https://www.microsoftpressstore.com/articles/article.aspx?p=2756487&seqNum=2

Thanks for your time and your answer I will try it and I will give you my feedback.

Transparent networks runs really well unless you are in a corporate network, where IP adresse allocation and network access is limited to specific/trusted machines.


In RG docker, can not run dhclient

I can't run dhclient in RG docker container, "it shows dhclient: error while loading shared libraries: libdns-export.so.162: cannot open shared object file: No such file or directory", however the so locates in the dir "/lib/x86_64-linux-gnu/" , and the path is include by /etc/ld.so.conf. Log show below
docker run --net=host --privileged --name RG -it cord/tester bash
root@ubuntu-x64:/lib/x86_64-linux-gnu# dhclient pon1_128
dhclient: error while loading shared libraries: libdns-export.so.162: cannot open shared object file: No such file or directory
root@ubuntu-x64:/lib/x86_64-linux-gnu# ls -l /lib/x86_64-linux-gnu/libdns-export.so.162*
lrwxrwxrwx 1 root root      24 Apr 12 09:23 /lib/x86_64-linux-gnu/libdns-export.so.162 -> libdns-export.so.162.1.3
-rw-r--r-- 1 root root 1937280 Apr 12 09:23 /lib/x86_64-linux-gnu/libdns-export.so.162.1.3

when I use command docker cp /sbin/dhclient RG:/usr/sbin/dhclient, the cp dhclient can work success, but there is another issue , interface pon1_128  can not get ipaddr from dhcp. From ponsim  log, I can see ponsim  olt has send out dhcp discovery after add double tag(4000, 128), the logs:
20170511T172015.259 DEBUG    realio.ingress {frame: ffffffffffffde60fc525485080045100148000000008011399600000000ffffffff0044004301343e6301010600a14416140122000000000000000000000000000000000000de60fc52548500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000638253633501010c0a7562756e74752d783634370d011c02030f06770c2c2f1a792aff0000000000000000000000000000000000000000000000000000000000, port: 128, iface_name: pon1_128sim, event: ingress, instance_id: pon1}
20170511T172015.260 DEBUG    ponsim.ingress {logical_port_no: 128, name: onu0, ingress_port: 2, event: ingress, instance_id: pon1}
20170511T172015.260 INFO     ponsim.count_rx_frame {port: 2, size: 328, event: counting-rx-frame, instance_id: pon1}
20170511T172015.262 DEBUG    ponsim.ingress {logical_port_no: 128, name: onu0, egress_port: 1, event: forwarding, instance_id: pon1}
20170511T172015.262 DEBUG    ponsim.ingress {logical_port_no: 0, name: olt, ingress_port: 1, event: ingress, instance_id: pon1}
20170511T172015.263 INFO     ponsim.count_rx_frame {port: 1, size: 332, event: counting-rx-frame, instance_id: pon1}
20170511T172015.266 DEBUG    ponsim.ingress {logical_port_no: 0, name: olt, egress_port: 2, event: forwarding, instance_id: pon1}
20170511T172015.270 DEBUG    realio.egress {frame: ffffffffffffde60fc52548581000fa081000080080045100148000000008011399600000000ffffffff0044004301343e6301010600a14416140122000000000000000000000000000000000000de60fc52548500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000638253633501010c0a7562756e74752d783634370d011c02030f06770c2c2f1a792aff0000000000000000000000000000000000000000000000000000000000, port: 0, event: sending, instance_id: pon1}


How to train the BasicVSR++ model ofNTIRE 2021 Quality Enhancement of Compressed Video

We cannot find the train_pipline in the config files of the basicvsr++ of the NTIRE 2021 Quality Enhancement. We want to get the training pipeline for NTIRE 2021 Quality Enhancement. Thank you very much!

Hi @StevenTony611
Currently, MMEditing only provides the testing config files for NTIRE 2021.


Option to always tether Mobile Data and prevent tethering WiFi data

I was wondering if you can add a feature to only tether mobile data. Because whenever i come a cross known Wi-Fi access point , the TetherFi just switch automatically tethering the WiFi internet not the 4G LTE, and I can't turn off the wifi because TetherFi needs it and I don't want to forgot every WiFi access point i come across.
There is a function in the developer options where you can force 4G LTE all the time even if the WiFi is connected, but that option drain so much battery and I tested it and still TetherFi doesn't use the 4G LTE internet.

Hello,
I have thought about this previously in #154 and earlier, though no work has started on it yet.


Invalid use of invd

In the following:
https://github.com/wbenny/hvpp/blob/master/src/hvpp/hvpp/vmexit.cpp#L289
You execute invd, which will invalidate the cache of your VMM including the guest which would result in corruption if this exit ever occurred. Instead, when this exit occurs a wbinvd should be executed instead, or the instruction can be ignored.

That's a good point and makes sense. By Alex's comment here: https://github.com/ionescu007/SimpleVisor/blob/master/shvvmxhv.c#L82 I've assumed that it would be actually right.
Is there any mention about this in the Intel Manual or is it one of those things you have to actually figure out yourself by trial & error? :)

I personally have never seen the invd instruction executed, and I have been doing this for 11 years, so in this particular case, it was merely an observation. The only thing the Intel Manual states about this instruction is that is should be used with care, specifically for the reason I stated above. You would only execute this if you didn't care about the contents of the cache, which is highly unlikely.

I've poke into KVM & XEN sources, KVM seems to really "do nothing" on INVD, XEN does WBINVD on both INVD/WBINVD.
What I didn't figure out yet is that both do IPI which executes WBINVD on all CPUs if WBINVD exiting is enabled.

I'm not sure why they do an IPI, but Xen does a lot of things that I wouldn't do, so I would take their code with a grain of salt. I think the patch that you provided is fine.


Add the unit test for remote session (inadvertently skipped in earlier PR)

@swift-ci please test tensorflow

@swift-ci please clean test tensorflow

I'll close this PR now since graph program extraction code has been deleted.


added missing serde flatten

This fixes a mismatch between the intended JSON schema, described in the OpenAPI spec, and the implementation.

If we have other breaking protocol changes coming down the pipe lets wait to merge this to avoid needing another client/server upgrade sync.

If we have other breaking protocol changes coming down the pipe lets wait to merge this to avoid needing another client/server upgrade sync.

Yep, do you think I should combine all the changes in the same PR?

We could also put them on main but not cut a release or retarget this PR to a release candidate branch and do the same for other  proposed changes (maybe even make it a 0.2 branch?).

Now that we resolved the release process, should we approve and merge this PR? Or should it be lumped into an upcoming PR that has other unrelated breaking changes.

I'm not familiar with the context for this flatten, so I'll let Lann review, but I think now that we've got the process sorted this shouldn't be considered blocked


[Question] about checking if a plugin is loaded or not

I would like to have a way to require a plugin inside my lualine configuration, only if the plugin was already started. Right now i just require the plugin, which works, but also forces the plugin to start when lualine start, which i don't want to happen.
Thus is there any api to check if a plugin was already loaded, allowing me to require it, only if that plugin was already fully loaded?

Lualine provides a cond option which can be used to check for things. In LazyVim docs you can see that for example noice and dap lualine components load conditionally. This is not something related to the package manager, so questions like these belong in the Discussions section in my personal opinion.


Updated projects page

@rfecher @joshelser @dlmarion @meiercaleb @elahrvivaz let me know if you have any issues with the descriptiong of the projects.

LGTM

There's also Apache Pig integration

description looks good, thanks @keith-turner


Window size/position forgotten by relaunch

The app window always resets to the same tiny centered window overtime it restarts.

Can't replicate in v3.3.3.  Please reopen if still an issue and can investigate further.


Losing connection to MongoDB randomly in Rails app

Been searching for other people who've experienced this issue but it seems I may be the only one. I'm running Rails 4.1.4 + Unicorn, Ruby 2.1.2 and Mongoid 4.0.0. In my production site, I will randomly get connection errors, and the logs hint at something about being unable to connect to MongoDB.
The site is still accessible, but 3 times out of 10 I will encounter the error. The only way is to restart Unicorn and then the connection issues disappear temporarily until a few hours later.
I suspected it was Unicorn, but I've tried switching to Thin to no avail. I've tried using my own MongoDB deployment and using MongoHQ's hosted databases but that didn't help either. Getting frustrated about this as my current solution is to have the production site restart every 20 minutes! Anyone have any clue what's going on?

You guys could try: https://mms.mongodb.com
Or browser mongodb docs for system configs, page open, nopages, nproc.
I can help with a systemd service: https://gist.github.com/nofxx/b86ec6ce2f6da383e630


[Bug]: Error message is displayed after tapping check balance button for Telkom Sim

Description
A <<Sorry, this service integration is broken>> error is displayed after tapping the <> button for Telkom SIM on the SIMs screen.
Steps to reproduce

Open the Stax app.
Tap the SIMs button.
On the SIMs screen tap Check balance for Telkom SIM.
Wait for the transaction to complete
Pay attention to the message at the bottom of the screen.

Expected result
New balance, date, paid with and type information is successfully returned in the SIMs screen after tapping the <> button.
Actual result
<<Sorry, this service integration is broken>> error message is displayed on the SIMs screen after tapping <>button for Telkom SIM.
Link to screenshots/screen recordings
https://drive.google.com/file/d/1VQZacg-rPpZBVBO8RpLMCsKPjst_ShiA/view?usp=drivesdk
Device name
Samsung Galaxy A32
Android OS
12
Is your phone dual SIM or single SIM?
Dual SIM
Stax device ID or email address
bc34b750f5749d4a

Bug fixed:balance information is successfully retrned @mijiga


EventmeshSubscribeReply类中第40行添加final修饰字段

located at:
org.apache.eventmesh.grpc.sub.EventmeshSubscribeReply line 40
Add a field  final.

@caihonghaoCYF please associate this pr with the issue, and don't use Chinese to describe.


Commands don't show up in the UI

There seems to be a persistent bug where commands don't show up. For example, the Identify cluster should show this:

But sometime these commands are not shown, and an empty tab is shown instead.
Example of a test file.
zapfile.zip

Unable to reproduce on my end but we at least have a notification in the zap UI when a cluster has no commands. Please re-open this with more information if this stops working again.


Feature: Battery information

Is it possible to read out and display any battery information from the BMS? Would be really useful to be able to see module voltages, charge cycles, etc. It must all be in there already. I saw one comment mentioning temperature wasnt available so possibly not accesable from the android part of the car directly..
If not accesable via android directly would a bluetooth ODB II adapter be able to read that info out?

Hi,
Via Android it is not possible to get any data from the BMS except for the SOC and the current power draw.
I'm not familiar with ODB-Dongles, but it may be possible to use one. I'm not sure though if it would be possible to directly connet it to the cars Android system.

@Ixam97 for reference this code worked fine on Bolt EV to get information, never checked what standard PIDs are available on Volvo, and I never seem public list of volvo PIDs.
https://github.com/traccar/traccar-client-android/compare/master...ivanfmartinez:traccar-client-android:ivanfm-changes
If we have access to PIDs list the integration with OBD is the easiest part .

I'm currently not planing on adding any support for external devices. But I might look into it later if someone else does the ground work.


[question] importing modules in staticmodules

you say explicitly in the readme that static modules don't support 'using', I'm wondering whether there's any path to importing foreign code in a static module as that would something I'd find quite helpful.
For context in Franklin.jl pages with Julia code have the code executed in a module that's tied to the page; it's the same idea (I think) as the static module except that it's not as clean and it's a full module so import statements will work.
It might improve overall code quality if I were to use something dedicated instead of my own soup but I'd need to be able have import statements.
Is this impossible due to the way it's constructed and the only way is effectively having a full module?
I could see Weave being interested in this too (the above mentioned soup is adapted from Weave code).

Hm, I'm not sure I've thought about this enough to have a good response. One idea that comes to mind is to make a @using macro for use inside a StaticModule, but only works on packages that have already been imported.
e.g. you could have something like
using StaticModules
import StaticArrays

@staticmodule Foo begin
    @using StaticArrays
    SA[1 2]
end

which would get turned into
@staticmodule Foo begin
    SA = StaticArrays.SA
    SVector = StaticArrays.SVector
    ...
    SA[1 2]
end

That would be quite nice yes!

One concern I'd have is that since a StaticModule wraps a NamedTuple, we might start running into the problems inherent with large tuples if a package exports too many names.

would this be solved if we only used an @import macro? possibly with explicit names like @import StaticArrays: SA ?

Hm, the @unpack macro from Parameters.jl is basically what we want actually.
julia> using Parameters, StaticModules; import StaticArrays

julia> @staticmodule Foo begin
           @unpack SA, SVector = StaticArrays
           v = SA[1,2,3]
       end
StaticModule Foo containing
  SVector = SArray{Tuple{S},T,1,S} where T where S
  v       = [1, 2, 3]
  SA      = SA
  ##253   = StaticArrays

I kinda like the name @unpack for this because it makes it clear that the macro isn't actually going to import StaticArrays if it's not already present.
I could just add a dependency on Parameters.jl and provide @unpack if that would be helpful to you.

That's great! No I think your example is perfect maybe it doesn't need to be in especially if ultimately your macro gets integrated in Parameters :)
Thanks for this!

I put a note into the README about this, thanks for bringing it up. https://github.com/MasonProtter/StaticModules.jl#replacements-for-using


web page depiction for pattern panel can be improved

"The Tools|Options|VSColorOutput|Patterns dialog contains settings."
Its more helpful if the path to the item is described like this:
"The 'RegExClassification Collection Editor' dialog contains the classification pattern settings. It can be opened via 'Tools|Options|VSColorOutput|General|RegEx Patterns [...]'."

fixed in gallery and web page.


Lending Pool withdrawal fails if performed directly after a deposit

Deposit into a pool (e.g. XUSD), once tx confirms immediately refresh, and try to withdraw the balance. The transaction should fail, as the withdrawAmount in LendingDialog component (which is passed to unlend contract call) is returning 0.
The issue may be because useLending_balanceOf() hook needs to be queried again when dialog is opened, not just on first render (currently this only happens when Lend page is initially opened).

I tried it on local with the latest master and everything looks fine, could you confirm @soulBit if you can still simulate the problem?

Closing this as we are unable to replicate any longer


bug: loading components not working with mac chrome + remix

What version of daisyUI are you using?
3.5.0
Describe your issue
In chrome browser on mac os and using daisyui within a basic install of Tailwind CSS with Remix, all of the loading components display as a solid colored box.
Works as expected in all other browsers tested including Mac safari/firefox and Linux chrome/brave/firefox. The loading components in daisyui docs display as expected as well (in mac chrome), and other icons are fine (like collapse arrow), so seems to be something within the tailwind+remix+daisyui setup.
Also, an animated SVG like this for example works fine.
What browsers are you seeing the problem on?
Chrome
Reproduction URL
No response

I'm using Remix and so far I've used Loading and Rating components.
I'm still facing this issue that caused these components to display a box only

Please provide a reproduction repo because I don't see this issue with the latest version of daisyUI.

Someone helped me with this issue.
It turned out you need postcss + autoprefixer to make the icons work correctly.
Follow tailwind setup for a react project then follow this.
It should work after that.

Thanks! That was it, postcss + autoprefixer was required for remix+tailwindcss+daisyui on mac chrome.
The components now display as expected. (and they're great!)
Closing issue.


Unexpected Token in multiple places

I'm new to programming, and I was simply trying to make a bot for my new discord server. I followed an online tutorial exactly, and it doesn't run. When I run the command "node index.js" in terminal, it gives me this error:
SyntaxError: Unexpected token :
 at createScript (vm.js:56:10)
 at Object.runInThisContext (vm.js:97:10)
 at Module._compile (module.js:542:28)
 at Object.Module._extensions..js (module.js:579:10)
 at Module.load (module.js:487:32)
 at tryModuleLoad (module.js:446:12)
 at Function.Module._load (module.js:438:3)
 at Module.runMain (module.js:604:10)
 at run (bootstrap_node.js:389:7)
 at startup (bootstrap_node.js:149:9)
I have no idea what I'm doing wrong, and if someone could help me that would be great!
Also, I'm using a Mac on MacOS Sierra if that helps at all.

Uh – is this meant to be filed against https://github.com/hydrabolt/discord.js instead? This package, discord-irc, is specifically a bot to bridge messages between Discord and IRC.
It also might help to show the relevant lines (probably the first few? maybe all of them if you can squish it in pastebin?) of your script – if it's a syntax error, maybe run it through a JavaScript parser somewhere.

This might also happen if you're trying to run discord-irc with a Node.js version below 6. Try downloading and installing a newer version and try again.


Merge in visualfsharp master, including better FCS support for Anonymous records

Covers from commits 5a5ca97 to b0292b8 (ie from January 31st to now)

Cool thanks!  Don't forget to bump the major version


Updated log message and throw error when unable to update the secret in key file

Description
This PR fixes issue #6232 to update the error message and throw the error when updating key file is failed. This helps to find out the proper reason for failure, mainly with umask.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueoranguton package

@harikrishna-patnala a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@harikrishna-patnala will it be good to have in 4.17 branch?

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3729

@harikrishna-patnala will it be good to have in 4.17 branch?

Yeah, it will be good. Let me change this to 4.17. Thanks @shwstppr

@blueorangutan package

@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/6542 (SL-JID-1921)

@shwstppr a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan test

@rohityadavcloud a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-4468)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 38199 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr6542-t4468-kvm-centos7.zip
Smoke tests completed. 98 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File


Is there a way to see what tab was clicked

Is there a way to see what tab was clicked?
When the user clicks on the "account" tab I want to redirect to a login screen in case the user is not logged in.

Tthsva

@lexmann ?


Automatically add use statements from autocomplete

It would be great if autocomplete could also suggest to me names from modules I haven't yet used.
On selecting this suggestion, the use-only statement for this name would then be added automatically.
Preferred order in the autocomplete should be:

names from current scope
names from already used modules
names from other modules

I'm not sure off the top of my head if this is possible with LSP, I will try to do some research when I have a bit of time. Just putting the idea here in case anyone wants to think about it.

This could be done using the additionalTextEdits property of the response object to a textDocument/completion request (see https://microsoft.github.io/language-server-protocol/specification#textDocument_completion).
What do you think @hansec, how hard would this be to implement?

I think this wouldn't be too hard to add. The hardest part is providing useful suggestions in a enough situations. Currently, I don't parse all statements in the code just definitions, use statements and a few other things crucial to extracting defined objects and scopes. As a result, the language server can only currently identify objects that could be use'd in a few specific cases.
For example, currently I can tell if a user-defined type is used in a variable definition without being defined and search for it in available modules, but I cannot do the same for a variable/subroutine/function used an a general statement since those are not parsed at the moment.
Usage of an object without useing it is the main situation I can think of where this would be useful, but identifying those cases is limited at the moment without parsing more general statements. Can you think of other cases where suggestions might be made?
Even the limited cases available now might be useful though so I will look into this more when I get some time.

I'm not sure I understand.
The most useful case from my point of view is this:
module A
  contains
  subroutine subrInA()
  end subroutine
end module

module B
  contains
  subroutine subrInB()
    ! use statements go here
    implicit none

    ! I'm typing here
  end subroutine
end module

When I type subr, I would like to get a suggestion for subrInA and for the use statement to be automatically added if I select it.
I thought this should be possible because if I do this:
  subroutine subrInB()
    use A, only: ! I'm typing here

I do get a suggestion for subrInA() if I type subr.
I might try to do this next month when I have time, if I manage to understand how the server works.

Ok, I understand what you mean now. I will have to look in to how to do this type of action on inserting the suggestion.
The only problem I see with this is that it would require including all objects in the project in autocomplete results, which of course are then filtered by what you type. This may produce a lot of unwanted noise or could slow things down due to a large number of results, but of course it can always be an option not the default behavior.

Regarding noise: that's why I suggested ordering the results by where they come from in my first message.
Regarding time: Yeah, I can see how this could get time consuming. Might be a good idea for the list you're looking through to be indexed, but it's probably worth testing even without indexing (might work fine), with an enable/disable option as you suggest.


Create Task1.txt

Issue: #2
Kali Installation

Hey @bcde123
Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.
Thanks for contributing in OpenCode'24 ✨✨!

Hey @bcde123
Your PR has been merged 🥳🥳 and you have earned 20 points.
Thanks for contributing in OpenCode'24 ✨✨


Fixed Installation Issues

Amass installation is not present in the old script.
And change installation method of nuclie, httpx, subfinder because previous one is not working.

Hi @H4R5H1T-HRS,
First of all thanks for taking your time to fix the issues.
I have already tried these methods but I always get many errors so I changed the old installation process to this. This will directly pull the binary file so users don't need to install or spend their time fixing dependency problems.
Regards,
Eshan Singh

Hi @H4R5H1T-HRS,
First of all thanks for taking your time to fix the issues.
I have already tried these methods but I always get many errors so I changed the old installation process to this. This will directly pull the binary file so users don't need to install or spend their time fixing dependency problems.
Regards,
Eshan Singh

Thanks for making this wonderful tools and all yours work toward community.
I'm following you since last 2 year and i really inspired who you build your career and profile.
I'm looking forward for your suggestion and help.
Thanks again


fixed multiple warnings and fixed a typo. everything static

fixed the following warnings,
ISO C++11 does not allow conversion from string literal to 'char *'.
this happened becuase char * was used and not const char * for string literals.
also fixed the typo of BEFFER_LENGTH_MAX to BUFFER_LENGTH_MAX
also replaced atoi calls with more safer strtol.
made the whole class static, because there can only be one.

@Ewoodss   everything static  ? why ?

Because only one of the whole class can exist at the time. if it had support for multiple modules then i wouldn't do this. but because every instance of the class would be the same i made the choice to change it too static.

@Ewoodss  So the perfect PR's should abstract SerialLoRa and SerialUSB, allowing it to support multiple instances.

is it ever wanted to have more then one module connected too a single microcontroller, i dont think this make's sense.
it could just be a #define for which serial to use

Hello,
I'm very sorry to have kept you waiting so long. I appreciate what you have done.
I have a question for you, have you tested this code on hardware?
And why does the indentation of the code look like 2 spaces are mixed up?

This code was tested on hardware, which i currently don't have access too anymore. The indentation is not the best because i didn't use any type of formatter while i wrote the code. if there is something like clang-format file i would happily apply it.

Okay, thank you.
I'll merge this code and take care of the rest.
BTW, you're replying is a bit quick, mate.


Problem: hctl CLI for SNS repair/rebalance are not defined

This issue is intended to clarify and define how hctl interface for SNS repair/rebalance should look like.
Topics:

Input parameters: mandatory and optional
Set of commands (CLI format)

Current POC implementation is hosted in https://github.com/Seagate/cortx-hare/pull/1241 pull request suggesting:
hctl sns-rebalance {start,stop,pause,resume,status} <fid>
Detailed questions (in progress):

So far <fid> is taken as CLI argument. This approach does not seem correct. Should they be taken from Consul?
Should pool be specified somehow?
Should repair and rebalance be separated or they can't be divided by design?

Here is the JIRA ticker: https://jts.seagate.com/browse/EOS-23770
"@azheregelya is going to prepare pull request with lightweight repair/rebalance implementation."
@azheregelya did the pull request happen and was it merged to main?

@justinzw As far as I remember, SNS repair/rebalance support in Hare had been canceled in LDR R1. Hopefully it will be implemented in some near future but I have no information about the dates, sorry.

Thanks, @knekrasov. In that case @azheregelya shall I close the issue?

2.3. Development Process
[...]

Maintainers SHOULD close user issues that are left open without action for an uncomfortable period of time.

@justinzw 14 months have passed since the last meaningful activity on this issue.  Closing it would be humane thing to do.

This is an issue for a feature that has been backlogged. I will close the issue.

Vaibhav Prakash Paratwar commented in Jira Server:

.

Vaibhav Prakash Paratwar commented in Jira Server:

.

Vaibhav Prakash Paratwar commented in Jira Server:

.


seeing client connect multiple times

the server shows the 'new peer' debug statement several times

This is when you've had the browser page open from before. They are different incarnations of the same WebSocketClient object. Should investigate if maybe incarnations are not necessary at all.
function debuggableWebSocket(port) {
  const ws = new WebSocket('ws://localhost:' + port);
  ws.on('message', (msg) => { console.log('message!', msg); }
  ws.on('open', (msg) => { console.log('open!', msg); }
  ws.on('close', (msg) => { console.log('close!', msg); }
 return ws;
}

I now have a PORT=8081 SECRET=pssst TESTNET_FRIENDS=http://localhost:8082,http://localhost:8083 node examples/server-server/agent-heroku.js in one tab, and a python SimpleHTTPServer running in the client-server example folder in another. I commented out the sendAdd calls, so it just opens two websockets. If I temporarily stop the server and bring it back up, I see incarnations 1 and 2 error&close, then incarnations 3-8 as well as it retries, and then I see incarnations 9-16 open. So it seems that it retries once per failure (8 times) instead of once per WebSocketClient (1 time).


RotatingFileLogger warning messages

This is mainly here as something to cleanup eventually. The warnings don't really affect anything, but it'd be nice to get rid of them so people don't ask repeatedly.
Oxide.Core\Logging\RotatingFileLogger.cs(13,24,13,34): warning CS0108: 'Oxide.Core.Logging.RotatingFileLogger.LogMessage' hides inherited member 'Oxide.Core.Logging.Logger.LogMessage'. Use the new keyword if hiding was intended.
Oxide.Core\Logging\RotatingFileLogger.cs(15,28,15,32): warning CS0649: Field 'Oxide.Core.Logging.RotatingFileLogger.LogMessage.Type' is never assigned to, and will always have its default value 0
Oxide.Core\Logging\RotatingFileLogger.cs(16,27,16,34): warning CS0649: Field 'Oxide.Core.Logging.RotatingFileLogger.LogMessage.Message' is never assigned to, and will always have its default value null

Resolved. :)


Themes tile update

brought themes tile up to the top for consistency but also left link to themes in the "Default theme" paragraph below.

updated theme "terms" from bold to italic

Looks like there are a bunch of image updates in this PR? Are they supposed to be?


Build failure: conflicting types for ‘fd_set’ et al.

I'm trying to install for Python 2.7 with kernel 3.18, and I get
dozens of compiler errors (see below).  So far, Google hasn't found me any
answers (only people reporting the same problem).  Any ideas?

# sudo python setup.py install

running install
running build
running build_ext
building 'spidev' extension
x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/src/linux/include -I/usr/include/python2.7 -c spidev_module.c -o build/temp.linux-x86_64-2.7/spidev_module.o
In file included from /usr/include/linux/spi/spidev.h:25:0,
                 from spidev_module.c:25:
/usr/src/linux/include/linux/types.h:14:26: error: conflicting types for ‘fd_set’
 typedef __kernel_fd_set  fd_set;
                          ^
In file included from /usr/include/sys/types.h:219:0,
                 from /usr/include/stdlib.h:314,
                 from /usr/include/python2.7/Python.h:42,
                 from spidev_module.c:20:
/usr/include/sys/select.h:75:5: note: previous declaration of ‘fd_set’ was here
   } fd_set;
     ^
In file included from /usr/include/linux/spi/spidev.h:25:0,
                 from spidev_module.c:25:
/usr/src/linux/include/linux/types.h:15:25: error: conflicting types for ‘dev_t’
 typedef __kernel_dev_t  dev_t;
                         ^
In file included from /usr/include/stdlib.h:314:0,
                 from /usr/include/python2.7/Python.h:42,
                 from spidev_module.c:20:
/usr/include/sys/types.h:60:17: note: previous declaration of ‘dev_t’ was here
 typedef __dev_t dev_t;
                 ^
In file included from /usr/include/linux/spi/spidev.h:25:0,
                 from spidev_module.c:25:
/usr/src/linux/include/linux/types.h:19:17: error: conflicting types for ‘nlink_t’
 typedef __u32   nlink_t;
                 ^
In file included from /usr/include/stdlib.h:314:0,
                 from /usr/include/python2.7/Python.h:42,
                 from spidev_module.c:20:
/usr/include/sys/types.h:75:19: note: previous declaration of ‘nlink_t’ was here
 typedef __nlink_t nlink_t;
                   ^
In file included from /usr/include/linux/spi/spidev.h:25:0,
                 from spidev_module.c:25:
/usr/src/linux/include/linux/types.h:25:26: error: conflicting types for ‘timer_t’
 typedef __kernel_timer_t timer_t;
                          ^
In file included from /usr/include/sys/types.h:132:0,
                 from /usr/include/stdlib.h:314,
                 from /usr/include/python2.7/Python.h:42,
                 from spidev_module.c:20:
/usr/include/time.h:103:19: note: previous declaration of ‘timer_t’ was here
 typedef __timer_t timer_t;
                   ^
In file included from /usr/include/linux/spi/spidev.h:25:0,
                 from spidev_module.c:25:
/usr/src/linux/include/linux/types.h:45:26: error: conflicting types for ‘loff_t’
 typedef __kernel_loff_t  loff_t;
                          ^
In file included from /usr/include/stdlib.h:314:0,
                 from /usr/include/python2.7/Python.h:42,
                 from spidev_module.c:20:
/usr/include/sys/types.h:44:18: note: previous declaration of ‘loff_t’ was here
 typedef __loff_t loff_t;
                  ^
In file included from /usr/include/linux/spi/spidev.h:25:0,
                 from spidev_module.c:25:
/usr/src/linux/include/linux/types.h:111:17: error: conflicting types for ‘uint64_t’
 typedef  __u64  uint64_t;
                 ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/include/stdint.h:9:0,
                 from /usr/include/inttypes.h:27,
                 from /usr/include/python2.7/pyport.h:9,
                 from /usr/include/python2.7/Python.h:58,
                 from spidev_module.c:20:
/usr/include/stdint.h:55:27: note: previous declaration of ‘uint64_t’ was here
 typedef unsigned long int uint64_t;
                           ^
In file included from /usr/include/linux/spi/spidev.h:25:0,
                 from spidev_module.c:25:
/usr/src/linux/include/linux/types.h:112:17: error: conflicting types for ‘u_int64_t’
 typedef  __u64  u_int64_t;
                 ^
In file included from /usr/include/stdlib.h:314:0,
                 from /usr/include/python2.7/Python.h:42,
                 from spidev_module.c:20:
/usr/include/sys/types.h:203:1: note: previous declaration of ‘u_int64_t’ was here
 __u_intN_t (64, __DI__);
 ^
In file included from /usr/include/linux/spi/spidev.h:25:0,
                 from spidev_module.c:25:
/usr/src/linux/include/linux/types.h:113:17: error: conflicting types for ‘int64_t’
 typedef  __s64  int64_t;
                 ^
In file included from /usr/include/stdlib.h:314:0,
                 from /usr/include/python2.7/Python.h:42,
                 from spidev_module.c:20:
/usr/include/sys/types.h:197:1: note: previous declaration of ‘int64_t’ was here
 __intN_t (64, __DI__);
 ^
In file included from /usr/include/linux/spi/spidev.h:25:0,
                 from spidev_module.c:25:
/usr/src/linux/include/linux/types.h:134:23: error: conflicting types for ‘blkcnt_t’
 typedef unsigned long blkcnt_t;
                       ^
In file included from /usr/include/stdlib.h:314:0,
                 from /usr/include/python2.7/Python.h:42,
                 from spidev_module.c:20:
/usr/include/sys/types.h:248:22: note: previous declaration of ‘blkcnt_t’ was here
 typedef __blkcnt64_t blkcnt_t;    /* Type to count number of disk blocks.  */
                      ^
spidev_module.c:35:0: warning: "PyLong_Check" redefined [enabled by default]
 #define PyLong_Check(val) PyInt_Check(val)
 ^
In file included from /usr/include/python2.7/Python.h:88:0,
                 from spidev_module.c:20:
/usr/include/python2.7/longobject.h:14:0: note: this is the location of the previous definition
 #define PyLong_Check(op) \
 ^
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

In order to get it to build I had to:

Get rid of this line in setup.py:

     include_dirs = ["/usr/src/linux/include"],

Get rid of this line in spidev_module.c:

     #define PyLong_Check(val) PyInt_Check(val)

Now it builds cleanly and installs.  Don't know if it works yet...

Can you try with the latest commit?


Feat: Able to create own playlists and able to save other people playlists

Describe the feature
I would like to add a feature where one can create its own playlists and save other peope playlists too.
I would like to work on this issue under GSSoC'24.
Add ScreenShots

maybe by adding a plus or add button here
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Please allocate this task to me. I'm capable of tackling it as I possess all the requisite skills to address the matter at hand.

@Chelseasingla1 how are you going to implement this feature since firebase backend is not ready yet. Please explain it.

@Chelseasingla1 how are you going to implement this feature since firebase backend is not ready yet. Please explain it.

@Satyam1923 currently we can store it in local storage and for entering lists one can use forms, where user can enter name of playlists. We can store in json format for time being.

@Chelseasingla1 I don't think this is relevant.

@Chelseasingla1 I don't think this is relevant.

@Satyam1923 Then i can first connect it to firebase and then do the storage purpose if you want to i have worked on firebase before or maybe we can use PostgreSQL for storage purposes.

Hi @Chelseasingla1, I'm ready to take on the task of creating  own playlists and able to save other people playlists section. Please assign it to me with the GSSOC tag. Thanks!

@Chelseasingla1 you can work on this issue but with firebase.

@Chelseasingla1 you can work on this issue but with firebase.

@Satyam1923  okay sure

@Chelseasingla1  u can do this task , but u have to do this as soon as possible. Failing to do leads to assigning to others.

@Chelseasingla1 u can do this task , but u have to do this as soon as possible. Failing to do leads to assigning to others.

@saurabhsingh720 Yes thanks for assigning


Add PullApprove support to enforce consistent review

Ensure that OCI projects share the same approval settings, this has been done for the runtime-spec and runc already, so it makes sense to do the same for image-spec:
https://github.com/opencontainers/project-template/issues/4
https://pullapprove.com/opencontainers/image-spec/
Signed-off-by: Chris Aniszczyk<EMAIL_ADDRESS>

LGTM

LGTM although the proprietary product saddens me :-(

Yeah. that seems wonky.
Reply to this email directly, view it on GitHub
https://github.com/opencontainers/image-spec/pull/101#issuecomment-223077548,
or mute the thread
https://github.com/notifications/unsubscribe/AAEF6RoQyvN9wF8C1YbxFya4YS2p8OY7ks5qHcrNgaJpZM4IrysB
.

Is there a human readable explanation of this?

@caniszczyk gah, now you blocked everything

LGTM :) @philips

Merging this under the assumption that this will unblock stuff.


Stale Block Rate for PoET in Sawtooth

Context
"Stale blocks" refer to blocks that are published and valid, but do not become part of the longest (or heaviest, etc.) chain in a Proof-of-Work style network (probabilistic finality).  A stale (orphan) block occurs when more than one node manages to publish and broadcast a valid block before receiving a previously published block, leading to a temporary fork.  The stale block rate depends on several factors, such as the target length of the block interval, network latency, block size, and information propagation mechanism.  The higher the rate of stale blocks, the higher the overhead involved in processing and validating them, leading to significant disruption of network throughput.  Additionally, the stale block rate is proportional to the ease with which an adversary could potentially generate a long chain with a <50% share of mining power.  Despite the current intention for Sawtooth to be a permissioned network (and thus the relaxed security assumptions) the stale block rate is a crucial metric for assessing performance and evaluating potential improvements to PoET or making network configuration suggestions.
The following paper has a thorough discussion of stale block rate and other PoW-style considerations: https://eprint.iacr.org/2016/555.pdf
This second paper references the above, and deals directly with PoET - proposing changes that may improve throughput at scale: https://arxiv.org/pdf/1804.00399.pdf
Expected Behavior
It would be great to incorporate stale block rate as an available metric in Caliper for use with Sawtooth and potential future PoW-style blockchain systems.  Stale block rate would be expressed as the number of stale blocks / total blocks.
Actual Behavior
This is not currently available in Caliper.
Possible Fix
I hope to contribute to the implementation of this feature, as I need it to perform performance evaluation and benchmarking work with Sawtooth.  I would appreciate ideas and guidance from those more familiar with the Caliper core and Sawtooth's event subscription system.  I believe that in order to evaluate the stale rate, it would be necessary to record all block events, keep track of block identities, and finally evaluate how many such blocks were ultimately not part of the longest chain.
I understand that Caliper involves several layers of abstraction that make it possible to interface with different backend systems, not all of which require stale block rate (for example, Fabric and anything that uses deterministic consensus won't generate stale blocks), so it remains to be considered how to incorporate this option from an architectural standpoint.  A config file flag?

With some help from researchers at National University Singapore, I realized that calculating the stale block rate can be done by finding 1) all the valid blocks that any validator has seen and 2) all the blocks that ended up on the main chain.  Simple scripting can be done to comb the docker container logs for all validators, extracting the valid blocks seen by all nodes and placing them in a set, and then comparing the size of this set to the size of the main chain.  This is currently a layer that is operating outside of Caliper functionality in my workflow.  It seems that to build it into Caliper, which has to accommodate back-end systems that may or may not be running on docker containers, one may need to subscribe to validator events.

How could we make the stale block occur?  how many  validators does the sawtooth blockchain need, how long should we test, and other condition?  2) What's the main chain, how to define the main chain? 3) To the sawtooth, Caliper only tests the docker mode. 4) need to subscribe all of the validators events or just one of validators?

closing as the sawtooth connector has been removed


Table 'nginxproxymanager.migrations_lock

Hi all,
Had this issue a couple of times
ERROR 1146 (42S02) at line 1: Table 'nginxproxymanager.migrations_lock' doesn't exist, I can confirm the table does exist and has 2 items within it.[ please see attached images ].... The only way i can resolve this is to completely remove image, destroy database & start a fresh.
Ihe docker combination works but randomly presents this error after a while.

Any help would be appreciated
I'm using,
Latest.   -   NPM   -   https://hub.docker.com/r/jlesage/nginx-proxy-manager/
Latest    -   linuxserver MariDB.  -    - https://hub.docker.com/r/linuxserver/mariadb/
---  DOCKER CONTAINER LOG---
s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-app-niceness.sh: executing...
[cont-init.d] 00-app-niceness.sh: exited 0.
[cont-init.d] 00-app-script.sh: executing...
[cont-init.d] 00-app-script.sh: exited 0.
[cont-init.d] 00-app-user-map.sh: executing...
[cont-init.d] 00-app-user-map.sh: exited 0.
[cont-init.d] 00-clean-logmonitor-states.sh: executing...
[cont-init.d] 00-clean-logmonitor-states.sh: exited 0.
[cont-init.d] 00-clean-tmp-dir.sh: executing...
[cont-init.d] 00-clean-tmp-dir.sh: exited 0.
[cont-init.d] 00-set-app-deps.sh: executing...
[cont-init.d] 00-set-app-deps.sh: exited 0.
[cont-init.d] 00-set-home.sh: executing...
[cont-init.d] 00-set-home.sh: exited 0.
[cont-init.d] 00-take-config-ownership.sh: executing...
[cont-init.d] 00-take-config-ownership.sh: exited 0.
[cont-init.d] 00-xdg-runtime-dir.sh: executing...
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] nginx-proxy-manager.sh: executing...
[cont-init.d] nginx-proxy-manager.sh: Starting database...
[mysqld] starting...
2020-07-10 18:36:23 0 [Note] /usr/bin/mysqld (mysqld 10.3.23-MariaDB) starting as process 372 ...
2020-07-10 18:36:23 0 [Note] InnoDB: Using Linux native AIO
2020-07-10 18:36:23 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2020-07-10 18:36:23 0 [Note] InnoDB: Uses event mutexes
2020-07-10 18:36:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-07-10 18:36:23 0 [Note] InnoDB: Number of pools: 1
2020-07-10 18:36:23 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-07-10 18:36:23 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2020-07-10 18:36:23 0 [Note] InnoDB: Completed initialization of buffer pool
2020-07-10 18:36:23 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2020-07-10 18:36:23 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-07-10 18:36:23 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-07-10 18:36:23 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-07-10 18:36:23 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2020-07-10 18:36:23 0 [Note] InnoDB: 10.3.23 started; log sequence number 1625529; transaction id 21
2020-07-10 18:36:23 0 [Note] InnoDB: Loading buffer pool(s) from /config/mysql/ib_buffer_pool
2020-07-10 18:36:23 0 [Note] InnoDB: Buffer pool(s) load completed at 200710 18:36:23
2020-07-10 18:36:23 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-07-10 18:36:23 0 [Note] Server socket created on IP: '::'.
2020-07-10 18:36:23 0 [Note] Reading of all Master_info entries succeeded
2020-07-10 18:36:23 0 [Note] Added new Master_info '' to hash table
2020-07-10 18:36:23 0 [Note] /usr/bin/mysqld: ready for connections.
Version: '10.3.23-MariaDB' socket: '/run/mysqld/mysqld.sock' port: 3306 MariaDB Server
[cont-init.d] nginx-proxy-manager.sh: Upgrading database if required...
This installation of MySQL is already upgraded to 10.3.23-MariaDB, use --force if you still need to run mysql_upgrade
ERROR 1146 (42S02) at line 1: Table 'nginxproxymanager.migrations_lock' doesn't exist
[cont-init.d] nginx-proxy-manager.sh: exited 1.
[services.d] stopping services
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.
Status information:
Current dir: /config/mysql/
Running threads: 5 Cached threads: 1 Stack size: 299008
Key caches:
default
Buffer_size: 134217728
Block_size: 1024
Division_limit: 100
Age_threshold: 300
Partitions: 0
blocks used: 0
not flushed: 0
w_requests: 0
writes: 0
r_requests: 0
reads: 0
handler status:
read_key: 0
read_next: 0
read_rnd 0
read_first: 3
write: 0
delete 0
update: 0
Table status:
Opened tables: 17
Open tables: 11
Open files: 25
Open streams: 0
Alarm status:
Active alarms: 0
Max used alarms: 0
Next alarm time: 0
Events status:
LLA = Last Locked At LUA = Last Unlocked At
WOC = Waiting On Condition DL = Data Locked
Event scheduler status:
State : INITIALIZED
Thread id : 0
LLA : n/a:0
LUA : n/a:0
WOC : NO
Workers : 0
Executed : 0
Data locked: NO
Event queue status:
Element count : 0
Data locked : NO
Attempting lock : NO
LLA : init_queue:140
LUA : init_queue:150
WOC : NO
Next activation : never
2020-07-10 18:36:24 0 [Note] /usr/bin/mysqld (initiated by: unknown): Normal shutdown
2020-07-10 18:36:24 0 [Note] Event Scheduler: Purging the queue. 0 events
2020-07-10 18:36:24 0 [Note] InnoDB: FTS optimize thread exiting.
2020-07-10 18:36:24 0 [Note] InnoDB: Starting shutdown...
2020-07-10 18:36:24 0 [Note] InnoDB: Dumping buffer pool(s) to /config/mysql/ib_buffer_pool
2020-07-10 18:36:24 0 [Note] InnoDB: Buffer pool(s) dump completed at 200710 18:36:24
2020-07-10 18:36:25 0 [Note] InnoDB: Shutdown completed; log sequence number 1625538; transaction id 22
2020-07-10 18:36:25 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-07-10 18:36:25 0 [Note] /usr/bin/mysqld: Shutdown complete
[s6-finish] sending all processes the KILL signal and exiting.

Could you share how you created the container (your docker run command).
Also, I'm not sure to understand why you use an external DB, since this container already use its own one.

Could you share how you created the container (your docker run command).
Also, I'm not sure to understand why you use an external DB, since this container already use its own one.

Thank you for a quick reply jlesage,
The external database is for my own ease so i can see the data without any fancy jiggery pokery to access. It also comes down to preference, I can see exactly what data is being written.
I use unraid with the inbuilt docker system to run the docker, nothing has changed from the default setup XML for the unraid system.
Please see attached images

Permissions issue in db would cause the issue...Can you drop and recreate the table without having to destroy the whole db?


Relative merits of Node-based vs Registry-based Annotation API

We've discussed on group calls, the relative merits of Node-based vs Registry-based Annotation API.
Some of the things we thought of...

Node-based
Registry-based

Discovery mechanism
Node services
Not clear... DNS-SD?

Interop with Node API
Well defined
Not provided

Interop with Query API
Well defined
Provided but complicated a little by version

Annotation limits
Requirements based on low-powered devices
Could be relaxed?

Annotation lifetime
Well defined
Probably needs configurable garbage collection?

Annotation mobility
Intrinsic
No

from a purist standpoint, i dislike the endpoints being responsible for "storing state" of things that they have no active part in.  but registry-based annotations also brings some complication -- at the moment, everything in the NMOS registry is a copy of data whose definitive source is elsewhere.  so if we start using the registry to also hold annotations, we'll need to decide if its the definitive source (and responsible for persistence) of those annotations, or if the party that makes the annotation is also responsible for pushing/maintaining it in the registry the same way that nodes are responsible for maintaining their registrations today.  Neither option is perfect.  There is especially a funny issue if the node drops out and comes back, the registry might purge the node's information - when the node comes back, would the registry "remember" the previous annotations, or would the annotations manager need to put them back once it sees the node re-appear?

Update 2023-07-13: not all use cases have a registry so the above questions would need be considered.  However this is outside current agreed iteration scope.


MDEPLOY-226: DeployAtEnd fails when module has extension

MDEPLOY-225: DeployAtEnd fails when overriding skip
MDEPLOY-224: Overriding deployAtEnd fails

@chonton @tbroyer
I believe this solved the problem i was having with using https://github.com/tbroyer/gwt-maven-plugin
Any of my submodules using the plugin would not register with the deploy "count", and i'd end up short when doing the final comparison.
@khmarbaise
What's the timeframe to get this merged?

The serialisation needs to be updated with XMLEncoder/XMLDecoder or else surefire/failsafe will fail as it reads all properties and expects String - see https://github.com/apache/maven-deploy-plugin/pull/1

XMLEncoder/XMLDecoder will not work on the MavenProject member.  Xpp3 has similar problems.
I believe this approach is not going to work without support from core or update to Surefire/Failsafe.


Re-add some missing whitespace to the function editor

Accidentally removed in https://github.com/code-dot-org/blockly/pull/187/files#diff-15517595cdb4da6c8357781223e5a4daL958

Codecov Report

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

@@            Coverage Diff            @@
##             master     #189   +/-   ##
=========================================
  Coverage          ?   59.26%
=========================================
  Files             ?       95
  Lines             ?    11550
  Branches          ?        0
=========================================
  Hits              ?     6845
  Misses            ?     4705
  Partials          ?        0

Impacted Files
Coverage Δ

core/ui/function_editor.js
86.81% <ø> (ø)

Continue to review full report at Codecov.

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


Allow MockServices to return readiness errors

Motivation
When testing PR #3200, I wanted to make a service that always returns an error from poll_ready.
But MockService doesn't seem to have this feature.
Suggested Tasks

Allow MockServices to return readiness errors
Add an inner service error test for UnreadyService

This isn't needed.


Vite 5: Update Docs

Vite 5 now fails because by default appType: 'spa' does not return 404's if something isn't found and returns 200 and sends to index HTML bypassing the SPARouting.
https://vitejs.dev/config/shared-options#apptype
To fix it we need to tell vite this is a MultiPageApplication using appType: 'mpa' to make it work like Vite 4 with Quinoa.
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
import eslint from "vite-plugin-eslint";

// https://vitejs.dev/config/
export default defineConfig({
	plugins: [react(), eslint()],
	appType: "mpa",
});

OK attached is a reproducer:
vite5-project.zip
Run mvn quarkus:dev and then go to DevUI Swagger and just try and hit the "/hello" REST service you will see it returns the HTML of the Vite webapp.

Now go into vite.config.ts and change appType: "spa" to appType: "mpa" and repeat above the RestEasy /hello API works fine again as does the webapp.


Editor freezes when I try to open html files.

I am using windows 32 bit OS.When I try to  open html files ,the editor stops responding ,the file editing area becomes unclickable.
Here is the screenshot of the issue:  http://prntscr.com/63oo3q

@ankibahuguna Does that file perhaps a very long line? I have a feeling that it does by looking at the horizontal scrollbar, and if that's true -- you're probably experiencing this issue: https://github.com/atom/atom/issues/979.
Can you confirm that this doesn't happen for an html file which doesn't have long lines like that?

Also, which version of Atom are you using?

Hi,
Yes.I tried to open a simpler html file with shorter lines ,it works fine.But the moment I try to open a larger file ,editor just freezes and stops responding.The same file opens smoothly on notepad++.
I am using  version 0.177.0.

Thanks for confirming. I'm closing this as a duplicate of #979 and #307 then. Subscribe to those issues for updates.


Support MarkupContent[] in a Hover

Fixes #374 and Microsoft/language-server-protocol#518.

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

@DJMcNab can you elaborate why this is necessary. The reason why I am asking is that this is a breaking change for a client and we need to provide capabilities for this.
If the reason for this is the rendering in the VS Code UI (horizontal lines) I think we are better off treating --- special and split the content on the client side into an array there.

Certainly - the reason is for that UI effect. I created this PR mostly because you labelled #374 as 'feature-request', without raising this issue, which then seemed dormant and unactioned. I also encountered this limitation in a language server I am developing, where I had to fall back on the old deprecated API, which seemed wrong. However, seeing @felixfbecker's solution as laid out in https://github.com/Microsoft/language-server-protocol/issues/518#issuecomment-437880445 makes me realise that splitting on the --- is a good idea.
However, the usual visual style of the --- is ugly, so perhaps it would be good to clarify that client implementations should use minimal styling for a --- in markdown for a hover.

@DJMcNab I think the styling of --- is very specific to VS Code and how it combines hovers from different providers. In VS Code for a language X there can be two hover providers which are separated using a hline. The API allows to separate section with a different styled hline by providing an array. IMO this shouldn't leak into the LSP API. So we should simple here https://github.com/Microsoft/vscode-languageserver-node/blob/master/client/src/protocolConverter.ts#L257  convert the hover content into an array based on ---.

So, just to clarify, I should close Microsoft/language-server-protocol#572 and instead make the change in https://github.com/Microsoft/vscode-languageserver-node/blob/master/client/src/protocolConverter.ts#L257.
What would be the best approach to this - should I force push an update? Is it worth the slight jankiness of splitting based on the raw string ---. Alternatively, the actual vscode hover markdown support replace Horizontal Break with the thinner line style.

There, I have added the suggested changes.
Note that Sourcegraph uses css rules to make the markdown content with horizontal seperators look the same as multiple array items: see sourcegraph/codeintellify@2ab2bf6.
@felixfbecker, do you think we should use this approach in vscode, although (I think) that would require a PR against Microsoft/vscode.

Actually this is getting too complicated. We would need to handle hline as well and ignore --- in inline html. Doing this right would almost mean to convert the whole markdown. Will think about another solution.

OK! Well I'm glad we're thinking about a solution! Don't worry about it.

OK! Well I'm glad we're thinking about a solution! Don't worry about it.

Fixed via: https://github.com/Microsoft/vscode/issues/65094
The following code:
connection.onHover((textPosition): Hover => {
	// connection.tracer.log('A trace message from the server', 'Verbose content');
	return {
		contents: {
			kind: MarkupKind.Markdown,
			value: [
				'```typescript',
				'function validate(document: TextDocument): Diagnostic[]',
				'```',
				'___',
				'Some doc',
				'',
				'_@param_ `document` '
			].join('\n')
		}
	};
});

produces the following hover:

Nice, that's the solution we chose in Sourcegraph too 👍

Awesome work! Thanks.
Should we have a note about this in the protocol document - I suppose https://github.com/Microsoft/language-server-protocol/issues/518 should track that?
Also, does tsserver currently use this or does it use the deprecated MarkedString[] approach.

TSServer does use the deprecated MarkedString[] appraoch.
I also updated https://github.com/Microsoft/language-server-protocol/issues/518
@DJMcNab what do you suggest to add to the protocol document ?

Something like:

It is recommended that implementations display markdown seperators (such as denoted by --- or
) as a minimal horizontal line, as can be seen in vscode.

Maybe in slightly better English :smiley:.

Yeah, that's fine. It might be worth noting that --- (or
) is the standard separator (such as between definitions and documentation or conflicting definitions), to clarify the situation for servers. Otherwise, it can just be left.


Background does not move if text alignment moves

Describe the bug
If the background is enabled and text alignment is set to right, the background alignment does not change.
To Reproduce
Steps to reproduce the behaviour:

Set the text alignment to right or center.

Expected behaviour
The background also updating the alignment,
Screenshots

Minecraft Versions:

Game Version [1.21]
Mod Version [v4.6.2]

Thank you for the image and the well-written bug report; thanks for bringing the issue to my attention; I have found the issue in the code and will push the update along with Update 4.7.0.