Support for Cucumber in .NET

🤔 What's the problem you're trying to solve?
I'm currently working on a plugin for Neovim that adds some of the niceties back in to the .NET developer workflow, building on top of the features already offered by the omnisharp-lsp and DAP. One of the things that keeps me going back to Visual Studio, is the lack of support for .feature files and the step definitions in .NET when writing Specflow tests. For all other things, I have a clear idea how I can implement what I need in the plugin, but the Cucumber problem doesn't have a satisfying solution I can think of (bar writing or extending the vim-cucumber plugin, which kind of defeats the purpose of building on top of existing language servers).
✨ What's your proposed solution?
Some of the great features offered by this language-service and the cucumber_language_server would make working with Cucumber in .NET so much better outside of Visual Studio, so adding support for C# / .NET would be great
⛏Have you considered any alternatives or workarounds?
vim-cucumber - https://github.com/tpope/vim-cucumber. Forking and extending this, or implementing my own plugin specifically to implement the features offered by the cucumber_language_server but for C#. However, extending the language service and the cucumber LSP seems a much better solution.
Additional context
I would be happy to contribute to get this support included in the project

Hi @Issafalcon thanks for offfering to help!
The language-specific code is in the tree-sitter directory. Currently only Java and TypeScript is supported.
I suggest you start by adding a new test for C# in ExpressionBuilder.test.ts.
You'll have to familiarise yourself with TreeSitter. The TreeSitter playground is very useful for experimenting with TreeSitter queries.

Thanks @aslakhellesoy , no problem.
I'll take a look at tree-sitter (been meaning to learn how to write queries for other plugin ideas I have). I'm away for the next couple of weeks, but after that, I should have some free time.

👍🏻

Hi @aslakhellesoy. I've forked the repo and added what I think is required for the csharp queries (https://github.com/Issafalcon/language-service/tree/feature/csharp-support). However, I can't seem to build .wasm files that are loadable by the TS Parser. I thought it was just the c-sharp wasm file that wasn't working, but the ExpressionBuilder run via the tests also fail to load other wasm files after I overwrite them with ones I have built locally.
Following the installation of emscripten https://emscripten.org/docs/getting_started/downloads.html#platform-notes-installation-instructions-sdk to use the latest version of emsdk to create the WASM images.
Activating the emsdk produces the following:
`Setting the following tools as active:
node-14.18.2-64bit
releases-upstream-d463a5c58ef01678f32b151ab444582e72e75951-64bit
Next steps:

To conveniently access emsdk tools from the command line,
consider adding the following directories to your PATH:
/home/issafalcon/repos/emsdk
/home/issafalcon/repos/emsdk/node/14.18.2_64bit/bin
/home/issafalcon/repos/emsdk/upstream/emscripten`

Hi @Issafalcon great to hear you're making progress. Could you please submit a pull request against this repo so we can start giving feedback? You can mark it as draft if you feel it's not ready.
FYI: I'm going to be away for a week

Sounds good. I've linked the draft PR @aslakhellesoy .


Date utility overrides global Date constructor

When importing the Date utility, the global js Date constructor is overwritten. The utility can be renamed on import, but this seems like dangerous practice. Consider renaming to ParseDate or ConvertDate or something else that better indicates the function.

It's definitely something we should rename here. I added a warning section to the README as a starting point. Thanks!


Training parameters

Hi !
I am trying to train the paint agent in my GPU. In the paper I could read that the training time was about 2 days in your case.
Can you tell me what parameters used you to train the paint agent? In my case the training time is more than 1 week (I am training the agent in a GPU too but I think that there is a lot of time difference).
Thanks so much!

Hi, I use the default parameter and train the agent on a 2080Ti GPU. I think you can try python-CProfile to check whether there is a bottleneck in the data generator.


fix typos in haskell applications tutorial

s/Picewise/Piecewise
s/Serie/Series

Thanks for the fix.


does there exist a document/cheatsheet/guide to putting openlayers code into npm?

I am not asking for a new document, just haven't found one, and the search is becoming frustrating.
We implemented an OpenLayers solution some years ago using ol2 (http://www.nufosmatic.com). The results were very satisfactory, and the new mapping capabilities allowed us to expand beyond what our circa 2004 primitive maps allowed.
However, like anything, ol2 will become stale and unusable. But, the leap to ol3+ is a big one, and some of the features of ol2 we settled upon are just simply not there.
We have found some ol3+ examples that seem to address our needs, but the v6.1.1 examples all seem to be abstracted to NPM. Now, we find some features of NPM very interesting (the development server/code and test process is really very nice), but there is this nasty bit of having to re-code all of the function names because of the NPM import process. OK, we've got a lot of re-coding to do anyway, and that's probably not no big a problem.
We have also found some third-party ol3+ examples that address missing features in ol2 that are NOT addressed in the ol3+ examples. However, bringing these examples under NPM has been most frustrating. It seems that eventually we get to "X is not a constructor" or "X is undefined" on examples that clearly work outside of NPM (especially when 'X' is something in ol3 that should be visible and correct).
Is there a doc that gives guidance on migrating a non-NPM ol3+ codebase under NPM?

Hi!
Your question is very broad and does not apply to OpenLayers specifically. Besides I think what you are really trying to do is migrate your project to ES6 modules.
You can still use OL "the old way" (i.e. through a global ol object) by including this in your html (taken from the quick start):
    <link rel="stylesheet"<EMAIL_ADDRESS>type="text/css">
    <style>
      .map {
        height: 400px;
        width: 100%;
      }
    </style>
    <script<EMAIL_ADDRESS>
Also the API has changed in quite a few places since version 3, so depending on how your third party examples were maintained, your mileage may vary.
Hope that helped
PS: OL6 has a UFO sighting map example ;)


Research on motor mount design

Resolves #14. Did research on potential motor mount designs

@MwadimeOnyango Have a look at this regarding your PR title https://gist.github.com/mikepea/863f63d6e37281e329f8

It is okay to put .png and .jpeg files. An iam file isn't needed

Here is an example

The images are mine i.e. I drew them. WHat's the protocol on that
On Tue, Jan 24, 2023 at 11:37 AM b1ackd0t @.***> wrote:

@.**** requested changes on this pull request.
Reference and display the images on the research. Also add this report to
the research directory. You can create a sub folder for images called img
or assets
—
Reply to this email directly, view it on GitHub
https://github.com/nakujaproject/airframeN3/pull/17#pullrequestreview-1267042667,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5I37SKQCXR2IMQDQAYTH53WT6IFPANCNFSM6AAAAAAUDPRB5I
.
You are receiving this because you were mentioned.Message ID:
@.***>


Steam Astro Colony not detecting?

Ludusavi version
v0.21.0
Operating system
Windows
Installation method
Standalone
Description
Save games are: %USERPROFILE%/AppData/Local/AstroColony/Saved/SaveGames/

Logs
No response

Hi! Ludusavi ultimately sources information from PCGamingWiki, which doesn't currently have an article for Astro Colony. If you or anyone else creates the article and adds the save locations to it, then Ludusavi will automatically incorporate that data within a few hours :)


Remove bringup: true to add bots to prod pool.

Description of the issue
Now that these bots are stable we want to move them to the prod pool. This is part of work to address the issue listed below.
Issue Being Addressed
https://github.com/flutter/flutter/issues/105468
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Oh, wait, I believe we do not need this PR any more. The flake bot has deflaked these builder automatically. Ex: https://github.com/flutter/flutter/pull/105622
I am gonna close this PR.

Cool sounds good! Thanks Keyong.


QIPR registry CSS missing rem

