8 high severity vulnerabilities

This web app is using old libraries which have security issues, building financial tools implicates we should do all in our hands to have better security and using old libraries is giving a big advantage to attackers, here is npm output
$ npm audit
# npm audit report

glob-parent  <5.1.2
Severity: high
glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex - https://github.com/advisories/GHSA-ww39-953v-wcq6
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/watchpack-chokidar2/node_modules/glob-parent
  chokidar  1.0.0-rc1 - 2.1.8
  Depends on vulnerable versions of glob-parent
  node_modules/watchpack-chokidar2/node_modules/chokidar
    watchpack-chokidar2  *
    Depends on vulnerable versions of chokidar
    node_modules/watchpack-chokidar2
      watchpack  1.7.2 - 1.7.5
      Depends on vulnerable versions of watchpack-chokidar2
      node_modules/webpack/node_modules/watchpack
        webpack  4.44.0 - 4.46.0
        Depends on vulnerable versions of watchpack
        node_modules/webpack
          @nuxt/webpack  >=2.14.0
          Depends on vulnerable versions of webpack
          node_modules/@nuxt/webpack
            @nuxt/builder  >=2.14.0
            Depends on vulnerable versions of @nuxt/webpack
            node_modules/@nuxt/builder
            nuxt  2.14.0 - 2.16.3
            Depends on vulnerable versions of @nuxt/builder
            Depends on vulnerable versions of @nuxt/webpack
            node_modules/nuxt

8 high severity vulnerabilities

I never worked with vue or nuxt but just checking on package.json file I see nuxt: ^2.15.8 and the current version is 3.4.1, same with vue: ^2.7.10 current version is 3.2.47.
Please upgrade all libraries, we can't encourage users to use a vulnerable app and risk to be hacked and losing sats

Vue 2.7 is actually the latest in the 2.x series. Vue 3 introduced some breaking changes and new features I'm not completely familiar with, and thus decided to start with Vue 2 to get moving fast.
That being said there was a lot of shuffling around I did with babel and other build tool versions in order to try to fix this issue with nostr-tools. In the end I ended up including it in the HTML for now but that could be the reason why we have so many vulnerabilities in the npm audit report.
This is definitely something that needs fixing before going live and I'll come back to it as soon as I'm finished with the basic functionalities. If someone wants to contribute this would be a nice first issue so tackle.
Also Vue 2 end of life is due by the end of 2023, so making the migration is something we'll have to put in the roadmap.

Great, let's have this open until we have a fix, this issue is blocking production but we are not there yet.

I have fixed it here https://github.com/MostroP2P/mostro-web/pull/2

Thanks again for the contribution @diazemiliano. But I wanted to go a bit deeper into this issue and here's what I could find. The problem as you correctly point out in the PR seems to be CVE-2021-35065. This is an issue with glob-parent 6.0.0. Now looking closer at the dependency tree after doing an npm ls -a we can see that glob-parent is used by two libraries:

chokidar
fast-glob

Chokidar is a NodeJS library used as a replacement for fs.watch and is more likely used in the fresh reload feature used during development. Similarly fast-glob is a file system traversal tool. Being tools used at compile/dev-time in NodeJS, it is very unlikely that they would pose any risk to any final user.
Moreover both libraries have dismissed the issue claiming it to be a false positive since apparently glob-parent v5.1.2 is safe from CVE-2021-35065.
See here & here.
Issues with the vulnerability scanners and their databases are not that uncommon and they can occur even after we migrate to vue 3. Regardless of all this, your PR did work without breaking stuff & obviously made the audit pass so I think we can safely close this issue for now. Thanks again!

Great thanks, yes the vulnerability it's solved in version 6.0.1
The suggestion is to upgrade because it's more likely to have this fixes solved by the maintainers of nuxt or vue.
But we are fine now. Thanks again.


Implementation of python-pip build action

Description:
Parent tracking issue for the python-pip build
@stealthycoin please edit the issue and add tasks breakdown, if you'd like.
Task Breakdown:

[ ] Task 1
[ ] Task 2

#7 implements this


In game Discord Presence feature request

Quoting a discord user

I'd love it if RL Rich Presence said where you actually are and what boss your killing instead of just. 'Training Attack'

It would be neat, but what’s the most effective set of variations to target?
Would we also want things like “In Fishing Guild”?

Added in #2899


Why is running a text slider and a visual slider with the same 1k steps a text slider many times slower than a visual slider?

Thank you for your work。
Why is running a text slider and a visual slider with the same 1k steps a text slider many times slower than a visual slider?

The training part is little different for visual sliders and text sliders.

Visual sliders already have images to work with, so all they need to do is image inversion and optimize
Text sliders on the other hand need to generate an image partially and then work on it.
Plus text sliders use 4 different concepts (target, unconditional, neutral, positive) whereas visual sliders use only 2 concepts to learn (positive, unconditional)

Hope that makes sense

nice thanks for that, was wondering myself


runtime: ftrules: also match /usr/lib/udev/rules.d for udevrules

Distros that has a merged /usr will have all udev rules under /usr/lib/udev/rules.d. Vim should detect this path and set filetype correctly.

Please also update src/testdir/test_filetype.vim.

Added checks for udevrules, but I have no idea why that test fails on w32 but not on linux, freebsd, or mac.

I see this is already merged as 8.2.1474 and 8.2.1476. Thanks!


what this for bug?

Environment Info
kivy: 1.9.1
pygments: 2.0.2
docutils: 0.12
watchdog: 0.8.3
jedi: 0.9.0
gitpython: 1.0.1
six: 1.10.0
kivy-garden: 0.1.4
Platform: Windows-10-10.0.10586
Python: 3.4.4
Traceback
Traceback (most recent call last):
File "C:\Python\Python34\lib\site-packages\kivy\core\window\window_sdl2.py", line 619, in mainloop
self._mainloop()
File "C:\Python\Python34\lib\site-packages\kivy\core\window\window_sdl2.py", line 362, in _mainloop
EventLoop.idle()
File "C:\Python\Python34\lib\site-packages\kivy\base.py", line 330, in idle
self.dispatch_input()
File "C:\Python\Python34\lib\site-packages\kivy\base.py", line 315, in dispatch_input
post_dispatch_input(*pop(0))
File "C:\Python\Python34\lib\site-packages\kivy\base.py", line 221, in post_dispatch_input
listener.dispatch('on_motion', etype, me)
File "kivy_event.pyx", line 718, in kivy.event.EventDispatcher.dispatch (kivy_event.c:7699)
File "C:\Python\Python34\lib\site-packages\kivy\core\window_init.py", line 1030, in on_motion
self.dispatch('on_touch_down', me)
File "kivy_event.pyx", line 718, in kivy.event.EventDispatcher.dispatch (kivy_event.c:7699)
File "C:\Python\Python34\lib\site-packages\kivy\core\window_init.py", line 1046, in on_touch_down
if w.dispatch('on_touch_down', touch):
File "kivy_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kiv

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30026942-what-this-for-bug?utm_campaign=plugin&utm_content=tracker%2F77147&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F77147&utm_medium=issues&utm_source=github).

Hi @Tomis1 ,
Thanks for posting these bugs, I'll be working on them. Can you provide more information about this one? How did you get it? If you can reproduce it, can you use "Copy to clipboard" and post the output here please?
Looks like that this traceback is not complete, probably your web browser is limiting the url size.

Hi @Tomis1 ,
I'm closing this issue because I don't have enough information to reproduce it(the traceback is not complete, probably because of your web browser.). If you find a new bug, please, create a new issue using the "Copy to Clipboard" button.
Thank you.


TypeError when used the 'MoleculeStructure.vue' in VUE

Describe the bug
<template>

    <HelloWorld msg="Welcome to Your Vue.js + TypeScript App" />
    <MoleculeStructure id="draw1" structure="NC(=O)CCC(N)C(=O)O" :width="350" :height="300"></MoleculeStructure>

</template>

bug goes below
MoleculeStructure.vue?0783:190
    TypeError: window.initRDKitModule is not a function
    at eval (initRDKit.ts?c60a:16:1)
    at new Promise (<anonymous>)
    at eval (initRDKit.ts?c60a:15:1)
    at eval (MoleculeStructure.vue?0783:180:1)
    at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:155:1)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:164:1)
    at hook.__weh.hook.__weh (runtime-core.esm-bundler.js?5c40:2682:1)
    at flushPostFlushCbs (runtime-core.esm-bundler.js?5c40:339:1)
    at flushJobs (runtime-core.esm-bundler.js?5c40:393:1)

@ZhitaoTian this is not clear in the docs yet, but you have to extend the window object (at the root of your project), then it should remove the type errors:
declare global {
    interface Window {
        initRDKitModule: RDKitLoader;
    }
}

also you need to make sure this is included in your root index.html head tag:


Fix hard-coded database filename in Wasm client

The database filename is hard-coded in wasm:
    const db: Database = new sqlite3.oo1.DB('/mydb.sqlite3', 'ct');

Fix that by parsing the URL with file:// protocol.

Fixed by https://github.com/tursodatabase/libsql-client-ts/pull/171


(754) Redirect all traffic to a new maintenance page

Context
https://trello.com/c/QqHdrhLZ
Changes in this PR
We add a new environment variable which we can use to redirect users to in certain situations. The immediate one being we want to turn on production whilst waiting for our authority to operate to be approved.
We may also have need of this in future in other ways if the service becomes unhealthy. In which case we can look to extend the copy of this new page to be more useful. Suggesting what people should do in the mean time, wait? or submit an application via another means.
I'm imagining that a second part to this work will be weaving through the logic to allow CAS2_ADMINS to bypass this in order to test the service.

Testing this with an integration test was hard so I had to leave it with unit tests. More info in the commit.
When adding a new static page there didn't seem to be an existing pattern so following this conversation I've proposed a new staticController which can be used for this and other pages like the cookie policy and privacy policy.

Screenshots of UI changes

Release checklist
As part of our continuous deployment strategy we must ensure that this work is
ready to be released at any point. Before merging to main we must first
confirm:
Pre merge checklist

[ ] Are any changes required to the e2e tests?
[ ] If you've added a new route, have you added a new
auditEvent? (see server/routes/apply.ts for examples)
[ ] Are there environment variables or other infrastructure configuration which needs to be included in this release?
[ ] Are there any data migrations required. Automatic or manual?
[ ] Does this rely on changes being deployed to the CAS API?

Post merge checklist
Once we've merged it will be auto-deployed to the dev environment.
Find the build-and-deploy job in CircleCI.
Should a release fail at any step, you as the author should now lead the work to
fix it as soon as possible.

@Harriethw I've renamed that environment variable and added:

a missing unit test file staticController
a small piece to the readme to refer to the maintenance page as a utility we have available

Will merge this in at some point on Monday 👍

@tahb nice one!
Would this be on option in our disaster recovery plan too? https://dsdmoj.atlassian.net/wiki/spaces/AP/pages/4536664517/Disaster+recovery+-+CAS2

Yes absolutely. I'll merge this and link it together.


