Wfuzz.fireeye fails to install

Describe the bug and expected behavior
wfuzz.fireeye fails install and lands in lib-bad. I've attempted to install using cinst -y but get an error "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to stop: Error: Command errored out with exit status 10:
Version
OS Win 10 Build 18363
Please help provide guidance on how to resolve.

https://github.com/fireeye/commando-vm/issues/86#issuecomment-536638912
For reference..

I am also having an issue with wfuzz.fireeye. The error message I receive is: ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: ERROR: Command errored out with exit status 1
I attempted to use the solution found in #86 (comment)  but it did not work.
Here is my Chocolately log file in case that helps anyone else:
wfuzz.fireeye Install Log.txt
Also, here is a screenshot of my install:

@day1player
will you have some time to fix this issue? it is still a problem.
Thanks amazing job with this configuration for windows...

@snufas take a look at this comment and it may help you. I will be trying to work out a solution for this one it is still on the to-do list

removed support for wfuzz


Link errors

When I click on links such as Go1.16, it returns error report 404

It looks like it's fixed now, close the issue


Feature/tri 569 create resource monitoring dashboards

I would like to avoid having separate dashboards for every environment. Please find a way to unify this.

Please also see the review comments by Martin in the Jira ticket :)


Run gradio app ok but very slow in windows

Is RTX3050 has only one gpu ? Run gradio web app is ok .but it is very slow .
cost a lot of  time like 0.5 hour can gen one picture.
how config it to make it fast?
I use windows.
I found the task manage in windows cpu or gpu is not 100% is only 3%.

I was facing the same issue on my 2070S and after updating to the following it was fixed. (40-55 seconds)

Python 3.10.11
Cuda 12.1.0_531.14
TensorRT <IP_ADDRESS> (I think this probably did it, I was on a 7.x version from a year ago)
Xformers 0.0.24


Linting rules problem with Traffic Influence API

Problem description
Using Spectral over the TI API a non correct error is returned.
https://github.com/camaraproject/EdgeCloud/issues/191#issuecomment-1956675044
Expected action
Correction of: https://github.com/camaraproject/Commonalities/blob/main/artifacts/linting_rules/.spectral.yml.
Section starting on raw 103: "camara-http-methods:"
Additional context
According to my understanding, the tool doesn't recognize some methods as GET, PATCH and DELETE. Even if they actually are GET, PATCH and DELETE. I suppose the reason is that in the TI API, we defined "parameters" as child of "paths" rather than child of the "methods". Our implementation is correct according to the OpenAPI Specifications (https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#path-item-object). We have used the "parameters" description as child of "path". With our solution we avoid duplicating the parameter definition for the different methods (Get, Patch and Delete). With the suggested approach we should define the same parameter three times in the code with the risk of code misalignment.
Reference in the TI API: raw 2012
https://github.com/camaraproject/EdgeCloud/blob/32c7ca4faf54fc14fa510c1212f34a0f43a42bfd/code/API_definitions/Traffic Influence/Traffic_Influence.yaml

Thank you @FabrizioMoggio for pointing this out with detailed context.
The rule "camara-http-methods" should be corrected with "parameters" field in the Path Item object.


Analyze top OData queries and write a guide on how to do the same on V3 API

Live: https://docs.microsoft.com/en-us/nuget/guides/api/query-for-all-published-packages


Use CTest module

This helps in building with test disabled if one
needs to do that. e.g. cross-compiling
cmake BUILD_TESTING=OFF
would disable the CTest module otherwise the behabiour
remains same.
Signed-off-by: Khem Raj<EMAIL_ADDRESS>

Current coverage is 100% (diff: 100%)

Merging #5 into master will not change coverage

@@           master    #5   diff @@
===================================
  Files           2     2
  Lines          52    52
  Methods         0     0
  Messages        0     0
  Branches       16    16
===================================
  Hits           52    52
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 25566ed...ed05356


Reorganize C examples

This reorganizes the examples to make room for other languages and
platforms as described in #19 .
There are now Makefiles for each individual example that delegate to the
parent Makefile. This makes it possible to type make anywhere and get
what you expect.

This got very ugly fast... Let me think a bit more about this and get back to this. The point was to demonstrate how simple real-world Makefile would be set up to compile an application, and instead we get this advanced monstrosity of a Makefile...

I'm finishing up the cmake build right now FWIW. TBH I'm not sure many project maintain makefiles by hand these days. IMHO the makefile is not very realistic to begin with.

Here's what the cmake build looks like: https://github.com/danobi/libbpf-bootstrap/commit/4df9c5a4259573a0298593fbacffac76e9a03d5c


Authentication failed at: http://<IP_ADDRESS>:8000/auth/api/token/

I am facing this problem, I'm running it on root priv
[*] Loading config file from: /root/.osmedeus/client.conf
[*] Look like Django API already ran
[-] Authentication failed at: http://<IP_ADDRESS>:8000/auth/api/token/

        [!] This might happened by running Osmedeus with sudo but the install process running with normal user
        You should install the whole Osmedeus and running it with root user.
        Or whitelist masscan + nmap in sudoers file because it's required sudo permission.

[-] Can't login to get JWT

anyone here to solve this problem ?

@s41n1k run as sudo

@s41n1k run as sudo

Thanks Mahnn

I am using root account, I installed using root and running using root too, still getting this error.
[*] Loading config file from: /root/.osmedeus/client.conf
[-] Authentication failed at: http://<IP_ADDRESS>:8000/auth/api/token/

        [!] This might happened by running Osmedeus with sudo but the install process running with normal user
        You should install the whole Osmedeus and running it with root user.
        Or whitelist masscan + nmap in sudoers file because it's required sudo permission.

[-] Can't login to get JWT

@bhavsec you can use docker if possible.

can u check manually what response u get when u visit http://<IP_ADDRESS>:8000/auth/api/token/ because ur Django app is up as there is no warning or error about that?

Does Osmedeus crash after this error or it's still running? If it's still running then try visiting and login in to the app by taking credentials from the file.

And y don't u install as no-root? try this also

Thanks, but this command helped me out:
python3 server/manage.py runserver <IP_ADDRESS>:8000
I must have checked the documentation before using it.

I have installed the program and able to access the WebUI as well but I am not able to login to the portal. Every time it says Incorrect Credentials. I tried the default credentials, as well as I, modified it under ~/.osmedeus/client.info but still, it's not working. Apart from that, I tried running the server using sudo but still faced the same issue.

I have installed the program and able to access the WebUI as well but I am not able to login to the portal. Every time it says Incorrect Credentials. I tried the default credentials, as well as I, modified it under ~/.osmedeus/client.info but still, it's not working. Apart from that, I tried running the server using sudo but still faced the same issue.

Because the correct (new changed path) is /root/.osmedeus/client.info
To access this path use 'sudo su' and then you can cd over there or use
'cat /root/.osmedius/client.info'
or create a new super user and then login with those credentials
'py server/manage.py createsuperuser'
Hope this helps you🙌🏻

I have installed the program and able to access the WebUI as well but I am not able to login to the portal. Every time it says Incorrect Credentials. I tried the default credentials, as well as I, modified it under ~/.osmedeus/client.info but still, it's not working. Apart from that, I tried running the server using sudo but still faced the same issue.

hey man, have the same issue, maybe did you find any solutios?

I have installed the program and able to access the WebUI as well but I am not able to login to the portal. Every time it says Incorrect Credentials. I tried the default credentials, as well as I, modified it under ~/.osmedeus/client.info but still, it's not working. Apart from that, I tried running the server using sudo but still faced the same issue.

hey man, have the same issue, maybe did you find any solutios?

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0


meteor package accounts-password added

package accounts-password has to be added in dependency list (api.use) otherwise this kind of exception will be thrown by choosing image
Exception in delivering result of invoking '/cfs.locationIcon.filerecord/insert': TypeError: Meteor.userId is not a function
    at http://localhost:3000/packages/yogiben_autoform-file.js?fd125e956e096bb4e5228a39d05114e4babda192:245:27
    at http://localhost:3000/packages/cfs_collection.js?60aba0a5a61bd74237ef18bbd254c4c42a4b3cbb:282:9
    at wrappedCallback (http://localhost:3000/packages/mongo.js?69942a86515ec397dfd8cbb0a151a0eefdd9560d:629:9)
    at null._callback (http://localhost:3000/packages/meteor.js?9730f4ff059088b3f7f14c0672d155218a1802d4:999:22)
    at _.extend._maybeInvokeCallback (http://localhost:3000/packages/ddp-client.js?82da06d8e1ea6342d823b2c5c3be071e96108c70:3508:12)
    at _.extend.dataVisible (http://localhost:3000/packages/ddp-client.js?82da06d8e1ea6342d823b2c5c3be071e96108c70:3537:10)
    at http://localhost:3000/packages/ddp-client.js?82da06d8e1ea6342d823b2c5c3be071e96108c70:4373:7
    at Array.forEach (native)
    at Function._.each._.forEach (http://localhost:3000/packages/underscore.js?fa590de5090ceb4a42555b48562fd8f8e7035758:157:11)
    at _.extend._runAfterUpdateCallbacks (http://localhost:3000/packages/ddp-client.js?82da06d8e1ea6342d823b2c5c3be071e96108c70:4372:7)

I think more appropriate would be accounts-base. And I prefer adding toplevel packages first so this could be added after templating package.


How to stop or uninstall this service

Hi, I think I installed this service installing dependencies for this project: https://github.com/input-output-hk/cardano-sl/blob/master/docs/how-to/build-cardano-sl-and-daedalus-from-source-code.md
But now with the port 8000 on the http protocol is always redirected this service. How can I stop that?

You're running some program that is using the ekg library. Since ekg is not a separate service, you need to stop the parent program or recompile it without ekg support. If you need further help, please file a ticket at the Cardano bug tracker.


Display / Theme Problem

Hi All,
Thank you very much for taking the time to help me out.  I have a simple problem, and one that is probably easily remedied -- I simply don't understand enough about the inner workings of the calendar to solve the problem.
The problem is the following:

As you can see, the tooltip expansion thing is colored white (making the white text invisible), in the demo provided, this tooltip is black.
I thought this could be controlled by the less files, but I found no mention of them in the javascript, hence I am unsure of their importance.
Is there other relevant information that I should post?  How do I get this to display correctly?
Thanks!

Thanks -- that fixed it immediately!


No license

No license - unclear whether the code can be used by other projects and what are the terms.

Fixed with https://github.com/greghunt/partial-json/commit/be0a900444cce4944775259a1f446a3536892691


chore: unique gha name for releases

chore: unique gha name

PR-Codex overview
The focus of this PR is to rename the GitHub Action from code-review-action to code-review-quality-action for clearer identification and branding.
Detailed summary

Renamed the GitHub Action from code-review-action to code-review-quality-action for better clarity and branding.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@rultor release tag is 0.2.1

@rultor merge

@h1alexbel Done! FYI, the full log is here (took me 3min)

@rultor release tag is 0.2.1

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

@rultor release tag is 0.2.1

@h1alexbel Done! FYI, the full log is here (took me 4min)


feat: add test explorer

Hey!
I've been wanting to run individual tests in nvim-metals since forever. Finally found some time and tried to do it with test explorer.
Seems like everything is working pretty good for me.
I added two commands:

One for browsing all test suites and running one of them.
Another one for browsing test suites only in current file and running one test case from selected suite.

Bouth commands can be rerun with :lua require'dap'.run_last().
In order to use it one need to edit metals config like this:
local metals_config = metals.bare_config()
metals_config.settings = {
...
testUserInterface = "Test Explorer",
}
metals_config.init_options.testExplorerProvider = true

Here is a small video of how it works:
https://user-images.githubusercontent.com/14187674/197073732-6696682b-1686-430f-87c0-1dac0844060f.mp4

Very cool @antosha417! Thanks so much for digging into this! I'll do a more in depth review in a bit, but I've just been trying to use it first. A couple things I notice right away. Without setting the following in the metals_init_options it will never return any suites:
  testExplorerProvider = true,

Was this just an oversight? If not, I'm not sure how it was working in your gif since mine will never get a metals-update-test-explorer without that being set.
Once I do have that set and I start using it I always end up with:
LSP[metals] Target 'file:/Users/ckipp/Documents/scala-workspace/scalameta-org/metals/?id=unit-test' not found.

No matter what target I'm in. I've tried in a fresh Hello World project and I've also tried in the Metals code base as well. The above was trying to run a test in tests/unit/src/test/scala/tests/ScalaVersionsSuite.scala in the Metals code base. I'm using the latest snapshot: 0.11.9+56-6943e41c-SNAPSHOT and in the logs I'm seeing:
SEVERE: Internal error: scala.meta.internal.metals.debug.BuildTargetNotFoundException: Build target not found: file:/Users/ckipp/Documents/scala-workspace/scalameta-org/metals/?id=unit-test
java.util.concurrent.CompletionException: scala.meta.internal.metals.debug.BuildTargetNotFoundException: Build target not found: file:/Users/ckipp/Documents/scala-workspace/scalameta-org/metals/?id=unit-test
        at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332)
        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347)
        at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:708)
        at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
        at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162)
        at scala.concurrent.java8.FuturesConvertersImpl$CF.apply(FutureConvertersImpl.scala:29)
        at scala.concurrent.java8.FuturesConvertersImpl$CF.apply(FutureConvertersImpl.scala:26)
        at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:484)
        at scala.concurrent.ExecutionContext$parasitic$.execute(ExecutionContext.scala:222)
        at scala.concurrent.impl.Promise$Transformation.submitWithValue(Promise.scala:429)
        at scala.concurrent.impl.Promise$DefaultPromise.submitWithValue(Promise.scala:338)
        at scala.concurrent.impl.Promise$DefaultPromise.tryComplete0(Promise.scala:285)
        at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:504)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)