Check your css
.btn__logout {
line-height: 2rem;
height: 2rem;
width: 5rem;
padding: 0 .6rem;
padding is missing rem
line 79

https://github.com/ctsit/qipr/pull/33

Completed review


disale notification is app is opened

is there any solution to make the notification showed only if the app is closed ?

on iOS the is standard behaviour. For android you'd have to build in a check in the native side of things.


rebooting

I just wanted to ask what is the expected behaviour if i have to do maintenance

how can i see which tasks / pods are running on which physical machine? and see how much cores etc are free?
when i reboot a machine, all the tasks are just canceled and deleted. is this expected behaviour?
how can i avoid Point 2? I can list all tasks with computing-provider task list -v and then kill every task with computing-provider task delete. is this oaky from a network perspective? will i get rewards ( partial until now) and my deposit back?

I just wanted to ask what is the expected behaviour if i have to do maintenance

how can i see which tasks / pods are running on which physical machine? and see how much cores etc are free?
when i reboot a machine, all the tasks are just canceled and deleted. is this expected behaviour?
how can i avoid Point 2? I can list all tasks with computing-provider task list -v and then kill every task with computing-provider task delete. is this oaky from a network perspective? will i get rewards ( partial until now) and my deposit back?

1\  you can run curl -k --location 'https://<YOUR_PUBLIC_IP>:<PORT>/api/v1/computing/cp'
2\ yes, Orchestrator will monster your service, if the service is not available, the task will be terminated.
3\ You must keep your server running, if the task is deleted, CP just can get a part of the total reward


Merged branches remove

@eduard93, are you OK to delete ConstRefactoring, Gitignore, Refactoring and ParamsBranch just to keep repository clean? All the changes were merged to master, so I think we should finish with these branches.

Everything is merged, so it's alright with me.

Done


[Rendering] Time taken to render same adaptive card JSON first time is more than subsequent times to render same json

Target Platforms
NodeJS
SDK Version
2.9.0
Application Name
Microsoft Enterprise Search
Problem Description
In search application, we render almost 15 results when searching for a keyword. All these 15 results are adaptive card. Mostly all of these 15 results are same AC json with different data binding.
The issue is that the time taken to render the first adaptive card result is a lot more than rendering the same ac json again.
I have tried to reproduce the same issue here :
https://codepen.io/atishayv/pen/mdBBpMw
In the above code pen example, I am rendering the same ac json twice and measuring the time taken to render it

In the screenshot shown, it took 12.8ms to render the ac json first time and around 3.47ms the second time onwards.
I have 2 issue to report here:

Why does it takes almost 4 times(400% increase in time) the time to render the ac json first time than second time and onwards. Is there any optimisation we can do to make the first time render faster ?
Also when comparing the time taken to render the similar card though react component is much faster than the ac json. Can we optimise the rendering time of ac json ?

Screenshots
No response
Card JSON
{
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "type": "AdaptiveCard",
  "version": "1.0",
  "body": [
    {
      "type": "TextBlock",
      "text": "Your registration is almost complete",
      "size": "medium",
      "weight": "bolder",
      "wrap": true
    },
    {
      "type": "TextBlock",
      "text": "What type of food do you prefer?",
      "wrap": true
    },
    {
      "type": "ImageSet",
      "imageSize": "medium",
      "images": [
        {
          "type": "Image",
          "url": "https://contososcubademo.azurewebsites.net/assets/steak.jpg",
          "altText": "Steak cut with fries"
        },
        {
          "type": "Image",
          "url": "https://contososcubademo.azurewebsites.net/assets/chicken.jpg",
          "altText": "Fried chicken with lettuce"
        },
        {
          "type": "Image",
          "url": "https://contososcubademo.azurewebsites.net/assets/tofu.jpg",
          "altText": "Tofu topped with red sauce"
        }
      ]
    }
  ],
  "actions": [
    {
      "type": "Action.ShowCard",
      "title": "Steak",
      "card": {
        "type": "AdaptiveCard",
        "body": [
          {
            "type": "TextBlock",
            "text": "How would you like your steak prepared?",
            "size": "medium",
            "wrap": true
          },
          {
            "type": "Input.ChoiceSet",
            "id": "SteakTemp",
            "style": "expanded",
            "choices": [
              {
                "title": "Rare",
                "value": "rare"
              },
              {
                "title": "Medium-Rare",
                "value": "medium-rare"
              },
              {
                "title": "Well-done",
                "value": "well-done"
              }
            ]
          },
          {
            "type": "Input.Text",
            "id": "SteakOther",
            "isMultiline": true,
            "placeholder": "Any other preparation requests?"
          }
        ],
        "actions": [
          {
            "type": "Action.Submit",
            "title": "OK",
            "data": {
              "FoodChoice": "Steak"
            }
          }
        ]
      }
    },
    {
      "type": "Action.ShowCard",
      "title": "Chicken",
      "card": {
        "type": "AdaptiveCard",
        "body": [
          {
            "type": "TextBlock",
            "text": "Do you have any allergies?",
            "size": "medium",
            "wrap": true
          },
          {
            "type": "Input.ChoiceSet",
            "id": "ChickenAllergy",
            "style": "expanded",
            "isMultiSelect": true,
            "choices": [
              {
                "title": "I'm allergic to peanuts",
                "value": "peanut"
              }
            ]
          },
          {
            "type": "Input.Text",
            "id": "ChickenOther",
            "isMultiline": true,
            "placeholder": "Any other preparation requests?"
          }
        ],
        "actions": [
          {
            "type": "Action.Submit",
            "title": "OK",
            "data": {
              "FoodChoice": "Chicken"
            }
          }
        ]
      }
    },
    {
      "type": "Action.ShowCard",
      "title": "Tofu",
      "card": {
        "type": "AdaptiveCard",
        "body": [
          {
            "type": "TextBlock",
            "text": "Would you like it prepared vegan?",
            "size": "medium",
            "wrap": true
          },
          {
            "type": "Input.Toggle",
            "id": "Vegetarian",
            "title": "Please prepare it vegan",
            "valueOn": "vegan",
            "valueOff": "notVegan"
          },
          {
            "type": "Input.Text",
            "id": "VegOther",
            "isMultiline": true,
            "placeholder": "Any other preparation requests?"
          }
        ],
        "actions": [
          {
            "type": "Action.Submit",
            "title": "OK",
            "data": {
              "FoodChoice": "Vegetarian"
            }
          }
        ]
      }
    }
  ]
}

Sample Code Language
JS
Sample Code
Code can be found here
https://codepen.io/atishayv/pen/mdBBpMw

CC : @dclaux , @matthidinger , @jonmill

@atishayv
Re 1: There is nothing the SDK does differently the first time vs subsequent times. What you're seeing is in all likelihood an HTML/JS optimization happening in the underlying framework, which we have no control over. It would be interesting to push this test a bit further: after rendering this card twice, render another, significantly different card twice. IMO you'll observe either of the following two things:

The first rendering of the second card is also going to be significantly slower than the second rendering

If that's what you see, the optimization likely happens as the JSON is parsed

Or the first and second rendering will take just as much time
If that's what you're seeing (and I have a feeling that's what you'll see) the optimization is likely that the AC SDK code is compiled just-in-time the first time it's used

Re 2: What React component are you referring to, and what are the numbers you are seeing.

@dclaux
Re 1: I have updated the pen to log both parse and render time and also added code to render a different card 2nd time
https://codepen.io/atishayv/pen/mdBBpMw
As you can see in the screenshot below

--> The time taken to render the first card is greater than the parsing time.
--> Also, the first rendering of the second card is significantly slower than the second rendering.
I am not sure whats happening in the underlying framework and why the second card rendering is slower.
Re 2: Sorry for the confusion here. What I was trying to convey here is that if I try to render the same amount of content(similar looking html) with React components without using adaptive card, the time taken is lesser. I am not sure if thats a valid comparison to do but there might be some optimisation needed to make ac framework also render fast?

It is normal that the first parse of the first card is slower than the second. When the SDK parses a specific element type for the first time, it dynamically builds it schema and caches it. That schema building step will take additional time. I would say it's also not surprising that the first parse of the second card is slower than the second parse, because the second card uses Action.ShowCard which the first card doesn't, and thus the schema for Action.ShowCard is not yet cached.
I however do not understand why rendering is slower the first time.  I would understand it if you were re-rendering the same AdaptiveCard instance, but you're actually creating a new instance every time.

Thanks for the investigation here - based on the data, the slowest render is 12ms which is well inside the acceptable range for UI interaction. Is there a particular issue with the 12ms time? This doesn't seem like an issue that we would prioritize at this point given the rendering is still within the normal range for UI framework rendering

Closing due to above comment - but let's please continue the discussion here if necessary


Lookup table not found (model: LXT56-LS27LX1.7, color_mode: hs)

Hello
All of my Nue 3A 12 W downlights have this error associated with them.
hs is not a supported color_mode, so it's not clear why Powercalc is trying to look it up.

@JohnnyTwoFingers This is probably a light with color control (looking at the RGBW in the naming).
HA probably has two color modes for this light: color_temp and hs. You can also check that in developer tools and look at supported_color_modes.
However the contributor only supplied measurements for color_temp, which is why you get this error.
When this is the case the light should not be adopted in the library because it is only partially done.
@joshuar You were contributor for this light, could you have a look please? Is this the same light as you provided measurements for. And are you able to do the color profile as well?

@bramstroker below is the output from States under developer tools:
min_color_temp_kelvin: 2702
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 370
effect_list:
  - colorloop
supported_color_modes:
  - color_temp
  - xy
color_mode: xy
brightness: 63
hs_color:
  - 37.917
  - 56.471
rgb_color:
  - 255
  - 202
  - 111
xy_color:
  - 0.469054
  - 0.412592
off_with_transition: false
off_brightness: null
friendly_name: Living Room Downlight Front Left
supported_features: 44

xy is just another representation of hs color.
Powercalc maps this to hs.
So it's indeed as I expected. This light has both color temperature and color control.
This means the LUT files in the library must also contain a hs.csv
I have asked the contributor if he can supply it. I don't own this specific light so I can't.

TIL that xy is the same as hs!
I'll run the measurement script and generate the LUT files for hs/xy this weekend for me. I don't remember seeing this error when I submitted the original PR with the lights, but I can confirm I'm getting it now.

Thanks a lot for your quick answer @joshuar. Thanks in advance for providing the additional meassurements.

thanks @joshuar and @bramstroker


Attach control to existing HTML element / target

Is there a simple way to attach this control to an existing html element?  When defining stock ol3 controls, for instance, one can specify a target  to which that control may attach outside of the viewport, and this functionality would be an excellent addition to your already useful ol3 extension.

Yeah @sclose, this is definitely has to be done. I'll come up with something.

Just to be helpful to others,  I have completed this feature from a separate repository of my own. https://github.com/allenhwkim/geocoder
An example can be found here.
https://rawgit.com/allenhwkim/geocoder/master/app/index.html
The full example with React/OpenLayers Control with this also can be found here.
https://rawgit.com/allenhwkim/react-openlayers/master/app/index.html#/custom/geo-code


Add support for sizes and color schemes in Buttons

So something like
Button(size = Sizes.Lg, scheme = ColorSchemes.Blue) {
   ...
}

(Also audit other widgets and make sure they support these features too)

Superceded by #255


Add support for configuring DNS servers

resinOS 2.0.10 onwards supports configuring DNS servers from config.json with the dnsServers key. The CLI tools should support setting this.

@pimterry this and NTP configuration would be nice to add as we change resin configure

Just a note for me: as part of doing this we should also do the parallel change on the UI side https://github.com/resin-io/resin-ui/issues/1084


Improve comments and also test new GitHub action functionality

Details
This is mainly to test https://github.com/Expensify/Expensify.cash/pull/1779, but also adds some more comments to improve code quality.
Fixed Issues
Fixes testing for https://github.com/Expensify/Expensify.cash/pull/1779
Tests

Merge this PR
Verify we get the comment on this PR:

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


enclave-tls: resolve the build-time dependency of libenclave-tls.so

The build-time dependency listed by ldd should not contain any sgx sdk/dcap libraries.

has no dependency for now.


fix list format

Fix list under Enterprise cluster measurements
https://docs.influxdata.com/platform/monitoring/tools/measurements-internal#enterprise-cluster-measurements

closing this one - this content is not in the current measurements-internal.md


Android signed build error

I'am trying to build android app but getting this error.

Hi @MerkulovDev ,
Would you kindly provide the full information on your project, along with MobileMessaging plugin version, package.json and merged AndroidManifest file?
Geo features are currently not supported, last supported version 2.5.1, recommended version is 3.0.0-rc9.

"com-infobip-plugins-mobilemessaging": "^3.0.0-rc8",
On Tue, Sep 12, 2023 at 12:13 PM Alexander Boldyrev <
@.***> wrote:

Hi @MerkulovDev https://github.com/MerkulovDev ,
Would you kindly provide the full information on your project, along with
MobileMessaging plugin version, package.json and merged AndroidManifest
file?
Geo features are currently not supported, last supported version 2.5.1,
recommended version is 3.0.0-rc9.
—
Reply to this email directly, view it on GitHub
https://github.com/infobip/mobile-messaging-cordova-plugin/issues/26#issuecomment-1715328008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH3ZVD7W7ZSV3YKPNJO7C63X2ART5ANCNFSM6AAAAAA4NNBGMU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Those receivers are present only in the geofencing sdk - https://github.com/infobip/mobile-messaging-sdk-android/blob/master/infobip-mobile-messaging-android-geo-sdk/src/main/AndroidManifest.xml#L37
However, it is excluded in the 3.0.0-rc versions- https://github.com/infobip/mobile-messaging-cordova-plugin/blob/3.0.0-rc8/libs/android/mobile-messaging-aar.gradle#L45
I recommend checking if dependencies are fetched correctly, and trying to delete caches. You can also verify within the project files: if /node_modules/com-infobip-plugins-mobilemessaging/libs/android/mobile-messaging-aar.gradle is similar to the file mentioned above.

Considering previous comment, I'd also recommend to update the version of the plugin, in https://github.com/infobip/mobile-messaging-cordova-plugin/releases/tag/3.0.1 version geo module isn't included by default.
Closing the issue because no new comments appeared for more than 2 weeks.


fix typo

1、Parameters “--allow-verification-with-non-compliant-keys” is missed.
2、Delete the parameter "--google-json-key string";
see the "# kube-controller-manager  -help"
kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.1+82450d0", GitCommit:"f5ef9802914a47c848fd84c287333f8b4d28bbc1", GitTreeState:"dirty", BuildDate:"2017-01-23T00:04:39Z", GoVersion:"go1.7", Compiler:"gc", Platform:"linux/amd64", USEEVersion:"V1.02.01_alpha", USEEPublishDate:"2017-1-10 00:00:00"}
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.1+82450d0", GitCommit:"f5ef9802914a47c848fd84c287333f8b4d28bbc1", GitTreeState:"dirty", BuildDate:"2017-01-22T23:56:57Z", GoVersion:"go1.7", Compiler:"gc", Platform:"linux/amd64", USEEVersion:"V1.02.01_alpha", USEEPublishDate:"2017-1-10 00:00:00"}

This change is

My understanding is that these files are generated. How did you update them?

“# kube-controller-manager -help”can find --allow-verification-with-non-compliant-keys.
“# kube-controller-manager -help”can not find --google-json-key option.

I will find a tech reviewer to double-check the flags.


Home Screen apps at bottom of screen now shows a blur

Sorry I’m in a blonde moment rn, and forgot what you call it, but check out the picture I attached. The main apps that I use at the bottom of my phone god why tf can’t I recall what it’s named... anyway, it’s completely blurred out now, and cannot access the apps down there anymore

Hey! Nothing is blurred out...the apps are removed from the dock upon sorting.


1.18 OP admin is ignored

Describe the problem
Upgraded container to current version and none of the OPS are admins.
Container definition
#!/bin/bash
docker pull itzg/minecraft-server
#Clean existing Containers
docker stop minecraft
docker rm minecraft
rm /usr/local/docker/minecraft/server.*
rm /usr/local/docker/minecraft/ops.*
#Start Containers
docker run -d -p 25565:25565 --name minecraft
--restart always
-v /usr/local/docker/minecraft:/data
-e EULA=true
-e ONLINE_MODE=false
-e DIFFICULTY=easy
-e ALLOW_NETHER=false
-e MODE=creative
-e OVERRIDE_OPS=false
-e OPS=Lotusshaney123,HollyDollyWolly
itzg/minecraft-server
exit 0
Container logs
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 6 1000 1000 4096 May  9 16:00 /data'
[init] Resolved version given LATEST into 1.18.2 and major version 1.18
[init] Resolving type given VANILLA
[init] Creating server.properties in /data/server.properties
[init] Disabling whitelist functionality
[init] Setting white-list to 'false' in /data/server.properties
[init] WARNING: whitelist enabled but not enforced. Set ENFORCE_WHITELIST=TRUE or update 'enforce-whitelist' in server.properties to enforce the whitelist.
[init] Setting allow-nether to 'false' in /data/server.properties
[init] Setting enable-rcon to 'true' in /data/server.properties
[init] Setting rcon.password to 'minecraft' in /data/server.properties
[init] Setting rcon.port to '25575' in /data/server.properties
[init] Setting online-mode to 'false' in /data/server.properties
[init] Setting motd to 'A Vanilla Minecraft Server powered by Docker' in /data/server.properties
[init] Setting difficulty to 'easy' in /data/server.properties
[init] Setting mode
[init] Setting gamemode to 'creative' in /data/server.properties
[init] Updating ops
[init] Checking for JSON files.
[init] Setting initial memory to 1G and max to 1G
[init] Starting the Minecraft server...
Starting net.minecraft.server.Main
[16:00:44] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[16:00:47] [ServerMain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:00:47] [ServerMain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:00:47] [ServerMain/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[16:00:47] [ServerMain/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[16:00:47] [ServerMain/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[16:00:49] [Worker-Main-2/INFO]: Loaded 7 recipes
[16:00:49] [Worker-Main-2/INFO]: Loaded 1141 advancements
[16:00:52] [Server thread/INFO]: Starting minecraft server version 1.18.2
[16:00:52] [Server thread/INFO]: Loading properties
[16:00:52] [Server thread/INFO]: Default game type: CREATIVE
[16:00:52] [Server thread/INFO]: Generating keypair
[16:00:52] [Server thread/INFO]: Starting Minecraft server on *:25565
[16:00:52] [Server thread/INFO]: Using epoll channel type
[16:00:52] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[16:00:52] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[16:00:52] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[16:00:52] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[16:00:52] [Server thread/INFO]: Preparing level "world"
[16:01:00] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[16:01:03] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:03] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:03] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:03] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:03] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:03] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:03] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:03] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:04] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:05] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:05] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:06] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:06] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:07] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[16:01:07] [Worker-Main-2/INFO]: Preparing spawn area: 2%
[16:01:08] [Worker-Main-2/INFO]: Preparing spawn area: 4%
[16:01:08] [Worker-Main-2/INFO]: Preparing spawn area: 10%
[16:01:09] [Worker-Main-2/INFO]: Preparing spawn area: 13%
[16:01:09] [Worker-Main-2/INFO]: Preparing spawn area: 24%
[16:01:10] [Worker-Main-2/INFO]: Preparing spawn area: 25%
[16:01:10] [Worker-Main-2/INFO]: Preparing spawn area: 31%
[16:01:11] [Worker-Main-2/INFO]: Preparing spawn area: 48%
[16:01:11] [Worker-Main-2/INFO]: Preparing spawn area: 61%
[16:01:12] [Worker-Main-2/INFO]: Preparing spawn area: 81%
[16:01:13] [Server thread/INFO]: Time elapsed: 12976 ms
[16:01:13] [Server thread/INFO]: Done (20.514s)! For help, type "help"
[16:01:13] [Server thread/INFO]: Starting remote control listener
[16:01:13] [Server thread/INFO]: Thread RCON Listener started
[16:01:13] [Server thread/INFO]: RCON running on <IP_ADDRESS>:25575