Typing C-o looks to raise hang up until Enter or ESCAPE is typed (on 4.3beta)

.

Fixed binary on 4.3beta2 & Close


[BUG][WEBJS] - Unable to Send Audio - Timeout Error

Describe the bug
Unable to send audio message using audio type option.
It results in timeout error.
Version
{
"version": "2024.6.8",
"engine": "WEBJS",
"tier": "PLUS",
"browser": "/usr/bin/chromium"
}
To Reproduce Steps to reproduce the behavior:
Send following request.
{"chatId":"XXXXXXX@c.us","session":"XXXXX","type_of_file":"audio","type":"media","file":{"mimetype":"audio\/oga","filename":"2024-07-02-14-15-46903381.oga","url":"https:\/\/xxxxxxx.s3.eu-west-3.amazonaws.com\/2024-07-02-14-15-46903381.oga"},"caption":""}

Expected behavior
It should send audio message.
Engine I'm using WEBJS engine.
Requests - Responses
Send following request.
{"chatId":"XXXXXXX@c.us","session":"XXXXX","type_of_file":"audio","type":"media","file":{"mimetype":"audio\/oga","filename":"2024-07-02-14-15-46903381.oga","url":"https:\/\/xxxxxxx.s3.eu-west-3.amazonaws.com\/2024-07-02-14-15-46903381.oga"},"caption":""}

Response
cURL error 28: Operation timed out after 20001 milliseconds with 0 bytes received

Docker Logs
[0702/141547.709005:INFO:CONSOLE(133)] "Event handler of 'x-storagemutated-1' event must be added on the initial evaluation of worker script.", source: https://static.whatsapp.net/rsrc.php/v3/y_/r/pC0cxBwVVkV.js?_nc_x=Ij3Wp8lg5Kz (133)

Related to video too https://github.com/devlikeapro/waha/issues/400

Hi! Could you try to use devlikeapro/waha-plus:chrome 2024.7.2 version and send the example below?
{
  "chatId"<EMAIL_ADDRESS>  "file": {
    "mimetype": "audio/ogg; codecs=opus",
    "url": "https://github.com/devlikeapro/waha/raw/core/examples/dev.likeapro.opus"
  },
  "session": "default"
}

if that works, but your voice doesn't - kindly share it with me (you can DM payload to me)

Hi! I believe it's been fixed in latest version (after https://boosty.to/wa-http-api/posts/a6c01a2d-704e-4066-978a-890e84de9da1)
Let me know if it's happening!


Tracing is already started