So for some reason Metals isn't able to find the build target. Not sure if it's something funky going on with the URI or what, but I'll play around.
Really excited about this!

Yeah, I completely forgot that I also did metals_config.init_options.testExplorerProvider = true for it to work. I added it at the top.
Regarding the target uri I cheated a little and just took project_root .. '/?id=target_name'. Because test explorer just sends the target_namenot the uri.    I think I can request this uri from metals. As we do inshow_build_target_info`. Will try to fix it soon.

Regarding the target uri I cheated a little and just took project_root .. '/?id=target_name'. Because test explorer just sends the target_name not the uri. I think I can request this uri from metals. As we do in show_build_target_info. Will try to fix it soon.

Yea you shouldn't actually have to request anything extra at all. Here's an example:
[Trace - 02:42:41 pm] Sending notification 'metals/executeClientCommand'
Params: {
  "command": "metals-update-test-explorer",
  "arguments": [
    {
      "targetName": "minimal.test",
      "targetUri": "file:/Users/ckipp/Documents/scala-workspace/minimal/minimal/test/?id\u003dminimal.test",
      "events": [
        {
          "fullyQualifiedClassName": "example.HelloSuite",
          "className": "HelloSuite",
          "symbol": "example/HelloSuite#",
          "location": {
            "uri": "file:///Users/ckipp/Documents/scala-workspace/minimal/minimal/test/src/example/HelloSuite.scala",
            "range": {
              "start": {
                "line": 4,
                "character": 6
              },
              "end": {
                "line": 4,
                "character": 16
              }
            }
          },
          "canResolveChildren": true,
          "kind": "addSuite"
        },
        {
          "fullyQualifiedClassName": "example.HelloSuite",
          "className": "HelloSuite",
          "testCases": [
            {
              "name": "numbers",
              "location": {
                "uri": "file:///Users/ckipp/Documents/scala-workspace/minimal/minimal/test/src/example/HelloSuite.scala",
                "range": {
                  "start": {
                    "line": 5,
                    "character": 2
                  },
                  "end": {
                    "line": 5,
                    "character": 6
                  }
                }
              }
            },
            {
              "name": "reproduce",
              "location": {
                "uri": "file:///Users/ckipp/Documents/scala-workspace/minimal/minimal/test/src/example/HelloSuite.scala",
                "range": {
                  "start": {
                    "line": 14,
                    "character": 2
                  },
                  "end": {
                    "line": 14,
                    "character": 6
                  }
                }
              }
            }
          ],
          "kind": "addTestCases"
        }
      ]
    }
  ]
}

You can grab the targetUri right from there.

once set they will no longer see code lenses for running/debugging

Actually I think it would be nice to show code lenses near the test names. So users will be able to run them and execute specific test cases or whose test suites.
Currently in test_explorer.state we have info about the location of tests that can be run.
I'll read more about code lenses and see if I can implement it. What do you think?

I was able to set code lenses and even execute them. But sadly neovim requests them again from metals and overrides mine with empty list.
So I think for code lenses it should be a feature in the metals itself to set them for each test case.


Feature - Opening up Default Response Initializers

This PR modifies the DefaultDataResponse and DefaultDownloadResponse initializers to be public instead of internal. This allows you to rebuild the responses if necessary in client code to do things like wrap the error in your own custom error or modify the server data or possibly inject a missing header, etc. The main use case is to wrap the error.
This PR also adds convenience properties to the DataResponse and DownloadResponse structs for accessing the value and error in the result. Both of these computed properties are merely for convenience.

This allows you to rebuild the responses if necessary in client code to do things like wrap the error in your own custom error or modify the server data or possibly inject a missing header, etc. The main use case is to wrap the error.

Side note: https://github.com/Alamofire/Alamofire/pull/1836 also addresses error handling: DataResponse.map and DataResponse.flatMap do recreate new responses that wrap a new result or a new error, but without exposing public initializers:
Alamofire.request("https://httpbin.org/get").responseJSON { response in
    // Here response is DataResponse<[String:Any]>,
    // and stuffResponse is DataResponse<Stuff>:
    let stuffResponse = response.flatMap { json in try Stuff(json: json) }
}

It's not that I want to push my #1836 at all cost. I just want to say that it addresses response transformations in a way that prevents the complex initializers from bubbling up into the public API.
Besides, preserving responses' metrics is only possible with internal APIs (see https://github.com/Alamofire/Alamofire/pull/1836/files#diff-0532e61b339db1c06287f9110afe7dfcR147).

@groue I think the functional approach your PR creates, and I'm sure many developers will be comfortable there, but there is an argument for the straightforward use of an initializer. Depending on whatever else there doing, either approach may be more readable than the other.

@jshier That's perfectly clear. I just saw an opportunity to explain some uses of the functional approach which can be overlooked - since #1836 had no feedback whatsoever. Now I'm not a functional guru/evangelist/lobbyist - I'm a regular imperative developer, and certainly don't want to force abstract functional cathedrals down into anyone's throat. #1836 is actually pretty narrow.
Now the use cases exposed by @cnoon are not straightforward: injecting headers, modifying server data, etc. That's looks pretty advanced to me.
On the other side, map/flatMap are a concise syntax for a very common use case, which is to turn server data into application model types, while preserving errors and response metadata. The map/flatMap idioms are, I think, simpler than extensions that custom response serialization requires today. And they blend naturally in the map/flatMap landscape that Swift already brings with optionals and collections.

Thanks for the feedback @groue! I agree with @jshier that both are useful. Apologies for your PR being left out there without feedback. We got pretty busy with the holidays and haven't been able to keep up with all the great work coming in.


ci: fix snap build for tags

Fixes #1027
This should fix the snap release action

I just used these exact steps to release the latest version - so this really should be it! My apologies for these issues!


#3864 Allow a validation prompt to be a function

Allows the validation prompt to also be a function that returns a string, as discussed in issue #3864

I've implemented this slightly differently in the above commits and have written docs.


Move checking problematic mappings from evidence generation SOP to curation export SOP

Explanation: Partly this is just to avoid having to do #288 before doing #333.
But also, logically I think this check belongs with the curation rather than evidence string generation.  It also ensures that if we manually fix anything (in particular Coronary artery disease/myocardial infarction), it might actually make it into our Zooma feedback and we won't have to manually fix it every time.  Then this becomes a simple QC check rather than an actual manual change, which makes it simpler to automate anyway.
EDITED TO ADD - also including the Ensembl 107 update as it causes tests to fail :pray:

@apriltuesday, If I understood correctly it's just moving a manual process, as it is, to the manual curation workflow, for these terms to be added to Zooma and therefore "automated" in future releases. Correct?

I see 👍


semver hazards

TL;DR - please consider changing the version specifiers away from naive comparison >= to semver compatible ^ (which can be omitted) for at least Ratatui and crossterm. Also, on the crossterm / termion / termwize dependency, it's now possible to point at ratatui::crossterm etc. to get the major version of the backend that's compatible with Ratatui rather than specifying this in your dependencies.
Background reading

https://doc.rust-lang.org/cargo/reference/resolver.html#semver-compatibility
https://doc.rust-lang.org/cargo/reference/resolver.html#version-incompatibility-hazards

Problem
Specifying a version in the cargo toml using >= causes downstream headaches. We saw this happen frequently in tui-textarea, and ansi-to-tui, and it seem like this is happening here too. Discord thread from the Rust discord: https://discord.com/channels/442252698964721669/448238009733742612/1273527249857024062

Apologies as I'm sure this is a common question, but I'm having trouble finding answers elsewhere.
I have two dependencies listed in my Cargo.toml:
ratatui = "=0.27.0"
ratatui-image = "=1.0.5"

and in ratatui-image:
ratatui = ">=0.23"

My understanding was that cargo was smart enough to pick a version of ratatui that would satisfy both requirements, but in my case when I run cargo build, even after deleting Cargo.lock or running cargo clean, I get errors complaining that Rect is not equal to Rect (the versions of Rect from ratatui 0.27.0 and ratatui 0.28.0 respectively). cargo tree shows that ratatui-image is pulling in 0.28 and my own package is pulling in 0.27. Is there some gotcha here that I'm not understanding about the cargo dep tree?

The issue is that an app that uses ratatui-image will pull in the latest version of ratatui (and crossterm, ...) whenever that's updated (e.g. 0.28.1), but will also pull in the version that fits the application's version selector (e.g. 0.27.0). The types in each version have the same name but are incompatible with each other (even if they are unchanged). Effectively 0.x is a major version. This problem is documented in https://doc.rust-lang.org/cargo/reference/resolver.html#version-incompatibility-hazards
I'd recommend avoiding specifying dependencies as >= and instead lock the version to whatever major version that makes sense. We do make breaking changes in between major versions in Ratatui, generally for good reasons, and we try to document them as well as possible. But specifying that a library is compatible with any major version of another library when the dependency appears in the public API, or where the library depends on some internal shared state (e.g. crossterm stores termios to restore raw mode) is a problem that causes downstream pain.
I haven't looked at other dependencies in the cargo.toml, but I suspect this issue may cause pain there also.
Last, you might find that your users appreciate a major version bump when bumping the major versions of dependencies that appear in your public API. This prevents them automatically breaking when you release a semver incompatible update marked as semver compatible. (This is something I learnt myself in tui-widgets).

ping @cxreiff


I complete assignements below doing what follows:by Select 3 tools no…

…t covered in the lesson, explain why a web developer would use it, and search for a tool that falls under this category and share its documentation.
Reading the Docs
Instructions
There are many tools that a web developer may need that are on the MDN documentation for client-side tooling. Select 3 tools not covered in the lesson, explain why a web developer would use it, and search for a tool that falls under this category and share its documentation. Do not use the same tool example on MDN docs.
Rubric

Exemplary
Adequate
Needs Improvement

Explained why web developer would use tool
Explained how, but not why developer would use tool
Did not mention how or why a developer would use tool

Transformation tools such as Frameworks (Angular, React, Vue) should be used by a web developer because they are useful to build web applications and allows the rapid creation of UI features. Angular, React, and Vue can all be used to develop Progressive Web Apps, also known as PWAs. PWAs are not mobile applications but web applications that smartphone users can add as shortcuts to their home screen and offer a look and feel similar to native mobile apps. These frameworks are written in custom JS and they allow to create reusable building blocks.
Angular documentation: https://angular.io/docs

Testing tools should be used by web developers in ordr to check code before spread it in repo. With testing tools are defined checkpoints regarding target configurations or region configurations. One of testing tool is applitools>Docs>SDK user guide>The Eyes SDK check Fluent API which is available in Java/Javascript/C#
Documentation of applitools>Docs>SDK user guide>The Eyes SDK check Fluent API is at https://www.npmjs.com/package/@applitools/eyes-selenium?activeTab=readme

Code editor a web developer should have in order to produce web code more efficiently is Replit which is a browser IDE. This instant IDE should be used by web developers to code directly from browser with Replit. In this way is it possible to start coding instantly, right from browser. With GitHub integration and support for nearly every major programming language (for web developers: Node.js, HTML, CSS, JS, CoffeeScript, Roy, PHP Web Server).
Documentation in https://replit.com/languages and for templates in https://replit.com/templates

hi @Giulia-Caldato to get credit for this lesson, can you please paste this into the assignment box for your teacher to look at :) thank you! great job!

I added It into Assignement @jlooper


[FEATURE] GitHub Action to display LinkFree testimonials in our GitHub Profiles

Description
GitHub Action to display LinkFree testimonials in our GitHub Profiles
https://github.com/EddieHubCommunity/LinkFree/tree/beta/data/eddiejaoude

Screenshots
No response
Additional information
No response

Hi! This issue seems really interesting to me, but I have never worked on creating custom GitHub issues. I made my small research thinking about how it can be implemented and the first issue that has to be covered is where action should be located. Here is what GitHub says about it. Let me know what you @eddiejaoude think about it. Thanks :)

I updated the issue description with more information, I hope that helps

@eddiejaoude now it is way more clear thanks


Update domains.json

Hi! What is your PR about?

[ ] Add or edit a skin
[+] Add custom domain for your space
[ ] Add alias for migrate your space
~Add images for your space~ (deprecated) Add the image URL on the space settings directly
~Edit your space with GitHub?~ (deprecated) Please migrate your space to ENS https://docs.snapshot.page/spaces/migrate
~Create your space with GitHub~ (deprecated) Create your space with ENS instead https://docs.snapshot.page/spaces/create

Hi, we updated it at line 51.
"vote.xtblock.io": "xtblock.eth",
https://github.com/xtblock/snapshot-spaces/blob/master/spaces/domains.json

There is a conflict in your PR since domains.json file has been updated, can you resolve it?

https://github.com/xtblock/snapshot-spaces/blob/master/spaces/domains.json
We have just downloaded the latest domains.json file and updated it at line 60.

@chorusg Please have a look here https://github.com/snapshot-labs/snapshot-spaces/pull/1526/files just your line should be modified.


Custom Banner

It would be good to have an option for custom banner on start.
Extended information, diagnostics etc.
The patch for the Feature is
loco-rs+0.9.0.patch
WBRs,
Valerii

Hi! Thank you for the suggestion.
To better understand your request, could you please provide an example of the custom banner output you're expecting? It would also be helpful to know:

What specific fields or information would you like to include in the banner?
Where you'd like each of those fields to be displayed.

This will help us better tailor the feature to your needs. Thanks!

adding --no-banner flag


Add tests for mid of semi-infinite and empty intervals

The IEEE 1788-2015 standard specifies (p. 64) particular behaviour for mid of semi-infinite and empty intervals. This adds tests for that behaviour.
cf. https://github.com/dpsanders/ValidatedNumerics.jl/issues/243

The libieeep1788*.itl files contain tests which have been derived from libieeep1788. Any additional tests should go into a separate file.
Also, the tests in this repository are quite old and only remain for demonstration purpose. It was my first attempt to extract unit tests from libieeep1788 (using regular expressions) and I have missed some test cases back then. You can find a more up-to-date version of the itl test files, which also contain tests for mid with empty and unbound intervals in the Octave package's repository. http://grouper.ieee.org/groups/1788/email/msg09047.html

Thanks.
If I understand correctly, we cannot include the test files from the Octave interval package in ValidatedNumerics, since the GPL license of your package is not compatible with our MIT license.
I think a solution may be to make a separate ValidatedNumericsTests.jl package with a GPL license that tests ValidatedNumerics.jl with the tests from your package. cc @lbenet

I don't understand your problem. The MIT license is compatible [https://www.gnu.org/licenses/license-list.html#Expat] with the GPL. Your code doesn't depend on the unit tests. You can strip the unit tests from your release (only use them during development) or leave that to downstream distributors and users (so they can test their system). Making a separate test package sounds rather complicated to me.
Another approach would be that I'd publish the converted test cases under their original licenses. This would be Apache 2.0 for libieeep1788, but at least LGPL for the other tests that I have (from C-XSC, MPFI, …). I don't know if that helps you. You might relicense the Apache 2.0 stuff in your package, but would have to redistribute any NOTICE (§4d) files and license texts (§4a) nevertheless. Or would you see less problems to mix MIT with Apache and LGPL?

The MIT license is compatible [https://www.gnu.org/licenses/license-list.html#Expat] with the GPL.

This so-called "compatibility" is only in one direction: MIT code may be included in a GPL project, but not vice versa.

You can strip the unit tests from your release (only use them during development) or leave that to downstream distributors and users (so they can test their system).

No, since it is not permitted to include GPL code in a non-GPL project. All development occurs in public in a GitHub repo, and the "release" is just a tag in the git repo; there is no separate code release process.

Another approach would be that I'd publish the converted test cases under their original licenses. This would be Apache 2.0 for libieeep1788, but at least LGPL for the other tests that I have (from C-XSC, MPFI, …). I don't know if that helps you. You might relicense the Apache 2.0 stuff in your package, but would have to redistribute any NOTICE (§4d) files and license texts (§4a) nevertheless. Or would you see less problems to mix MIT with Apache and LGPL?

That would be great -- Apache can be mixed with MIT, and indeed we already include the Apache license of the ITF1788 tests here.
However, LGPL code cannot be included either.
Actually I think the idea of a separate repo with just this collection of tests is sounding like a good idea. It would be easy enough (I think...) to call those tests from the ValidatedNumerics test suite.

Ah, it seems I am wrong, apologies.
I have been informed that having GPL tests in the MIT package is fine, since the library is not a derived work of its test code. Thanks!


BOM has dependency management for non direct dependencies

A user reported that the Netflix BOM has a dependency on RXJava.
The plan for a BOM is to only have dependency management for their own modules (typically the Spring Cloud modules) and their direct/specific dependencies. In the case of this project, having an opinion on Eureka, Ribbon, etc totally makes sense since it's the very purpose of the project to offer an integration with those.
I don't know if we've written that anywhere but I do remember that we've discussed that everything else should be in the build and not exposed in the BOM. If we don't do that and two boms have an opinion for the same coordinates, you get a warning when using Maven as conflict resolution won't work as expected.
The current version has an opinion on RXJava, okhttp3 and xstream which does not sound legit to me.

So this dates back a long time. Most (all?) of the netflix libraries declare their dependencies as 'runtime' in their poms https://repo1.maven.org/maven2/com/netflix/eureka/eureka-client/1.9.12/eureka-client-1.9.12.pom
We had to include them to work. We could move them to the root pom of s-c-netflix, but we still need to have dependency management for them.

Looking, I think rxjava and okhttp3 can just be removed. Checking to see if moving xstream to the root pom works.

Dep mgmt of okhttp3 was only added in boot 2.2, so it will have to move to the root for Greenwich.

Thanks for the quick turnaround @spencergibb!


Add central LND credential store (e.g. macaroons)

As discussed in #1143.
Scripts that (potentially) need to be checked/updated:

[ ] _background.sh (channel backup is copied to ~/.lnd/..)

[x] bonus.lndconnect.sh (runs as admin; uses ~/.lnd/)

[x] blitz.touchscreen.sh

[x] bonus.btcpayserver.sh

[x] bonus.lnbits.sh

[x] bonus.rtl.sh

[x] lnd.check.sh

[x] lnd.credentials.sh

[x] lnd.export.sh

[x] lnd.newtlscert.sh

User accounts that are affected

[x] pi (BlitzTUI)
[x] btcpay
[x] lnbits
[x] rtl

I created a new MainMenu entry LNDCREDS and moved EXPORT into it. I moved the submenu entry RESET from EXPORT to LNDCREDS.

I proposed lnd.credentials.sh here.. could also be called blitz.credentials.sh. But it has some overlap with the existing lnd.check.sh. Where should we do this in future?

Sounds like the best place in th existing code is "lnd.export.sh" that already has the focus to export the credentials in different forms and also alows for a macaroon reset. Renaming it to "lnd.credentials.sh" can make sense in this extension of functionality.

Whoops.. yes.. I meant lnd.export.sh... So I'll look into updating and renaming that file.

Looking into it.

@rootzoll @openoms Going through with this... would user admin also access the macaroons in /mnt/hdd/app-data/lnd.. ? I would say yes - which means that we no longer copy the macaroons to /home/admin/.lnd/ (but there can still be a symlink).
Agreed?

@rootzoll I currently have /home/admin/.lnd as a symlink to /mnt/hdd/app-data/lnd/. I have found at least one location where it is assumed that /home/admin/.lnd is on the internal SD and not the external drive (HDD/SSD): _background.sh:206
Should I revert back from moving ~/.lnd or should we dedicate a different SD-card local path as  a (kind of) backup location?

I think this is ready for a review and testing.. :-D

RTL is running with the rtl user

Ah.. ok.. I currently don't have it activate and misread the scripts.. Does it use macaroons? Reading this I would say yes:
data.nodes[0].Authentication.macaroonPath = '/home/admin/.lnd/data/chain/${network}/${chain}net/';

@frennkie yes, uses macaroons given it has payout functions with full access to lnd.
The admin.macaroon at /home/admin/.lnd is readable to all users currently so that is what it is using.
It is just that the rtl user needs to be added to the permissioned group on install.

@rootzoll As I moved reset out of lnd.export.sh there should be a new place in the RaspiBlitz menu.... about about PASSWORD     Change Passwords.. ? Makes (much more) sense to me.

Adapted for #1156


Repository URL outdated

This repository contains a descriptive link which (still) lacks the -ui fragment.

Thanks! I fixed the link.


TilemapSpacing seems quite broken

Version tested
MacOS (M1)
main branch
Problem
It looks like the purpose of the spacing example is to showcase a tilemap with TilemapSpacing set correctly side-by-side with one where it isn't.
However, it seems that when using the atlas texture renderer, both tilemaps look very broken, but in different ways.
With the default array texture renderer, both seem to display correctly, (which is wrong?).
cargo run --example spacing --features=atlas

cargo run --example spacing

I'm not sure if it's related, but I ran into a bug with using array textures vs atlas textures when the tilesheet has spacing between tiles but not around the outer edges of the sheet. When using array, a 16x16 grid size with 16x16px tiles would obscure parts of the tiles. When using the atlas feature, the tiles render as expected with no gaps or overlaps.

I split out the non-atlas-related bits of this bug report into #364.


Here is a bundled PR for windows logs, disable windows user, fix sensu_gem first windows run

Bundled into one for easier merging:
PR #621 - Windows Log Rotation support
PR #628 - Disable windows manage_user and return warning
PR #632 - Fixed sensu_gem provider not working on first run until software is installed

@cwjohnston hoping this would help consolidate a few open PR's into one.
cc @hprins

Closed by PRs referenced above.


BUG: ImportError: cannot import name 'get_installed_distributions' from 'pip._internal.utils.misc'

This happens when issuing: benchopt install -e .
I think this error is the same as https://github.com/jazzband/pip-tools/issues/1503#issue-1023073542
It was fixed beforehand in https://github.com/benchopt/benchopt/commit/a14dfccfe12b5857b25ded03d93b754fa40bd00a, but the pypi version does not feature this correction.
I think benchopt needs to be installed from source in order to solve this problem.

yes use benchopt main branch for now

Message ID: @.***>


Issue 207/inactivity message styling updates

Updating styling of InactivityMessage.jsx to MUI. The dialog box more closely matches the styling of other components (such as LogoutModal.jsx), while leaving specifically the button styling largely the same. That is, they are different variants but both colored green.
New styling:

Previous styling:

LogoutModal.jsx:

TODO: Determine the styling we want for modals/dialog boxes. For example, several other components have only contained buttons, others have only outlined ones (like LogoutModal.jsx), and still others (like this one and AddClient.jsx ) have both.
Is this something we want to keep, do we wish to have a single theme to apply universally, or something else?
Additionally, we will likely want to recolor the Log Out button to error coloring rather than success. Buttons that log out the user should be more easily distinguishable.
Creating as a draft until further discussion.
Closes #207

Could we up the timing for the pop-up to be 30 minutes?
We could think about whether to make that trigger logout after that could be handled in a different PR.

Oh, one more thing to note before I dig into the code. Could we use what we have for red for log out.
It'll be the better choice, like using red for 'no' or 'cancel'.

Thanks for making this a draft an opening for discussion.
I also believe there should be consistency between all the modals.  My thought process was whichever button would continue the userflow - would be green, and the button that canceled the userflow - would be red.
So, in the case of LogoutModal, the modal shows when a user clicks "logout" and is likely they want to logout. Therefore, I made "yes" green and "no" red.
You'll see I did the same for AddClientModal (even though those buttons don't work as intended yet.)

Now in the case of InactivityMessage, this logic doesn't really work as the user didn't do anything to get to it.
So, 2 thoughts come to mind:

We could say by 30 mins of inaction, the user is saying they no longer want to use PASS (and most likely want to logout) - therefore continue is red, and logout is green.
Since the user did nothing to get to this option, we could say they don't want to logout - therefore logout is red (and I propose listing it on the left), and continue is green (and I propose listing it on the right for consistency with others.)

Specific text of this modal
Personally I don't really like the continue coupled with the specific wording of the question.  It asks if you would like to log out - so "continue" can also mean "continue to logout."  BUT the text button could be answering the modal title question of Continue session?
Again, I think we need to make this modal clearer - we are asking two opposing questions in the same popup:

Do you want to continue your session?
Do you want to logout?

So, maybe we pick one or the other:

Modal Title: Continue session?
Modal Body: You've been inactive for 30 minutes. Would you like to continue using PASS? (By clicking "No" or not answering within 5 minutes, you will be logged out.)
Modal Title: Logout?
Modal Body: You've been inactive for 30 minutes. Would you like to logout from PASS? (By clicking "Yes" or not answering within 5 minutes, you will be logged out.)

TODO: Determine the styling we want for modals/dialog boxes. For example, several other components have only contained buttons, others have only outlined ones (like LogoutModal.jsx), and still others (like this one and AddClient.jsx ) have both.
Is this something we want to keep, do we wish to have a single theme to apply universally, or something else?

For LogoutModal and AddClientModal I used outlined buttons, but I do like the thought of mixed in these components.
My thought is what would BREAK the userflow (what button choice the user most likely DOES NOT want to choose) to be outlined, and what would CONTINUE the userflow (what button choice the user most likely DOES want to choose) to be contained.
To move forward with this thought ⬆, we have to make the modal text/messaging more clear first.

Oh, one more thing to note before I dig into the code. Could we use what we have for red for log out.
It'll be the better choice, like using red for 'no' or 'cancel'. And swap the logout icon for what we're using in the navbar for logout that way it'll be consistent.

If we go with this (coloring logout red), then I propose we change the question in the body of the modal to "Would you like to continue using PASS?" and swapping the button order.

Does this PR also address Issue #251 ??   Or should we consider that something separate with an automatic logout feature if the user doesn't respond to this modal in certain amount of time?

Does this PR also address Issue #251 as well?   Or should we consider that something separate with an automatic logout feature if the user doesn't respond to this modal in certain amount of time?

I think we should consider the auto logout functionality from inactivity as a separate issue, but yes, this should be related to issue #251.
At 30 minutes, I think a shorter 2 minute count down to trigger logout might would be better, but I'm good with 5 as well.

Oh, one more thing to note before I dig into the code. Could we use what we have for red for log out.
It'll be the better choice, like using red for 'no' or 'cancel'. And swap the logout icon for what we're using in the navbar for logout. That way, it'll be consistent.

If we go with this (coloring logout red), then I propose we change the question in the body of the modal to "Would you like to continue using PASS?" and swapping the button order.

Yes, I think swapping the ordering would be good. That way, we could keep the ordering for exiting userflow on the left and continuing on the right.

If we change the icon, is this the exception (meaning logout is always special and gets its icon?)
Or do we need to change icons on all buttons that make sense (like "add client" could be the + icon?)

Yeah, thinking of making logout a special case, everything else could remain x's and checks.

Oh, one more thing to note before I dig into the code. Could we use what we have for red for log out.
It'll be the better choice, like using red for 'no' or 'cancel'. And swap the logout icon for what we're using in the navbar for logout. That way, it'll be consistent.

If we go with this (coloring logout red), then I propose we change the question in the body of the modal to "Would you like to continue using PASS?" and swapping the button order.

Yes, I think swapping the ordering would be good. That way, we could keep the ordering and phrasing for exiting userflow on the left and continuing on the right.

If we change the icon, is this the exception (meaning logout is always special and gets its icon?)
Or do we need to change icons on all buttons that make sense (like "add client" could be the + icon?)

Yeah, thinking of making logout a special case, everything else could remain x's and checks.

Going to keep this as a draft until we have a theme for this modal firmly decided.

I'll look at the code today, but I like this... I would just suggest changing the green button to the same green we've been using. That seems to be something different.    After that, from a "looks" perspective I think this is solid.


Fix relative positional attention (position lambda)

Hi lucidrains,
Thanks to your nice work.
I found an error in the position lambda (relative positional attention) implementation. Relative positional attention, λp, should be translation equivariance, as written in the paper Sec. 3.2. It means that the positional embedding has a constraint, E[n, m] = E[t(n), t(m)], but it is missed in current implementation. This PR fixes it by adding the translation equivariance constraint. I checked that this PR improves the result in my experiment.
NOTE that this PR modify the function parameter n, from total area (n=w*h) to length of each side (n=w=h).

@khanrc Hi Junbum! I believe you are correct! I will release this and fix the Keras version tomorrow!


Convert object to kubernetes manifest

Hi ,
Is there exist way to convert an object to kubernetes manifest. For example
From:
type email struct{
     name string
     kind string
     image string
}
e:= email {
      name:email,
      kind:Deployment,
      image:email-service:version-1.9.1
}

To:
kind: Deployment
metadata:
  name: email
...
  image: email-service:version-1.9.1

Convert an k8s object to yaml ? Try https://github.com/yulibaozi/beku


The lambda function size (25.55mb) exceeds the configured limit (5mb).

You may increase this by supplying maxLambdaSize to the build config

I am using now v2 with typescript and node@canary and I can't add "maxLambdaSize" to config. I don't think my lambda size is THAT big, it's just a 10+ typescript files, one function. I will inspect my packages, but I deployed this project yesterday and it was fine.
In fact, outside of 2 packages "@google-cloud/storage" and "sharp" I think I removed many things in my code.
How do I deploy, if I wouldn't be able to find the source of the problem?

Please, take a look at customizable lambdas size here. Do notice this may hurt performance!

Thank you very much! I missed it in a docs, and it was driving me crazy! Perhaps it should be stated more clearly that now "config" belongs to "builds"?
Also my deployment was fine without sharp, and I found it in their docs that sometimes it's hard to deploy with sharp as dependency when building with yarn. Maybe it will help someone in the future. https://sharp.pixelplumbing.com/en/stable/install/#heroku


Screenshot:

@johnheroy, wanna take this?

yup :)


How to exclude time from the past (minTime), only if selected date is current date (minDate) ?

I found how to exclude dates from the past with minDate,  I just pass minDate={moment()}
If I set minTime={moment().hours().minutes()} it will exclude this time from all the dates.
I need to limit user to set time in past of current day.
I look for examples on the website, but could not find proper example.
PS. I Appreciate all the work you do for the community!

@martijnrusschen please have a look at this feature request!

I am looking for this feature too.
I want to set the minTime to be 6 hours in the future.
I tried this minTime={moment().add(6, "hours")}, but it didn't seem to do what I was expecting.

Have you tried passing minDate based on the selected date?

I'm coming across this as well. Any ideas how to manipulate the value of the time if the user didn't select one? It doesn't seem to care what the 'minTime' is, it will always default to 12:00am.

This seems like a bug at this moment. Per the documentation, one needs to set both minTime and maxTime. But doing so disables all the time fields.
const now = moment().tz('America/New_York')
...
        <DatePicker
          isClearable
          minDate={now}
          minTime={now.hours(now.hour()).minutes(now.minutes())}
          maxTime={now.hours(23).minutes(45)}
          onChange={handleChange}
          placeholderText="Click to select a date"
          selected={input.value ? moment(input.value, 'America/New_York') : null}
          todayButton="Today"
          showTimeSelect
          timeFormat="HH:mm"
          timeIntervals={15}
          dateFormat={format}
        />

Today's date

Tomorrow's date

I would create a function that utilizes the excludeTimes parameter combined with your onChange event and/or selected parameter. If selected date === today's date then your excludeTimes will be an array of interval times you do not want displayed for this date. This function would have to run every time a date is selected on your onChange event and return null or and empty array when any other date other than the desired date is selected.
Note: This is untested but should in theory work. 😄

+1 on this bug, same issue for me.

+1

@fabiosangregorio The issue is that if you choose another date, the time is sticky. So if it's 1 pm, you can't see dates before 1 pm. Not only today but everyday.
Still a bug

@charlesmarino1 you can check if the selected date is the same of today, and if that is the case you can set the min/max time. I updated the previous comment with the code to do that.

@fabiosangregorio Hi! This is not worked for me ((

@Valerika here's a quick demo of it https://codepen.io/fabiosang/pen/PVyMJd?editors=0011

@fabiosangregorio Thanks!!!!!!!!!!

@fabiosangregorio  ((((

@fabiosangregorio This is due to the version, I lowered the version to 1.4.1 and it works
Thanks!

Happy to announce that I sorted this out in #1718 🚀
Min Date

Max Date

Read more details on the PR page.

Hi guys, for @JustFly1984 's question, i just encountered , any solution?

@dlrandy Me and my team has made custom React datepicker with better accessibility support, written in typescript, supporting all main features of react-datepicker, and I’m planning to make it as npm package this month. Does anybody want to join as maintainer? I already have pretty much successful npm project @react-google-maps/api, so I’m retry sure in success of new datepicker. You can see an implementation in production at https://www.drivefromto.com

You can get this working now without this PR.
This will exclude all times before now time, only future dates/times are selectable, requires moment js.
import moment from 'moment'
...

// set this in your state init call
this.state.minTime =  this.calculateMinTime(new Date()),

// add these two functions to your component
calculateMinTime = date => {
    let isToday = moment(date).isSame(moment(), 'day');
    if (isToday) {
        let nowAddTwoHours = moment(new Date()).add({hours: 1}).toDate();
        return nowAddTwoHours;
    }
    return moment().startOf('day').toDate(); // set to 12:00 am today
}

handleDateChange = date => {
    this.setState({
        closeDate: date,
        minTime: this.calculateMinTime(date),
    });
}

// DatePicker component in your render function.
<DatePicker
      onChange={this.handleDateChange}
      selected={this.state.closeDate}
      minDate={new Date()}
      minTime={this.state.minTime}
      maxTime={moment().endOf('day').toDate()} // set to 23:59 pm today
      timeIntervals={60}
      showTimeSelect
/>

enjoy :)

Solution with date-fns:
import { endOfDay } from 'date-fns'

...

<DatePicker
  selected={selectedDate}
  minDate={new Date()}
  minTime={new Date()}
  maxTime={endOfDay(new Date())}
  showTimeSelect
  timeFormat='HH:mm'
  timeIntervals={15}
  dateFormat='HH:mm'
  onChange={handleDateChange}
/>

date-fns solution:
calculateMinTime = date => isSameDay(date, new Date()) ? new Date() : startOfToday()

date-fns solution:
import { isSameDay, startOfToday } from 'date-fns'

...

calculateMinTime = date => isSameDay(date, new Date()) ? new Date() : startOfToday()

state = {
  selectedDate: null,
  minTime: this.calculateMinTime(new Date())
}

...

handleDateChange = date => {
  this.setState({
    selectedDate: date,
    minTime: this.calculateMinTime(date)
  })
}

...

<DatePicker
  onChange={this.handleDateChange}
  selected={selectedDate}
  minDate={new Date()}
  minTime={minTime}
  maxTime={endOfDay(new Date())}
  timeIntervals={15}
  showTimeSelect
/>

see it take UTC time , so if you use moment js then you can use this
minTime={ moment().subtract('hour', 5).utc()}
maxTime={moment().utc()}

If anyone still looks for a solution for this, i came up with this:
`
handleDateChange = date => {
this.setState({
selectedDate: date,
minTime: this.calculateMinTime(date)
})
}
...
<DatePicker
onChange={this.handleDateChange}
selected={this.state.selectedDate}
minDate={new Date()}
{...(moment(minDate).isSame(moment(), 'day') && {
minTime: new Date(moment(values?.start).add(5, 'm')),
maxTime: new Date(moment().endOf('day')),
})}
timeIntervals={15}
showTimeSelect
/>
`
Checks if the day is today, and if it is adds minTime and maxTime. Otherwise, it removes those props.

<DatePicker
selected={startDate}
onChange={(date) => setStartDate(date)}
timeInputLabel="Time:"
dateFormat="MM/dd/yyyy h:mm aa"
showTimeInput
/>
For this how can we disable the past time for current date alone.

This solution works great:
const filterTime = (date) => {
const isPastTime = new Date().getTime() > date.getTime();
return !isPastTime;
};
<DatePicker
selected={startDate}
onChange={(date) => setStartDate(date)}
timeInputLabel="Time:"
dateFormat="MM/dd/yyyy h:mm aa"
showTimeSelect
filterTime={filterTime}
/>

@artemlenkevich This was a great solution, Helped me today. Thank you!

@artemlenkevich it's helpful. thank you

@artemlenkevich Thanks.


MTV 2.5 supports only cold migration for OpenStack

MTV 2.5
Resolves https://issues.redhat.com/browse/MTV-550 and https://github.com/kubev2v/forklift-documentation/pull/408 by:

Specifying that MTV 2.5 supports only cold migration for OpenStack
Removing Technology Preview notifications for OpenStack migrations

Previews:

https://file.emea.redhat.com/rhoch/no_warm_mig_ostack/html-single/#about-mtv [OpenStack Technology Preview notice removed; OpenStack listed among providers that support cold migration]
https://file.emea.redhat.com/rhoch/no_warm_mig_ostack/html-single/#openstack-prerequisites_mtv [OpenStack Technology Preview notice removed from OpenStack prerequisites]
https://file.emea.redhat.com/rhoch/no_warm_mig_ostack/html-single/#adding-source-providers [OpenStack Technology Preview notice removed from "Adding an OpenStack source provider"]
https://file.emea.redhat.com/rhoch/no_warm_mig_ostack/html-single/#creating-migration-plan_mtv [note after step 13 in "Creating a migration plan]

@ahadas Please review (or assign another reviewer).

@ahadas I made the changes you suggested. Please review this PR again.

LGTM


New-PodeWebForm ScriptBlock Rerunning Itself Every 30 Seconds After Submit Until Response Timeout Reached

Describe the Bug
I originally (yesterday) posted this on the Pode site as a question about the maximum value for Response Timeout.  Seems that if I set the Timeout value to 600 (seconds - 5 Mins.), the Response timed out at 3 mins. and 30 seconds (See Pode Issue Related: ([https://github.com/Badgerati/Pode/issues/1235]))
Although the Response Timeout maximum value question still remains, I did some additional digging and found that it looks like New-PodeWebForm ScriptBlock also has a bug.
Here's the issue:  If the ScriptBlock code runs for greater than 30 seconds, something is executing the ScriptBlock again and again every 30 seconds until the Response Timeout of 3 mins. and 30 seconds is reached.
Steps To Reproduce

Create a page with a simple Web Form on it
In the ScriptBlock, add this code:  Write-PodeHost "Calling ScriptBlock"; Start-Sleep -Seconds 45
Set your Pode Response Timeout value to 600 (seconds).
Start Pode in a Powershell session (Run as Administrator)
In a browser, navigate to your page/form and click on the Submit button
What you will see in your browser is a spinner on the Submit Button for 3 mins. and 30 seconds.
What you will see in your PowerShell session window is the phrase "Calling ScriptBlock", every 30 seconds until the Pode Response Time occurs at 3 mins. and 30 seconds.  Then the Submit spinner in the browser page/form will stop spinning.

Expected Behavior

Pode Response Timeout should allow for setting the value to something larger than 210 seconds (3 mins. and 30 seconds), and honor that setting.
Pode.Web New-PodeWebForm ScriptBlock should not be re-executed every 30 seconds.  It should run once unless the Submit button is clicked again.

Screenshots

Platform

OS: Windows
Browser: Chrome
Versions:

Pode: v2.9.0
Pode.Web: v0.8.2 - Upgraded to v0.8.3 - Issue persists
PowerShell: PS v5.1  Build: 19041  Revision: 3570

Additional Context
What I believe to be a Pode.Web New-PodeWebForm ScriptBlock bug, is what made me start looking at increasing the Pode Response Timeout value.
Now that I think of it: This behavior has been happening for a very long time.  For long running pages like getting all AD users or Groups and displaying them in a table, this is what moved me to using Timer jobs to get that information and populating it into SQL tables or Pode variables.  Then the page/table display code would fetch the needed information from either the SQL tables or the Pode variables.

Hi @jbaechtelMT,
It's actually AJAX that's doing the 30secs auto-recall, and triggering the Forms scriptblock repeatedly. The last time I looked, I couldn't see an option to stop AJAX from doing this, but maybe there is one now! I'll have a gander at the AJAX docs, see if I can spot anything; it might even just be a case of altering an AJAX timeout potentially.

Hi @jbaechtelMT,
The above commit should now fix the Form timing out, so long as it's still less than the configured Request Timeout in your server.psd1.
For the Form/Ajax calling the endpoint again and again, sadly there isn't anything I can do - it's actually by design within most browsers in accordance with the HTTP/1.1 spec:

https://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.2.4
https://www.rfc-editor.org/rfc/rfc9110.html#name-idempotent-methods

So long as the Form's duration is less than Pode's Request Timeout, the browser won't attempt to retry the endpoint.


When a user presses enter on the query bar, it should trigger a search vs just erasing the query

Is your feature request related to a problem? Please describe.
Whenever you try to query a search attribute in the ui, its natural to press enter to start the query.  However, currently when you press enter it will erase the query string and just load all the workflows.
Describe the solution you'd like
Whenever you try to query a search attribute in the ui, its natural to press enter to start the query.

This actually may be a bug vs. a feature request but can't change the labels.


godot -e with wrong filename results with segfault on OS X 10.10.1 (lldb output)

bin/godot.osx.tools.32 -e SOME_RANDOM_TEXT
Result (from lldb):
http://pastebin.com/nQP6HDJ2

Is this still valid in the current master branch?

I'll check it and answer here.
2015-11-05 9:48 GMT+01:00 Rémi Verschelde<EMAIL_ADDRESS>
Is this still valid in the current master branch?
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/972#issuecomment-153991287.

I'll check it and answer here.

What's the answer? :D

 ~/Library/Application Support/Steam/SteamApps/common/Godot Engine  ./godot.osx.opt.tools.32 -e SOME_RANDOM_TEXT
ERROR: create: Condition ' !create_func ' is true. returned: 0
   At: core/os/mutex.cpp:39.
nscreen count 1
added screen 1
ERROR: load: No loader found for resource: res://SOME_RANDOM_TEXT
   At: core/io/resource_loader.cpp:218.
ERROR: start: Failed loading scene: res://SOME_RANDOM_TEXT
   At: main/main.cpp:1428.
ERROR: free: Attempt to free invalid ID
   At: servers/spatial_sound/spatial_sound_server_sw.cpp:598.
ERROR: free: Attempt to free invalid ID
   At: servers/spatial_sound_2d/spatial_sound_2d_server_sw.cpp:612.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1904.

I'll see if I can reproduce on Linux, I guess the main.cpp should have a cleaner exit procedure after ERROR: load: No loader found for resource: res://SOME_RANDOM_TEXT.

There does not seem to be a crash on Linux, it seems to just close down. At least running it through gdb I did not get any backtrace.

Then it should print some proper message, and not:
"ERROR: create: Condition ' !create_func ' is true. returned: 0
At: core/os/mutex.cpp:39.
nscreen count 1
added screen 1
ERROR: load: No loader found for resource: res://SOME_RANDOM_TEXT
At: core/io/resource_loader.cpp:218.
ERROR: start: Failed loading scene: res://SOME_RANDOM_TEXT
At: main/main.cpp:1428.
ERROR: free: Attempt to free invalid ID
At: servers/spatial_sound/spatial_sound_server_sw.cpp:598.
ERROR: free: Attempt to free invalid ID
At: servers/spatial_sound_2d/spatial_sound_2d_server_sw.cpp:612.
WARNING: cleanup: ObjectDB Instances still exist!
At: core/object.cpp:1904."
2016-04-21 22:40 GMT+02:00 Rémi Verschelde<EMAIL_ADDRESS>
There does not seem to be a crash on Linux, it seems to just close down.
At least running it through gdb I did not get any backtrace.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/972#issuecomment-213105238

If it crashes, then the backtrace would be very welcome.

@neikeq it's in comment https://github.com/godotengine/godot/issues/972#issuecomment-200786383

@Marqin I don't see any backtrace in that comment :(

in my short test,
godot.windows.tools.64.exe -e RANDOM_TEXT > crash
godot.windows.tools.64.exe -editor RANDOM_TEXT > crash
godot.windows.tools.64.exe -editor -path RANDOM_TEXT > Project manager is opened.
what should be done without -path?

what should be done without -path?
I guess we could try to ignore RANDOM_TEXT and thus open the editor in the PWD. The current behaviour that exits with an error is OK, but it shouldn't crash, so we still need to find a proper fix for this OSX bug (and then maybe improve the behaviour for every platform).

@akien-mga sadly, I don't have a Mac. :(

Not critical for the upcoming 2.1, so moving to the next milestone.

Sneaky poke @BastiaanOlij.

I'll have a look next week @akien-mga , I had a bit of a crazy week with sick kids and too much work :)

There's a guard in this function that should prevent memdelete(main_loop) from being called if main_loop is NULL. The backtrace suggests that that is what's going on, according to git blame that NULL check has been in place since 2015.
Unless this is some kind of threading error, or the reporter made local changes, I don't see how this can even happen.
void OS_OSX::delete_main_loop() {

	if (!main_loop)
		return;
	memdelete(main_loop);
	main_loop = NULL;
}

From the stacktrace:
   1019 void OS_OSX::delete_main_loop() {
   1020
-> 1021         memdelete(main_loop);
   1022         main_loop=NULL;
   1023 }

This code hasn't existed for a while. I have no idea what's going on.

Well the last time we had an actual crash was in the OP in 2014. Everything afterwards was just confusion about the editor closing normally, while spouting some unhelpful errors. Nothing macOS-specific there.


enable travis CI

Mysql and Jython lib can get from maven repository.
Teradata jar is reference through reflection, as long as don't run test on Teradata ETL module, it won't failed.

LGTM.
Let us setup travis-ci


Fixed bug with Addressfinder Widget configuration

Addressfinder Widget Options don't apply because widget is looking for 'options' key, while it's named 'widgetOptions' in template which declares it

Hi Dmitriy, thanks for the fix. Cheers, Nigel


Dragging WindowDialog around causes resizing

This may relate to #369
https://github.com/okamstudio/godot/issues/369
I have a WindowDialog.
Anchor is (ratio,ratio,ratio,ratio)
I run the app, and drag the window around the screen and off screen. I grab it from the title bar.
The window seems to resize, even larger than the screen at some instances.
Notice while dragging the title bar, the title will lag behind and no longer be at the exact position of the mouse.

yes you probably don't want to use ratio for this but begin/end

See also #2048.

Seems fixed in current master HEAD. There's another bug with ratio, but I'll report it in a new issue.


Add webclient parameter for maximum number of http connections a client will pool

Signed-off-by: aavarghese<EMAIL_ADDRESS>Fixes #2203

Proposed Changes

Set webclient option in ConsumerVerticleFactoryImpl for maximum number of http connections a client will pool

Release Note

Set webclient option in `ConsumerVerticleFactoryImpl` for maximum number of http connections a client will pool

@pierDipi @aslom wdyt about setting pool size to # of vreplicas value for each verticle?

/cherry-pick release-1.5

/test unit-tests_eventing-kafka-broker_main
/test channel-integration-tests-ssl_eventing-kafka-broker_main

/test channel-reconciler-tests-sasl-ssl_eventing-kafka-broker_main
/test integration-tests_eventing-kafka-broker_main


armv7 docker image crashes on startup for v1.15.0 and v1.15.1

I'm running dungeon-revealer on Raspberry Pi 3B+:
$ uname -m
armv7l
$ docker --version
Docker version 20.10.7, build f0df350

Dungeon-revealer crashes on startup when run from images v1.15.0 and v1.15.1:
$ docker run --rm dungeonrevealer/dungeon-revealer:v1.15.0

#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0x7eaf65fc

v1.14.1 works fine:
$ docker run --rm dungeonrevealer/dungeon-revealer:v1.14.1

Starting dungeon-revealer.

Configuration:
- HOST: <IP_ADDRESS>
- PORT: 3000
- PUBLIC_URL: <none>

dungeon-revealer is reachable via the following addresses:

- http://<IP_ADDRESS>:3000
- http://<IP_ADDRESS>:3000

Player Section: http://<IP_ADDRESS>:3000
DM Section: http://<IP_ADDRESS>:3000/dm

-------------------

I'm not very familiar with node, so don't know, how to debug it further. I'll be happy to provide additional info, if needed.

It seems that alpine3.13 is using an updated version of musl that uses time64 (a 64-bit library) that will not run on 32-bit hardware (raspi). The quickest fix is to downgrade the base docker image to alpine3.12. See #1397. I want to test it on real hardware before it gets merged. In the long term we need to find another base image such as node:16-slim which is based on Debian buster.

Koenkk/zigbee2mqtt#7662
nodejs/docker-node#1477
Release_Notes_for_Alpine_3.13.0

@petertrr you can use dungeonrevealer/dungeon-revealer:dev until v1.15.2 gets released.

@petertrr you can use dungeonrevealer/dungeon-revealer:dev until v1.15.2 gets released.

@maxb2 wow, thanks for the quick fix!

@petertrr Now published as v1.16.0 🎉  https://github.com/dungeon-revealer/dungeon-revealer/releases/tag/v1.16.0


Add more key/value pairs into LOG2M_TO_SIZE_IN_BYTES in HllSizeUtils

This change would allow more options for log2m in HLL config.

This is ok but what are we gaining by this change. Is the accuracy changing dramatically

Yes without this change the best standard error (1.04 / sqrt(m)) is at ~4.6% when log2m = 9. With this change it goes down to ~0.57% (when log2m = 15).
In fact at Uber we have a table configured with log2m = 13 and we have a similar patch to accommodate that.

Codecov Report

Merging #4398 into master will increase coverage by 9.59%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master   #4398      +/-   ##
===========================================
+ Coverage      55.7%   65.3%   +9.59%
  Complexity       20      20
===========================================
  Files          1066    1066
  Lines         55403   55415      +12
  Branches       7894    7894
===========================================
+ Hits          30865   36189    +5324
+ Misses        22150   16656    -5494
- Partials       2388    2570     +182

Impacted Files
Coverage Δ
Complexity Δ

...va/org/apache/pinot/startree/hll/HllSizeUtils.java
80.95% <100%> (+25.39%)
0 <0> (ø)
:arrow_down:

...pache/pinot/core/util/SortedRangeIntersection.java
83.82% <0%> (-7.36%)
0% <0%> (ø)

...regation/function/customobject/QuantileDigest.java
57.74% <0%> (-0.45%)
0% <0%> (ø)

...ator/transform/function/BaseTransformFunction.java
29.95% <0%> (+0.42%)
0% <0%> (ø)
:arrow_down:

...g/apache/pinot/common/utils/helix/HelixHelper.java
56.25% <0%> (+0.56%)
0% <0%> (ø)
:arrow_down:

...ment/creator/impl/SegmentColumnarIndexCreator.java
87.45% <0%> (+0.76%)
0% <0%> (ø)
:arrow_down:

...r/transform/function/ValueInTransformFunction.java
39.2% <0%> (+0.8%)
0% <0%> (ø)
:arrow_down:

.../helix/core/realtime/SegmentCompletionManager.java
70.39% <0%> (+0.87%)
0% <0%> (ø)
:arrow_down:

...e/io/writer/impl/MutableOffHeapByteArrayStore.java
86.45% <0%> (+1.04%)
0% <0%> (ø)
:arrow_down:

.../pinot/core/segment/index/SegmentMetadataImpl.java
80.81% <0%> (+1.22%)
0% <0%> (ø)
:arrow_down:

... and 321 more

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 33f583b...12677db. Read the comment docs.


need realease note for stable releases

releases are here https://github.com/chrislusf/seaweedfs/releases
you can see the commits between the releases.

This is not professional.... Just like golang, The major release often have a realese note blog...


[Todo] Instructions for How to type an untyped module?

Instructions for How to type an untyped module?
this is something i put off doing for a LONG time when i orgiinally wrote the guide - but now i know its a hole in this page: https://react-typescript-cheatsheet.netlify.app/docs/basic/troubleshooting/types
lets add a basic "how to type somethign that is untyped" guide here.
open for any takers, or my future self

Hi @sw-yx!,
This is my first issue in this repository and would love to contribute.
Worked with untyped modules before while building sites using React, Material UI and Typescript.
I usually use declare module '${module name}' in an index.d.ts file in the root directory for any of the untyped modules I import as it preserves noImplicitAny and allowJs options in tsconfig.json.
I know it feels a little bit hacky, but does this meet your concerns?

P.S. a more hacky way will be to use declare module '*' but I don't use it.

@arvindcheenu yes welcome to do it!
i'd also suggest giving some tips on typing an untyped React library - eg. something that exports a component or a hook - how to add typings on to that :)

@arvindcheenu yes welcome to do it!
i'd also suggest giving some tips on typing an untyped React library - eg. something that exports a component or a hook - how to add typings on to that :)

Great! I'll work on that. Hope you can give me a couple of days so that I can write a solid.

sure thing :) also gotta decide where to put this.. i think probably in the Troubleshooting Handbook

huge thanks to @arvindcheenu for getting this over the finish line! 🎉  https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/pull/254
Great work Arvind, lmk if you see other issues you want to tackle, i am looking for more maintainers like you

huge thanks to @arvindcheenu for getting this over the finish line! 🎉 #254
Great work Arvind, lmk if you see other issues you want to tackle, i am looking for more maintainers like you

I would love to contribute in any way I can as I hope to learn more things every step of the way.
On an another note, the README doesn't seem to have been updated though it was in the commit. Is there a problem or shall I create make another PR referencing this?

@arvindcheenu  no problem - the README has been manually updated by me for now. honestly we need to make a script to do this.
the reason is historical - we want BOTH a nice docusaurus web-based experience, AND a nice github-only markdown reading experience. docusaurus wants the files inside one folder, whereas github wants the files at root. so we should just maintain a simple copy. a GitHub action would probably be enough.
feel free to try adding one! i'll add you as maintainer.

@arvindcheenu no problem - the README has been manually updated by me for now. honestly we need to make a script to do this.
the reason is historical - we want BOTH a nice docusaurus web-based experience, AND a nice github-only markdown reading experience. docusaurus wants the files inside one folder, whereas github wants the files at root. so we should just maintain a simple copy. a GitHub action would probably be enough.
feel free to try adding one! i'll add you as maintainer. there's more "reading UX" things i want to do here but i never made any time for it

First things first, thanks for adding me as a maintainer, @sw-yx ! I'm pumped!
Regarding the manual updation of README, I totally agree that we need an automation in place.
I'll give it a try. Though I've not used Github actions to automate repos before, this will be a good start.

@arvindcheenu its a GREAT skill to have :)
steal ideas from this:

https://github.com/sw-yx/sw-yx/blob/master/.github/workflows/node.js.yml
https://github.com/sw-yx/sw-yx/blob/master/scrape.js#L22-L40

@sw-yx  I was offline past couple of days. Just logged in. Have a preliminary understanding of running JS actions and I'm loving it. Gimme some time to work on this.

:) great stuff. happy to share this knowledge. i believe its a skill that will last our entire careers

@all-contributors Please add @arvindcheenu for code, content, documentation and maintenance.


Error in sentence -> root()

I tried this:
var string = 'I am walking.'
var sentence = nlp.sentence(string)
var root = sentence.root()
console.log(root);

The output is "i am walk", but i think the correct output should be 'i be walk'.
Same thing with "You are walking.", "She is walking." and so on. ('was', 'were')

hi Elias, thanks for this.
i laughed out loud when i looked into this and found this comment ;)
you're right about this. I'm gonna punt it to the v7 release, as it's a bit chunky, and there's some relevant changes happening there.
will leave this open

hey Elias, got this working a little differently now, since v7.
var nlp=require('compromise')
var sentence = nlp('I am walking.')
var root = sentence.out('root')

you can see it in action here
cheers


Refactor styling for user presence rows and group PM rows for better alignment

Before:

After:

Thanks for working on this!
I merged the first 3 commits, after fixing a missing } in the SCSS nesting commit.
The updated right sidebar looks great, but this definitely regresses the left sidebar -- look at where "Verona"'s unread count is.  I'll also mention I tested the user avatar click popovers since they were also affected by the presence changes.
As a sidenote, you should also test the setting to put the right sidebar content on the left side (it's pretty ugly in general, but we should make sure we didn't break alignment there).
The other concern I have about this is performance -- we can render many hundreds of right sidebar user entries, so it's possible using a more expensive flex setup there could be really slow.  You can likely simulate this with ./manage.py populate_db --num-users=1000.  And then do a performance profile to make sure there isn't a big lockup when a presence update comes in (e.g. when a new user logs in in an incognito tab) that e.g. the painting phase isn't dramatically more expensive than before.

@timabbott  I'll look into the performance part and left sidebar regressions. Can you check 3d6a01e and 7e02fd3 to see if they can be merged first? They should be standalone commits.

Can you rebase with those on the bottom, and test them independently?  Certainly the first commit I didn't merge had a visual problem in one of the sidebars if merged alone, which is why I stopped where I did.

@timabbott I rebased this PR without the commits modifying the user presence rows (have those backed up to a local branch) and only left the 2 commits that I believe are standalone. This is what I see from my end with those 2 commits:

Looks great, merged, thanks @synicalsyntax!


Implement a state machine

We're in the situation now where the NATS client connection can be in many states e.g. preconnection, fatal error, invalid message in buffer etc. Using a state machine could reduce the complexity of handle states going forward.

States:

Initialised
Connected
ConnectionError
EmptyBuffer
NonEmptyBuffer
FullBuffer
InvalidBuffer
OverloadedMessage
InvalidMessage

Possible we need a top level state machine and a buffet state machine 🤔


Update ovirt-engine-sdk gem version to 4.0.2

Update ovirt-engine-sdk gem version to 4.0.2.
https://github.com/ManageIQ/manageiq/pull/11418 requires it, and there are several bug fixes based on that PR.
@miq-bot add-label euwe/yes
@miq-bot assign @durandom

@simaishi doesnt the current
gem "ovirt-engine-sdk",               "~>4.0.0"

pull in 4.0.2 at build time of the appliance anyways?
So, I'm not sure if this is needed at all

@durandom Please always update Gemfile if minimum version changes, as it's not guaranteed it will use the latest version available.

@simaishi ah, ok. thanks.
@miq-bot assign blomquisg
@blomquisg please merge this

Euwe Backport details:
$ git log
commit 97de97206267b39dbe17ac31e69df91038df83b4
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Wed Oct 5 10:04:43 2016 -0400

    Merge pull request #11705 from borod108/update_ovirt_gem_version

    Update ovirt-engine-sdk gem version to 4.0.2
    (cherry picked from commit b2aea1082278ec9712f24f25b6373c0001138cef)


Developers should be able to configure to the output type of LocalFileSystemPipe

Reporter
Laurens/Bonno
Is your feature request related to a problem? Please describe.
When looking at the IbisDoc and at the FileSystemActor class it seems that the result is always returned as a stream when action="read"
Streams are great, but sometimes you actually want to read the contents of a file instead of passing the stream along.

Describe the solution you'd like
I'd like to see an option to either have a stream or string/text output type.
Describe alternatives you've considered
There are some work-arounds possible, but are super ugly. Such as converting to base64 and converting base64 to text or to use the older file pipe..
Additional context
Add any other context or screenshots about the feature request here.

Reading the contents should be transparent. If the contents is used multiple times, e.g. also in a parameter, the input is automatically preserved as a String or byte array.
In case you still see a problem, please provide a case that does not work as expected, or works in an undesirable way.

So passing the stream to an xslt pipe would actually be no problem?

Yes, it would be no problem

Cool! Solved 👍


Change oras-project/registry tag

There was a missing . in the image tag for ghcr.io/oras-project/registry:v1.0.0-rc2.
See https://github.com/oras-project/distribution/pkgs/container/registry

@Duffney Could you fix the DCO check by signing of your commit? After that, we can approve and merge your code.

@Duffney Could you fix the DCO check by signing of your commit? After that, we can approve and merge your code.

Of course, not a problem. :)

LGTM


Duplicate scripts install_deps_* and install_dependencies_*

Why are there two sets of scripts to install dependencies?
https://github.com/capergroup/bayou/tree/master/tool_files/build_scripts
https://github.com/capergroup/bayou/tree/master/src/main/bash/binary_release
We should just have one set that installs everything needed to build/run Bayou, and copy it wherever we want after packaging.

The first installs the deps you need to run ./build.sh in the same directory.  The second defines what the end user would need to install to run Bayou if they downloaded the binary release.
I disagree that we should just have one script to install all deps for either building or running Bayou.  The dependencies a dev needs to build are different than what an end user needs to simply run.  For example, if you are an end user that just downloads one of the release zip files (i.e. a binary release) you don't need to install Maven and you don't need the JDK (just JRE).  However, if you are a dev looking to run ./build.sh you do need to install both Maven and the JDK.

Though, I'm not sure that pip stuff needs to be there on second glance of the first file. I don't think the build system cares if that stuff is installed yet.  But the maven and jdk parts are required.

In that case, there should be one script that accepts different command line arguments, such as install_deps.sh mac user, install_deps.sh linux dev, etc. I just upgraded the dep version for scikit-learn, and I had to update 4 different files (not to mention in different directories), which just doesn't make sense.

Can you point me to the commit where you had to change it in 4 places?  I'd like to identify the 4 places.

3f64aed -- the 4 .sh files that I had to update.

I remember why those pip lines are there now.  Prior to having them there was an objection to a developer having to run /binary_release/install_dependencies_apt.sh and then out/install_dependencies_apt.sh to start the program.
As such, we might consider replacing the pip lines with
apt-get update
apt-get install openjdk-8-jdk maven
../../src/main/bash/binary_release/install_dependencies_apt.sh

Though, I still stand behind my claim that the script should be:
apt-get update
apt-get install openjdk-8-jdk maven

because that is all that is required to run build.sh

How about we have a single script with a command line option? In any case, we shouldn't have four scripts with two for Mac/Linux each. As I mentioned, use uname to detect the OS which will return "Darwin" for Mac.

uname makes sense to me. I guess it's still a a little unclear to me what the command line switch is supposed to do.

I think this gives us a single point of control on the pip statements across all .sh files:
https://github.com/capergroup/bayou/commit/8afce343667be32f22014b7e9c6ea7d370ae135c

Looks good. Can you also update README.md and start a pull request?

Done.

Merged PR #55.

@rmbarnett-rice, Do we need the issue-50 branch alive, given that this issue has been closed?

I see the issue is marked as awaiting merge, but also your comment that it was merged.  So I think we are ok to close the branch.


Error Sensor

Hello,
I'm trying to install Viseron on a server at home and I end up with an error I don't understand. Can you help me? Thank you very much.
Traceback (most recent call last):

  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()

  File "/src/viseron/lib/nvr.py", line 495, in run
    self.update_status_sensor()

  File "/src/viseron/lib/nvr.py", line 484, in update_status_sensor
    self._mqtt.status_state = status

  File "/src/viseron/lib/nvr.py", line 90, in status_state
    self.devices["sensor"].publish(state, attributes=self.status_attributes)

KeyError: 'sensor'

config.yml
cameras:
  - name: Test
    host: <IP_ADDRESS>
    port: 554
    path: /user=admin&password=****&channel=1&stream=0.sdp
    width: 1920
    height: 1080
    stream_format: rtsp
    fps: 10
    logging:
        level: debug

Sorry about this, i will post a fix shortly to avoid this problem.

version 1.7.2 is now out and fixes this


Fix dead link from documentation to http://labs.consol.de

there are http://labs.consol.de/jenkins and http://labs.consol.de/sonar/dashboard/index/org.jolokia:jolokia from index.xml file
and there is also one reference in

which i don't know how to update

Is http://labs.consol.de/jenkins still a thing? Is there something that is replacing it?
for Sonar, we can point to https://sonarcloud.io/project/overview?id=org.jolokia%3Ajolokia

Changed to:

For now I left references to consol.de and sonar from older news.


.mtime returns float, not Mtime object causes attribute errror

Snakemake version

7.2.0
Describe the bug

Executing using GLS with a checkpoint rule. The workflow runs fine on its first go when no outputs have been generated - the workflow stops due to rule error (a problem with the rule itself). When I try to rerun the workflow after editing the rule I get this error.
In my logs below, the job 'processmapp' was the last job run successfully (i.e. the output of processmapp exists). So snakemake should pick up at that point but it errors out. If I delete the output of the rule before processmapp then the KeyError and attribute error just reference the rule before. Can repeat this until we get to the output of the checkpoint - once I delete the output of the checkpoint then Snakemake runs fine.
I looked into this a little bit and for some reason f.mtime is returning a float only for the output file of the error producing rule.
https://github.com/snakemake/snakemake/blob/37f8c11d5f8e4529e134b03f8e3b9ef240a25a1c/snakemake/jobs.py#L575
Logs

uilding DAG of jobs...
Updating job gather_msmc_input.
Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/envs/snakemake7.1.1/lib/python3.10/site-packages/snakemake/dag.py", line 940, in update_output_mintime
    return output_mintime[job]
KeyError: processmapp

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/envs/snakemake7.1.1/lib/python3.10/site-packages/snakemake/dag.py", line 944, in update_output_mintime
    t = output_mintime[job_]
KeyError: processmapp

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/envs/snakemake7.1.1/lib/python3.10/site-packages/snakemake/__init__.py", line 714, in snakemake
    success = workflow.execute(
  File "/home/ubuntu/miniconda3/envs/snakemake7.1.1/lib/python3.10/site-packages/snakemake/workflow.py", line 779, in execute
    dag.update_checkpoint_dependencies()
  File "/home/ubuntu/miniconda3/envs/snakemake7.1.1/lib/python3.10/site-packages/snakemake/dag.py", line 1387, in update_checkpoint_dependencies
    self.postprocess()
  File "/home/ubuntu/miniconda3/envs/snakemake7.1.1/lib/python3.10/site-packages/snakemake/dag.py", line 1237, in postprocess
    self.update_needrun()
  File "/home/ubuntu/miniconda3/envs/snakemake7.1.1/lib/python3.10/site-packages/snakemake/dag.py", line 1022, in update_needrun
    update_output_mintime(job)
  File "/home/ubuntu/miniconda3/envs/snakemake7.1.1/lib/python3.10/site-packages/snakemake/dag.py", line 946, in update_output_mintime
    t = job_.output_mintime
  File "/home/ubuntu/miniconda3/envs/snakemake7.1.1/lib/python3.10/site-packages/snakemake/jobs.py", line 574, in output_mintime
    mintime = min(
  File "/home/ubuntu/miniconda3/envs/snakemake7.1.1/lib/python3.10/site-packages/snakemake/jobs.py", line 575, in <genexpr>
    f.mtime.local_or_remote() for f in self.expanded_output if f.exists
AttributeError: 'float' object has no attribute 'local_or_remote'

Minimal example

Not yet, working on it.
Additional context

closed #1484


Update project requirements

Describe the bug
Calls to anesthetic.plot.scatter_plot_2d error with messages along the lines of:
FAILED tests/test_samples.py::test_plot_2d_types - AttributeError: type object 'Line2D' has no attribute 'items'
When running tests with mpl 3.1.3 (meeting current requirement of mpl>=3.1.2)
To Reproduce
Run test suite with mpl=3.1.3
Expected behavior
Update requirements file. It looks like the cbook.normalize_kwargs function changed since matplotlib>=3.3.0, so this should be sufficient but I only checked with 3.3.3 (latest)
Additional context

Thanks for flagging this up, @yallup, this will be updated in #138.

Thanks for flagging this up, @yallup, this will be updated in #138.


simulator.Mouse.MoveMouseTo() can't let mouse to be the correct location

I use simulator.Mouse.MoveMouseTo(910, 200) to let mouse the a position where I want it be, but the mouse always be in the left-top corner of my minitor (I only have one monitor).

Bump


IFS browser: Error moving files to directories with spaces in the pathname

When uploading a file to a folder on the IFS browser that has a location with a space in the name and then trying to move it to a subfolder in this folder. I get an error.

Based on the error I'm guessing it cuts of the path at the space and only takes the part of the path after the space to try and move the file

Context
Version

Code for IBM i version
2.13.0

Visual Studio Code version
1.92.2

Operating System
win32_x64

Active extensions
COBOL (cobol): 10.8.29
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
Configuration Editing (configuration-editing): 1.0.0
Db2 for IBM i (vscode-db2i): 1.3.1
Dev Containers (remote-containers): 0.380.0
Diff & Merge (diff-merge): 0.7.0
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.20.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitLab Workflow (gitlab-workflow): 5.9.0
IBM i Debug (ibmidebug): 2.0.1
IBM i FileSystem (vscode-ibmi-fs): 0.0.1
IBM i Notebooks (vscode-ibmi-notebooks): 0.0.6
IBM i Project Explorer (vscode-ibmi-projectexplorer): 2.11.1
IntelliCode (vscodeintellicode): 1.3.1
JSON Language Features (json-language-features): 1.0.0
Merge Conflict (merge-conflict): 1.0.0
Node Debug Auto-attach (debug-auto-launch): 1.0.0
RPGLE (vscode-rpgle): 0.26.8
Rainbow CSV (rainbow-csv): 3.12.0
TODO Highlight (vscode-todo-highlight): 1.0.5
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
undefined (vscode-sourceorbit): 1.2.3

Remote system

Setting
Value

IBM i OS
V7R5M0

Tech Refresh
2

CCSID Origin
65535

Runtime CCSID
65535

Default CCSID
500

SQL
Enabled

Source dates
Disabled

Enabled features

/QOpenSys/pkgs/bin
/usr/bin
/QSYS.lib/ILEDITOR.lib
/QSYS.LIB
/QIBM/ProdData/IBMiDebugService/bin

bash
attr
GETNEWLIBL.PGM
QZDFMDB2.PGM
startDebugService.sh

chsh
iconv

git
setccsid

grep
tar

ls

md5sum

sort

stat

Shell env
BUILDLIB=EASKVHU
CURLIB=EASKVHU
HOME=/home/EASKVHU
HOST=<IP_ADDRESS>
LIBLS=QTEMP QGPL QS36F ASSAB SUBR36 SPESAB ASBOEKTEST ASBOEKV2 TESCOMMON TESBH ASBOEKV3 TESDEV NEWLOON ACCLOON TESLOON NEWLOONP NEWLOONA NEWLOONT
LOGIN=easkvhu
LOGNAME=easkvhu
MAIL=/var/spool/mail/easkvhu
OLDPWD=/home/EASKVHU
PASE_USRGRP_LIMITED=N
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin:/QOpenSys/usr/bin:/usr/bin
PWD=/home/EASKVHU
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=<IP_ADDRESS> 60640 22
SSH_CONNECTION=<IP_ADDRESS> 60640 <IP_ADDRESS> 22
TZ=<CET>-1<CEST>,M3.5.0,M10.5.0/03:00:00
USER=easkvhu
USERNAME=easkvhu
WORKDIR=/home/EASKVHU
_=/QOpenSys/pkgs/bin/env

Variants
{
  "american": "#@$",
  "local": "#@$"
}

Errors
[
  {
    "command": "cd '/Import Hastus/IN' && /QOpenSys/pkgs/bin/stat --dereference --printf=\"%A\t%h\t%U\t%G\t%s\t%Y\t%n\n\" * .*  ",
    "code": 1,
    "stderr": "/QOpenSys/pkgs/bin/stat: cannot stat '*': No such file or directory",
    "cwd": "/home/EASKVHU"
  },
  {
    "command": "cd '/Import Hastus/IN' && /QOpenSys/pkgs/bin/stat --dereference --printf=\"%A\t%h\t%U\t%G\t%s\t%Y\t%n\n\" * .*  ",
    "code": 1,
    "stderr": "/QOpenSys/pkgs/bin/stat: cannot stat '*': No such file or directory",
    "cwd": "/home/EASKVHU"
  },
  {
    "command": "cd '/Import Hastus/IN' && /QOpenSys/pkgs/bin/stat --dereference --printf=\"%A\t%h\t%U\t%G\t%s\t%Y\t%n\n\" * .*  ",
    "code": 1,
    "stderr": "/QOpenSys/pkgs/bin/stat: cannot stat '*': No such file or directory",
    "cwd": "/home/EASKVHU"
  }
]

@kaspervanderhulst Are you dragging the file to the subfolder in IFS Browser and selecting Move (or have move as the default drag and drop behavior)?
I just want to confirm I've understood your issue correctly before publishing a fix for your error...

I am indeed dragging and dropping the file and then selecting 'Move'

@kaspervanderhulst I will notify your on this issue report when a fix is ready - stay tuned!

@kaspervanderhulst We have fixed your issue, and you can test it by installing pre-release 2.13.1. 😃


man/state/raft/trans/peer: use AfterFunc for context watchdog

Address https://github.com/moby/swarmkit/pull/3122#discussion_r1161904910 by taking the recommendation to reduce resource churn.

Codecov Report

Merging #3128 (6b42535) into master (c6f9c0d) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3128      +/-   ##
==========================================
+ Coverage   61.69%   61.74%   +0.05%
==========================================
  Files         154      154
  Lines       31120    31106      -14
==========================================
+ Hits        19198    19206       +8
+ Misses      10377    10356      -21
+ Partials     1545     1544       -1


Roll engine to 3e9912698955ed5a2ebc5c9433197c42c8c068f3

Includes:

Provide lookup key to access Flutter assets in the APK (flutter/engine#4785)
Roll skia and update licenses (flutter/engine#4797)
libtxt: retain hard line breaks when calculating maxIntrinsicWidth (flutter/engine#4796)

This should land before #15623 so we get independent benchmark numbers for the Skia roll and the Dart roll.

/cc @rmacnak-google