Can you add -e DEBUG=true and provide the container's init logs?

As Requested

shopt -u -o xtrace
return 1
[[ -n 1G ]]
log 'Setting initial memory to 1G and max to 1G'
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
[init] 2022-05-11 08:18:17+00:00 Setting initial memory to 1G and max to 1G
[[ -n 1G ]]
JVM_OPTS='-Xms1G '
[[ -n 1G ]]
JVM_OPTS='-Xmx1G -Xms1G '
mcServerRunnerArgs=(--stop-duration "${STOP_DURATION:-60}s" --named-pipe "${CONSOLE_IN_NAMED_PIPE:-/tmp/minecraft-console-in}")
[[ -n '' ]]
[[ VANILLA == \C\U\R\S\E\F\O\R\G\E ]]
[[ VANILLA == \C\U\R\S\E\F\O\R\G\E ]]
[[ minecraft_server.1.18.2.jar =~ run.sh ]]
'[' -f /data/bootstrap.txt ']'
log 'Starting the Minecraft server...'
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
finalArgs=($JVM_XX_OPTS $JVM_OPTS $expandedDOpts -jar "$SERVER" "$@" $EXTRA_ARGS)
[init] 2022-05-11 08:18:17+00:00 Starting the Minecraft server...
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
isTrue ''
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
exec mc-server-runner --stop-duration 60s --named-pipe /tmp/minecraft-console-in java -Xmx1G -Xms1G -jar minecraft_server.1.18.2.jar
Starting net.minecraft.server.Main
[08:18:25] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[08:18:29] [ServerMain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[08:18:29] [ServerMain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[08:18:29] [ServerMain/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[08:18:29] [ServerMain/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[08:18:29] [ServerMain/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[08:18:31] [Worker-Main-2/INFO]: Loaded 7 recipes
[08:18:31] [Worker-Main-2/INFO]: Loaded 1141 advancements
[08:18:34] [Server thread/INFO]: Starting minecraft server version 1.18.2
[08:18:34] [Server thread/INFO]: Loading properties
[08:18:34] [Server thread/INFO]: Default game type: CREATIVE
[08:18:34] [Server thread/INFO]: Generating keypair
[08:18:35] [Server thread/INFO]: Starting Minecraft server on *:25565
[08:18:35] [Server thread/INFO]: Using epoll channel type
[08:18:35] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[08:18:35] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[08:18:35] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[08:18:35] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[08:18:35] [Server thread/INFO]: Preparing level "world"
[08:18:43] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:47] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:47] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:48] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:48] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:49] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:49] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:50] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:50] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:51] [Worker-Main-2/INFO]: Preparing spawn area: 1%
[08:18:51] [Worker-Main-2/INFO]: Preparing spawn area: 4%
[08:18:52] [Worker-Main-2/INFO]: Preparing spawn area: 4%
[08:18:52] [Worker-Main-2/INFO]: Preparing spawn area: 8%
[08:18:53] [Worker-Main-2/INFO]: Preparing spawn area: 13%
[08:18:53] [Worker-Main-2/INFO]: Preparing spawn area: 22%
[08:18:54] [Worker-Main-2/INFO]: Preparing spawn area: 30%
[08:18:54] [Worker-Main-2/INFO]: Preparing spawn area: 31%
[08:18:55] [Worker-Main-2/INFO]: Preparing spawn area: 38%
[08:18:55] [Worker-Main-2/INFO]: Preparing spawn area: 52%
[08:18:56] [Worker-Main-2/INFO]: Preparing spawn area: 64%
[08:18:56] [Worker-Main-2/INFO]: Preparing spawn area: 74%
[08:18:57] [Worker-Main-2/INFO]: Preparing spawn area: 89%
[08:18:58] [Server thread/INFO]: Time elapsed: 15010 ms
[08:18:58] [Server thread/INFO]: Done (22.769s)! For help, type "help"
[08:18:58] [Server thread/INFO]: Starting remote control listener
[08:18:58] [Server thread/INFO]: Thread RCON Listener started
[08:18:58] [Server thread/INFO]: RCON running on <IP_ADDRESS>:25575