| Component | Tracing  - 0.26.0
| Operating system	  	 	|  Mac OS High Sierra
| Node.js					|   8.9.4
| Chrome/Chromium/...		| 67.0.3396.99
| chrome-remote-interface	|   0.26.0
Is Chrome running in a container?  NO
I'm trying to collect complete timelines using the chrome remote interface and tracing. The code that
I have navigates to a page using webdriver IO and the chromedriver. Once the webdriver session has started, I can obtain the port for the chrome debugging protocol from the fileDevToolsActivePort and connect to establish a connection to chrome debugging protocol and start tracing.
The code that I'm using is capable of connecting, but once i try to start tracing i get an error that states: "Tracing is already started". (Even though is the first time i start tracing) Debugging further, this seems to be coming from chrome, the code fails in these lines: https://github.com/cyrus-and/chrome-remote-interface/blob/master/lib/chrome.js#L87-L89
I've tried stopping the tracing before starting it, but it fails because i have not started tracing =|
I am not starting tracing anywhere else, only than in the code shown below. I have another method on where I'll end Tracing and write the events to a file. I make CDP client part of the webdriver io client.
const options = {             port: webdriverIOClient.remoteDebuggingPort,             webSocketDebuggerUrl: ws://localhost:${webdriverIOClient.remoteDebuggingPort}${webdriverIOClient.webSocketDebuggerUrl}`
};
    const getCDP = async () => {
      if (webdriverIOClient.cdpClient) {
        return webdriverIOClient.cdpClient;
      }
      let cdpClient = null;

      await CDP(options, async (browser) => {
        try {
          const events = [];
          const { Page, Tracing } = browser;
          Tracing.dataCollected(({ value }) => {
            events.push(...value);
          });
          cdpClient = browser;
          cdpClient.events = events;
          await Tracing.start({
             bufferUsageReportingInterval: 500,
             categories:
               "-*,devtools.timeline,v8.execute,disabled-by-default-devtools.timeline,disabled-by-default-devtools.timeline.frame,toplevel,blink.console,blink.user_timing,latencyInfo,disabled-by-default-v8.cpu_profiler,disabled-by-default-v8.cpu_profiler.hires,disabled-by-default-devtools.timeline.stack,disabled-by-default-devtools.screenshot",
             options: "sampling-frequency=10000",
             transferMode: "ReportEvents"
           });
           webdriverIOClient.cdpClient = browser;
        } catch (error) {
          console.log(`we hit an error trying to get the CDP `, error)
        }
      });
      return cdpClient;
    }; `

This is a bug in Chrome and it's tracing controller. We run into it in Lighthouse as well.
Currently we don't have a fix for it, unfortunately. It requires some investigation.

Thanks @paulirish is this a recent issue? Maybe i can go back to old versions of chrome.
Also, It would be awesome if there was a chromium issue around (i haven't found one).

@brunotg the Lighthouse issue is dated back to 2016: GoogleChrome/lighthouse#1091


Open Source - Release 2 (t-shirt)

Placeholder

adjusting placeholder based on cards that have been written

Reducing placeholder based on remaining cards to be sized

Used up, closing


vue bundle problem of use in require js like common js module

Vue version
3.2.45
Link to minimal reproduction
if require as unpkg(dist/vue.global.js) ,it will throw undefined because it's warped with a IIFE and break exports
in vue.global.js:
(function (exports){
    var Vue = vue code

// here pass a object break common js make right export
})({})

Steps to reproduce
in vue package.json main and unpkg field should return commonjs and universal module definition.
if require path as main defined(index.js) it will require 'fs' , it will throw exception in browser env by it's dependencies
{
  "name": "vue",
  "version": "3.2.45",
  "description": "The progressive JavaScript framework for building modern web UI.",
  "main": "index.js",
  "module": "dist/vue.runtime.esm-bundler.js",
  "types": "dist/vue.d.ts",
  "unpkg": "dist/vue.global.js",
  "jsdelivr": "dist/vue.global.js",
  "files": [
.....

in my app i wrote a warpper like:
function (require,exports,module){

    // exports can't working well because a {} replaced exports
    `${vue.global.js}`

}

i think the out put should relate on some common definition,
What is expected?
adapt with UMD or CMD module definition
What is actually happening?
throw error
System Info
No response
Any additional comments?
No response

The unpkg entry isn't supposed to be directly required, it's normal it doesn't work. The exports are, in this case, correct. If anything, we could add extra exports as proposed in other issues.

The unpkg entry isn't supposed to be directly required, it's normal it doesn't work. The exports are, in this case, correct. If anything, we could add extra exports as proposed in other issues.

i think unpkg bundle should use UMD definition to do this.not directly put this in window. it's lost expansibility


Ensure RL objects are not instanced before logged in

Reference: https://discord.com/channels/301497432909414422/419891709883973642/1277420034808877217

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Upon review this should not happen.


Post Release Process

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
714

Relevant Lines:
863

💛  - Coveralls


Re-enable the cf-cdn-service-broker using existing Let's Encrypt user accounts

The cf-cdn-service-broker stopped working when Let's Encrypt turned off new user signups for the v1 API.  This is part of the v1 API deprecation process, pushing people to the v2 API.  The long term solution is to use the v2 API (which is in progress), but in order to get unblocked, we're changing how the cf-cdn-service-broker works so that it picks a random user from a set of existing user IDs (configurable) for all domain registrations.

Currently blocked on 18F/cg-product#1148


[Dart][example] tutorial/toh-6:

In the file main.dart there should be
provide(Client, useFactory: () => new BrowserClient(), deps: [])
instead of
provide(BrowserClient, useFactory: () => new BrowserClient(), deps: [])

The main function is presented in two versions. I cannot make the change as you suggested; i.e., version 1 of main is correct as it stands. But I have added a comment in the final version of main:
    // Using a real back end? Import browser_client.dart and change the above to
    // [provide(Client, useFactory: () => new BrowserClient(), deps: [])]


Cannot find linker script memory.x

Hi! I'm trying out this template on a Bluepill board with STM32F103C8 and stm32f1xx-hal. After following the setup steps (and working around #18) I get a linker error about missing memory.x when running cargo rb hello.
Copying memory.x from the HAL's repository into the root of the project as suggested by their readme solves the problem.
https://github.com/stm32-rs/stm32f1xx-hal/blob/master/memory.x
Is this expected to be part of step 5 ("5. Import your HAL")? I could make a PR on the readme but I'm not sure if this works differently for other HAL's?

Some HAL crates provide a memory.x file (the nrf HALs do) but some don't. I think most HAL crates don't consistently document whether they provide a memory.x or not (the nrf HALs don't document that they provide a memory.x; the stm32f1xx-hal does document that a memory.x file is required).
In terms of this template documentation, we should mention that when using a HAL additional steps maybe required, like writing a memory.x file, and that the HAL documentation should be checked. We could also write a troubleshooting section and mention that "memory.x not found" is a common error and how to fix it (write a memory.x file).
Semi-orthogonal to this, it may be possible to generate the memory.x file using probe-rs and the --chip information passed to probe-run. Whether that functionality should be in probe-run or a different tool (an embedded version of cargo-generate?) I do not know.

:+1: I made a PR on the readme :arrow_up:
Regarding alternative methods - assuming a HAL has a memory.x, maybe it would be possible to use it "in place", without copying it into the project? I was thinking similar to how Cargo looks in several places for config.toml (https://doc.rust-lang.org/cargo/reference/config.html)


Fixes incorrect calibration readings

Fixes incorrect calibration readings which causes the pressure readings to be inaccurate (Fixes #1). The cause was the calibration values not properly being read as signed/unsigned as required [^1].
Tested on my component and results with this PR match results from the Arduino library. (Tested on RPi, compared to RedBoard Arduino)
Hope this helps :)
[^1]: BME280 datasheet p. 24 for reference of the data types of each of the calibration values.

Looks great, thank you for your contribution!


feature: company icon

Hi there! Let me just say that this is a truly incredible library, and I appreciate all the hard work you have been putting in. I was actually working on a similar library myself before finding this.
I was wondering what your thoughts on using nonsec data in this library. I have some left over code but thought I would open an issue to ask before making a PR if this would be alright. I would love to contribute and help out!
  async def icon(self) -> bytes | None:
      """
      Tries to retrieve the logo image for the company.

      Returns:
          Optional[bytes]: The logo image as bytes if successful, None otherwise.
      """
      if not self.ticker:
          return None
      try:
          return await get(
              f"https://raw.githubusercontent.com/nvstly/icons/main/ticker_icons/{self.ticker.upper()}.png"
          )
      except HTTPError:
          return None

Yeah that would be fine and welcome. A good place would be https://github.com/dgunning/edgartools/blob/main/edgar/reference/tickers.py
We use httpx the only other thing to add would be the retry annotation e.g.
@retry(on=httpx.RequestError, attempts=attempts, timeout=retry_timeout, wait_initial=wait_initial)
See https://github.com/dgunning/edgartools/blob/main/edgar/httprequests.py#L219
We don't need the other annotations since we aren't going to SEC here

Sounds good! I have created a PR at #78.


TypeError: stat: path should be string, bytes, os.PathLike or integer, not dict

Hi,
After I installed this plugin, when I opened Comfui and selected the import workflow, this error was displayed. Why

It's because the curDir var is expected to be a string but is in fact a dict.
In db_service.py around line 58 I replaced
curDir = records[DEFAULT_USER]['myWorkflowsDir']
by
curDir = records[DEFAULT_USER]['myWorkflowsDir']['path']
and it worked for me

https://github.com/11cafe/comfyui-workspace-manager/commit/68bc2750451bd1c194916aa13026df04fedcd6f7
should be fixed in latest, please try and see if it works, thank you!!

It's because the curDir var is expected to be a string but is in fact a dict.
In db_service.py around line 58 I replaced curDir = records[DEFAULT_USER]['myWorkflowsDir'] by curDir = records[DEFAULT_USER]['myWorkflowsDir']['path']
and it worked for me

thanks for finding a solution, but this may not be compatible with later updates as records[DEFAULT_USER]['myWorkflowsDir'] should store a string, not a dict. It was due to a bug that it stored a dict. Therefore, please still update to latest to resolve the bug completely. Thank you very much for helping out!

also please go to Settings > My workflows save directory to Reset and Save your workflows directory again so you don't experience problems in future. Due to the temporary bug your user settings json value is probably malformed, better overwrite it again, thank you!!


Remove unused branches

We currently have 16 branches on https://github.com/sFractal-Podii/quizquadaminos/branches. Could we clean up the ones we don’t need?
The ones I’d like to keep are:
Main
V0.3-rc
Topics (will throw away once Podii method working for topics)

done


AMBARI-25289 Upgrade Jquery and Bootstrap to latest versions

What changes were proposed in this pull request?
The current version of jquery and bootstrap has vulnerabilities which are then resolved in the latest versions of the libraries. There is a major version upgrade from 1.9.1 to 3.7.1 for jquery and Bootstrap 3 to bootstrap 5 for bootstrap. A lot of breaking changes were introduced between the versions.  With this PR, deprecated methods are removed and are replaced with the newly supported methods. The reference has been taken from the changelog of the dependencies.
How was this patch tested?
Made the changes and tested the intended behaviour of the app by running test cases and performing manual checks.
Please review Ambari Contributing Guide before opening a pull request.

@vanshuhassija
Great work. Due to many of Ambari's front-end libraries being outdated and no longer maintained, there's a need for gradual iteration and updating to newer versions. This PR is excellent. I'll first test this PR in my environment.

@vanshuhassija After applying this patch, running into errors (OS: Win10 PowerShell, Node: v4.5.0, Yarn: v0.23.2), seems to encounter some minor issues. Below are the steps I followed:

cd  ambari-web
yarn install --ignore-engines --pure-lockfile
yarn build (use the script brunch build specified in package.json).
Use Live Server to serve the public directory.

Encountered errors include:
Uncaught ReferenceError: Backbone is not defined

...
...

Uncaught SyntaxError: Identifier 'tooltipTriggerList' has already been declared

The second error is likely caused by the similarity in content between ambari-web/vendor/scripts/bootstrap-popover.js and ambari-web/vendor/scripts/bootstrap-tooltip.js.

@zRains I have upgraded the Backbone to latest version now. Can you please recheck once?

@vanshuhassija Your PR still has some issues, and I'm not sure if they only occur when using Yarn separately. Here are some notable problems:

backbone.js isn't placed in the vendor folder. According to the configuration in the brunch file 'javascripts/vendor.js': /^vendor/, it won't be included in the final build result(vendor.js), leading to the Uncaught ReferenceError: Backbone is not defined error still occurring.

The issue of vendor/scripts/bootstrap-popover.js and vendor/scripts/bootstrap-tooltip.js having identical content persists. Is this in reference to bootstrap-popover and bootstrap-tooltip?

There's a misalignment in the UI after running:

You can build and preview it follow the ambari-web/pom.xml and serve public folder by vite, my vite.config.js:
import { defineConfig } from 'vite'

export default defineConfig({
  server: {
    proxy: {
      '/api': {
        target: 'http://Your server addr',
        changeOrigin: true
      },
      '/api/stomp/v1/websocket': {
        target: 'ws://Your server addr',
        changeOrigin: true,
        ws: true
      }
    }
  }
})

Can the front-end upgrade the charts to the latest ones? The old charts have outdated colors and can support more graphics, making page customization more flexible

@vanshuhassija Could you please split this commit into two PRs(Jquery upgrade/Bootstrap upgrade)? It would be very helpful for the code review.

@zRains The libraries are tightly coupled with each other. Upgrade of jquery would require upgrade of bootstrap as with the newer version of jquery, old bootstrap is not supported.

@zRains The testing team in the organisation has pointed out some UI deviations as well which will be raised as tickets on the board once this PR is merged.

@vanshuhassija Could u resolve conflict?

@vanshuhassija Could you please resolve this conflict first? After that, other community members can continue to push forward with the work on upgrading the frontend components.

@JiaLiangC The PR has no conflicts with the base branch. Any specific conflict you are referring to?

@JiaLiangC The PR has no conflicts with the base branch. Any specific conflict you are referring to?

@vanshuhassija  I have already manually resolved the conflict.

@vanshuhassija Regarding this PR, I have concerns because it involves extensive changes. After applying this PR in the test environment, I noticed several bugs in the frontend. I'm worried that if we merge it, the community might not have enough frontend developers and contributors to address these issues. This could lead to many bugs remaining unresolved before the release. That's my main concern.

Hi @vanshuhassija ,
thanks for reporting this and working on this which is much awaited one.
Can you please resolve the commits.?  Changes are looks to good to me apart from the concerns raised already here.
As this was gone through the cycles of review, I am thinking we can commit now and raise the follow up jira's.
@JiaLiangC  and @zRains any thoughts on this.?

@brahmareddybattula resolved the comments

@vanshuhassija Thank-you for providing fix for JQuery and Bootstrap upgrade fixes seems to have been long pending.
changes look good to me +1
can you check the PR build failure ?

@brahmareddybattula Sounds good. The main issue seems to be that the test cases for ambari-web have not yet been modified (144 failed test cases). This can be addressed gradually.

@vanshuhassija Please fix the CI failure. After it's fixed, I'll merge it. As @zRains mentioned, any remaining issues will be addressed in future PRs.

@JiaLiangC @brahmareddybattula @zRains @vishalsuvagia CI is now passing. Had to skip some test cases because of the known issues to be addressed in upcoming PRs. The test skip changes will be reverted with the upcoming fixes.

@JiaLiangC @brahmareddybattula @zRains @vishalsuvagia CI is now passing. Had to skip some test cases because of the known issues to be addressed in upcoming PRs. The test skip changes will be reverted with the upcoming fixes.

Thanks for your excellent work!

@JiaLiangC

LGTM. As discussed above, if there are no other objections, it will be merged in 24 hours. Any potential issues will be addressed in subsequent PRs.

@JiaLiangC Thanks

Can you help me take a look at this issue? It seems to be a front-end problem。

@brahmareddybattula  @vanshuhassija  thi pr has introduced almost 30 bugs, many of which are critical, causing major functionalities to break and disrupting most of the unit tests. They haven't been fixed yet. Here is the bug list:https://issues.apache.org/jira/browse/AMBARI-26237. Could you take a look, and help fixing them?


[UX] Doc listing entry can be improved

Describe your problem(s)
I feel the content is very tight and we haven't utilised the space properly. Can we improve it somehow?

@erangatl Shall we come up with a new design for Docs card in Publisher

XD: https://xd.adobe.com/view/be3fc799-0d72-473d-a515-9f7665b5d08a-eb6c/screen/61e31aad-5fcf-4894-b7e9-addbeaf97ed0

This looks very nice. Is it possible to have the word "doc" inside the thumbnail image so that users can identify easily it's a doc but not an API?

+1

Fixed


[GPT] Use flash-attention and enable dropout

To existing developers: please update your environments by referring to examples/README.md or Dockerfile.
Description
This PR updates epoi used in GPT schedule to the latest version, which uses flash-attention triton kernel for better performance and attention dropout supports. The GPT schedule is also updated to support different random seeds within a TP group for attention dropout. With this PR, Slapo 3D could align the loss value of ZeRO-3 even with dropout enabled.

Update GPT schedule dependency. epoi, xformers are updated to the latest compatible commits. Introduce flash_attention as the new dependency of GPT scheduling.
The latest xformers doesn't allow CUTLASS kernel to take bias. We use a patch to fix it temporary.
Dockerfile. The docker file is updated. The CI docker image has been updated to v0.02.
Data loader. Use gpt-neo tokenizer which has maximum token length 2048.
Data loader. Support configurable sequence length.
GPT. Support configurable dropout probabilities and maximum sequence length.
GPT. When the GPU we are running is sm_80 (e.g., A100), use triton flash attention kernel.
GPT. Use different random seeds for attention dropout.
Utility. A simple utility to calculate the TFLOPS of decoder model. It can be used like this

# samples/sec, ngpu, seq_len, nlayers, hs, vocab_size
python3 -c "from slapo.utils.report import calc_decoder_tflops; print(calc_decoder_tflops(35, 8, 2048, 24, 2048, 50528))"

With all above changes, we could use the following command to run GPT with 3D (DP, PP, TP)=(2, 2, 2):
deepspeed ./examples/gpt/deepspeed_hf.py --pmp 2 --tmp 2 \
--batch_size 128 --micro_batch_size 4 --model_name EleutherAI/gpt-neo-2.7B \
--iter_nums 170 --hidden-size 2048 --nlayers 24 --num-attn-heads 16 \
--dropout 0.1 --seq_len 1024

And here is another example:
deepspeed ./examples/gpt/deepspeed_hf.py --pmp 2 --tmp 2 \
--batch_size 32 --micro_batch_size 4 --model_name EleutherAI/gpt-neo-2.7B \
--iter_nums 170 --hidden-size 2048 --nlayers 24 --num-attn-heads 16 \
--dropout 0.1 --seq_len 2048

Checklist

[x] PR's title starts with a category (e.g. [Bugfix], [Model], [Tutorial], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

cc @szhengac

Thanks @szhengac


Supported Device:

Roomba Model:
J7
Did It Work
No

Receive the following error:
Error: spawnSync C:\Users\[username]\AppData\Roaming\npm\node_modules\homebridge-irobot\dist/scripts/getRoombaCredentials.js UNKNOWN
    at Object.spawnSync (node:internal/child_process:1083:20)
    at spawnSync (node:child_process:812:24)
    at Object.execFileSync (node:child_process:858:15)
    at getRoombas (C:\Users\[username]\AppData\Roaming\npm\node_modules\homebridge-irobot\src\getRoombas.ts:8:32)
    at iRobotPlatform.discoverDevices (C:\Users\[username]\AppData\Roaming\npm\node_modules\homebridge-irobot\src\platform.ts:65:36)
    at HomebridgeAPI.<anonymous> (C:\Users\[username]\AppData\Roaming\npm\node_modules\homebridge-irobot\src\platform.ts:34:12)
    at HomebridgeAPI.emit (node:events:390:28)
    at HomebridgeAPI.signalFinished (C:\Users\[username]\AppData\Roaming\npm\node_modules\homebridge\src\api.ts:275:10)
    at ChildBridgeFork.startBridge (C:\Users\[username]\AppData\Roaming\npm\node_modules\homebridge\src\childBridgeFork.ts:173:14)


Implement optional serde support

This PR implement optional support for serde. Users should be able to add the serde feature when adding this crate to their Cargo.toml file and get the benefits of serde for all public types.

This looks great - thanks!

When are you planning to release this on crates.io? I'm using this in a project I'm working on and right now I'm pulling from my own branch in my Cargo.toml :)

Sorry for the wait. v0.19.0 released.
Implement some additional trait and methods. Also, added a simple example related to the serde feature.


fix minor typo

Fixes minor typo in kafka emitter

Description
fix minor typo in kafka emitter

Release note

Key changed/added classes in this PR

KafkaEmitter

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Code coverage can be ignored for this patch since its a rename.


APIServer error when trying to install chart on Openshift

After runing the following on Openshift 3.11 got an error wrt to the APIs.
$ ./helm install stable/mysql --generate-name
Error: could not get apiVersions from Kubernetes: unable to retrieve the complete list of server APIs: packages.apps.redhat.com/v1alpha1: the server is currently unable to handle the request, servicecatalog.k8s.io/v1beta1: the server is currently unable to handle the request

Output of helm version:
version.BuildInfo{Version:"v3.0.0-alpha.2", GitCommit:"97e7461e41455e58d89b4d7d192fed5352001d44", GitTreeState:"clean", GoVersion:"go1.12.7"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.0+d4cacc0", GitCommit:"d4cacc0", GitTreeState:"clean", BuildDate:"2018-12-03T05:39:03Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}

Are you able to determine why kubernetes is unable to handle the request?

Seems like a problem with my api server.
[root@shiftnode1 ~]# oc api-resources
error: unable to retrieve the complete list of server APIs: packages.apps.redhat.com/v1alpha1: the server is currently unable to handle the request, servicecatalog.k8s.io/v1beta1: the server is currently unable
to handle the request

Thank you for the hint :)


Update azure-function-app.md to deploy to ASE

@v-abiss : Thanks for your contribution! The author(s) have been notified to review your proposed change.


v1.6.0 no longer works with Redis cluster

Attempting to use defaults raises an error because the unwatch command is not supported on Redis clusters.
Loading development environment (Rails 7.0.8)
irb(main):001> last_seen_at = Kredis.datetime('last_seen_at', default: 20.minutes.ago, expires_in: 1.week)
[2023-10-31T16:28:21.283-07:00] INFO:   Kredis  (43.7ms)  Connected to shared
[2023-10-31T16:28:21.289-07:00] DEBUG:   Kredis Proxy (1.6ms)  EXISTS? last_seen_at
[2023-10-31T16:28:21.291-07:00] DEBUG:   Kredis Proxy (1.6ms)  SET last_seen_at ["2023-10-31T23:08:21.239912000Z"] {:ex=>1 week}
/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/redis-4.8.1/lib/redis/cluster.rb:152:in `send_command': Cluster client doesn't know which node the unwatch command should be sent to. (Redis::Cluster::AmbiguousNodeError)
/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/redis-4.8.1/lib/redis/cluster.rb:152:in `send_command': Cluster client doesn't know which node the unwatch command should be sent to. (Redis::Cluster::AmbiguousNodeError)

https://github.com/redis/redis-rb/blob/v4.8.1/lib/redis/cluster.rb#L151

cc @lewispb

I just ran the test suite against Redis Cluster locally and most of it failed. Looks like we don't support Redis Cluster.
It's not just unwatch that's unsupported, multi and mget are too, both of which are used by Kredis.
We could add a note to the Readme perhaps? https://github.com/rails/kredis/pull/137

It's not just unwatch that's unsupported, multi and mget are too, both of which are used by Kredis.

FWIW I'm in the process of trying to get as much of watch/multi as makes sense working with the Ruby redis cluster driver: https://github.com/redis-rb/redis-cluster-client/issues/299
Once we get that support landed, making kredis work with redis-cluster should be a case of figuring out which keys need to be accessed transactionally together, and adding {hashtags} to them so that they hash to the same slot


[Doc Improvement][Validation-Periods-4][2471031]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/TeamsFx-CLI.md
91
25
link
:white_check_mark:

msteams-platform/toolkit/TeamsFx-SDK.md
93
7
link
:white_check_mark:

msteams-platform/toolkit/TeamsFx-collaboration.md
96
9
link
:white_check_mark:

msteams-platform/toolkit/TeamsFx-preview-and-customize-app-manifest.md
90
11
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 9700d63:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/toolkit/TeamsFx-CLI.md
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-SDK.md
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-collaboration.md
:white_check_mark:Succeeded
View

msteams-platform/toolkit/TeamsFx-preview-and-customize-app-manifest.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


feat: Initial version of Java getting started page

This PR
PR introduces getting started documentation for OpenFeature Java SDK
How to test
Given that this is a getting started guide, you should be able to validate content by following the given steps in it.

Direct link to the walk-through:
https://deploy-preview-184--lucky-creponne-baf9b3.netlify.app/docs/getting-started/java/

I think it may be worth considering moving the FlagD dependency and code sections to after step 4. That would allow for the opportunity to explain what a provider is and that FlagD is just one of many options.

I have addressed this in the latest changeset

@Kavindu-Dodan I think this is really good, I left a few minor comments. The biggest one I think is that we should inject an OpenFeature client, not the API. What do you think about that?


Change of emphasis for a couple of weeks

Folks,
The F# OSS community has gone great guns making hundreds of high quality contributions to the F# OSS codebase and Visual FSharp Tools over the last several months. The new IDE tools provided by the community are nothing short of phenomenal.  We thank you all for this work, our gratitude is immense.
The Managed Languages Team is entering the end-game for shipping the next release of our tools.  The purpose of this endgame is to manage the risk that a code change may introduce significant issues in the VS experience of our tools without time to detect and fix it before shipping.  I can assure you … you will be frustrated by it … I always am.
We have already accepted the last RC3 PR and in two weeks we will be at Division Wide escrow, the bar for getting a PR accepted into escrow is very high for example ‘a bug fix to a significant data loss bug that may occur in an easily discovered scenario’ or regressions in compiler behavior causing breaking changes
For the next two weeks the bar looks like this:

‘Urgency now’ Bug fixes to existing compiler or IDE features:     [RTM] – bug title
New features to the compiler or IDE:                                           [Update1] – Bug title.
Perf improvements / reliability improvements
Significant improvements                                                             [RTM] – bug title
Minor improvementss                                                                   [Update1] – bug title

Please hold off on Update 1 PR’s for a while, because we will not be doing much to validate it until we enter escrow and I would prefer not to have a big divergence until we are confident what we are shipping is of the highest quality we can manage.  If you submit Update 1 PR’s please be prepared to accept that they are a low priority for verification and merge for the next few weeks
Branches:
The F# branch names currently are as follows:
GitHub branch (public)	Release Target
master	                VS2017 (Update 1)
vs2017-rc3	        VS2017 RC3
vs2017-rtm	        VS2017 RTM

In general target your PR’s to master, we will cherry-pick into RC3 and RTM.
Once again, thank you for the outstanding work over the last 18 months, especially the fantastic efforts to produce a new IDE experience, we are so very proud of all of the work done by the F# OSS community.
The F# Team.

IMHO, all of the following commits should be cherry picked to RC3 branch:

Not doing that means:

no colored quick info / signature help with glyphs
no working lexer cache
no working F1
bugs in Navigation Bar
bugs in syntax highlighting
inconsistent coloring between editor and quick info / signature help

(it's all obvious of course, I'm just expressing my fears about cutting those from RC3, which does not look right).

Yes definitely. What about the crash on last line? That fix is also not merged yet, right?

Would this be the right moment to go back to all open issues (or even the closed ones) and close them, if fixed, and label them with a label that indicates in which public version a fix will be available (VS2017, F# 4.1?). The ones that have not been fixed in the current release could perhaps get a label "post-vs2017" or something.
This may not be trivial, but as a regular reporter of bugs, I find it hard to find out whether some are resolved or not. This is understandable, often bugs get resolved and it isn't immediately clear it resolves other related bugs as well. By trying to repro existing bug reports in the new VS2017 branch we get a "clean slate" for post-VS2017 and at the same time help any visitors with the state of their bug reports.
If others feel this is worth its while, I can participate in trying to repro (old) still-open bug reports.

I like the idea of classifying which release a bug gets fixed in.  Could be something I can take a look at.

@cartermp, it looks like there used to be some use of the Git Milestones, like F# Update 1. However checking F# Update 2, F# Update 3 and more recently VS 2017 RTM shows that (apart from Upd 1) this feature has been under-used.
It's a pity, because it helps with at least three things:

Shows the status of open TODO's
Feedback to bug reporters and other OSS volunteers of status and the like
Organization (clarity of what goes where).

@abelbraaksma that's good feedback.  I'll go through and classify issues with milestones.  I don't have the time to go through the whole backlog right now, but I can classify:

Recent issues
Issues related to VS Tooling
Issues related to .NET Core
Issues related to F# 4.1

It may not be exhaustive, but it should put a dent in it.

@abelbraaksma I was able to spend some time going through some of the more recent ones and assigning milestones.  I should be able to spend a bit more time in the next few days going through a bit deeper.  I think a lot has been covered, though.

Appreciate adding the milestones @cartermp - just wondering whether anyone in the F# team has time to assign labels to these 27 untriaged issues?
https://github.com/Microsoft/visualfsharp/issues?q=is%3Aopen+is%3Aissue+no%3Alabel
I understand it's a very busy time for you.

@saul
Done ....

Thanks for that 👍 ... I think I added a new issue just as you finished, sorry!

Can this be deleted now?

@saul Not deleted, but probably worth closing.


Nanapolish indexing with errors

Hi,
I have been trying to run nanopolish (version 0.11.1) to correct a draft assembly generated from some PromethION data using Flye. When I try to run polishing step like below:
Python-2.7.14/bin/python nanopolish/scripts/nanopolish_makerange.py assembly.fasta | parallel --results nanopolish.results -P 16 nanopolish/nanopolish variants --consensus -o polished.{1}.vcf -w {1} -r Lib1.fastq -b minimap2_to_flye_sorted.bam -g assembly.fasta -t 10 --min-candidate-frequency 0.1
Although it starts generating some output files, it also throws an error saying:

Please run nanopolish index on your reads (see documentation)
error: could not load the index files for input file Lib1.fastq

Hence, I tried to generate the indexed files for these with following commands:
nanopolish/nanopolish index -d Lib1/fast5_pass/  Lib1_pass.fastq
It seems like this step generated the indexing files "Lib1.index.fai and Lib1.index.gzi" but there are some error messages saying:

couldn't open fast5 files:
Error: no fast5 files found

I can see all the files are there and also I checked the md5sums for the fast5 files on the sequencer and on the storage where they were copied and they match. I saw this error has been reported by many users earlier but none of the solutions works for me. I would be very grateful if someone could shed some light on this.
Many thanks.

Hi,
Can you send the exact error messages (what is printed after couldn't open fast5 files:)?
Jared

Hi Jared,
Thanks for your prompt response. I have 1674 fast5 files in the directory fast5_pass. So, there are same number of lines saying none of these files can be opened and the last line after Couldn't open fast5 files says : Error: no fast5 files found.  For example:
could not open fast5 file: Lib1/fast5_pass//PAD59570_3996998bd4376118a891932f7bdb76cc4535f3b3_474.fast5
could not open fast5 file: Lib1/fast5_pass//PAD59570_3996998bd4376118a891932f7bdb76cc4535f3b3_592.fast5
could not open fast5 file: Lib1/fast5_pass//PAD59570_3996998bd4376118a891932f7bdb76cc4535f3b3_602.fast5
could not open fast5 file: Lib1/fast5_pass//PAD59570_3996998bd4376118a891932f7bdb76cc4535f3b3_1084.fast5
could not open fast5 file: Lib1/fast5_pass//PAD59570_3996998bd4376118a891932f7bdb76cc4535f3b3_950.fast5
could not open fast5 file: Lib1/fast5_pass//PAD59570_3996998bd4376118a891932f7bdb76cc4535f3b3_185.fast5
could not open fast5 file: Lib1/fast5_pass//PAD59570_3996998bd4376118a891932f7bdb76cc4535f3b3_408.fast5
could not open fast5 file: Lib1/fast5_pass//PAD59570_3996998bd4376118a891932f7bdb76cc4535f3b3_376.fast5
could not open fast5 file: Lib1/fast5_pass//PAD59570_3996998bd4376118a891932f7bdb76cc4535f3b3_758.fast5
Error: no fast5 files found

Can you run strace nanopolish/nanopolish index -d Lib1/fast5_pass/ Lib1_pass.fastq and send a bit of the output? I suspect this is the same issue another user reported and want to confirm.
Jared

I've just pushed a new version to github, can you try it and let me know if it fixed the "could not open" issue?

Hi Jared,
Thanks for your help. The output from strace command is given at the link below
https://drive.google.com/file/d/1crMdIu_HopE4IqNu-R9nRRb1dqcmi9pA/view
I have obtained the latest version and its running at the moment. I will update as soon as I have some results.

The newer version still gives the same "Couldn't find files errors".

Couldn't find or couldn't open?

Sorry, I mean't could not open fast5 errors.

Looking at the strace you provided above, this error should have been fixed with the new version. Can you try to delete your entire nanopolish directory and re-clone from github? I think the old version of hdf5 is still hanging around so it didn't properly update.

Thanks Jared. I will give that a go and let you know how I get on.

Hi Jared,
It worked! No errors anymore. Thanks a lot for your help.
Cheers,
Urmi


deal with heroku cedar-14 EOL

remote: This application is still using the Cedar-14 stack for which the end-of-life window began May 1, 2019:
remote: https://devcenter.heroku.com/changelog-items/1603
remote:
remote: The end-of-life window ends on May 1, 2020 after which Cedar-14 will no longer
remote: receive security updates and Cedar-14 app builds will be disabled.
remote:
remote: Please upgrade to the latest stack by following these instructions:
remote: https://devcenter.heroku.com/articles/upgrading-to-the-latest-stack

Updated to the heroku-18 stack (no code changes, just config changes in the heroku app dashboard)


Redirecting to // - connect.static bug on Windows

When using connect.static on Windows (with Express), when visiting http://localhost it will show you:
Redirecting to //
even though you have the '/' route defined. I managed to find a workaround for this by using 'redirect: false' as an option, but this is a bug as far as I can tell (on Linux I never got that).
Note: I did not have anything except a txt file in the public folder. (so no index.html there)

thanks i'll add a test case for this in a bit and get it covered

Same problem here, but in my case, I have an index.html.
I investigated a bit, and the issue lies in this line:
if ('/' == path[path.length - 1]) path += 'index.html';

in lib/middleware/static.js.
Because node's path.join uses \ on windows, we'll need an check like this
var pathsep = process.platform === 'win32' ? '\\' : '/';
if (pathsep == path[path.length - 1]) path += 'index.html';

Cleaner:
if (normalize('/') == path[path.length - 1]) path += 'index.html';

Yes, this bug has been bothering me for months now.
+1 on @mojodna -s fix.

sorry for the delay i've been sick, i'll push a new release

this is wrong... please adjust
if (normalize('/') == path[path.length - 1]) path += 'index.html';
to:
if (normalize('/') == normalize(path[path.length - 1])) path += 'index.html';
broked all the frameworks who used this:
railwayjs
express
etc..


Add "expire_after" and "publish_online_status" attributes

Add "expire_after" attribute in configuration. If set, it defines the number of seconds after the sensor’s state expires, if it’s not updated. After expiry, the sensor’s state becomes unavailable.
Add "publish_online_status" attribute in configuration. Indicate if a availability message must be systematically published.
Don't know why but sometimes my RPi crashed suddently. With these optionnal options, I can see the correct information in Home Assistant.

Don't know why the previous commits are listed here again :(

Thanks for your PR!

Don't know why the previous commits are listed here again :(

Maybe because I squashed the 2 commits in your previous PR. I just merged this Pr without a squash.


DELTASPIKE-1207: fix exception handling in DynamicMBeanWrapper.invoke()

Ok, this fix enables the transfer of a exception thrown by the MBean method to the client.
Tomorrow I'm going to update the JIRA ticket with some output examples.
Not sure about the logging removal, though. In my project we have a logging interceptor for MBeans which logs exceptions anyway so another log entry from DynamicMBeanWrapper just "pollutes" the logfile.
Exceptions aren't swallowed either, so ...

Could you squash the commits?

Well I guess I have to create an new branch in my repository then and I have to create a new pull request?
Can't you just squash my commits when merging this request?
http://stackoverflow.com/questions/11396069/squash-to-only-one-proper-commit-for-github-pull-request/36377439#36377439

The ASF doesn't give us direct write access to the mirror, its  a one way sync from git-wip-us to github.  Besides, its generally not good practice to do that since it breaks the commit history.  You don't need to create a new branch, just git push -f your changes when you have them squashed locally.


Update Confg Inquisitors Family (Updated a lot a things like email, description, info etc.)

name: Inquisitors Family
key: inquisitors
color: black
emblem: Skull_01

info:
  logo: /static/img/brands/logo/inquisitors.png
  description: >
    **INQUISITORS** is a growing community with progressive Clans. We have been extending our limits of success since the day we were created (By FIRE). We have been constantly accomplishing the dreams that we see for future!
We have created lives of many players who were not so good before joining us.
Our top players include:-
1) Alenesta  #8LJVVJLC8 | THE INQUISITORS | 6,531🏆
2) Sanjay  #2RPRY9GJ | INDIAN CLAN | 6,287🏆
3) KaArToOs_  #8YJG0CLRV | INDIAN CLAN | 6,115🏆
4) enchantress  #PVVYY9GQG | INDIAN CLAN | 5,940🏆
5) Bharath  #200G2CYLV | INDIAN CLAN | 5,814🏆
6) sandesh  #L0C2GCLRQ | INDIAN CLAN | 5,809🏆
7) RJcOOl  #JQV2CGCUQ | THE INQUISITORS | 5,595🏆
8) hero332  #QVPGU8RC9 | INDIAN CLAN | 5,504🏆
9) FIRE  #L09YCYQQR | THE INQUISITORS | 5,476🏆
10) redblood  #2RYUJV2J | THE INQUISITORS | 5,428🏆

We are a home of a lot of people of all ages from the every corner of the world today as we have no discrimation. We haven't stopped ourselves to present new and interesting stuff to our Gaming mates(like periodic clan events, trade token giveaways etc.). We have a fun based Discord Channel and Clans in Clash Royale. We expect your precious support to grow better.
Team Inquisitors ~ Strive to Success!
Since 2019©
  social:
    - email<EMAIL_ADDRESS>clans:
  - name: THE INQUISITORS
    tag: PRQ88POO
  - name: INDIAN CLAN
    tag: YPQPLJ9L

I will add this but please note that I’m not gonna be updating your trophies every month.

ok

updated

thanks


Black screen when turning on GPU plugin Linux

Describe the bug
When turning on the gpu plugin, the game turns black. It does not crash or freeze and I can still click and move my character; however it is just all black. I have hardware acceleration turned off. I am running Manjaro Linux and downloaded it via AUR. I saw this issue in the FAQ but it seems like those solutions are windows specific.
To Reproduce
Steps to reproduce the behavior:

Turn on gpu plugin
black screen

Environment (please complete the following information):

OS: Manjaro Linux
RuneLite version: 1.5.14

https://github.com/runelite/runelite/wiki/GPU-FAQ
Downgrade mesa to 18.2.5 and use Java version 8


Non default profiles always opening in home directory

Windows Terminal version (or Windows build number)
1.10.2383.0
Other Software
No response
Steps to reproduce
Right-click and open windows terminal in a particular directory, for eg D drive and open new tabs of different profiles
Expected Behavior
Default profiles, as well as other profiles, should open with current working directory set to D:\
Actual Behavior
Default profile(Powershell in my case) opens in D:\ but other profiles when opened using new tabs open in the User home directory. i.e., C:\Users<Username>
Default profile opens in D drive

New profiles opened using the + button open in C:\Users<Username>

Your answer might be in #11196


Cannot find AMI for cs231n_caffe_torch7_keras_lasagne_v2 on AWS

From this tutorial,
After searching for cs231n_caffe_torch7_keras_lasagne_v2 in the Community AMIs search bar there are no results. The page says there are No AMIs found matching your filter criteria:
I tried searching for ami-125b2c72 as well, but AWS still said that no AMIs matched the criteria. I haven't selected any filters on the side bar, and am searching in the Community AMIs tab, not the AWS Marketplace.
Is anyone else having this issue?

Make sure you are searching in the US West (Northern California) region.

Thanks! That was the issue.


add sg721-updatable

update and freeze

I have something similar at https://github.com/ivmidable/sg721-mutable. I'm personally torn over if there should be a freeze function. sg721-base should probably implement the migrate entry point as I feel like it would be better to have people migrate from sg721-base to sg721-mutable/updatable, make the changes they need and then migrate back to base. that way the collection is frozen again but if something else needs fixing/updating they could migrate back.

just needs review, and gov proposal

refactor to use base_token_uri


.tpl file support

Hello,
Can support for CSS class completion be supported for Smarty template files?
Another idea would be to allow for file hook aliases, like to set that some files require autocompletion.
Thanks

You can add other extensions by adding this to your VSCode settings: "html-css-class-completion.includeGlobPattern": "**/*.{css,html,scss}",


How I can disable hot reload?

I will like to turn off the reload of the page every time I make a change on a file, I don't mind to hit cmd+r
But I can't find how to disable that, can that be done with react app rewired?

Closing as per the Readme.
Before submitting an issue to this repo - Ensure it's a issue with the code in this repo, not a how do I configure something with Webpack question (post something on Stack Overflow or Spectrum). It's your config you "own" it.


TreeView wrong rendering with ng-template and Ivy enabled

Describe the bug
TreeView has a wrong rendering when tree node is inside ng-template and Ivy is enabled - https://www.screencast.com/t/nnx0MATX96N  and https://www.screencast.com/t/e4ePfy349T
How to reproduce
The issues is reproducible with Clarity3/Clarity4  -  https://stackblitz.com/edit/clarity-v3-dark-theme-r12emw
Ivy can be enabled from Stackblitz settings.

I reproduced this. I find it's related to the ng-template projection.
Ivy seems to over-simplify the generated html.
Suggestions for workaround are to try avoiding the ng-template and if needed, use a small child component, like this:
https://stackblitz.com/edit/clarity-issue-5514-workaround?file=src%2Fapp%2Fapp.component.ts

I reproduced this. I find it's related to the ng-template projection.
Ivy seems to over-simplify the generated html.
Suggestions for workaround are to try avoiding the ng-template and if needed, use a small child component, like this:
https://stackblitz.com/edit/clarity-issue-5514-workaround?file=src%2Fapp%2Fapp.component.ts

There is a workaround available for this issue, and we recommend using it for Clarity Angular. We would consider a contribution to address this issue if someone is able to work out a solution. To help us clean up our backlog, we are going to close this with a functional workaround available and suggest you follow updates for Clarity Core for enhancements that can support your use case with Clarity Core components.

@danail-vasilev
Presently, there is no tree view in Clarity Core. We are working as quickly as we can to implement Core components. When tree view is available in the Clarity Core components, we will keep this use case in mind. I see no reason why it would not work, though, based on my experience with Angular and the Core components we already have.

Core components are designed to be a lot more flexible, giving more control and freedom in the hands of the component user (application developer).
CC @gnomeontherun pinging Jeremy to make sure if we need to specifically add this request to the Core development considerations for the tree component.

We don't need a bug report for something that doesn't even exist yet. This is not needed to be copied because Core architecture will be independent of Angular and some of this quirky issues that exist with Angular.


Provide a way to pass pool to Testing Farm

In some cases, the user would like to route requests to a specific infrastructure pool. We want to use this with tmt to run a test job against internal Openstack which has /dev/kvm available for a bunch of tests.
It is environments[0].pool in the requests POST API endpoint: https://testing-farm.gitlab.io/api/#operation/requestsPost
@TomasTomecek added TODO:

[ ] Add extra_tf_params field to test job definition
[ ] Let content be freeform
[ ] Update our documentation, point to the TF's API docs above
[ ] Make a test case & good user experience when user provides some invalid values in there: check TF's response and make sure we provide a sensible error message
[ ] Resolve #1797

Hi @thrix !
So it's about adding a new config option and sending it inside a payload? That won't be hard to do  -- are you or anyone else interested in implementing this (we can help for sure..;)? Otherwise, someone from the team will take a look... (Is there any team that really needs this? Should we hurry up?)

I'm wondering if we should offer a freeform dict that would be passed, as is, to the Testing Farm API so we wouldn't need to implement every single parameter of the REST API endpoint.
WDYT?

adding for refinement so we can solve all the issues "please implement tmt argument xyz" once and for all :)

I've dropped resolving #1754 from the TODOs. Fixing this issue will only partially help with that one. The task in the linked issue is to provide a way how to pass extra arguments from comments which is a whole new feature and not supported at the moment.


microsite: change 20220817-1 from upcoming to meetup

Signed-off-by: Jason Nguyen<EMAIL_ADDRESS>Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Thanks @GoFightNguyen! Any particular reason this is a draft PR or is this good to go?

@OrkoHunter Sorry, I forgot to change it

Thank you for contributing during Hacktoberfest 🍂! You can claim the Backstage Hacktoberfest Holopin at https://bck.st/hacktoberfest-holopin 🙌🏻


NullPointerException in example class

I would love to use this library, but using the default sample class in test, when I login I get a NullPointerException at de.doridian.steammobile.connection.MessageHandler.logon(MessageHandler.java:37).
Please help!
I would love to make something really cool with this.

Sadly steam removed the method for logging in.
It now uses some integrated OAuth via a WebView making it really hard (almost impossible thanks to their CAPTCHA) to do this as a CLI app :(

Any workarounds?

Unless someone implements a way that opens a webview to generate a token and then a login through that, no.

Isn't there a thing where you can use an audio captcha and the google recognition to hear the code?

Would this help? With a Java wrapper?
https://facepunch.com/showthread.php?t=824685&p=17668850&viewfull=1#post17668850

OpenSteamWorks actually hooks into a Steam desktop client and "remote controls" it.
There is also SteamRE or SteamKit2 which basicaly are Steam Desktop Client libraries (they speak the Steam Desktop Protocol which is a UDP based monstrosity).
This speaks the HTTP API only used by the Steam web and mobile clients (which are both able to display a HTML GUI and do so for initial login).


Trusted publishing: pending publisher should warn about ultranormalized name collision

What's the problem this feature will solve?
I created a pending publisher when I named my package:

But when I tried to use it I got an error:

Error: Trusted publishing exchange failure:
Token request failed: the server refused the request for the following reasons:

invalid-payload: The name 'coveragepth' is too similar to an existing project. See https://pypi.org/help/#project-name for more information.

It's probably colliding with coverage_pth, the abandoned package I'm trying to replace.
Describe the solution you'd like
The PyPI UI should warn that the pending publisher will fail to create the package due to a name conflict. I'd expect this check to happen on page load, since the UI warns that races are possible:

Alternatively, it could be treated as a form validation error like a closer match does:

Additional context
Related issues:

#11139
#2082

Thanks for the report @twm!
I agree this should be a form error, like the second screenshot you posted.
(A variant of this error will still be possible when a project with a too-similar name is created between the pending publisher's creation and use. But that should be much less common.)

Thanks @woodruffw! I would also be happy to give it a go myself if that'd be helpful.

No problem with me!


Chaining a Function that Returns Promise Results in Incorrect Type

TypeScript Version:  2.1.4
Code
declare function loadBlob(): Promise<Blob>;
declare function readBlobAsJson(blob: Blob): Promise<any>;

loadBlob().then(readBlobAsJson).then(d => {
    d.x// d is Type Blob here
});

Expected behavior:
Compiles without error
Actual behavior:
Property 'x' does not exist on type 'Blob'.
This works without error if an explicit type is set on readBlobAsJson instead of any. Compiled without error in 2.0.6

duplicate of  #10977


Google OAuth: Invalid_request, missing required parameter: scope

Hey @moberwasserlechner, today I was gonna start working on Sign in with Apple but I couldn't do even Google, lol! Can you help me out, please? I thought I'm doing it right, but when I fire Login() it just opens a new window saying Missing required parameter: scope. On any platform lol...

build.gradle
android {
  defaultConfig {
    manifestPlaceholders = [
      'appAuthRedirectScheme': 'com.XXX.XXX'
    ]
  }
}

AndroidManifest.xml
<data android:scheme="@string/custom_url_scheme" android:host="oauth" />

strings.xml
<string name="custom_url_scheme">com.XXX.XXX</string>

Info.plist
<dict>
	<key>CFBundleURLTypes</key>
	<array>
		<dict>
			<key>CFBundleURLName</key>
			<string>com.getcapacitor.capacitor</string>
			<key>CFBundleURLSchemes</key>
			<array>
				<string>capacitor</string>
				<string>com.XXX.XXX</string>
			</array>
		</dict>
	</array>
</dict>

Authorize.vue
import { Plugins, registerWebPlugin } from '@capacitor/core'
import { OAuth2Client } from '@byteowls/capacitor-oauth2'

registerWebPlugin(OAuth2Client)

...

Login () {
  var options = {
    appId: 'XXX',
    authorizationBaseUrl: 'https://accounts.google.com/o/oauth2/auth',
    accessTokenEndpoint: 'https://www.googleapis.com/oauth2/v4/token',
    scope: 'email profile',
    resourceUrl: 'https://www.googleapis.com/userinfo/v2/me',
    web: {
      redirectUrl: 'https://XXX.XXX.XXX/#/authorize',
      windowOptions: 'height=600,left=0,top=0'
    },
    android: {
      appId: 'XXX',
      responseType: 'code',
      customScheme: 'com.XXX.XXX:/'
    },
    ios: {
      appId: 'XXX',
      responseType: 'code',
      customScheme: 'com.XXX.XXX:/'
    }
  }

  Plugins.OAuth2Client.authenticate(options).then(async (response) => {
    console.log(response)
  }).catch(async (response) => {
    console.log(response)
  })
}

For Web, it looks like the problem is because redirectUrl redirecting to the hash router https://XXX.XXX.XXX/#/authorize and it's messing with the url. Is there a way to fix that?
For Android and iOS, should it opens a new window? Now it's opening a window like a normal link...

You should get rid of the hash urls because most reverse proxy servers will remove those fragments while redirecting. I guess that VUE has another router as well so your url can look like https://XXX.XXX.XXX/authorize

@moberwasserlechner I completely forgot that Capacitor is working with history mode (I'm switching from Cordova). Switching from hash to history and adding .htaccess worked perfectly.
Anyway, what about iOS and Android? It just opens a browser window.
On iOS I also tried with:
<key>CFBundleURLTypes</key>
<array>
    <dict>
        <key>CFBundleURLName</key>
        <string>com.getcapacitor.capacitor</string>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>capacitor</string>
        </array>
    </dict>
    <dict>
        <key>CFBundleURLSchemes</key>
        <array>
            <string>com.foodprep.ranger</string>
        </array>
    </dict>
</array>

Web: I changed from hash to history mode and it worked perfectly.

iOS: It just opens a new Safari window, I don't think the plugin is being called with my current configuration (Info.plist from original post).

Android: It seems that I forgot to add the custom class in MainActivity.java, but when I added it, now I get errors error: find symbol class List and cannot find symbol class OAuth2ClientPlugin:
public class MainActivity extends BridgeActivity {
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    List<Class<? extends Plugin>> additionalPlugins = new ArrayList<>();
    // Additional plugins you've installed go here
    // Ex: additionalPlugins.add(TotallyAwesomePlugin.class);
    additionalPlugins.add(OAuth2ClientPlugin.class);

    // Initializes the Bridge
    this.init(savedInstanceState, additionalPlugins);
  }
}```

Are you sure you ran
npx cap sync android
npx cap sync ios

See https://capacitor.ionicframework.com/docs/basics/building-your-app

I did not, lol! Now it works on all 3 platforms! So cool :-) I'll add Apple and Facebook now. Thank you for this great plugin!


Update version and changelog for 0.15.4 release

https://github.com/microsoft/azcode-internal/issues/127

Closing because we're going to revisit this release later


[docs] documentation build test

This PR adds test at Travis for building documentation and verifying broken links in it.

look's fine to me, should we wait for #945 ready.

@chivee

we should wait for #945 ready.

This PR should be merged first for allowing automatic checking that one.


AVX AVX2 Error

Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
Is what I've gotten now.
I got past the other stuff earlier today.

Can you share all output?

Using TensorFlow backend.
AI start now!
Traceback (most recent call last):
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\ai.py", line 58, in
main()
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\ai.py", line 28, in main
Y = predict(model, img)
NameError: name 'img' is not defined
This is for ai.py
I've ran all the other .py's too.

Also, when using cmd in the folder
"ai.py" returns:
Using TensorFlow backend.
Traceback (most recent call last):
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\ai.py", line 58, in
main()
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\ai.py", line 14, in main
model_file = open('Data/Model/model.json', 'r')
FileNotFoundError: [Errno 2] No such file or directory: 'Data/Model/model.json'