export HOME=/data
������
HOME=/data
++ id -u
++ id -g
++ ls -lnd /data
log 'Running as uid=1000 gid=1000 with /data as '''drwxrwxr-x 6 1000 1000 4096 May 11 08:18 /data''''
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
[init] 2022-05-11 08:18:05+00:00 Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 6 1000 1000 4096 May 11 08:18 /data'
'[' '!' -e /data/eula.txt ']'
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
[[ -n '' ]]
[[ -n '' ]]
fixJavaPath
������
which java
export VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
case "X$VERSION" in
++ get --json-path '$.latest.release' https://launchermeta.mojang.com/mc/game/version_manifest.json
++ flags=()
++ local flags
++ isTrue false
++ local oldState
+++ shopt -po xtrace
++ oldState='set -o xtrace'
++ shopt -u -o xtrace
++ return 1
++ mc-image-helper get --json-path '$.latest.release' https://launchermeta.mojang.com/mc/game/version_manifest.json
VANILLA_VERSION=1.18.2
export VANILLA_VERSION
++ get_major_version 1.18.2
++ version=1.18.2
++ echo 1.18.2
++ cut -d. -f 1-2
MAJOR_VANILLA_VERSION=1.18
export MAJOR_VANILLA_VERSION
log 'Resolved version given LATEST into 1.18.2 and major version 1.18'
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
[init] 2022-05-11 08:18:07+00:00 Resolved version given LATEST into 1.18.2 and major version 1.18
cd /data
export ORIGINAL_TYPE=VANILLA
ORIGINAL_TYPE=VANILLA
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
[[ -n '' ]]
[[ -n '' ]]
[[ -n '' ]]
[[ -n '' ]]
[[ -n '' ]]
versionLessThan 1.7
mc-image-helper compare-versions 1.18.2 lt 1.7
log 'Resolving type given VANILLA'
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
[init] 2022-05-11 08:18:07+00:00 Resolving type given VANILLA
case "${TYPE^^}" in
exec /start-deployVanilla
set -o pipefail
export SERVER=minecraft_server.1.18.2.jar
SERVER=minecraft_server.1.18.2.jar
'[' '!' -e minecraft_server.1.18.2.jar ']'
'[' -n '' ']'
versionLessThan 1.6
mc-image-helper compare-versions 1.18.2 lt 1.6
[[ -L /data/minecraft_server.jar ]]
isDebugging
isTrue true
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 0
return 0
ls -l
total 45544
-rw-rw-r--  1 minecraft minecraft        2 May  9 16:00 banned-ips.json
-rw-rw-r--  1 minecraft minecraft        2 May  9 16:00 banned-players.json
-rw-rw-r--  1 minecraft minecraft       68 May  9 14:53 eula.txt
drwxrwxr-x  8 minecraft minecraft     4096 May  9 14:53 libraries
drwxrwxr-x  2 minecraft minecraft     4096 May 11 08:18 logs
-rw-rw-r--  1 minecraft minecraft 46592587 May  9 14:53 minecraft_server.1.18.2.jar
-rw-rw-r--  1 minecraft minecraft      226 May 10 14:39 usercache.json
drwxrwxr-x  3 minecraft minecraft     4096 May  9 14:53 versions
-rw-rw-r--  1 minecraft minecraft        2 May  9 14:53 whitelist.json
drwxrwxr-x 12 minecraft minecraft     4096 May 11 08:18 world
export FAMILY=VANILLA
FAMILY=VANILLA
exec /start-setupWorld
'[' VANILLA = CURSEFORGE ']'
worldDest=/data/world
[[ -n '' ]]
exec /start-setupVanillaTweaks
VT_VERSION=
DATAPACKS_DIR=/data/world/datapacks
RESOURCEPACKS_DIR=/data/resourcepacks
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
[[ -n '' ]]
[[ -n '' ]]
exec /start-setupDatapack
out_dir=/data/world/datapacks
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
[[ -n '' ]]
[[ -n '' ]]
exec /start-setupForgeApiMods
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
������
'[' '' ']'
������
'[' '' ']'
exec /start-setupModpack
CURSE_URL_BASE=https://minecraft.curseforge.com/projects
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
[[ -n '' ]]
[[ -n '' ]]
[[ -n '' ]]
[[ -n '' ]]
[[ -n '' ]]
: ''
: ''
: ''
[[ -n '' ]]
exec /start-setupModconfig
isTrue true
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 0
updateArg=--skip-newer-in-destination
isTrue true
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 0
subcommand=sync-and-interpolate
'[' -d /plugins ']'
: /data/mods
'[' -d /mods ']'
: /data/config
'[' -d /config ']'
exec /start-setupServerProperties
[init] 2022-05-11 08:18:08+00:00 Creating server.properties in /data/server.properties
[init] 2022-05-11 08:18:08+00:00 Disabling whitelist functionality
[init] 2022-05-11 08:18:08+00:00 Setting white-list to 'false' in /data/server.properties
[init] 2022-05-11 08:18:08+00:00 WARNING: whitelist enabled but not enforced. Set ENFORCE_WHITELIST=TRUE or update 'enforce-whitelist' in server.properties to enforce the whitelist.
[init] 2022-05-11 08:18:08+00:00 Setting allow-nether to 'false' in /data/server.properties
[init] 2022-05-11 08:18:08+00:00 Setting enable-rcon to 'true' in /data/server.properties
[init] 2022-05-11 08:18:08+00:00 Setting rcon.password to 'minecraft' in /data/server.properties
[init] 2022-05-11 08:18:08+00:00 Setting rcon.port to '25575' in /data/server.properties
[init] 2022-05-11 08:18:08+00:00 Setting online-mode to 'false' in /data/server.properties
[init] 2022-05-11 08:18:08+00:00 Setting motd to 'A Vanilla Minecraft Server powered by Docker' in /data/server.properties
[init] 2022-05-11 08:18:09+00:00 Setting difficulty to 'easy' in /data/server.properties
[init] 2022-05-11 08:18:09+00:00 Setting mode
[init] 2022-05-11 08:18:10+00:00 Setting gamemode to 'creative' in /data/server.properties
[init] 2022-05-11 08:18:10+00:00 DEBUG Dumping server.properties
op-permission-level=4
allow-nether=false
level-name=world
enable-query=false
allow-flight=false
announce-player-achievements=true
server-port=25565
rcon.port=25575
query.port=25565
level-type=DEFAULT
enable-rcon=true
force-gamemode=false
level-seed=
server-ip=
max-tick-time=60000
max-build-height=256
spawn-npcs=true
white-list=false
spawn-animals=true
hardcore=false
snooper-enabled=true
texture-pack=
online-mode=false
resource-pack=
resource-pack-sha1=
pvp=true
difficulty=easy
enable-command-block=true
player-idle-timeout=0
gamemode=creative
max-players=20
spawn-monsters=true
generate-structures=true
view-distance=10
spawn-protection=16
motd=A Vanilla Minecraft Server powered by Docker
generator-settings=
rcon.password=minecraft
max-world-size=29999984
broadcast-console-to-ops=true
broadcast-rcon-to-ops=true
enable-jmx-monitoring=false
sync-chunk-writes=true
enable-status=true
entity-broadcast-range-percentage=100
function-permission-level=2
network-compression-threshold=256
op-permission-level=4
prevent-proxy-connections=false
use-native-transport=true
enforce-whitelist=false
versionLessThan 1.7.6
mc-image-helper compare-versions 1.18.2 lt 1.7.6
opsFile=ops.json
whitelistFile=whitelist.json
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
'[' -n '' ']'
'[' -n Lotusshaney123,HollyDollyWolly ']'
process_user_csv ops.json Lotusshaney123,HollyDollyWolly
local output=ops.json
local list=Lotusshaney123,HollyDollyWolly
local playerDataList
[[ ops.json == \o\p\s ]]
userData='{"uuid": .id, "name": .username, "level": 4}'
log 'Updating ops'
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
[init] 2022-05-11 08:18:10+00:00 Updating ops
for i in ${list//,/ }
'[' -e ops.json ']'
++ get https://playerdb.co/api/player/minecraft/Lotusshaney123
++ flags=()
++ jq -re .data.player
++ local flags
++ isTrue false
++ local oldState
+++ shopt -po xtrace
++ oldState='set -o xtrace'
++ shopt -u -o xtrace
++ return 1
++ mc-image-helper get https://playerdb.co/api/player/minecraft/Lotusshaney123
playerData='{
"meta": {
"name_history": [
{
"name": "Lotusshaney123"
}
]
},
"username": "Lotusshaney123",
"id": "0f8051ba-18a4-40e8-85d1-f0f4b2ff460c",
"raw_id": "0f8051ba18a440e885d1f0f4b2ff460c",
"avatar": "https://crafthead.net/avatar/0f8051ba18a440e885d1f0f4b2ff460c"
}'
++ echo '{
"meta": {
"name_history": [
{
"name": "Lotusshaney123"
}
]
},
"username": "Lotusshaney123",
"id": "0f8051ba-18a4-40e8-85d1-f0f4b2ff460c",
"raw_id": "0f8051ba18a440e885d1f0f4b2ff460c",
"avatar": "https://crafthead.net/avatar/0f8051ba18a440e885d1f0f4b2ff460c"
}'
++ jq -r '{"uuid": .id, "name": .username, "level": 4}'
playerDataList='{
"uuid": "0f8051ba-18a4-40e8-85d1-f0f4b2ff460c",
"name": "Lotusshaney123",
������
"level": 4
}'
for i in ${list//,/ }
'[' -e ops.json ']'
++ get https://playerdb.co/api/player/minecraft/HollyDollyWolly
++ flags=()
++ jq -re .data.player
++ local flags
++ isTrue false
++ local oldState
+++ shopt -po xtrace
++ oldState='set -o xtrace'
++ shopt -u -o xtrace
++ return 1
++ mc-image-helper get https://playerdb.co/api/player/minecraft/HollyDollyWolly
playerData='{
"meta": {
"name_history": [
{
"name": "HollyDollyWolly"
}
]
},
"username": "HollyDollyWolly",
"id": "562b6a82-e4d5-429a-8e1a-60f29484731f",
"raw_id": "562b6a82e4d5429a8e1a60f29484731f",
"avatar": "https://crafthead.net/avatar/562b6a82e4d5429a8e1a60f29484731f"
}'
++ echo '{
"meta": {
"name_history": [
{
"name": "HollyDollyWolly"
}
]
},
"username": "HollyDollyWolly",
"id": "562b6a82-e4d5-429a-8e1a-60f29484731f",
"raw_id": "562b6a82e4d5429a8e1a60f29484731f",
"avatar": "https://crafthead.net/avatar/562b6a82e4d5429a8e1a60f29484731f"
}'
++ jq -r '{"uuid": .id, "name": .username, "level": 4}'
playerDataList='{
"uuid": "0f8051ba-18a4-40e8-85d1-f0f4b2ff460c",
"name": "Lotusshaney123",
������
"level": 4
}{
"uuid": "562b6a82-e4d5-429a-8e1a-60f29484731f",
"name": "HollyDollyWolly",
������
"level": 4
}'
++ echo '{
"uuid": "0f8051ba-18a4-40e8-85d1-f0f4b2ff460c",
"name": "Lotusshaney123",
������
"level": 4
}{
"uuid": "562b6a82-e4d5-429a-8e1a-60f29484731f",
"name": "HollyDollyWolly",
������
"level": 4
}'
++ jq -s .
local 'newUsers=[
{
"uuid": "0f8051ba-18a4-40e8-85d1-f0f4b2ff460c",
"name": "Lotusshaney123",
"level": 4
},
{
"uuid": "562b6a82-e4d5-429a-8e1a-60f29484731f",
"name": "HollyDollyWolly",
"level": 4
}
]'
[[ ops.json =~ .*.txt ]]
'[' -e /data/ops.json ']'
echo '[' '{' '"uuid":' '"0f8051ba-18a4-40e8-85d1-f0f4b2ff460c",' '"name":' '"Lotusshaney123",' '"level":' 4 '},' '{' '"uuid":' '"562b6a82-e4d5-429a-8e1a-60f29484731f",' '"name":' '"HollyDollyWolly",' '"level":' 4 '}' ']'
isTrue ''
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
'[' -n '' ']'
'[' -n '' ']'
exec /start-finalExec
'[' -n '' ']'
canUseRollingLogs=true
useFallbackJvmFlag=false
versionLessThan 1.7
mc-image-helper compare-versions 1.18.2 lt 1.7
isFamily VANILLA
for f in "${@}"
[[ VANILLA == \V\A\N\I\L\L\A ]]
return 0
versionLessThan 1.12
mc-image-helper compare-versions 1.18.2 lt 1.12
isFamily VANILLA
for f in "${@}"
[[ VANILLA == \V\A\N\I\L\L\A ]]
return 0
versionLessThan 1.17
mc-image-helper compare-versions 1.18.2 lt 1.17
isType PURPUR
for t in "${@}"
[[ VANILLA == \P\U\R\P\U\R ]]
return 1
isType PURPUR
for t in "${@}"
[[ VANILLA == \P\U\R\P\U\R ]]
return 1
versionLessThan 1.18.1
mc-image-helper compare-versions 1.18.2 lt 1.18.1
false
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
log 'Checking for JSON files.'
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
[init] 2022-05-11 08:18:17+00:00 Checking for JSON files.
++ find /data -maxdepth 1 -name '*.json'
JSON_FILES='/data/usercache.json
/data/whitelist.json
/data/banned-players.json
/data/banned-ips.json
/data/ops.json'
for j in $JSON_FILES
++ cat /data/usercache.json
++ sed -e 's/^[[:space:]]//' -e 's/[[:space:]]$//'
[[ [{"name":"HollyDollyWolly","uuid":"05078448-056a-3df8-836f-5388abaac236","expiresOn":"2022-06-10 14:39:23 +0000"},{"name":"Lotusshaney123","uuid":"570fc5cd-c23c-30ca-8b09-104632e39d60","expiresOn":"2022-06-09 16:03:36 +0000"}] == '' ]]
for j in $JSON_FILES
++ cat /data/whitelist.json
++ sed -e 's/^[[:space:]]//' -e 's/[[:space:]]$//'
[[ [] == '' ]]
for j in $JSON_FILES
++ cat /data/banned-players.json
++ sed -e 's/^[[:space:]]//' -e 's/[[:space:]]$//'
[[ [] == '' ]]
for j in $JSON_FILES
++ cat /data/banned-ips.json
++ sed -e 's/^[[:space:]]//' -e 's/[[:space:]]$//'
[[ [] == '' ]]
for j in $JSON_FILES
++ cat /data/ops.json
++ sed -e 's/^[[:space:]]//' -e 's/[[:space:]]$//'
[[ [ { "uuid": "0f8051ba-18a4-40e8-85d1-f0f4b2ff460c", "name": "Lotusshaney123", "level": 4 }, { "uuid": "562b6a82-e4d5-429a-8e1a-60f29484731f", "name": "HollyDollyWolly", "level": 4 } ] == '' ]]
versionLessThan 1.14
mc-image-helper compare-versions 1.18.2 lt 1.14
[[ '' = false ]]
: 1G
: 1G
: 1G
expandedDOpts=
'[' -n '' ']'
isTrue
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
isTrue ''
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
isTrue ''
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
isTrue ''
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
[[ -n 1G ]]
log 'Setting initial memory to 1G and max to 1G'
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
[init] 2022-05-11 08:18:17+00:00 Setting initial memory to 1G and max to 1G
[[ -n 1G ]]
JVM_OPTS='-Xms1G '
[[ -n 1G ]]
JVM_OPTS='-Xmx1G -Xms1G '
mcServerRunnerArgs=(--stop-duration "${STOP_DURATION:-60}s" --named-pipe "${CONSOLE_IN_NAMED_PIPE:-/tmp/minecraft-console-in}")
[[ -n '' ]]
[[ VANILLA == \C\U\R\S\E\F\O\R\G\E ]]
[[ VANILLA == \C\U\R\S\E\F\O\R\G\E ]]
[[ minecraft_server.1.18.2.jar =~ run.sh ]]
'[' -f /data/bootstrap.txt ']'
log 'Starting the Minecraft server...'
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
finalArgs=($JVM_XX_OPTS $JVM_OPTS $expandedDOpts -jar "$SERVER" "$@" $EXTRA_ARGS)
[init] 2022-05-11 08:18:17+00:00 Starting the Minecraft server...
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
isTrue ''
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
isTrue false
local oldState
++ shopt -po xtrace
oldState='set -o xtrace'
shopt -u -o xtrace
return 1
exec mc-server-runner --stop-duration 60s --named-pipe /tmp/minecraft-console-in java -Xmx1G -Xms1G -jar minecraft_server.1.18.2.jar
Starting net.minecraft.server.Main
[08:18:25] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[08:18:29] [ServerMain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[08:18:29] [ServerMain/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[08:18:29] [ServerMain/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[08:18:29] [ServerMain/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[08:18:29] [ServerMain/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[08:18:31] [Worker-Main-2/INFO]: Loaded 7 recipes
[08:18:31] [Worker-Main-2/INFO]: Loaded 1141 advancements
[08:18:34] [Server thread/INFO]: Starting minecraft server version 1.18.2
[08:18:34] [Server thread/INFO]: Loading properties
[08:18:34] [Server thread/INFO]: Default game type: CREATIVE
[08:18:34] [Server thread/INFO]: Generating keypair
[08:18:35] [Server thread/INFO]: Starting Minecraft server on *:25565
[08:18:35] [Server thread/INFO]: Using epoll channel type
[08:18:35] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[08:18:35] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[08:18:35] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[08:18:35] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[08:18:35] [Server thread/INFO]: Preparing level "world"
[08:18:43] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:46] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:47] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:47] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:48] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:48] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:49] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:49] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:50] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:50] [Worker-Main-2/INFO]: Preparing spawn area: 0%
[08:18:51] [Worker-Main-2/INFO]: Preparing spawn area: 1%
[08:18:51] [Worker-Main-2/INFO]: Preparing spawn area: 4%
[08:18:52] [Worker-Main-2/INFO]: Preparing spawn area: 4%
[08:18:52] [Worker-Main-2/INFO]: Preparing spawn area: 8%
[08:18:53] [Worker-Main-2/INFO]: Preparing spawn area: 13%
[08:18:53] [Worker-Main-2/INFO]: Preparing spawn area: 22%
[08:18:54] [Worker-Main-2/INFO]: Preparing spawn area: 30%
[08:18:54] [Worker-Main-2/INFO]: Preparing spawn area: 31%
[08:18:55] [Worker-Main-2/INFO]: Preparing spawn area: 38%
[08:18:55] [Worker-Main-2/INFO]: Preparing spawn area: 52%
[08:18:56] [Worker-Main-2/INFO]: Preparing spawn area: 64%
[08:18:56] [Worker-Main-2/INFO]: Preparing spawn area: 74%
[08:18:57] [Worker-Main-2/INFO]: Preparing spawn area: 89%
[08:18:58] [Server thread/INFO]: Time elapsed: 15010 ms
[08:18:58] [Server thread/INFO]: Done (22.769s)! For help, type "help"
[08:18:58] [Server thread/INFO]: Starting remote control listener
[08:18:58] [Server thread/INFO]: Thread RCON Listener started
[08:18:58] [Server thread/INFO]: RCON running on <IP_ADDRESS>:25575

This is the step that populated the ops.json, so I'm not sure what the startup script could do differently:
echo '[' '{' '"uuid":' '"0f8051ba-18a4-40e8-85d1-f0f4b2ff460c",' '"name":' '"Lotusshaney123",' '"level":' 4 '},' '{' '"uuid":' '"562b6a82-e4d5-429a-8e1a-60f29484731f",' '"name":' '"HollyDollyWolly",' '"level":' 4 '}' ']'

Is there any reason you can think of that the ops.json file would be ignored ?  I see the file is present but it just looks to be ignored

Oh I missed the offline part of the config earlier. I bet it's similar to what was described here
https://github.com/itzg/docker-minecraft-server/issues/1436#issuecomment-1079810915

That's exactly it.  Changed the the offline part to online and it worked first time. I guess if I want to use offline I could get the server made UID's and manually enter them into the OPS.JSON file.
Thanks for the help !


Flow prop validation for function doesn't verify signature/parameter list

Consider following type for Props
export type CounterProps = {
    offset: number;
    eventCallback: (num: number, eventTime: Date) => void;
};

Callback signature is not verified while invoking the component. Flow shows no errors.
// Use Counter as below and Flow finds no errors
// Notice eventCallback was not provided with second parameter (eventTime).
 <Counter offset={4} eventCallback = {(num: number) => console.log(`At Counter Value is ${num} `)} />

// Same problem with default props too
Counter.defaultProps = {offset: 1, eventCallback: (num: number) => {}};

Component definition as below,
export default class Counter extends React.Component{
    props: CounterProps;
    static defaultProps: CounterProps;

    constructor(props: CounterProps){
        super(props);
    }

// rest of class definition

}

This is not a bug. A function with less arguments is considered a subtype.

It doesn't work (show error) for more number of parameters or change in data type.
Following doesn't return an error
// notice num is string. Type alias has it a number
eventCallback = {(num: string, eventTime: Date) => console.log(`At Counter Value is ${num} `)}

// more params
<Counter offset={4} eventCallback = {(num: number, eventTime: Date, val: string) => console.log(`At Counter Value is ${num} `)} />

Where as documentation at this link  says

While PropTypes are great, they are quite limited. For example, it’s possible to specify that a prop is some kind of function, but not what parameters that function accepts or what kind of value it might return.
Flow has a much richer type system which is able to express those constraints and more. With class-based components, you can specify the components’ props, default props, and state using Flow’s annotation syntax.

@kvkirthy can you post a complete example on https://flowtype.org/try/ ? I tried it and it works fine

@vkurchatkin Tried to share it with you and it works on flowtype.org/try
However, on a Windows 7 machine it still doesn't. Please review screenshot at this link

Can you run Flow manually from console? It could be IDE integration

@vkurchatkin It didn't work on bare bone command prompt either. Screenshot

Can you still reproduce this problem? The code needs tiny syntax changes because of Flow v0.53, but it seems to work as expected (giving type errors that it should) both on Try Flow and on my desktop.
(If I had to guess, and if this is Windows-specific, I would say maybe the flow server has a Windows-specific bug where it caches old file contents or something? Does it work if you make a new file and paste that in? Or if you add a new, simpler type error to the file, does that show up?)

What version of Flow are you on? This should work in Flow v0.53. I’m going to close for now, but if you continue to get this error in Flow v0.53 please re-open! I wouldn’t expect this code path to be significantly different on Windows 😣


Clean up data structures

Particularly in the validation step, there's a lot of re-iterating through the same vecs looking for items. Set it up better to remove all that - note that it still needs to guarantee insert order.

Fixed via https://github.com/kevlarr/hldr/pull/28


RegExp literal incorrectly parsed when used as operand of YieldExpression

Input:
// jshint esversion: 6
function* g() {
  yield /./;
}

Expected output: no errors.
Actual output: 3 parsing errors:

3 Expected an identifier and instead saw '.'.
3 Expected an identifier and instead saw ';'.
3 Expected an assignment or function call and instead saw an expression.

@jugglinmike nice catch.  Someone also brought up a similar issue with this https://github.com/jshint/jshint/issues/2986.  Let me know if a PR would be welcome.  Maybe we could fix the semi-colon issues on both of them with one swing.  I think I found where the semicolon issue is coming from in the issue linked but the other stuff would need further investigation.
Thanks

This bug is unrelated to gh-2986. Because it concerns yield expressions which
we are currently refactoring (see gh-2978), it's probably best to hold off on
this for the time being.


Fix react component type passed to generic

undefined throws this
[ts]
JSX element type 'Hello' is not a constructor function for JSX elements.
  Types of property 'setState' are incompatible.
    Type '{ <K extends never>(f: (prevState: undefined, props: HelloProps) => Pick<undefined, K>, callback?...' is not assignable to type '{ <K extends never>(f: (prevState: {}, props: any) => Pick<{}, K>, callback?: (() => any) | undef...'.
      Types of parameters 'f' and 'f' are incompatible.
        Types of parameters 'prevState' and 'prevState' are incompatible.
          Type 'undefined' is not assignable to type '{}'.

Fixes #

@QwertyZW,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


String tracking is broken when converters are used

The string tracking code currently does not work with converters.  This either needs a redesign in the resize logic, or probably duplicate the converter work (hoping it has no side effects).

This is fixed now, but some tests beyond 50000 lines might be good (currently broken in NumPy).  And the new code paths probably should be exercised a little bit better.


full build in CI

add cmake via apt
replace demo builds with root-level cargo build

cargo test works, too, but there are a couple failing tests so I commented it out.

Thanks!


Convert matrix to sparse matrix

hey @amritansh22 ,
I would like to contribute,
can you assign it to me?

Yes sure @Prash2002  I have assigned it to you

Yes sure @Prash2002 I have assigned it to you

Thanks

hey @amritansh22 ,
I've completed it, please check : https://github.com/amritansh22/Data-Structures-and-Algorithms-in-cpp/pull/303

can you assign me this or other problem

hey @amritansh22 can you assign me in this task i would like to make pull request towards hactoberfest....


The param "environments" of Dynaconf for what?

hi, I get a different result when I try to change param "environments".
settings.toml
[default]
POI_SERVICE_URL = "http://poi-service"
[testing]

from dynaconf import Dynaconf

settings = Dynaconf(
    envvar_prefix="DYNACONF",
    settings_files=['settings.toml', '.secrets.toml'],
    environments=True,
)

# `envvar_prefix` = export envvars with `export DYNACONF_FOO=bar`.
# `settings_files` = Load this files in the order.

settings2 = Dynaconf(
    envvar_prefix="DYNACONF",
    settings_files=['settings.toml', '.secrets.toml'],
)

print(getattr(settings, "POI_SERVICE_URL", None) is None) # False
print(getattr(settings2, "POI_SERVICE_URL", None) is None) # True

envless settings is like
POI_SERVICE_URL = "http://poi-service"

then settings should be
settings2 = Dynaconf(
    envvar_prefix="DYNACONF",
    settings_files=['settings.toml', '.secrets.toml'],
)

When you need environments
[default]
POI_SERVICE_URL = "http://poi-service"

settings = Dynaconf(
    envvar_prefix="DYNACONF",
    settings_files=['settings.toml', '.secrets.toml'],
    environments=True,
)

The environments will enable the split of settings data by layered environments.
https://dynaconf.com/configuration/#environments

@rochacbruno Thank you very much.
I have tried to figure it out by searching the whole Dynaconf source code but find nothing about this param. Could you point the place where do its part out?

@Graywd it is defined as a default setting ENVIRONMENTS_FOR_DYNACONF here https://github.com/rochacbruno/dynaconf/blob/master/dynaconf/default_settings.py#L90 which is aliased to environments here: https://github.com/rochacbruno/dynaconf/blob/master/dynaconf/base.py#L103


CStor volume is not availabe as CStorVolumeConfig is pending status

Description
I installed openebs with cstor enabled, and create a CStorPoolCluster wity 3 pool instance
❯ k get cspc
NAME              HEALTHYINSTANCES   PROVISIONEDINSTANCES   DESIREDINSTANCES   AGE
cstor-disk-pool   3                  3                      3                  20h

❯ k get cspi
NAME                   HOSTNAME        FREE     CAPACITY    READONLY   PROVISIONEDREPLICAS   HEALTHYREPLICAS   STATUS   AGE
cstor-disk-pool-5wbm   homek0s-work3   96400M   96400936k   false      1                     1                 ONLINE   20h
cstor-disk-pool-q8qp   homek0s-work1   96400M   96400760k   false      1                     1                 ONLINE   20h
cstor-disk-pool-qhkj   homek0s-work2   96400M   96400764k   false      1                     1                 ONLINE   20h

The StorageClass with this provioner is below:
allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  labels:
    app.kubernetes.io/managed-by: kubectl
  name: openebs-cstor3
parameters:
  cas-type: cstor
  cstorPoolCluster: cstor-disk-pool
  replicaCount: "3"
provisioner: cstor.csi.openebs.io
reclaimPolicy: Delete
volumeBindingMode: Immediate

Then, I created a testing pvc
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  namespace: openebs
  name: testing
  labels:
    app.kubernetes.io/env: testing
spec:
  storageClassName: openebs-cstor3
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi

It bound to a pv
❯ k get pvc
NAME      STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS     AGE
testing   Bound    pvc-5c152c62-116b-4161-9ae1-d16aa4cf777e   1Gi        RWO            openebs-cstor3   11h

❯ k get pv
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                             STORAGECLASS       REASON   AGE
pvc-5c152c62-116b-4161-9ae1-d16aa4cf777e   1Gi        RWO            Delete           Bound    openebs/testing                   openebs-cstor3              11h

But, when I created a testing pod to use this pvc, it always in "ContainerCreating" status
❯ k get po
NAME                                                              READY   STATUS              RESTARTS      AGE
busybox                                                           0/1     ContainerCreating   0             5s

Check pod's event, got
  Warning  FailedMount  1s (x5 over 49s)  kubelet            MountVolume.MountDevice failed for volume "pvc-5c152c62-116b-4161-9ae1-d16aa4cf777e" : rpc error: code = Internal desc = Waiting for pvc-5c152c62-116b-4161-9ae1-d16aa4cf777e's CVC to be bound

Then, I found the corepsonding CStorVolumeConfig's status is pending with below events
Events:
  Type     Reason        Age                     From                         Message
  ----     ------        ----                    ----                         -------
  Warning  Provisioning  9m18s (x1094 over 11h)  cstorvolumeclaim-controller  failed to create PDB for volume: pvc-5c152c62-116b-4161-9ae1-d16aa4cf777e: failed to list PDB belongs to pools with selector openebs.io/cstor-disk-pool-5wbm=true,openebs.io/cstor-disk-pool-q8qp=true,openebs.io/cstor-disk-pool-qhkj=true: the server could not find the requested resource
  Warning  Provisioning  4m18s (x169 over 11h)   cstorvolumeclaim-controller  failed to create PDB for volume: pvc-5c152c62-116b-4161-9ae1-d16aa4cf777e: failed to list PDB belongs to pools with selector openebs.io/cstor-disk-pool-qhkj=true,openebs.io/cstor-disk-pool-5wbm=true,openebs.io/cstor-disk-pool-q8qp=true: the server could not find the requested resource

And cvc-operator pod's logs
I1126 03:34:05.373561       1 controller.go:316] creating cstorvolume replica resource
E1126 03:34:05.385816       1 controller_base.go:321] error syncing 'openebs/pvc-5c152c62-116b-4161-9ae1-d16aa4cf777e': failed to create PDB for volume: pvc-5c152c62-116b-4161-9ae1-d16aa4cf777e: failed to list PDB belongs to pools with selector openebs.io/cstor-disk-pool-q8qp=true,openebs.io/cstor-disk-pool-qhkj=true,openebs.io/cstor-disk-pool-5wbm=true: the server could not find the requested resource, requeuing
I1126 03:34:05.385969       1 event.go:282] Event(v1.ObjectReference{Kind:"CStorVolumeConfig", Namespace:"openebs", Name:"pvc-5c152c62-116b-4161-9ae1-d16aa4cf777e", UID:"0609458a-39f0-4b23-9c77-4ef0404618a9", APIVersion:"cstor.openebs.io/v1", ResourceVersion:"2310977", FieldPath:""}): type: 'Warning' reason: 'Provisioning' failed to create PDB for volume: pvc-5c152c62-116b-4161-9ae1-d16aa4cf777e: failed to list PDB belongs to pools with selector openebs.io/cstor-disk-pool-q8qp=true,openebs.io/cstor-disk-pool-qhkj=true,openebs.io/cstor-disk-pool-5wbm=true: the server could not find the requested resource

OpenEBS Version

App Version: 3.3.0
Chart Version: openebs-3.3.1

Kubernetes Version
Client Version: v1.25.4
Kustomize Version: v4.5.7
Server Version: v1.25.3+k0s
Kubernetes Cluster Toplogy
1 ControlPlane + 3 Worker

you are using 3.3.0 with  v1.25.4
here have simillar problems:https://github.com/openebs/cstor-operators/issues/435

@willzhang Thanks for your help, will upgrade it.

Solveld by installing cstor v3.4.0 .
Waiting for official openebs-v3.4.0 charts.


Add gh-pages for the repo

Create a github page to display an HTML version of the styleguide

Yes this is a great idea! Perhaps the best way would be to configure GitHub Pages to use the master branch. I believe @matthewsmawfield is the only one who can change that setting (I don't have permissions, I don't see the "settings" tab).

@matthewsmawfield Do you agree this would be a good change to make?

This has been done, the page is published at https://unhcr.github.io/dataviz-styleguide/index.html


Cell at certain indexPath for FlowLayoutHorizontalJustificationLeft not set to correct left sectionInset for larger width cells

In the example project (ERViewController) under the following conditions:
self.customJustifiedFlowLayout.horizontalJustification = FlowLayoutHorizontalJustificationLeft;
self.customJustifiedFlowLayout.horizontalCellPadding = 5;
self.customJustifiedFlowLayout.sectionInset = UIEdgeInsetsMake(10, 20, 0, 20);

with xib cell width set to 200, one UICollectionViewCell in the array of UICollectionViewLayoutAttributes returned in [super layoutAttributesForElementsInRect:rect] is not being laid out properly.  As can be seen in the screenshot, it should be laid out at the sectionInset.left-specified value of 20 but is instead much further out than that.
Note: Issue #2 being fixed or unfixed did not appear to influence this issue.

pretty weird, i see this with this configuration:

in iphone6 8.4 simulator
and this:

in iphone5s 7.1 simulator
Maybe this is some kind of misconfig in xib?

I don't believe you have the width of the cell set to 200 in the xib—see screenshot.

that's what I have =) The only thing i've changed more is setting a label's <= constraint value to 200 instead of 150 because of layout ambiguity.

Hmm, I'm not getting any ambiguity warnings on mine—I checked in my changes on my develop branch; are you able to pull it in to see my version?

sure. but a little bit later, ok? I'm on my work)

No worries! I'm just headed off to work, myself :)

On Aug 13, 2015, at 09:23, Сергей Галездинов<EMAIL_ADDRESS>wrote:
sure. but a little bit later, ok? I'm on my work)
—
Reply to this email directly or view it on GitHub.

This is indeed related to autolayout config. Your develop branch certainly have the bug, but if you change leading/trailing to this (this is why I had layout ambiguity btw) - everything is working as expected:

I'll try to figure out what may cause this problem

I finally figured out why this happens =) This case occurs when the item may be fit in rect width completely with the previous one, but super's method implementation puts the item on the next line, because of flowlayout wrap rules. The solution to this is to patch not only the left coordinate, but also a top coordinate of the item (so as decrement origin.y  of all the next items).

Nice! Yeah, I didn't think it had to do with Auto Layout, since we still had a cell of a certain fixed width.  I'll check this out when I get a chance--appreciate all the help!

On Aug 13, 2015, at 17:22, Сергей Галездинов<EMAIL_ADDRESS>wrote:
I finally figured out why this happens =) This case occurs when the item may be fit in rect width completely with the previous one, but super's method implementation puts the item on the next line, because of flowlayout wrap rules. The solution to this is to patch not only the left coordinate, but also a top coordinate of the item (so as decrement origin.y of all the next items).
—
Reply to this email directly or view it on GitHub.

I fixed misalignment for left justification, but couldn't do it for right yet =) 0c73c54 commit in #5 fixes the picture above

Hmm, I'm seeing this on your branch with xib cell size set to 200 and FlowLayoutHorizontalJustificationLeft:

And this at 108 with FlowLayoutHorizontalJustificationLeft:

Fixed that one more time%) Overcomplicated the code last night, now it's more simple and working

Did you push it to the right branch? I don't see it. Thanks!

it's appended to #5. I can remove some commits or make a new pull request from another branch, if you want to

Hmm, I did a fetch yesterday when I saw your note about this and didn't see anything.  I can try one when I get home and see if it shows up.
Thanks,
Evan

On Aug 19, 2015, at 02:06, Сергей Галездинов<EMAIL_ADDRESS>wrote:
it's appended to #5. I can remove some commits or make a new pull request from another branch, if you want to
—
Reply to this email directly or view it on GitHub.

Nice! Good work :+1:


[Charts] Additional labels and PDB

What this PR does / why we need it:
This PR adds a pdb for the OWA deployment as well as the ability to configure additional labels for the deployment and hpa resources. These labels can be used to configure high availability requirements via the gardener ha webhook. See more details here.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

OWA charts now also create a `PodDisruptionBudget` resource.

OWA charts now support adding additional labels to its `hpa` and `deployment` resources by setting `.Values.runtime.additionalLabels.{deployment,hpa}`.

Hi @dimityrmirchev ,
https://github.com/gardener/oidc-webhook-authenticator/pull/96/files#diff-e5e70f970d8e09d82b6700749eeb18f2f8d793c3ef35e3fffdb91f9c9da04385R31 has problem. If runtime cluster is on version <1.23.  there is problem to apply helm chart. You need to use {{- else }} to keep line break at least on one side


dart fix can't be applied to files

The dart fix command doesn't seem to be able to handle individual files: it seems to want a complete directory.
leafp-macbookpro2:sdk leafp$ ~/src/dart-repo/sdk/xcodebuild/ReleaseARM64/dart fix --apply ~/tmp/example.dart
Directory doesn't exist: /Users/leafp/tmp/example.dart

Usage: dart fix [arguments]
-h, --help       Print this usage information.
-n, --dry-run    Preview the proposed changes but make no changes.
    --apply      Apply the proposed changes.

Run "dart help" to see global options.

This seems like a useful mode of interaction, can we support this?

Closing as a dup of https://github.com/dart-lang/sdk/issues/43892 .


feat: docusaurus

This PR converts the existing site for the new Digital Trust Toolkit.
The following changes were made to the site:

Docusaurus added and JTT removed
Site configured according to #153
GitHub actions added to test build and auto deploy site to GitHub pages
Documentation added to demonstrate how to autogenerate navbar and main page links

Pending:

Add proper favicon.ico

Pending (upon PR approval):

Rename repo
Update repo information and links
Update repo branch rulesets

Example site: https://petridishdev.github.io/bc-vcpedia/

Resolves: #153

As discussed, please add favicon to this PR

As discussed, please add favicon to this PR

Favicon is now replaced


'window.open()' trigger doesn't show DOM window object properties

It was because browser.json is not having that entry .I have added that entry into json

Thank you.
Could you change the URL of !url to https://developer.mozilla.org/en-US/docs/Web/API/Window/open

Thank you :)


Autosuggest doesn't work on mobile

eg https://dux.fly.dev/cooking/badges/1?_dux_edit=1
The user_id field doesn't autocomplete in mobile
We're using the keyup event: https://github.com/cldellow/datasette-ui-extras/blob/d0b9c8f9c959a20fd082128da618a70538a606b0/datasette_ui_extras/static/edit-row/ForeignKeyControl.js#L62
Maybe that's not right?

https://stackoverflow.com/questions/38989559/jquery-keyup-event-for-mobile-device makes me think we should use input


cursor_set -> new_cursor and associated renames

What?
because cursor_set is being renamed to new_cursor asap
this isn't compiled or tested in any way

CC @hamchapman

SwiftLint found issues
Warnings

File
Line
Reason

ViewController.swift
85
Line should be 120 characters or less: currently 123 characters

ViewController.swift
104
Line should be 120 characters or less: currently 143 characters

ViewController.swift
109
Line should be 120 characters or less: currently 123 characters

ViewController.swift
114
Line should be 120 characters or less: currently 123 characters

ViewController.swift
127
Line should be 120 characters or less: currently 124 characters

ViewController.swift
132
Line should be 120 characters or less: currently 124 characters

ViewController.swift
6
Delegates should be weak to avoid reference cycles.

PCCurrentUser.swift
19
TODOs should be avoided (This should probably be [PCUse...).

PCCurrentUser.swift
393
TODOs should be avoided (Use the soon-to-be-created new...).

PCCurrentUser.swift
491
TODOs should be avoided (Do we need to fetch users in t...).

PCCurrentUser.swift
806
TODOs should be avoided (Do I need to add a Last-Event-...).

PCCurrentUser.swift
826
TODOs should be avoided (What happens if you provide bo...).

PCCurrentUser.swift
853
TODOs should be avoided (This will probably be replaced...).

PCCurrentUser.swift
1006
Unused parameter "data" in a closure should be replaced with _.

PCCurrentUser.swift
896
Function body should span 40 lines or less excluding comments and whitespace: currently spans 49 lines

PCCurrentUser.swift
42
Tuples should have at most 2 members.

PCCurrentUser.swift
217
MARK comment should be in valid format. e.g. '// MARK: ...' or '// MARK: - ...'

PCCurrentUser.swift
276
MARK comment should be in valid format. e.g. '// MARK: ...' or '// MARK: - ...'

PCCurrentUser.swift
740
Arguments can be omitted when matching enums with associated types if they are not used.

PCCurrentUser.swift
740
Arguments can be omitted when matching enums with associated types if they are not used.

PCCurrentUser.swift
5
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
54
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
187
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
204
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
238
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
293
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
353
Variable name should be between 3 and 40 characters long: 'id'

PCCurrentUser.swift
1019
Enum element name should be between 3 and 40 characters long: 'messageIdKeyMissingInMessageCreationResponse'

PCCurrentUser.swift
134
Collection literals should not have trailing commas.

PCCurrentUser.swift
580
Collection literals should not have trailing commas.

PCCurrentUser.swift
832
Collection literals should not have trailing commas.

PCCurrentUser.swift
791
Opening braces should be preceded by a single space and on the same line as the declaration.

PCCurrentUser.swift
226
Line should be 120 characters or less: currently 142 characters

PCCurrentUser.swift
238
Line should be 120 characters or less: currently 135 characters

PCCurrentUser.swift
242
Line should be 120 characters or less: currently 132 characters

PCCurrentUser.swift
545
Line should be 120 characters or less: currently 127 characters

PCCurrentUser.swift
610
Line should be 120 characters or less: currently 121 characters

PCCurrentUser.swift
650
Line should be 120 characters or less: currently 121 characters

PCCurrentUser.swift
701
Line should be 120 characters or less: currently 133 characters

PCCurrentUser.swift
712
Line should be 120 characters or less: currently 132 characters

PCCurrentUser.swift
776
Line should be 120 characters or less: currently 123 characters

PCCurrentUser.swift
845
Line should be 120 characters or less: currently 125 characters

PCCurrentUser.swift
853
Line should be 120 characters or less: currently 121 characters

PCCurrentUser.swift
929
Line should be 120 characters or less: currently 123 characters

PCCurrentUser.swift
1011
Line should be 120 characters or less: currently 136 characters

PCCursorSubscription.swift
68
TODOs should be avoided (Should we call the delegate er...).

PCCursorSubscription.swift
39
Line should be 120 characters or less: currently 129 characters

PCCursorSubscription.swift
5
Delegates should be weak to avoid reference cycles.

PCRoom.swift
29
TODOs should be avoided (Should each Room instead have ...).

PCRoom.swift
33
TODOs should be avoided (Is this going to be expensive ...).

PCRoom.swift
35
TODOs should be avoided (This will also not work well i...).

PCRoom.swift
90
Operators should be surrounded by a single whitespace when defining them.

PCRoom.swift
5
Variable name should be between 3 and 40 characters long: 'id'

PCRoom.swift
56
Variable name should be between 3 and 40 characters long: 'id'

PCRoomDelegate.swift
18
TODOs should be avoided (This seems like it could inste...).

PCRoomDelegate.swift
21
TODOs should be avoided (I don't think we'll want this ...).

PCRoomDelegate.swift
26
TODOs should be avoided (Make all of this work, and pro...).

PCRoomDelegate.swift
4
Delegate protocols should be class-only so they can be weakly referenced.

Errors

File
Line
Reason

ViewController.swift
24
Force casts should be avoided.

PCCurrentUser.swift
4
Type body should span 200 lines or less excluding comments and whitespace: currently spans 609 lines

PCCurrentUser.swift
1035
File should contain 400 lines or less: currently contains 1035

  Generated by :no_entry_sign: Danger


Shorten Polish translation of "All" string a little

Shorten Polish translation of "All" string

Made the "All" string a little shorter.
However, it's still too long – not sure if it'd at least be possible to split it in half, i.e.,
Wszy
stko

?
Or, alternatively, make the field longer.
Examples 📸

Related Issues 🔗

 Expand for Help

Have questions about the review or deployment process? View our contributing docs
Need additional help and want to chat in real time? Join our community Discord

By submitting this pull request, you agree to our code of conduct

The other string that's too long:

.deploy


Fixed insctructions

A user needs to click the storage tab to access Indexed DB

Thanks!

No problem, happy coding!


Updated API examples to use async/await

Fixes #5080

@cnishina All the API examples provided for async / await use => syntax
IE11 doesn't support => syntax. Does it mean that next version of Protractor cannot be used in IE11?. Also i'm converting my code to async / await following the updated examples in this PR. selenium4 branch you are working on is testable? I would like to run my code on any working Protractor branch to see my code is working

This is fine.
The node process that runs Protractor can use the fat arrows. We send client side functions to the browser that are not fat arrows. As long as we do not change the client side scripts to => we should be okay.

Squash merging this. Thanks everyone for the comments and @devoto13 thank you for this PR!


Getting '--grpc_out: protoc-gen-grpc: The system cannot find the file specified.' error on win10

Hi,
I'm trying to install grpc for c++ from source on windows 10, but after building from source and trying to run it I get following error:
`C:\private\grpc\examples\cpp\helloworld>protoc -I ../../protos/ --grpc_out=. --plugin=protoc-gen-grpc=grpc_cpp_plugin ../../protos/helloworld.proto
--grpc_out: protoc-gen-grpc: The system cannot find the file specified.`
I tried following directions from INSTALL.md, but I'm consistently getting this same error. I've tried compiling with cmake & visual studio (2017 express), and cmake & ninja (I think it used VS 2015 compiler for that one though), but nevertheless, results are the same. Just to be noted, I added .build folder and protobuffer output folder to my path manually so that cmd could find protoc.exe.
I cloned master branch, and I am building from following commit:
SHA-1: f001d67d4e1e45101b51ca05e5150dc5d75b2575
Can you please help? What is missing on my machine? Is it protoc-gen-grpc? If that should be a file, I cannot seem to find it anywhere in the output folder. On the other hand, I do have grpc_cpp_plugin.exe in the output folder, and the error is also not related to input file (when I tried putting non-existing file as the input I got another type of error).
Please ask for any additional info you need.
Regards,
Marko

Can you try --plugin=protoc-gen-grpc=grpc_cpp_plugin.exe (specifying the .exe extension in the path)?

Doesn't windows use backslash in the path?
Please post it on https://groups.google.com/a/google.com/forum/#!forum/grpc.io if this is still an issue


XIVY-13261 Add new Device-Icons

i have received the new icons from anais. however, they look a bit strange. is this a mistake on the part of anais?

yes the icons svg paths are wrong...
Anais should know what to do.

the tablet is still wrong

Yes, I noticed that too 👍 I have informed Anais and am waiting for her reply and again for the corrected svg.


Powershell 5.1 not accepting keyboard input when using the Remote Resktop HTLM5 Web Client

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Install the latest RDS HTML5 client on a RDS deployment as specified here: https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-web-client-admin

Open a web browser session and start an RDS session.
Start powershell
keyboard input not working
start Powershell ISE
keyboard input works fine

The only key input that is accepted is the enter key or Ctrl+ combinations.
Expected behavior
test

Actual behavior
nothing happens

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      5.1.20348.1366
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.20348.1366
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Visuals
No response

@brolifen this repo is not for PowerShell 5.1 related issues so is very unlikely to get any traction from the team at all & as such I believe this is an issue that should be submitted to the Windows Server Team instead as it is an issue with RDS


Cover not showing up in Google Play Books

Referenced this issue in the original one. In case there's no new pull request both issues will be solved at the same release.


[CI/Build][TPU] Add TPU CI test

This PR adds a simple end-to-end CI test for the TPU backend, which runs the Gemma-2B model for a small batch of sequences.

You might want to use -e HF_TOKEN=$HF_TOKEN instead of just -e HF_TOKEN and probably just set -e instead of set -ex so we don't print the token out (though leaking this token is pretty harmless I think ...)

@khluu Huge thanks for your help!