For first error:
Update img with screen. I do it with new commit.
For second error:
Train your model before running the AI with python3 train.py.

I updated the ai.py got this error
Using TensorFlow backend. AI start now! Traceback (most recent call last):   File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\ai.py", line 58, in <module>     main()   File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\ai.py", line 29, in main     if Y == [0,0,0,0]: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
This error is from train.py
`Using TensorFlow backend.
Traceback (most recent call last):
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\get_dataset.py", line 21, in get_dataset
X = np.load('Data/npy_train_data/X.npy')
File "C:\Users\jakef\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\lib\npyio.py", line 415, in load
fid = open(os_fspath(file), "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'Data/npy_train_data/X.npy'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\train.py", line 31, in
main()
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\train.py", line 24, in main
X, X_test, Y, Y_test = get_dataset()
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\get_dataset.py", line 24, in get_dataset
labels = os.listdir(dataset_path) # Geting labels
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'Data/Train_Data'`
I'd like to thank you for the help, too.

You must create a dataset firstly.
Learn how to do this from the README file: ardamavi/Game-Bot#creating-training-dataset

Thanks again for your patients. I ran the create_dataset. This was the result:
Using TensorFlow backend. Traceback (most recent call last):   File "create_dataset.py", line 76, in <module>     main() TypeError: main() missing 1 required positional argument:

I fixed this error in new commit.
Thanks.

Another issue, create_dataset.py :
` C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\create_dataset.py =
Using TensorFlow backend.
Traceback (most recent call last):
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\create_dataset.py", line 76, in
main()
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\create_dataset.py", line 72, in main
listen_keyboard()
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\create_dataset.py", line 63, in listen_keyboard
listener.join()
File "C:\Users\jakef\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput_util_init_.py", line 199, in join
six.reraise(exc_type, exc_value, exc_traceback)
File "C:\Users\jakef\AppData\Local\Programs\Python\Python36\lib\site-packages\six.py", line 692, in reraise
raise value.with_traceback(tb)
File "C:\Users\jakef\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput_util_init_.py", line 154, in inner
return f(self, *args, **kwargs)
File "C:\Users\jakef\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput\keyboard_win32.py", line 237, in process
self.on_press(key)
File "C:\Users\jakef\AppData\Local\Programs\Python\Python36\lib\site-packages\pynput_util_init.py", line 75, in inner
if f(*args) is False:
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\create_dataset.py", line 57, in on_press
save_event_keyboard(data_path, 1, key)
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\create_dataset.py", line 25, in save_event_keyboard
key = get_id(key)
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\game_control.py", line 13, in get_id
return get_keys().index(key)
ValueError: <Key.enter: <13>> is not in list

`

What character did you press?

Not sure I did, I just ran it
Using create_dataset while playing, it didn't recognise CTRL, ALT.
Also, Using train.py gave this.
`Game-Bot-master>train.py
Using TensorFlow backend.
Traceback (most recent call last):
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\get_dataset.py", line 21, in get_dataset
X = np.load('Data/npy_train_data/X.npy')
File "C:\Users\jakef\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\lib\npyio.py", line 415, in load
fid = open(os_fspath(file), "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'Data/npy_train_data/X.npy'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\train.py", line 31, in
main()
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\train.py", line 24, in main
X, X_test, Y, Y_test = get_dataset()
File "C:\Users\jakef\OneDrive\Desktop\Game-Bot-master\get_dataset.py", line 41, in get_dataset
Y = to_categorical(Y, count_categori[0]+1)
File "C:\Users\jakef\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\utils\np_utils.py", line 31, in to_categorical
num_classes = np.max(y) + 1
File "C:\Users\jakef\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core\fromnumeric.py", line 2505, in amax
initial=initial)
File "C:\Users\jakef\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core\fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation maximum which has no identity`

I guess a character isn't saved?

It seems upon pressing CTRL or ALT, it completely closes.
I don't suppose you know of another program that may do this job?

You must show how to play game to AI. We run Create Dataset` for getting dataset for training AI.

I understand it learns from you playing, but it physically doesn't run, unfortunately.
I run CreateDataset And it closes abruptly while I play, making it impossible to record my actions

I need more detailed information to solve the problem.

I shall record myself.


Release v0.4.0 requirements

### Tasks
- [ ] https://github.com/kubernetes-sigs/lws/pull/163
- [ ] https://github.com/kubernetes-sigs/lws/issues/173
- [ ] https://github.com/kubernetes-sigs/lws/pull/176
- [ ] https://github.com/kubernetes-sigs/lws/issues/204
- [ ] https://github.com/kubernetes-sigs/lws/issues/203
- [ ] https://github.com/kubernetes-sigs/lws/pull/174
- [ ] https://github.com/kubernetes-sigs/lws/pull/185

Maybe we can have an example for disaggregated serving.

@kerthcet right now we don't have something public for the example, probably with release v0.5.0

@liurupeng can we plan for the next release and decide on a date please?

A couple more:

https://github.com/kubernetes-sigs/lws/issues/204
https://github.com/kubernetes-sigs/lws/issues/203

sg! thanks @ahg-g

Target release date will be Sep 13

Should we release today, I'm waiting for the feature https://github.com/kubernetes-sigs/lws/pull/190, I can pick the left one.

@kerthcet sure, feel free to pick up this one

Created https://github.com/kubernetes-sigs/lws/pull/214

@kerthcet do you want to create the release?

Sorry for the delay, just created the release. Please approve the release, thanks! @ahg-g @kerthcet

Maybe we can start with milestone next release? But seems we still need a release issue for discussion?

@kerthcet do you want to drive the next release?

I'll keep an eye on this and try to track with milestone as well.


chore: bdd-nh-1592795585 to 0.0.1

chore: Promote bdd-nh-1592795585 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Open PowerToys Settings from PowerToys Run

📝 I would like to access the settings for PowerToys from PT Run
What is the expected behavior of the proposed feature?
Open the PowerToys Settings menu when window is not already open.
What is the scenario this would be used?
I prefer not to have items in my systray. This would allow me to change settings without re-enabling systray icons.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

Could be implemented as a part of #6875

You can just start PowerToys from PT Run and it will open settings, fyi

The root asks here are #765 and #6875


Error pre-processing transcript list using hg38 as reference

Hi, I am facing an issue trying to pre-process my transcript gene list using hg38 as a reference:
Rscript download_tx.R --gene_list "gene_list.txt" --out_refseq "output_refseq.txt" --out_tx_spliceai "output_spliceai.txt" --ref hg38
When I don't change reference it works:
Rscript download_tx.R --gene_list "gene_list.txt" --out_refseq "output_refseq.txt" --out_tx_spliceai "output_spliceai.txt"
I  am just trying to avoid lifting my variants all the time. I think there's an issue with a gene (see my gene list below) causing the following error:
Pre-processing transcript list
Error in .order_seqlevels(chrom_sizes[, "chrom"]) :
  !anyNA(m32) is not TRUE
Calls: ucscTableQuery ... .get_chrom_info_for_registered_UCSC_genome -> GET_CHROM_SIZES -> .order_seqlevels -> stopifnot
Execution terminated

I couldnt wrap my head around debugging that myself.
Gene List:
Gene	RefSeq_ID
BRCA2	NM_000059.4
RAD51C	NM_058216.3
BMPR1A	NM_004329.3
CHEK2	NM_007194.4
MSH2	NM_000251.3
SMAD4	NM_005359.6
NF2	NM_000268.4
STK11	NM_000455.5
MLH1	NM_000249.4
POLD1	NM_002691.4
PALB2	NM_024675.4
NF1	NM_001042492.3
ATM	NM_000051.4
BARD1	NM_000465.4
TSC2	NM_000548.5
POLE	NM_006231.4
PMS2	NM_000535.7
BRCA1	NM_007294.4
BRIP1	NM_032043.3
SMARCA4	NM_003072.5
TP53	NM_000546.6
CDH1	NM_004360.5
RAD51D	NM_002878.4
PTEN	NM_000314.8
APC	NM_000038.6
MSH6	NM_000179.3
Cheers,
Andi

Hi andirisch,
We are currently investigating this issue but have been unable to replicate the exact error.
In the meantime are you able to run the download_tx.R script with the --refseq-full option? A ncbiRefSeq table can be predownloaded from the UCSC table browser found here (https://genome.ucsc.edu/cgi-bin/hgTables) - select the relevant assembly, track as "NCBI RefSeq" and table as "RefSeq All (ncbiRefSeq)"


TimeDiscretization inconsistency

TimeDiscretization states that it will round times to a certain tick size in the Javadoc. This is done inconsistently between the different constructors:
The ellipsis/double array constructor will not round the given times to tick size.
The other constructors (boxed Double array, Set and ArrayList) will do that.
All constructors fail to remove duplicates though.
A unit test for the missing rounding can look like this:
public class TimeDiscretizationTest {

    private static double getHalfTickMore(double a) {
        return a + 0.5 / (365.0 * 24.0);
    }

    @Test
    public void testTickRoundingOfUnboxedArrayConstruction() {

        double a = 4.2;
        double identicalToA = getHalfTickMore(a);

        TimeDiscretization discretization = new TimeDiscretization(a, identicalToA);

        Assert.assertEquals(discretization.getTime(0), discretization.getTime(1), 0.0);
    }

    @Test
    public void testTickRoundingOfBoxedArrayConstruction() {

        double a = 4.2;
        double identicalToA = getHalfTickMore(a);

        TimeDiscretization discretization = new TimeDiscretization(new Double[] { a, identicalToA});

        Assert.assertEquals(discretization.getTime(0), discretization.getTime(1), 0.0);
    }
}

There is another inconsistency: The interface Set<> is accepted but List<> is not, although its implementation ArrayList<> is.
I will try and perform a pull request with the following fixes and unit tests soon:

The tests above should all pass.
In addition, in the above tests discretization should only contain 1 time point.
Any Iterable<> should be accepted

Here are some other features that might be useful:

Add methods for union and intersection to the TimeDiscretizationInterface as these are actually quite common operations (the SDE process time discretization must contain the LIBOR period discretization in the LIBORMarketModel for example). The implementation of this for TimeDiscretization would depend on the correct rounding and duplicate removal.
I have no personal stake in this but control of the tick size might be useful for people operating on high frequencies. In this case I propose adding the tick size to the interface and having unions/intersections use the coarser tick size.
Windowing a time discretization (intersecting with an interval) might also be a useful operation.

Fixed by PR #60


Example of Virtual Slides

Any chance someone can post an example of a working implementation of virtual slides? When I try to use it, it ends up only rendering the first slide

Sure, check the examples from #142


Refresh Indicator UI is frozen if duration is over 10 seconds

Steps to Reproduce

Open the example project flutter_gallery

Change the timer duration that mimics a latency interval for the indicator to be shown to 10 seconds<like the below:
Future _handleRefresh() {
final Completer completer = new Completer();
new Timer(const Duration(seconds: 10), () { completer.complete(null); });

Run the app

Go to Pull to Refresh example, pull the list to refresh, see the indicator is a blue dot and stops working.

See the screenshot attached

To be precise it freezes after 6666 miliseconds.
https://github.com/flutter/flutter/blob/c01cad34915618b33a43802dba3553c56d4fde29/packages/flutter/lib/src/material/progress_indicator.dart#L359

It seems indicator freezes there and the whole process stops. Any workaround solution at this stage?

@tsun424 The patch is exactly where @BenedictP has pointed out.

Duplicate of https://github.com/flutter/flutter/issues/17923


Switch to GHA

Fixes our CI once and for all

Looks like it has to be merged in order to experiment


TestTraceflow/testTraceflowEgress/egressFromRemoteNode failing consistently on dual-stack testbed

Describe the bug
The TestTraceflow/testTraceflowEgress/egressFromRemoteNode e2e test is failing consistently on the dual-stack testbed.
=== RUN   TestTraceflow/testTraceflowEgress/egressFromRemoteNode
    traceflow_test.go:2252: Latest Traceflow status: {Running  2022-12-20 21:44:51 +0000 UTC 7 [{antrea-ipv6-9-1<PHONE_NUMBER> [{SpoofGuard  Forwarded     0    } {Egress  ForwardedToEgressNode    egress-wgkqd 0    } {Forwarding Output Forwarded     0    }]}] <nil>}
    traceflow_test.go:2439: Error: Get Traceflow failed: timed out waiting for the condition

The test was recently added as part of https://github.com/antrea-io/antrea/pull/3926

Assigning @Atish-iaf who contributed the test


The pretrained model not found

The pretrainde model not found , could you commit it again?

It can be found here.

It can be found here.

It can be found here.

I'm sorry , but this link is for v1 model , I want v2 model using pytorch?

Thanks @MarSaKi for kind reminder, uploaded.


Selecting a Point no longer works

Run Capability Tester and start "Select Feature" test.
Add Overlay and Add "Point" feature.
Use "Select Feature Test" to elect the point feature.
Point feature is made slightly larger but is not highlighted with yellow color.
I have traced this down to the MapInstance. There is no issue in the Core. This is NOT related to the worldwind upgrade.

Not a bug. Point selection increases the icon scale.


Mayastor volume is corrupted after recovering from nodes down

Mayastor 2.5.1:
Steps to reproduce the behavior:
We took two nodes down and the 3rd node was running for 6 hours.  The 2 nodes were brought up, all mayastor pods are running, however, the volume is corrupted.
Pod status:
Warning  FailedMount  32s (x286 over 9h)  kubelet  MountVolume.SetUp failed for volume "pvc-5b25da79-84d3-4f41-8718-5f4c8028d9c0" : applyFSGroup failed for vol 5b25da79-84d3-4f41-8718-5f4c8028d9c0: lstat /var/snap/microk8s/common/var/lib/kubelet/pods/0ae8db7a-d1e4-4288-b4a2-25f33ea81573/volumes/kubernetes.io~csi/pvc-5b25da79-84d3-4f41-8718-5f4c8028d9c0/mount/checks/872aa64ed9513ccdd42b81106223c5bff7efb2b49e05b426ac5bdea1c91a63d2: structure needs cleaning
ls on the directory:
core@sc-os-72-node3:~$ sudo ls -alR /var/snap/microk8s/common/var/lib/kubelet/pods/0ae8db7a-d1e4-4288-b4a2-25f33ea81573/volumes/kubernetes.io~csi/pvc-5b25da79-84d3-4f41-8718-5f4c8028d9c0/mount/checks/
/var/snap/microk8s/common/var/lib/kubelet/pods/0ae8db7a-d1e4-4288-b4a2-25f33ea81573/volumes/kubernetes.io~csi/pvc-5b25da79-84d3-4f41-8718-5f4c8028d9c0/mount/checks/:
ls: cannot access '/var/snap/microk8s/common/var/lib/kubelet/pods/0ae8db7a-d1e4-4288-b4a2-25f33ea81573/volumes/kubernetes.io~csi/pvc-5b25da79-84d3-4f41-8718-5f4c8028d9c0/mount/checks/872aa64ed9513ccdd42b81106223c5bff7efb2b49e05b426ac5bdea1c91a63d2': Structure needs cleaning
ls: cannot access '/var/snap/microk8s/common/var/lib/kubelet/pods/0ae8db7a-d1e4-4288-b4a2-25f33ea81573/volumes/kubernetes.io~csi/pvc-5b25da79-84d3-4f41-8718-5f4c8028d9c0/mount/checks/4679c07e42c366f79eec31d486f03f25ca6a4218dc872f6f13193da69cea54c9': Bad message
total 16
drwxrws--- 3 _apt core 4096 Aug  6 22:23 .
drwxrwsr-x 7 root core 4096 Aug  6 19:29 ..
-????????? ? ?    ?       ?            ? 4679c07e42c366f79eec31d486f03f25ca6a4218dc872f6f13193da69cea54c9
-????????? ? ?    ?       ?            ? 872aa64ed9513ccdd42b81106223c5bff7efb2b49e05b426ac5bdea1c91a63d2
-rw------- 1 _apt core 1240 Aug  6 22:23 9b4b05d5573af275c60f4882b64370408b21c4648bb754c6d3dde96f51b233d3
drwxrws--- 2 _apt core 4096 Aug  6 22:44 state

/var/snap/microk8s/common/var/lib/kubelet/pods/0ae8db7a-d1e4-4288-b4a2-25f33ea81573/volumes/kubernetes.io~csi/pvc-5b25da79-84d3-4f41-8718-5f4c8028d9c0/mount/checks/state:
total 12
drwxrws--- 2 _apt core 4096 Aug  6 22:44 .
drwxrws--- 3 _apt core 4096 Aug  6 22:23 ..
-rw------- 1 _apt core  123 Aug  6 22:44 9b4b05d5573af275c60f4882b64370408b21c4648bb754c6d3dde96f51b233d3

Attaching is the system dump from all 3 nodes:
sc-os-72-node1-mayastor-dump.tar.gz
sc-os-72-node2-mayastor-dump.tar.gz
sc-os-72-node3-mayastor-dump.tar.gz

Could someone tell me how to recover the volume?  The cluster is down due to file corruption

I would recommend you switch to v2.7.0 as 2.5.1 had a few bugs which were seen to cause some of the errors I see on your logs.
As for the volume not mounting, we never seen that, was the node where the volume was mounted force shutdown or something?
Anyhow I recommend you delete the application using the volume and then:

Port forward rest: kubectl -n mayastor port-forward svc/mayastor-api-rest 8081:8081
Manually publish the volume into one of your nodes, and get device uri:

curl -X PUT 'http://localhost:8081/v0/volumes/ec4e66fd-3b33-4439-b504-d49aba53da26/target' -H 'Content-Type: application/json' -d '{"node": "io-engine-1", "protocol": "nvmf", "republish": false, "reuse_existing": false}' | jq '.state.target.deviceUri'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1246  100  1158  100    88  82602   6277 --:--:-- --:--:-- --:--:-- 95846
"nvmf://<IP_ADDRESS>:8420/nqn.2019-05.io.openebs:ec4e66fd-3b33-4439-b504-d49aba53da26"

ssh into the node, and connect via nvme cli:

sudo nvme connect -t tcp -s 8420 -a <IP_ADDRESS> -n nqn.2019-05.io.openebs:ec4e66fd-3b33-4439-b504-d49aba53da26
connecting to device: nvme3
ls /dev/disk/by-id/nvme-uuid.ec4e66fd-3b33-4439-b504-d49aba53da26
/dev/disk/by-id/nvme-uuid.ec4e66fd-3b33-4439-b504-d49aba53da26

You can now run your filesystem recovery tools,
Disconnect: sudo nvme disconnect -n nqn.2019-05.io.openebs:ec4e66fd-3b33-4439-b504-d49aba53da26
Unpublish: curl -X DELETE 'http://localhost:8081/v0/volumes/ec4e66fd-3b33-4439-b504-d49aba53da26/target'

Hope this helps

Please reopen if more info is needed


Conflict with LabCompass

Describe the bug
LabCompass does not display the Lab map correctly while slimtrade is open. I have to close slimetrade and reset LabCompass to make it work.
To Reproduce
Steps to reproduce the behavior:

Have SlimTrade running
Open LabCompass
Load Map
Select Map nodes
Now either the LabCompass Map immediately disappears, it disappears when entering the Lab or the whole LabCompass UI disappears.

Setting
Operation System: Windows 10 x64 1909
Graphics Card: NVIDIA Geforce GTX 1070
Keyboard settings: QWERTZ (German)
Screencapture
https://youtu.be/paRjdaEZgLg

I'm able to reproduce this, so I'll start testing for a fix. I believe I know why it is happening, but it deals with how SlimTrade overlays itself on POE, so the fix will need to be tested for a bit internally so I don't break that system in the process.
For now, it is best to just close SlimTrade while running LabCompass. SlimTrade's history is loaded from the client.txt on launch, so you are able to reload trades when you are done running lab if you wish.
Thanks for the report, sorry for the inconvenience!

Any updates on this issue? I'm, facing the same issue with LapCompass and Exilence Next. It seems to be an issue with the Menu Bar Button. Disabling the option fixes the issue completely.

Sorry, this is an issue I threw on the backburner and just never got around to addressing. My bad!
If people still use LabCompass and this is still an issue, let me know and I'll look into a fix.


Using Android CHIP-tool to send on/off message to device, then AES_CCM decrypt message error on device side

Using Android CHIP-tool to send on/off message which is encrypt by AES_CCM to device, device receive the message and decrypt it by AES_CCM, then the error of "mbedtls error: CCM - Authenticated decryption failed" was occured.

This issue has been resolved.